Home | History | Annotate | Line # | Download | only in ld
configure revision 1.1.1.1
      1 #! /bin/sh
      2 # Guess values for system-dependent variables and create Makefiles.
      3 # Generated by GNU Autoconf 2.59.
      4 #
      5 # Copyright (C) 2003 Free Software Foundation, Inc.
      6 # This configure script is free software; the Free Software Foundation
      7 # gives unlimited permission to copy, distribute and modify it.
      8 ## --------------------- ##
      9 ## M4sh Initialization.  ##
     10 ## --------------------- ##
     11 
     12 # Be Bourne compatible
     13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     14   emulate sh
     15   NULLCMD=:
     16   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
     17   # is contrary to our usage.  Disable this feature.
     18   alias -g '${1+"$@"}'='"$@"'
     19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
     20   set -o posix
     21 fi
     22 DUALCASE=1; export DUALCASE # for MKS sh
     23 
     24 # Support unset when possible.
     25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     26   as_unset=unset
     27 else
     28   as_unset=false
     29 fi
     30 
     31 
     32 # Work around bugs in pre-3.0 UWIN ksh.
     33 $as_unset ENV MAIL MAILPATH
     34 PS1='$ '
     35 PS2='> '
     36 PS4='+ '
     37 
     38 # NLS nuisances.
     39 for as_var in \
     40   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     41   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     42   LC_TELEPHONE LC_TIME
     43 do
     44   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     45     eval $as_var=C; export $as_var
     46   else
     47     $as_unset $as_var
     48   fi
     49 done
     50 
     51 # Required to use basename.
     52 if expr a : '\(a\)' >/dev/null 2>&1; then
     53   as_expr=expr
     54 else
     55   as_expr=false
     56 fi
     57 
     58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
     59   as_basename=basename
     60 else
     61   as_basename=false
     62 fi
     63 
     64 
     65 # Name of the executable.
     66 as_me=`$as_basename "$0" ||
     67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     68 	 X"$0" : 'X\(//\)$' \| \
     69 	 X"$0" : 'X\(/\)$' \| \
     70 	 .     : '\(.\)' 2>/dev/null ||
     71 echo X/"$0" |
     72     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
     73   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
     74   	  /^X\/\(\/\).*/{ s//\1/; q; }
     75   	  s/.*/./; q'`
     76 
     77 
     78 # PATH needs CR, and LINENO needs CR and PATH.
     79 # Avoid depending upon Character Ranges.
     80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     83 as_cr_digits='0123456789'
     84 as_cr_alnum=$as_cr_Letters$as_cr_digits
     85 
     86 # The user is always right.
     87 if test "${PATH_SEPARATOR+set}" != set; then
     88   echo "#! /bin/sh" >conf$$.sh
     89   echo  "exit 0"   >>conf$$.sh
     90   chmod +x conf$$.sh
     91   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     92     PATH_SEPARATOR=';'
     93   else
     94     PATH_SEPARATOR=:
     95   fi
     96   rm -f conf$$.sh
     97 fi
     98 
     99 
    100   as_lineno_1=$LINENO
    101   as_lineno_2=$LINENO
    102   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    103   test "x$as_lineno_1" != "x$as_lineno_2" &&
    104   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
    105   # Find who we are.  Look in the path if we contain no path at all
    106   # relative or not.
    107   case $0 in
    108     *[\\/]* ) as_myself=$0 ;;
    109     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    110 for as_dir in $PATH
    111 do
    112   IFS=$as_save_IFS
    113   test -z "$as_dir" && as_dir=.
    114   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    115 done
    116 
    117        ;;
    118   esac
    119   # We did not find ourselves, most probably we were run as `sh COMMAND'
    120   # in which case we are not to be found in the path.
    121   if test "x$as_myself" = x; then
    122     as_myself=$0
    123   fi
    124   if test ! -f "$as_myself"; then
    125     { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
    126    { (exit 1); exit 1; }; }
    127   fi
    128   case $CONFIG_SHELL in
    129   '')
    130     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    132 do
    133   IFS=$as_save_IFS
    134   test -z "$as_dir" && as_dir=.
    135   for as_base in sh bash ksh sh5; do
    136 	 case $as_dir in
    137 	 /*)
    138 	   if ("$as_dir/$as_base" -c '
    139   as_lineno_1=$LINENO
    140   as_lineno_2=$LINENO
    141   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
    142   test "x$as_lineno_1" != "x$as_lineno_2" &&
    143   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
    144 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
    145 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
    146 	     CONFIG_SHELL=$as_dir/$as_base
    147 	     export CONFIG_SHELL
    148 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
    149 	   fi;;
    150 	 esac
    151        done
    152 done
    153 ;;
    154   esac
    155 
    156   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    157   # uniformly replaced by the line number.  The first 'sed' inserts a
    158   # line-number line before each line; the second 'sed' does the real
    159   # work.  The second script uses 'N' to pair each line-number line
    160   # with the numbered line, and appends trailing '-' during
    161   # substitution so that $LINENO is not a special case at line end.
    162   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    163   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
    164   sed '=' <$as_myself |
    165     sed '
    166       N
    167       s,$,-,
    168       : loop
    169       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
    170       t loop
    171       s,-$,,
    172       s,^['$as_cr_digits']*\n,,
    173     ' >$as_me.lineno &&
    174   chmod +x $as_me.lineno ||
    175     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    176    { (exit 1); exit 1; }; }
    177 
    178   # Don't try to exec as it changes $[0], causing all sort of problems
    179   # (the dirname of $[0] is not the place where we might find the
    180   # original and so on.  Autoconf is especially sensible to this).
    181   . ./$as_me.lineno
    182   # Exit status is that of the last command.
    183   exit
    184 }
    185 
    186 
    187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
    188   *c*,-n*) ECHO_N= ECHO_C='
    189 ' ECHO_T='	' ;;
    190   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
    191   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
    192 esac
    193 
    194 if expr a : '\(a\)' >/dev/null 2>&1; then
    195   as_expr=expr
    196 else
    197   as_expr=false
    198 fi
    199 
    200 rm -f conf$$ conf$$.exe conf$$.file
    201 echo >conf$$.file
    202 if ln -s conf$$.file conf$$ 2>/dev/null; then
    203   # We could just check for DJGPP; but this test a) works b) is more generic
    204   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
    205   if test -f conf$$.exe; then
    206     # Don't use ln at all; we don't have any links
    207     as_ln_s='cp -p'
    208   else
    209     as_ln_s='ln -s'
    210   fi
    211 elif ln conf$$.file conf$$ 2>/dev/null; then
    212   as_ln_s=ln
    213 else
    214   as_ln_s='cp -p'
    215 fi
    216 rm -f conf$$ conf$$.exe conf$$.file
    217 
    218 if mkdir -p . 2>/dev/null; then
    219   as_mkdir_p=:
    220 else
    221   test -d ./-p && rmdir ./-p
    222   as_mkdir_p=false
    223 fi
    224 
    225 as_executable_p="test -f"
    226 
    227 # Sed expression to map a string onto a valid CPP name.
    228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
    229 
    230 # Sed expression to map a string onto a valid variable name.
    231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
    232 
    233 
    234 # IFS
    235 # We need space, tab and new line, in precisely that order.
    236 as_nl='
    237 '
    238 IFS=" 	$as_nl"
    239 
    240 # CDPATH.
    241 $as_unset CDPATH
    242 
    243 
    244 
    245 # Check that we are running under the correct shell.
    246 SHELL=${CONFIG_SHELL-/bin/sh}
    247 
    248 case X$lt_ECHO in
    249 X*--fallback-echo)
    250   # Remove one level of quotation (which was required for Make).
    251   ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
    252   ;;
    253 esac
    254 
    255 ECHO=${lt_ECHO-echo}
    256 if test "X$1" = X--no-reexec; then
    257   # Discard the --no-reexec flag, and continue.
    258   shift
    259 elif test "X$1" = X--fallback-echo; then
    260   # Avoid inline document here, it may be left over
    261   :
    262 elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
    263   # Yippee, $ECHO works!
    264   :
    265 else
    266   # Restart under the correct shell.
    267   exec $SHELL "$0" --no-reexec ${1+"$@"}
    268 fi
    269 
    270 if test "X$1" = X--fallback-echo; then
    271   # used as fallback echo
    272   shift
    273   cat <<_LT_EOF
    274 $*
    275 _LT_EOF
    276   exit 0
    277 fi
    278 
    279 # The HP-UX ksh and POSIX shell print the target directory to stdout
    280 # if CDPATH is set.
    281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    282 
    283 if test -z "$lt_ECHO"; then
    284   if test "X${echo_test_string+set}" != Xset; then
    285     # find a string as large as possible, as long as the shell can cope with it
    286     for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
    287       # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
    288       if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
    289 	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
    290       then
    291         break
    292       fi
    293     done
    294   fi
    295 
    296   if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    297      echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    298      test "X$echo_testing_string" = "X$echo_test_string"; then
    299     :
    300   else
    301     # The Solaris, AIX, and Digital Unix default echo programs unquote
    302     # backslashes.  This makes it impossible to quote backslashes using
    303     #   echo "$something" | sed 's/\\/\\\\/g'
    304     #
    305     # So, first we look for a working echo in the user's PATH.
    306 
    307     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    308     for dir in $PATH /usr/ucb; do
    309       IFS="$lt_save_ifs"
    310       if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
    311          test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
    312          echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
    313          test "X$echo_testing_string" = "X$echo_test_string"; then
    314         ECHO="$dir/echo"
    315         break
    316       fi
    317     done
    318     IFS="$lt_save_ifs"
    319 
    320     if test "X$ECHO" = Xecho; then
    321       # We didn't find a better echo, so look for alternatives.
    322       if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
    323          echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
    324          test "X$echo_testing_string" = "X$echo_test_string"; then
    325         # This shell has a builtin print -r that does the trick.
    326         ECHO='print -r'
    327       elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
    328 	   test "X$CONFIG_SHELL" != X/bin/ksh; then
    329         # If we have ksh, try running configure again with it.
    330         ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
    331         export ORIGINAL_CONFIG_SHELL
    332         CONFIG_SHELL=/bin/ksh
    333         export CONFIG_SHELL
    334         exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
    335       else
    336         # Try using printf.
    337         ECHO='printf %s\n'
    338         if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
    339 	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
    340 	   test "X$echo_testing_string" = "X$echo_test_string"; then
    341 	  # Cool, printf works
    342 	  :
    343         elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    344 	     test "X$echo_testing_string" = 'X\t' &&
    345 	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    346 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    347 	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
    348 	  export CONFIG_SHELL
    349 	  SHELL="$CONFIG_SHELL"
    350 	  export SHELL
    351 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    352         elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
    353 	     test "X$echo_testing_string" = 'X\t' &&
    354 	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
    355 	     test "X$echo_testing_string" = "X$echo_test_string"; then
    356 	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
    357         else
    358 	  # maybe with a smaller string...
    359 	  prev=:
    360 
    361 	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
    362 	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
    363 	    then
    364 	      break
    365 	    fi
    366 	    prev="$cmd"
    367 	  done
    368 
    369 	  if test "$prev" != 'sed 50q "$0"'; then
    370 	    echo_test_string=`eval $prev`
    371 	    export echo_test_string
    372 	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
    373 	  else
    374 	    # Oops.  We lost completely, so just stick with echo.
    375 	    ECHO=echo
    376 	  fi
    377         fi
    378       fi
    379     fi
    380   fi
    381 fi
    382 
    383 # Copy echo and quote the copy suitably for passing to libtool from
    384 # the Makefile, instead of quoting the original, which is used later.
    385 lt_ECHO=$ECHO
    386 if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
    387    lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
    388 fi
    389 
    390 
    391 
    392 
    393 # Name of the host.
    394 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    395 # so uname gets run too.
    396 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
    397 
    398 exec 6>&1
    399 
    400 #
    401 # Initializations.
    402 #
    403 ac_default_prefix=/usr/local
    404 ac_config_libobj_dir=.
    405 cross_compiling=no
    406 subdirs=
    407 MFLAGS=
    408 MAKEFLAGS=
    409 SHELL=${CONFIG_SHELL-/bin/sh}
    410 
    411 # Maximum number of lines to put in a shell here document.
    412 # This variable seems obsolete.  It should probably be removed, and
    413 # only ac_max_sed_lines should be used.
    414 : ${ac_max_here_lines=38}
    415 
    416 # Identity of this package.
    417 PACKAGE_NAME=
    418 PACKAGE_TARNAME=
    419 PACKAGE_VERSION=
    420 PACKAGE_STRING=
    421 PACKAGE_BUGREPORT=
    422 
    423 ac_unique_file="ldmain.c"
    424 # Factoring default headers for most tests.
    425 ac_includes_default="\
    426 #include <stdio.h>
    427 #if HAVE_SYS_TYPES_H
    428 # include <sys/types.h>
    429 #endif
    430 #if HAVE_SYS_STAT_H
    431 # include <sys/stat.h>
    432 #endif
    433 #if STDC_HEADERS
    434 # include <stdlib.h>
    435 # include <stddef.h>
    436 #else
    437 # if HAVE_STDLIB_H
    438 #  include <stdlib.h>
    439 # endif
    440 #endif
    441 #if HAVE_STRING_H
    442 # if !STDC_HEADERS && HAVE_MEMORY_H
    443 #  include <memory.h>
    444 # endif
    445 # include <string.h>
    446 #endif
    447 #if HAVE_STRINGS_H
    448 # include <strings.h>
    449 #endif
    450 #if HAVE_INTTYPES_H
    451 # include <inttypes.h>
    452 #else
    453 # if HAVE_STDINT_H
    454 #  include <stdint.h>
    455 # endif
    456 #endif
    457 #if HAVE_UNISTD_H
    458 # include <unistd.h>
    459 #endif"
    460 
    461 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE use_sysroot TARGET_SYSTEM_ROOT TARGET_SYSTEM_ROOT_DEFINE WARN_CFLAGS NO_WERROR CPP EGREP LIBTOOL SED FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE YACC LEX LEXLIB LEX_OUTPUT_ROOT MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE HDEFINES HOSTING_CRT0 HOSTING_LIBS NATIVE_LIB_DIRS STRINGIFY EMUL EMULATION_OFILES EMUL_EXTRA_OFILES LIB_PATH EMULATION_LIBPATH TESTBFDLIB datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
    462 ac_subst_files='TDIRS'
    463 ac_pwd=`pwd`
    464 
    465 # Initialize some variables set by options.
    466 ac_init_help=
    467 ac_init_version=false
    468 # The variables have the same names as the options, with
    469 # dashes changed to underlines.
    470 cache_file=/dev/null
    471 exec_prefix=NONE
    472 no_create=
    473 no_recursion=
    474 prefix=NONE
    475 program_prefix=NONE
    476 program_suffix=NONE
    477 program_transform_name=s,x,x,
    478 silent=
    479 site=
    480 srcdir=
    481 verbose=
    482 x_includes=NONE
    483 x_libraries=NONE
    484 
    485 # Installation directory options.
    486 # These are left unexpanded so users can "make install exec_prefix=/foo"
    487 # and all the variables that are supposed to be based on exec_prefix
    488 # by default will actually change.
    489 # Use braces instead of parens because sh, perl, etc. also accept them.
    490 bindir='${exec_prefix}/bin'
    491 sbindir='${exec_prefix}/sbin'
    492 libexecdir='${exec_prefix}/libexec'
    493 datadir='${prefix}/share'
    494 sysconfdir='${prefix}/etc'
    495 sharedstatedir='${prefix}/com'
    496 localstatedir='${prefix}/var'
    497 libdir='${exec_prefix}/lib'
    498 includedir='${prefix}/include'
    499 oldincludedir='/usr/include'
    500 infodir='${prefix}/info'
    501 mandir='${prefix}/man'
    502 
    503 ac_prev=
    504 for ac_option
    505 do
    506   # If the previous option needs an argument, assign it.
    507   if test -n "$ac_prev"; then
    508     eval "$ac_prev=\$ac_option"
    509     ac_prev=
    510     continue
    511   fi
    512 
    513   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
    514 
    515   # Accept the important Cygnus configure options, so we can diagnose typos.
    516 
    517   case $ac_option in
    518 
    519   -bindir | --bindir | --bindi | --bind | --bin | --bi)
    520     ac_prev=bindir ;;
    521   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
    522     bindir=$ac_optarg ;;
    523 
    524   -build | --build | --buil | --bui | --bu)
    525     ac_prev=build_alias ;;
    526   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
    527     build_alias=$ac_optarg ;;
    528 
    529   -cache-file | --cache-file | --cache-fil | --cache-fi \
    530   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
    531     ac_prev=cache_file ;;
    532   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
    533   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
    534     cache_file=$ac_optarg ;;
    535 
    536   --config-cache | -C)
    537     cache_file=config.cache ;;
    538 
    539   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
    540     ac_prev=datadir ;;
    541   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
    542   | --da=*)
    543     datadir=$ac_optarg ;;
    544 
    545   -disable-* | --disable-*)
    546     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    547     # Reject names that are not valid shell variable names.
    548     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    549       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    550    { (exit 1); exit 1; }; }
    551     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    552     eval "enable_$ac_feature=no" ;;
    553 
    554   -enable-* | --enable-*)
    555     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    556     # Reject names that are not valid shell variable names.
    557     expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    558       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    559    { (exit 1); exit 1; }; }
    560     ac_feature=`echo $ac_feature | sed 's/-/_/g'`
    561     case $ac_option in
    562       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    563       *) ac_optarg=yes ;;
    564     esac
    565     eval "enable_$ac_feature='$ac_optarg'" ;;
    566 
    567   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
    568   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
    569   | --exec | --exe | --ex)
    570     ac_prev=exec_prefix ;;
    571   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
    572   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
    573   | --exec=* | --exe=* | --ex=*)
    574     exec_prefix=$ac_optarg ;;
    575 
    576   -gas | --gas | --ga | --g)
    577     # Obsolete; use --with-gas.
    578     with_gas=yes ;;
    579 
    580   -help | --help | --hel | --he | -h)
    581     ac_init_help=long ;;
    582   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
    583     ac_init_help=recursive ;;
    584   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
    585     ac_init_help=short ;;
    586 
    587   -host | --host | --hos | --ho)
    588     ac_prev=host_alias ;;
    589   -host=* | --host=* | --hos=* | --ho=*)
    590     host_alias=$ac_optarg ;;
    591 
    592   -includedir | --includedir | --includedi | --included | --include \
    593   | --includ | --inclu | --incl | --inc)
    594     ac_prev=includedir ;;
    595   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
    596   | --includ=* | --inclu=* | --incl=* | --inc=*)
    597     includedir=$ac_optarg ;;
    598 
    599   -infodir | --infodir | --infodi | --infod | --info | --inf)
    600     ac_prev=infodir ;;
    601   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
    602     infodir=$ac_optarg ;;
    603 
    604   -libdir | --libdir | --libdi | --libd)
    605     ac_prev=libdir ;;
    606   -libdir=* | --libdir=* | --libdi=* | --libd=*)
    607     libdir=$ac_optarg ;;
    608 
    609   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
    610   | --libexe | --libex | --libe)
    611     ac_prev=libexecdir ;;
    612   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
    613   | --libexe=* | --libex=* | --libe=*)
    614     libexecdir=$ac_optarg ;;
    615 
    616   -localstatedir | --localstatedir | --localstatedi | --localstated \
    617   | --localstate | --localstat | --localsta | --localst \
    618   | --locals | --local | --loca | --loc | --lo)
    619     ac_prev=localstatedir ;;
    620   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
    621   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
    622   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
    623     localstatedir=$ac_optarg ;;
    624 
    625   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
    626     ac_prev=mandir ;;
    627   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
    628     mandir=$ac_optarg ;;
    629 
    630   -nfp | --nfp | --nf)
    631     # Obsolete; use --without-fp.
    632     with_fp=no ;;
    633 
    634   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
    635   | --no-cr | --no-c | -n)
    636     no_create=yes ;;
    637 
    638   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
    639   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
    640     no_recursion=yes ;;
    641 
    642   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
    643   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
    644   | --oldin | --oldi | --old | --ol | --o)
    645     ac_prev=oldincludedir ;;
    646   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
    647   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
    648   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
    649     oldincludedir=$ac_optarg ;;
    650 
    651   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
    652     ac_prev=prefix ;;
    653   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
    654     prefix=$ac_optarg ;;
    655 
    656   -program-prefix | --program-prefix | --program-prefi | --program-pref \
    657   | --program-pre | --program-pr | --program-p)
    658     ac_prev=program_prefix ;;
    659   -program-prefix=* | --program-prefix=* | --program-prefi=* \
    660   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
    661     program_prefix=$ac_optarg ;;
    662 
    663   -program-suffix | --program-suffix | --program-suffi | --program-suff \
    664   | --program-suf | --program-su | --program-s)
    665     ac_prev=program_suffix ;;
    666   -program-suffix=* | --program-suffix=* | --program-suffi=* \
    667   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
    668     program_suffix=$ac_optarg ;;
    669 
    670   -program-transform-name | --program-transform-name \
    671   | --program-transform-nam | --program-transform-na \
    672   | --program-transform-n | --program-transform- \
    673   | --program-transform | --program-transfor \
    674   | --program-transfo | --program-transf \
    675   | --program-trans | --program-tran \
    676   | --progr-tra | --program-tr | --program-t)
    677     ac_prev=program_transform_name ;;
    678   -program-transform-name=* | --program-transform-name=* \
    679   | --program-transform-nam=* | --program-transform-na=* \
    680   | --program-transform-n=* | --program-transform-=* \
    681   | --program-transform=* | --program-transfor=* \
    682   | --program-transfo=* | --program-transf=* \
    683   | --program-trans=* | --program-tran=* \
    684   | --progr-tra=* | --program-tr=* | --program-t=*)
    685     program_transform_name=$ac_optarg ;;
    686 
    687   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    688   | -silent | --silent | --silen | --sile | --sil)
    689     silent=yes ;;
    690 
    691   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
    692     ac_prev=sbindir ;;
    693   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
    694   | --sbi=* | --sb=*)
    695     sbindir=$ac_optarg ;;
    696 
    697   -sharedstatedir | --sharedstatedir | --sharedstatedi \
    698   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
    699   | --sharedst | --shareds | --shared | --share | --shar \
    700   | --sha | --sh)
    701     ac_prev=sharedstatedir ;;
    702   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
    703   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
    704   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
    705   | --sha=* | --sh=*)
    706     sharedstatedir=$ac_optarg ;;
    707 
    708   -site | --site | --sit)
    709     ac_prev=site ;;
    710   -site=* | --site=* | --sit=*)
    711     site=$ac_optarg ;;
    712 
    713   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
    714     ac_prev=srcdir ;;
    715   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
    716     srcdir=$ac_optarg ;;
    717 
    718   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
    719   | --syscon | --sysco | --sysc | --sys | --sy)
    720     ac_prev=sysconfdir ;;
    721   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
    722   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
    723     sysconfdir=$ac_optarg ;;
    724 
    725   -target | --target | --targe | --targ | --tar | --ta | --t)
    726     ac_prev=target_alias ;;
    727   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
    728     target_alias=$ac_optarg ;;
    729 
    730   -v | -verbose | --verbose | --verbos | --verbo | --verb)
    731     verbose=yes ;;
    732 
    733   -version | --version | --versio | --versi | --vers | -V)
    734     ac_init_version=: ;;
    735 
    736   -with-* | --with-*)
    737     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    738     # Reject names that are not valid shell variable names.
    739     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    740       { echo "$as_me: error: invalid package name: $ac_package" >&2
    741    { (exit 1); exit 1; }; }
    742     ac_package=`echo $ac_package| sed 's/-/_/g'`
    743     case $ac_option in
    744       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
    745       *) ac_optarg=yes ;;
    746     esac
    747     eval "with_$ac_package='$ac_optarg'" ;;
    748 
    749   -without-* | --without-*)
    750     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    751     # Reject names that are not valid shell variable names.
    752     expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
    753       { echo "$as_me: error: invalid package name: $ac_package" >&2
    754    { (exit 1); exit 1; }; }
    755     ac_package=`echo $ac_package | sed 's/-/_/g'`
    756     eval "with_$ac_package=no" ;;
    757 
    758   --x)
    759     # Obsolete; use --with-x.
    760     with_x=yes ;;
    761 
    762   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
    763   | --x-incl | --x-inc | --x-in | --x-i)
    764     ac_prev=x_includes ;;
    765   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
    766   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
    767     x_includes=$ac_optarg ;;
    768 
    769   -x-libraries | --x-libraries | --x-librarie | --x-librari \
    770   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
    771     ac_prev=x_libraries ;;
    772   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
    773   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
    774     x_libraries=$ac_optarg ;;
    775 
    776   -*) { echo "$as_me: error: unrecognized option: $ac_option
    777 Try \`$0 --help' for more information." >&2
    778    { (exit 1); exit 1; }; }
    779     ;;
    780 
    781   *=*)
    782     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    783     # Reject names that are not valid shell variable names.
    784     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    785       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    786    { (exit 1); exit 1; }; }
    787     ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
    788     eval "$ac_envvar='$ac_optarg'"
    789     export $ac_envvar ;;
    790 
    791   *)
    792     # FIXME: should be removed in autoconf 3.0.
    793     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    794     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    795       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    796     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    797     ;;
    798 
    799   esac
    800 done
    801 
    802 if test -n "$ac_prev"; then
    803   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    804   { echo "$as_me: error: missing argument to $ac_option" >&2
    805    { (exit 1); exit 1; }; }
    806 fi
    807 
    808 # Be sure to have absolute paths.
    809 for ac_var in exec_prefix prefix
    810 do
    811   eval ac_val=$`echo $ac_var`
    812   case $ac_val in
    813     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
    814     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    815    { (exit 1); exit 1; }; };;
    816   esac
    817 done
    818 
    819 # Be sure to have absolute paths.
    820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
    821 	      localstatedir libdir includedir oldincludedir infodir mandir
    822 do
    823   eval ac_val=$`echo $ac_var`
    824   case $ac_val in
    825     [\\/$]* | ?:[\\/]* ) ;;
    826     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    827    { (exit 1); exit 1; }; };;
    828   esac
    829 done
    830 
    831 # There might be people who depend on the old broken behavior: `$host'
    832 # used to hold the argument of --host etc.
    833 # FIXME: To remove some day.
    834 build=$build_alias
    835 host=$host_alias
    836 target=$target_alias
    837 
    838 # FIXME: To remove some day.
    839 if test "x$host_alias" != x; then
    840   if test "x$build_alias" = x; then
    841     cross_compiling=maybe
    842     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    843     If a cross compiler is detected then cross compile mode will be used." >&2
    844   elif test "x$build_alias" != "x$host_alias"; then
    845     cross_compiling=yes
    846   fi
    847 fi
    848 
    849 ac_tool_prefix=
    850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
    851 
    852 test "$silent" = yes && exec 6>/dev/null
    853 
    854 
    855 # Find the source files, if location was not specified.
    856 if test -z "$srcdir"; then
    857   ac_srcdir_defaulted=yes
    858   # Try the directory containing this script, then its parent.
    859   ac_confdir=`(dirname "$0") 2>/dev/null ||
    860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    861 	 X"$0" : 'X\(//\)[^/]' \| \
    862 	 X"$0" : 'X\(//\)$' \| \
    863 	 X"$0" : 'X\(/\)' \| \
    864 	 .     : '\(.\)' 2>/dev/null ||
    865 echo X"$0" |
    866     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
    867   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
    868   	  /^X\(\/\/\)$/{ s//\1/; q; }
    869   	  /^X\(\/\).*/{ s//\1/; q; }
    870   	  s/.*/./; q'`
    871   srcdir=$ac_confdir
    872   if test ! -r $srcdir/$ac_unique_file; then
    873     srcdir=..
    874   fi
    875 else
    876   ac_srcdir_defaulted=no
    877 fi
    878 if test ! -r $srcdir/$ac_unique_file; then
    879   if test "$ac_srcdir_defaulted" = yes; then
    880     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
    881    { (exit 1); exit 1; }; }
    882   else
    883     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    884    { (exit 1); exit 1; }; }
    885   fi
    886 fi
    887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
    888   { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
    889    { (exit 1); exit 1; }; }
    890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
    891 ac_env_build_alias_set=${build_alias+set}
    892 ac_env_build_alias_value=$build_alias
    893 ac_cv_env_build_alias_set=${build_alias+set}
    894 ac_cv_env_build_alias_value=$build_alias
    895 ac_env_host_alias_set=${host_alias+set}
    896 ac_env_host_alias_value=$host_alias
    897 ac_cv_env_host_alias_set=${host_alias+set}
    898 ac_cv_env_host_alias_value=$host_alias
    899 ac_env_target_alias_set=${target_alias+set}
    900 ac_env_target_alias_value=$target_alias
    901 ac_cv_env_target_alias_set=${target_alias+set}
    902 ac_cv_env_target_alias_value=$target_alias
    903 ac_env_CC_set=${CC+set}
    904 ac_env_CC_value=$CC
    905 ac_cv_env_CC_set=${CC+set}
    906 ac_cv_env_CC_value=$CC
    907 ac_env_CFLAGS_set=${CFLAGS+set}
    908 ac_env_CFLAGS_value=$CFLAGS
    909 ac_cv_env_CFLAGS_set=${CFLAGS+set}
    910 ac_cv_env_CFLAGS_value=$CFLAGS
    911 ac_env_LDFLAGS_set=${LDFLAGS+set}
    912 ac_env_LDFLAGS_value=$LDFLAGS
    913 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
    914 ac_cv_env_LDFLAGS_value=$LDFLAGS
    915 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
    916 ac_env_CPPFLAGS_value=$CPPFLAGS
    917 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
    918 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
    919 ac_env_CPP_set=${CPP+set}
    920 ac_env_CPP_value=$CPP
    921 ac_cv_env_CPP_set=${CPP+set}
    922 ac_cv_env_CPP_value=$CPP
    923 
    924 #
    925 # Report the --help message.
    926 #
    927 if test "$ac_init_help" = "long"; then
    928   # Omit some internal or obsolete options to make the list less imposing.
    929   # This message is too long to be a string in the A/UX 3.1 sh.
    930   cat <<_ACEOF
    931 \`configure' configures this package to adapt to many kinds of systems.
    932 
    933 Usage: $0 [OPTION]... [VAR=VALUE]...
    934 
    935 To assign environment variables (e.g., CC, CFLAGS...), specify them as
    936 VAR=VALUE.  See below for descriptions of some of the useful variables.
    937 
    938 Defaults for the options are specified in brackets.
    939 
    940 Configuration:
    941   -h, --help              display this help and exit
    942       --help=short        display options specific to this package
    943       --help=recursive    display the short help of all the included packages
    944   -V, --version           display version information and exit
    945   -q, --quiet, --silent   do not print \`checking...' messages
    946       --cache-file=FILE   cache test results in FILE [disabled]
    947   -C, --config-cache      alias for \`--cache-file=config.cache'
    948   -n, --no-create         do not create output files
    949       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
    950 
    951 _ACEOF
    952 
    953   cat <<_ACEOF
    954 Installation directories:
    955   --prefix=PREFIX         install architecture-independent files in PREFIX
    956 			  [$ac_default_prefix]
    957   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    958 			  [PREFIX]
    959 
    960 By default, \`make install' will install all the files in
    961 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
    962 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
    963 for instance \`--prefix=\$HOME'.
    964 
    965 For better control, use the options below.
    966 
    967 Fine tuning of the installation directories:
    968   --bindir=DIR           user executables [EPREFIX/bin]
    969   --sbindir=DIR          system admin executables [EPREFIX/sbin]
    970   --libexecdir=DIR       program executables [EPREFIX/libexec]
    971   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
    972   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
    973   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
    974   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
    975   --libdir=DIR           object code libraries [EPREFIX/lib]
    976   --includedir=DIR       C header files [PREFIX/include]
    977   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
    978   --infodir=DIR          info documentation [PREFIX/info]
    979   --mandir=DIR           man documentation [PREFIX/man]
    980 _ACEOF
    981 
    982   cat <<\_ACEOF
    983 
    984 Program names:
    985   --program-prefix=PREFIX            prepend PREFIX to installed program names
    986   --program-suffix=SUFFIX            append SUFFIX to installed program names
    987   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
    988 
    989 System types:
    990   --build=BUILD     configure for building on BUILD [guessed]
    991   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
    992   --target=TARGET   configure for building compilers for TARGET [HOST]
    993 _ACEOF
    994 fi
    995 
    996 if test -n "$ac_init_help"; then
    997 
    998   cat <<\_ACEOF
    999 
   1000 Optional Features:
   1001   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
   1002   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
   1003   --disable-dependency-tracking  speeds up one-time build
   1004   --enable-dependency-tracking   do not reject slow dependency extractors
   1005   --enable-targets        alternative target configurations
   1006   --enable-64-bit-bfd     64-bit support (on hosts with narrower word sizes)
   1007   --enable-got=<type>     GOT handling scheme (target, single, negative,
   1008                           multigot)
   1009   --enable-werror         treat compile warnings as errors
   1010   --enable-build-warnings enable build-time compiler warnings
   1011   --enable-shared[=PKGS]
   1012                           build shared libraries [default=yes]
   1013   --enable-static[=PKGS]
   1014                           build static libraries [default=yes]
   1015   --enable-fast-install[=PKGS]
   1016                           optimize for fast installation [default=yes]
   1017   --disable-libtool-lock  avoid locking (might break parallel builds)
   1018   --disable-nls           do not use Native Language Support
   1019   --enable-maintainer-mode  enable make rules and dependencies not useful
   1020 			  (and sometimes confusing) to the casual installer
   1021 
   1022 Optional Packages:
   1023   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
   1024   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
   1025   --with-lib-path=dir1:dir2...  set default LIB_PATH
   1026   --with-sysroot=DIR Search for usr/lib et al within DIR.
   1027   --with-pic              try to use only PIC/non-PIC objects [default=use
   1028                           both]
   1029   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
   1030 
   1031 Some influential environment variables:
   1032   CC          C compiler command
   1033   CFLAGS      C compiler flags
   1034   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
   1035               nonstandard directory <lib dir>
   1036   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
   1037               headers in a nonstandard directory <include dir>
   1038   CPP         C preprocessor
   1039 
   1040 Use these variables to override the choices made by `configure' or to help
   1041 it to find libraries and programs with nonstandard names/locations.
   1042 
   1043 _ACEOF
   1044 fi
   1045 
   1046 if test "$ac_init_help" = "recursive"; then
   1047   # If there are subdirs, report their specific --help.
   1048   ac_popdir=`pwd`
   1049   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
   1050     test -d $ac_dir || continue
   1051     ac_builddir=.
   1052 
   1053 if test "$ac_dir" != .; then
   1054   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   1055   # A "../" for each directory in $ac_dir_suffix.
   1056   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   1057 else
   1058   ac_dir_suffix= ac_top_builddir=
   1059 fi
   1060 
   1061 case $srcdir in
   1062   .)  # No --srcdir option.  We are building in place.
   1063     ac_srcdir=.
   1064     if test -z "$ac_top_builddir"; then
   1065        ac_top_srcdir=.
   1066     else
   1067        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   1068     fi ;;
   1069   [\\/]* | ?:[\\/]* )  # Absolute path.
   1070     ac_srcdir=$srcdir$ac_dir_suffix;
   1071     ac_top_srcdir=$srcdir ;;
   1072   *) # Relative path.
   1073     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   1074     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   1075 esac
   1076 
   1077 # Do not use `cd foo && pwd` to compute absolute paths, because
   1078 # the directories may not exist.
   1079 case `pwd` in
   1080 .) ac_abs_builddir="$ac_dir";;
   1081 *)
   1082   case "$ac_dir" in
   1083   .) ac_abs_builddir=`pwd`;;
   1084   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   1085   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   1086   esac;;
   1087 esac
   1088 case $ac_abs_builddir in
   1089 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   1090 *)
   1091   case ${ac_top_builddir}. in
   1092   .) ac_abs_top_builddir=$ac_abs_builddir;;
   1093   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   1094   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   1095   esac;;
   1096 esac
   1097 case $ac_abs_builddir in
   1098 .) ac_abs_srcdir=$ac_srcdir;;
   1099 *)
   1100   case $ac_srcdir in
   1101   .) ac_abs_srcdir=$ac_abs_builddir;;
   1102   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   1103   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   1104   esac;;
   1105 esac
   1106 case $ac_abs_builddir in
   1107 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   1108 *)
   1109   case $ac_top_srcdir in
   1110   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   1111   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   1112   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   1113   esac;;
   1114 esac
   1115 
   1116     cd $ac_dir
   1117     # Check for guested configure; otherwise get Cygnus style configure.
   1118     if test -f $ac_srcdir/configure.gnu; then
   1119       echo
   1120       $SHELL $ac_srcdir/configure.gnu  --help=recursive
   1121     elif test -f $ac_srcdir/configure; then
   1122       echo
   1123       $SHELL $ac_srcdir/configure  --help=recursive
   1124     elif test -f $ac_srcdir/configure.ac ||
   1125 	   test -f $ac_srcdir/configure.in; then
   1126       echo
   1127       $ac_configure --help
   1128     else
   1129       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
   1130     fi
   1131     cd $ac_popdir
   1132   done
   1133 fi
   1134 
   1135 test -n "$ac_init_help" && exit 0
   1136 if $ac_init_version; then
   1137   cat <<\_ACEOF
   1138 
   1139 Copyright (C) 2003 Free Software Foundation, Inc.
   1140 This configure script is free software; the Free Software Foundation
   1141 gives unlimited permission to copy, distribute and modify it.
   1142 _ACEOF
   1143   exit 0
   1144 fi
   1145 exec 5>config.log
   1146 cat >&5 <<_ACEOF
   1147 This file contains any messages produced by compilers while
   1148 running configure, to aid debugging if configure makes a mistake.
   1149 
   1150 It was created by $as_me, which was
   1151 generated by GNU Autoconf 2.59.  Invocation command line was
   1152 
   1153   $ $0 $@
   1154 
   1155 _ACEOF
   1156 {
   1157 cat <<_ASUNAME
   1158 ## --------- ##
   1159 ## Platform. ##
   1160 ## --------- ##
   1161 
   1162 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
   1163 uname -m = `(uname -m) 2>/dev/null || echo unknown`
   1164 uname -r = `(uname -r) 2>/dev/null || echo unknown`
   1165 uname -s = `(uname -s) 2>/dev/null || echo unknown`
   1166 uname -v = `(uname -v) 2>/dev/null || echo unknown`
   1167 
   1168 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
   1169 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
   1170 
   1171 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
   1172 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
   1173 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
   1174 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
   1175 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
   1176 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
   1177 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
   1178 
   1179 _ASUNAME
   1180 
   1181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1182 for as_dir in $PATH
   1183 do
   1184   IFS=$as_save_IFS
   1185   test -z "$as_dir" && as_dir=.
   1186   echo "PATH: $as_dir"
   1187 done
   1188 
   1189 } >&5
   1190 
   1191 cat >&5 <<_ACEOF
   1192 
   1193 
   1194 ## ----------- ##
   1195 ## Core tests. ##
   1196 ## ----------- ##
   1197 
   1198 _ACEOF
   1199 
   1200 
   1201 # Keep a trace of the command line.
   1202 # Strip out --no-create and --no-recursion so they do not pile up.
   1203 # Strip out --silent because we don't want to record it for future runs.
   1204 # Also quote any args containing shell meta-characters.
   1205 # Make two passes to allow for proper duplicate-argument suppression.
   1206 ac_configure_args=
   1207 ac_configure_args0=
   1208 ac_configure_args1=
   1209 ac_sep=
   1210 ac_must_keep_next=false
   1211 for ac_pass in 1 2
   1212 do
   1213   for ac_arg
   1214   do
   1215     case $ac_arg in
   1216     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
   1217     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   1218     | -silent | --silent | --silen | --sile | --sil)
   1219       continue ;;
   1220     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1221       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
   1222     esac
   1223     case $ac_pass in
   1224     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
   1225     2)
   1226       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
   1227       if test $ac_must_keep_next = true; then
   1228 	ac_must_keep_next=false # Got value, back to normal.
   1229       else
   1230 	case $ac_arg in
   1231 	  *=* | --config-cache | -C | -disable-* | --disable-* \
   1232 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
   1233 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
   1234 	  | -with-* | --with-* | -without-* | --without-* | --x)
   1235 	    case "$ac_configure_args0 " in
   1236 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
   1237 	    esac
   1238 	    ;;
   1239 	  -* ) ac_must_keep_next=true ;;
   1240 	esac
   1241       fi
   1242       ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
   1243       # Get rid of the leading space.
   1244       ac_sep=" "
   1245       ;;
   1246     esac
   1247   done
   1248 done
   1249 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
   1250 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
   1251 
   1252 # When interrupted or exit'd, cleanup temporary files, and complete
   1253 # config.log.  We remove comments because anyway the quotes in there
   1254 # would cause problems or look ugly.
   1255 # WARNING: Be sure not to use single quotes in there, as some shells,
   1256 # such as our DU 5.0 friend, will then `close' the trap.
   1257 trap 'exit_status=$?
   1258   # Save into config.log some information that might help in debugging.
   1259   {
   1260     echo
   1261 
   1262     cat <<\_ASBOX
   1263 ## ---------------- ##
   1264 ## Cache variables. ##
   1265 ## ---------------- ##
   1266 _ASBOX
   1267     echo
   1268     # The following way of writing the cache mishandles newlines in values,
   1269 {
   1270   (set) 2>&1 |
   1271     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
   1272     *ac_space=\ *)
   1273       sed -n \
   1274 	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
   1275 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
   1276       ;;
   1277     *)
   1278       sed -n \
   1279 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   1280       ;;
   1281     esac;
   1282 }
   1283     echo
   1284 
   1285     cat <<\_ASBOX
   1286 ## ----------------- ##
   1287 ## Output variables. ##
   1288 ## ----------------- ##
   1289 _ASBOX
   1290     echo
   1291     for ac_var in $ac_subst_vars
   1292     do
   1293       eval ac_val=$`echo $ac_var`
   1294       echo "$ac_var='"'"'$ac_val'"'"'"
   1295     done | sort
   1296     echo
   1297 
   1298     if test -n "$ac_subst_files"; then
   1299       cat <<\_ASBOX
   1300 ## ------------- ##
   1301 ## Output files. ##
   1302 ## ------------- ##
   1303 _ASBOX
   1304       echo
   1305       for ac_var in $ac_subst_files
   1306       do
   1307 	eval ac_val=$`echo $ac_var`
   1308 	echo "$ac_var='"'"'$ac_val'"'"'"
   1309       done | sort
   1310       echo
   1311     fi
   1312 
   1313     if test -s confdefs.h; then
   1314       cat <<\_ASBOX
   1315 ## ----------- ##
   1316 ## confdefs.h. ##
   1317 ## ----------- ##
   1318 _ASBOX
   1319       echo
   1320       sed "/^$/d" confdefs.h | sort
   1321       echo
   1322     fi
   1323     test "$ac_signal" != 0 &&
   1324       echo "$as_me: caught signal $ac_signal"
   1325     echo "$as_me: exit $exit_status"
   1326   } >&5
   1327   rm -f core *.core &&
   1328   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
   1329     exit $exit_status
   1330      ' 0
   1331 for ac_signal in 1 2 13 15; do
   1332   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
   1333 done
   1334 ac_signal=0
   1335 
   1336 # confdefs.h avoids OS command line length limits that DEFS can exceed.
   1337 rm -rf conftest* confdefs.h
   1338 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
   1339 echo >confdefs.h
   1340 
   1341 # Predefined preprocessor variables.
   1342 
   1343 cat >>confdefs.h <<_ACEOF
   1344 #define PACKAGE_NAME "$PACKAGE_NAME"
   1345 _ACEOF
   1346 
   1347 
   1348 cat >>confdefs.h <<_ACEOF
   1349 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
   1350 _ACEOF
   1351 
   1352 
   1353 cat >>confdefs.h <<_ACEOF
   1354 #define PACKAGE_VERSION "$PACKAGE_VERSION"
   1355 _ACEOF
   1356 
   1357 
   1358 cat >>confdefs.h <<_ACEOF
   1359 #define PACKAGE_STRING "$PACKAGE_STRING"
   1360 _ACEOF
   1361 
   1362 
   1363 cat >>confdefs.h <<_ACEOF
   1364 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
   1365 _ACEOF
   1366 
   1367 
   1368 # Let the site file select an alternate cache file if it wants to.
   1369 # Prefer explicitly selected file to automatically selected ones.
   1370 if test -z "$CONFIG_SITE"; then
   1371   if test "x$prefix" != xNONE; then
   1372     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
   1373   else
   1374     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
   1375   fi
   1376 fi
   1377 for ac_site_file in $CONFIG_SITE; do
   1378   if test -r "$ac_site_file"; then
   1379     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
   1380 echo "$as_me: loading site script $ac_site_file" >&6;}
   1381     sed 's/^/| /' "$ac_site_file" >&5
   1382     . "$ac_site_file"
   1383   fi
   1384 done
   1385 
   1386 if test -r "$cache_file"; then
   1387   # Some versions of bash will fail to source /dev/null (special
   1388   # files actually), so we avoid doing that.
   1389   if test -f "$cache_file"; then
   1390     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
   1391 echo "$as_me: loading cache $cache_file" >&6;}
   1392     case $cache_file in
   1393       [\\/]* | ?:[\\/]* ) . $cache_file;;
   1394       *)                      . ./$cache_file;;
   1395     esac
   1396   fi
   1397 else
   1398   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
   1399 echo "$as_me: creating cache $cache_file" >&6;}
   1400   >$cache_file
   1401 fi
   1402 
   1403 # Check that the precious variables saved in the cache have kept the same
   1404 # value.
   1405 ac_cache_corrupted=false
   1406 for ac_var in `(set) 2>&1 |
   1407 	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
   1408   eval ac_old_set=\$ac_cv_env_${ac_var}_set
   1409   eval ac_new_set=\$ac_env_${ac_var}_set
   1410   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
   1411   eval ac_new_val="\$ac_env_${ac_var}_value"
   1412   case $ac_old_set,$ac_new_set in
   1413     set,)
   1414       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
   1415 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
   1416       ac_cache_corrupted=: ;;
   1417     ,set)
   1418       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
   1419 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
   1420       ac_cache_corrupted=: ;;
   1421     ,);;
   1422     *)
   1423       if test "x$ac_old_val" != "x$ac_new_val"; then
   1424         # differences in whitespace do not lead to failure.
   1425         ac_old_val_w=`echo x $ac_old_val`
   1426         ac_new_val_w=`echo x $ac_new_val`
   1427         if test "$ac_old_val_w" != "$ac_new_val_w"; then
   1428           { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
   1429 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
   1430           ac_cache_corrupted=:
   1431         else
   1432           { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
   1433 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
   1434           eval $ac_var=\$ac_old_val
   1435         fi
   1436         { echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
   1437 echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
   1438         { echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
   1439 echo "$as_me:   current value: \`$ac_new_val'" >&2;}
   1440       fi;;
   1441   esac
   1442   # Pass precious variables to config.status.
   1443   if test "$ac_new_set" = set; then
   1444     case $ac_new_val in
   1445     *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
   1446       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
   1447     *) ac_arg=$ac_var=$ac_new_val ;;
   1448     esac
   1449     case " $ac_configure_args " in
   1450       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
   1451       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
   1452     esac
   1453   fi
   1454 done
   1455 if $ac_cache_corrupted; then
   1456   { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   1457 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1458   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
   1459 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
   1460   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
   1461 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
   1462    { (exit 1); exit 1; }; }
   1463 fi
   1464 
   1465 ac_ext=c
   1466 ac_cpp='$CPP $CPPFLAGS'
   1467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1470 
   1471 
   1472 
   1473 
   1474 
   1475 
   1476 
   1477 
   1478 
   1479 
   1480 
   1481 
   1482 
   1483 
   1484 
   1485 
   1486 
   1487 
   1488 
   1489 
   1490 
   1491 
   1492 
   1493 
   1494 ac_aux_dir=
   1495 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
   1496   if test -f $ac_dir/install-sh; then
   1497     ac_aux_dir=$ac_dir
   1498     ac_install_sh="$ac_aux_dir/install-sh -c"
   1499     break
   1500   elif test -f $ac_dir/install.sh; then
   1501     ac_aux_dir=$ac_dir
   1502     ac_install_sh="$ac_aux_dir/install.sh -c"
   1503     break
   1504   elif test -f $ac_dir/shtool; then
   1505     ac_aux_dir=$ac_dir
   1506     ac_install_sh="$ac_aux_dir/shtool install -c"
   1507     break
   1508   fi
   1509 done
   1510 if test -z "$ac_aux_dir"; then
   1511   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
   1512 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
   1513    { (exit 1); exit 1; }; }
   1514 fi
   1515 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
   1516 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
   1517 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
   1518 
   1519 # Make sure we can run config.sub.
   1520 $ac_config_sub sun4 >/dev/null 2>&1 ||
   1521   { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
   1522 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
   1523    { (exit 1); exit 1; }; }
   1524 
   1525 echo "$as_me:$LINENO: checking build system type" >&5
   1526 echo $ECHO_N "checking build system type... $ECHO_C" >&6
   1527 if test "${ac_cv_build+set}" = set; then
   1528   echo $ECHO_N "(cached) $ECHO_C" >&6
   1529 else
   1530   ac_cv_build_alias=$build_alias
   1531 test -z "$ac_cv_build_alias" &&
   1532   ac_cv_build_alias=`$ac_config_guess`
   1533 test -z "$ac_cv_build_alias" &&
   1534   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
   1535 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
   1536    { (exit 1); exit 1; }; }
   1537 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
   1538   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
   1539 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
   1540    { (exit 1); exit 1; }; }
   1541 
   1542 fi
   1543 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
   1544 echo "${ECHO_T}$ac_cv_build" >&6
   1545 build=$ac_cv_build
   1546 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1547 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1548 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1549 
   1550 
   1551 echo "$as_me:$LINENO: checking host system type" >&5
   1552 echo $ECHO_N "checking host system type... $ECHO_C" >&6
   1553 if test "${ac_cv_host+set}" = set; then
   1554   echo $ECHO_N "(cached) $ECHO_C" >&6
   1555 else
   1556   ac_cv_host_alias=$host_alias
   1557 test -z "$ac_cv_host_alias" &&
   1558   ac_cv_host_alias=$ac_cv_build_alias
   1559 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
   1560   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
   1561 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
   1562    { (exit 1); exit 1; }; }
   1563 
   1564 fi
   1565 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
   1566 echo "${ECHO_T}$ac_cv_host" >&6
   1567 host=$ac_cv_host
   1568 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1569 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1570 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1571 
   1572 
   1573 echo "$as_me:$LINENO: checking target system type" >&5
   1574 echo $ECHO_N "checking target system type... $ECHO_C" >&6
   1575 if test "${ac_cv_target+set}" = set; then
   1576   echo $ECHO_N "(cached) $ECHO_C" >&6
   1577 else
   1578   ac_cv_target_alias=$target_alias
   1579 test "x$ac_cv_target_alias" = "x" &&
   1580   ac_cv_target_alias=$ac_cv_host_alias
   1581 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
   1582   { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
   1583 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
   1584    { (exit 1); exit 1; }; }
   1585 
   1586 fi
   1587 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
   1588 echo "${ECHO_T}$ac_cv_target" >&6
   1589 target=$ac_cv_target
   1590 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
   1591 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
   1592 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
   1593 
   1594 
   1595 # The aliases save the names the user supplied, while $host etc.
   1596 # will get canonicalized.
   1597 test -n "$target_alias" &&
   1598   test "$program_prefix$program_suffix$program_transform_name" = \
   1599     NONENONEs,x,x, &&
   1600   program_prefix=${target_alias}-
   1601 ac_ext=c
   1602 ac_cpp='$CPP $CPPFLAGS'
   1603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   1604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   1605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   1606 if test -n "$ac_tool_prefix"; then
   1607   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   1608 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   1609 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1611 if test "${ac_cv_prog_CC+set}" = set; then
   1612   echo $ECHO_N "(cached) $ECHO_C" >&6
   1613 else
   1614   if test -n "$CC"; then
   1615   ac_cv_prog_CC="$CC" # Let the user override the test.
   1616 else
   1617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1618 for as_dir in $PATH
   1619 do
   1620   IFS=$as_save_IFS
   1621   test -z "$as_dir" && as_dir=.
   1622   for ac_exec_ext in '' $ac_executable_extensions; do
   1623   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1624     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   1625     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1626     break 2
   1627   fi
   1628 done
   1629 done
   1630 
   1631 fi
   1632 fi
   1633 CC=$ac_cv_prog_CC
   1634 if test -n "$CC"; then
   1635   echo "$as_me:$LINENO: result: $CC" >&5
   1636 echo "${ECHO_T}$CC" >&6
   1637 else
   1638   echo "$as_me:$LINENO: result: no" >&5
   1639 echo "${ECHO_T}no" >&6
   1640 fi
   1641 
   1642 fi
   1643 if test -z "$ac_cv_prog_CC"; then
   1644   ac_ct_CC=$CC
   1645   # Extract the first word of "gcc", so it can be a program name with args.
   1646 set dummy gcc; ac_word=$2
   1647 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1649 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1650   echo $ECHO_N "(cached) $ECHO_C" >&6
   1651 else
   1652   if test -n "$ac_ct_CC"; then
   1653   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1654 else
   1655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1656 for as_dir in $PATH
   1657 do
   1658   IFS=$as_save_IFS
   1659   test -z "$as_dir" && as_dir=.
   1660   for ac_exec_ext in '' $ac_executable_extensions; do
   1661   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1662     ac_cv_prog_ac_ct_CC="gcc"
   1663     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1664     break 2
   1665   fi
   1666 done
   1667 done
   1668 
   1669 fi
   1670 fi
   1671 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1672 if test -n "$ac_ct_CC"; then
   1673   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1674 echo "${ECHO_T}$ac_ct_CC" >&6
   1675 else
   1676   echo "$as_me:$LINENO: result: no" >&5
   1677 echo "${ECHO_T}no" >&6
   1678 fi
   1679 
   1680   CC=$ac_ct_CC
   1681 else
   1682   CC="$ac_cv_prog_CC"
   1683 fi
   1684 
   1685 if test -z "$CC"; then
   1686   if test -n "$ac_tool_prefix"; then
   1687   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   1688 set dummy ${ac_tool_prefix}cc; ac_word=$2
   1689 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1691 if test "${ac_cv_prog_CC+set}" = set; then
   1692   echo $ECHO_N "(cached) $ECHO_C" >&6
   1693 else
   1694   if test -n "$CC"; then
   1695   ac_cv_prog_CC="$CC" # Let the user override the test.
   1696 else
   1697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1698 for as_dir in $PATH
   1699 do
   1700   IFS=$as_save_IFS
   1701   test -z "$as_dir" && as_dir=.
   1702   for ac_exec_ext in '' $ac_executable_extensions; do
   1703   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1704     ac_cv_prog_CC="${ac_tool_prefix}cc"
   1705     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1706     break 2
   1707   fi
   1708 done
   1709 done
   1710 
   1711 fi
   1712 fi
   1713 CC=$ac_cv_prog_CC
   1714 if test -n "$CC"; then
   1715   echo "$as_me:$LINENO: result: $CC" >&5
   1716 echo "${ECHO_T}$CC" >&6
   1717 else
   1718   echo "$as_me:$LINENO: result: no" >&5
   1719 echo "${ECHO_T}no" >&6
   1720 fi
   1721 
   1722 fi
   1723 if test -z "$ac_cv_prog_CC"; then
   1724   ac_ct_CC=$CC
   1725   # Extract the first word of "cc", so it can be a program name with args.
   1726 set dummy cc; ac_word=$2
   1727 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1728 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1729 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1730   echo $ECHO_N "(cached) $ECHO_C" >&6
   1731 else
   1732   if test -n "$ac_ct_CC"; then
   1733   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1734 else
   1735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1736 for as_dir in $PATH
   1737 do
   1738   IFS=$as_save_IFS
   1739   test -z "$as_dir" && as_dir=.
   1740   for ac_exec_ext in '' $ac_executable_extensions; do
   1741   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1742     ac_cv_prog_ac_ct_CC="cc"
   1743     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1744     break 2
   1745   fi
   1746 done
   1747 done
   1748 
   1749 fi
   1750 fi
   1751 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1752 if test -n "$ac_ct_CC"; then
   1753   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1754 echo "${ECHO_T}$ac_ct_CC" >&6
   1755 else
   1756   echo "$as_me:$LINENO: result: no" >&5
   1757 echo "${ECHO_T}no" >&6
   1758 fi
   1759 
   1760   CC=$ac_ct_CC
   1761 else
   1762   CC="$ac_cv_prog_CC"
   1763 fi
   1764 
   1765 fi
   1766 if test -z "$CC"; then
   1767   # Extract the first word of "cc", so it can be a program name with args.
   1768 set dummy cc; ac_word=$2
   1769 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1771 if test "${ac_cv_prog_CC+set}" = set; then
   1772   echo $ECHO_N "(cached) $ECHO_C" >&6
   1773 else
   1774   if test -n "$CC"; then
   1775   ac_cv_prog_CC="$CC" # Let the user override the test.
   1776 else
   1777   ac_prog_rejected=no
   1778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1779 for as_dir in $PATH
   1780 do
   1781   IFS=$as_save_IFS
   1782   test -z "$as_dir" && as_dir=.
   1783   for ac_exec_ext in '' $ac_executable_extensions; do
   1784   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1785     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   1786        ac_prog_rejected=yes
   1787        continue
   1788      fi
   1789     ac_cv_prog_CC="cc"
   1790     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1791     break 2
   1792   fi
   1793 done
   1794 done
   1795 
   1796 if test $ac_prog_rejected = yes; then
   1797   # We found a bogon in the path, so make sure we never use it.
   1798   set dummy $ac_cv_prog_CC
   1799   shift
   1800   if test $# != 0; then
   1801     # We chose a different compiler from the bogus one.
   1802     # However, it has the same basename, so the bogon will be chosen
   1803     # first if we set CC to just the basename; use the full file name.
   1804     shift
   1805     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   1806   fi
   1807 fi
   1808 fi
   1809 fi
   1810 CC=$ac_cv_prog_CC
   1811 if test -n "$CC"; then
   1812   echo "$as_me:$LINENO: result: $CC" >&5
   1813 echo "${ECHO_T}$CC" >&6
   1814 else
   1815   echo "$as_me:$LINENO: result: no" >&5
   1816 echo "${ECHO_T}no" >&6
   1817 fi
   1818 
   1819 fi
   1820 if test -z "$CC"; then
   1821   if test -n "$ac_tool_prefix"; then
   1822   for ac_prog in cl
   1823   do
   1824     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   1825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   1826 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1828 if test "${ac_cv_prog_CC+set}" = set; then
   1829   echo $ECHO_N "(cached) $ECHO_C" >&6
   1830 else
   1831   if test -n "$CC"; then
   1832   ac_cv_prog_CC="$CC" # Let the user override the test.
   1833 else
   1834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1835 for as_dir in $PATH
   1836 do
   1837   IFS=$as_save_IFS
   1838   test -z "$as_dir" && as_dir=.
   1839   for ac_exec_ext in '' $ac_executable_extensions; do
   1840   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1841     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   1842     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1843     break 2
   1844   fi
   1845 done
   1846 done
   1847 
   1848 fi
   1849 fi
   1850 CC=$ac_cv_prog_CC
   1851 if test -n "$CC"; then
   1852   echo "$as_me:$LINENO: result: $CC" >&5
   1853 echo "${ECHO_T}$CC" >&6
   1854 else
   1855   echo "$as_me:$LINENO: result: no" >&5
   1856 echo "${ECHO_T}no" >&6
   1857 fi
   1858 
   1859     test -n "$CC" && break
   1860   done
   1861 fi
   1862 if test -z "$CC"; then
   1863   ac_ct_CC=$CC
   1864   for ac_prog in cl
   1865 do
   1866   # Extract the first word of "$ac_prog", so it can be a program name with args.
   1867 set dummy $ac_prog; ac_word=$2
   1868 echo "$as_me:$LINENO: checking for $ac_word" >&5
   1869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   1870 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   1871   echo $ECHO_N "(cached) $ECHO_C" >&6
   1872 else
   1873   if test -n "$ac_ct_CC"; then
   1874   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   1875 else
   1876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   1877 for as_dir in $PATH
   1878 do
   1879   IFS=$as_save_IFS
   1880   test -z "$as_dir" && as_dir=.
   1881   for ac_exec_ext in '' $ac_executable_extensions; do
   1882   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   1883     ac_cv_prog_ac_ct_CC="$ac_prog"
   1884     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   1885     break 2
   1886   fi
   1887 done
   1888 done
   1889 
   1890 fi
   1891 fi
   1892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   1893 if test -n "$ac_ct_CC"; then
   1894   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   1895 echo "${ECHO_T}$ac_ct_CC" >&6
   1896 else
   1897   echo "$as_me:$LINENO: result: no" >&5
   1898 echo "${ECHO_T}no" >&6
   1899 fi
   1900 
   1901   test -n "$ac_ct_CC" && break
   1902 done
   1903 
   1904   CC=$ac_ct_CC
   1905 fi
   1906 
   1907 fi
   1908 
   1909 
   1910 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   1911 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   1912 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   1913 See \`config.log' for more details." >&5
   1914 echo "$as_me: error: no acceptable C compiler found in \$PATH
   1915 See \`config.log' for more details." >&2;}
   1916    { (exit 1); exit 1; }; }; }
   1917 
   1918 # Provide some information about the compiler.
   1919 echo "$as_me:$LINENO:" \
   1920      "checking for C compiler version" >&5
   1921 ac_compiler=`set X $ac_compile; echo $2`
   1922 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   1923   (eval $ac_compiler --version </dev/null >&5) 2>&5
   1924   ac_status=$?
   1925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1926   (exit $ac_status); }
   1927 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   1928   (eval $ac_compiler -v </dev/null >&5) 2>&5
   1929   ac_status=$?
   1930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1931   (exit $ac_status); }
   1932 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   1933   (eval $ac_compiler -V </dev/null >&5) 2>&5
   1934   ac_status=$?
   1935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1936   (exit $ac_status); }
   1937 
   1938 cat >conftest.$ac_ext <<_ACEOF
   1939 /* confdefs.h.  */
   1940 _ACEOF
   1941 cat confdefs.h >>conftest.$ac_ext
   1942 cat >>conftest.$ac_ext <<_ACEOF
   1943 /* end confdefs.h.  */
   1944 
   1945 int
   1946 main ()
   1947 {
   1948 
   1949   ;
   1950   return 0;
   1951 }
   1952 _ACEOF
   1953 ac_clean_files_save=$ac_clean_files
   1954 ac_clean_files="$ac_clean_files a.out a.exe b.out"
   1955 # Try to create an executable without -o first, disregard a.out.
   1956 # It will help us diagnose broken compilers, and finding out an intuition
   1957 # of exeext.
   1958 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
   1959 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
   1960 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
   1961 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
   1962   (eval $ac_link_default) 2>&5
   1963   ac_status=$?
   1964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   1965   (exit $ac_status); }; then
   1966   # Find the output, starting from the most likely.  This scheme is
   1967 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
   1968 # resort.
   1969 
   1970 # Be careful to initialize this variable, since it used to be cached.
   1971 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
   1972 ac_cv_exeext=
   1973 # b.out is created by i960 compilers.
   1974 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
   1975 do
   1976   test -f "$ac_file" || continue
   1977   case $ac_file in
   1978     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
   1979 	;;
   1980     conftest.$ac_ext )
   1981 	# This is the source file.
   1982 	;;
   1983     [ab].out )
   1984 	# We found the default executable, but exeext='' is most
   1985 	# certainly right.
   1986 	break;;
   1987     *.* )
   1988 	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   1989 	# FIXME: I believe we export ac_cv_exeext for Libtool,
   1990 	# but it would be cool to find out if it's true.  Does anybody
   1991 	# maintain Libtool? --akim.
   1992 	export ac_cv_exeext
   1993 	break;;
   1994     * )
   1995 	break;;
   1996   esac
   1997 done
   1998 else
   1999   echo "$as_me: failed program was:" >&5
   2000 sed 's/^/| /' conftest.$ac_ext >&5
   2001 
   2002 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2003 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2004 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
   2005 See \`config.log' for more details." >&5
   2006 echo "$as_me: error: C compiler cannot create executables
   2007 See \`config.log' for more details." >&2;}
   2008    { (exit 77); exit 77; }; }; }
   2009 fi
   2010 
   2011 ac_exeext=$ac_cv_exeext
   2012 echo "$as_me:$LINENO: result: $ac_file" >&5
   2013 echo "${ECHO_T}$ac_file" >&6
   2014 
   2015 # Check the compiler produces executables we can run.  If not, either
   2016 # the compiler is broken, or we cross compile.
   2017 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
   2018 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
   2019 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
   2020 # If not cross compiling, check that we can run a simple program.
   2021 if test "$cross_compiling" != yes; then
   2022   if { ac_try='./$ac_file'
   2023   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2024   (eval $ac_try) 2>&5
   2025   ac_status=$?
   2026   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2027   (exit $ac_status); }; }; then
   2028     cross_compiling=no
   2029   else
   2030     if test "$cross_compiling" = maybe; then
   2031 	cross_compiling=yes
   2032     else
   2033 	{ { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2034 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2035 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
   2036 If you meant to cross compile, use \`--host'.
   2037 See \`config.log' for more details." >&5
   2038 echo "$as_me: error: cannot run C compiled programs.
   2039 If you meant to cross compile, use \`--host'.
   2040 See \`config.log' for more details." >&2;}
   2041    { (exit 1); exit 1; }; }; }
   2042     fi
   2043   fi
   2044 fi
   2045 echo "$as_me:$LINENO: result: yes" >&5
   2046 echo "${ECHO_T}yes" >&6
   2047 
   2048 rm -f a.out a.exe conftest$ac_cv_exeext b.out
   2049 ac_clean_files=$ac_clean_files_save
   2050 # Check the compiler produces executables we can run.  If not, either
   2051 # the compiler is broken, or we cross compile.
   2052 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
   2053 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
   2054 echo "$as_me:$LINENO: result: $cross_compiling" >&5
   2055 echo "${ECHO_T}$cross_compiling" >&6
   2056 
   2057 echo "$as_me:$LINENO: checking for suffix of executables" >&5
   2058 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
   2059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2060   (eval $ac_link) 2>&5
   2061   ac_status=$?
   2062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2063   (exit $ac_status); }; then
   2064   # If both `conftest.exe' and `conftest' are `present' (well, observable)
   2065 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
   2066 # work properly (i.e., refer to `conftest.exe'), while it won't with
   2067 # `rm'.
   2068 for ac_file in conftest.exe conftest conftest.*; do
   2069   test -f "$ac_file" || continue
   2070   case $ac_file in
   2071     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
   2072     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
   2073 	  export ac_cv_exeext
   2074 	  break;;
   2075     * ) break;;
   2076   esac
   2077 done
   2078 else
   2079   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2080 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2081 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
   2082 See \`config.log' for more details." >&5
   2083 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
   2084 See \`config.log' for more details." >&2;}
   2085    { (exit 1); exit 1; }; }; }
   2086 fi
   2087 
   2088 rm -f conftest$ac_cv_exeext
   2089 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
   2090 echo "${ECHO_T}$ac_cv_exeext" >&6
   2091 
   2092 rm -f conftest.$ac_ext
   2093 EXEEXT=$ac_cv_exeext
   2094 ac_exeext=$EXEEXT
   2095 echo "$as_me:$LINENO: checking for suffix of object files" >&5
   2096 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
   2097 if test "${ac_cv_objext+set}" = set; then
   2098   echo $ECHO_N "(cached) $ECHO_C" >&6
   2099 else
   2100   cat >conftest.$ac_ext <<_ACEOF
   2101 /* confdefs.h.  */
   2102 _ACEOF
   2103 cat confdefs.h >>conftest.$ac_ext
   2104 cat >>conftest.$ac_ext <<_ACEOF
   2105 /* end confdefs.h.  */
   2106 
   2107 int
   2108 main ()
   2109 {
   2110 
   2111   ;
   2112   return 0;
   2113 }
   2114 _ACEOF
   2115 rm -f conftest.o conftest.obj
   2116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2117   (eval $ac_compile) 2>&5
   2118   ac_status=$?
   2119   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2120   (exit $ac_status); }; then
   2121   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
   2122   case $ac_file in
   2123     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
   2124     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
   2125        break;;
   2126   esac
   2127 done
   2128 else
   2129   echo "$as_me: failed program was:" >&5
   2130 sed 's/^/| /' conftest.$ac_ext >&5
   2131 
   2132 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   2133 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   2134 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
   2135 See \`config.log' for more details." >&5
   2136 echo "$as_me: error: cannot compute suffix of object files: cannot compile
   2137 See \`config.log' for more details." >&2;}
   2138    { (exit 1); exit 1; }; }; }
   2139 fi
   2140 
   2141 rm -f conftest.$ac_cv_objext conftest.$ac_ext
   2142 fi
   2143 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
   2144 echo "${ECHO_T}$ac_cv_objext" >&6
   2145 OBJEXT=$ac_cv_objext
   2146 ac_objext=$OBJEXT
   2147 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   2148 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   2149 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   2150   echo $ECHO_N "(cached) $ECHO_C" >&6
   2151 else
   2152   cat >conftest.$ac_ext <<_ACEOF
   2153 /* confdefs.h.  */
   2154 _ACEOF
   2155 cat confdefs.h >>conftest.$ac_ext
   2156 cat >>conftest.$ac_ext <<_ACEOF
   2157 /* end confdefs.h.  */
   2158 
   2159 int
   2160 main ()
   2161 {
   2162 #ifndef __GNUC__
   2163        choke me
   2164 #endif
   2165 
   2166   ;
   2167   return 0;
   2168 }
   2169 _ACEOF
   2170 rm -f conftest.$ac_objext
   2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2172   (eval $ac_compile) 2>conftest.er1
   2173   ac_status=$?
   2174   grep -v '^ *+' conftest.er1 >conftest.err
   2175   rm -f conftest.er1
   2176   cat conftest.err >&5
   2177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2178   (exit $ac_status); } &&
   2179 	 { ac_try='test -z "$ac_c_werror_flag"
   2180 			 || test ! -s conftest.err'
   2181   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2182   (eval $ac_try) 2>&5
   2183   ac_status=$?
   2184   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2185   (exit $ac_status); }; } &&
   2186 	 { ac_try='test -s conftest.$ac_objext'
   2187   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2188   (eval $ac_try) 2>&5
   2189   ac_status=$?
   2190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2191   (exit $ac_status); }; }; then
   2192   ac_compiler_gnu=yes
   2193 else
   2194   echo "$as_me: failed program was:" >&5
   2195 sed 's/^/| /' conftest.$ac_ext >&5
   2196 
   2197 ac_compiler_gnu=no
   2198 fi
   2199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2200 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   2201 
   2202 fi
   2203 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   2204 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   2205 GCC=`test $ac_compiler_gnu = yes && echo yes`
   2206 ac_test_CFLAGS=${CFLAGS+set}
   2207 ac_save_CFLAGS=$CFLAGS
   2208 CFLAGS="-g"
   2209 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   2210 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   2211 if test "${ac_cv_prog_cc_g+set}" = set; then
   2212   echo $ECHO_N "(cached) $ECHO_C" >&6
   2213 else
   2214   cat >conftest.$ac_ext <<_ACEOF
   2215 /* confdefs.h.  */
   2216 _ACEOF
   2217 cat confdefs.h >>conftest.$ac_ext
   2218 cat >>conftest.$ac_ext <<_ACEOF
   2219 /* end confdefs.h.  */
   2220 
   2221 int
   2222 main ()
   2223 {
   2224 
   2225   ;
   2226   return 0;
   2227 }
   2228 _ACEOF
   2229 rm -f conftest.$ac_objext
   2230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2231   (eval $ac_compile) 2>conftest.er1
   2232   ac_status=$?
   2233   grep -v '^ *+' conftest.er1 >conftest.err
   2234   rm -f conftest.er1
   2235   cat conftest.err >&5
   2236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2237   (exit $ac_status); } &&
   2238 	 { ac_try='test -z "$ac_c_werror_flag"
   2239 			 || test ! -s conftest.err'
   2240   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2241   (eval $ac_try) 2>&5
   2242   ac_status=$?
   2243   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2244   (exit $ac_status); }; } &&
   2245 	 { ac_try='test -s conftest.$ac_objext'
   2246   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2247   (eval $ac_try) 2>&5
   2248   ac_status=$?
   2249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2250   (exit $ac_status); }; }; then
   2251   ac_cv_prog_cc_g=yes
   2252 else
   2253   echo "$as_me: failed program was:" >&5
   2254 sed 's/^/| /' conftest.$ac_ext >&5
   2255 
   2256 ac_cv_prog_cc_g=no
   2257 fi
   2258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2259 fi
   2260 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   2261 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   2262 if test "$ac_test_CFLAGS" = set; then
   2263   CFLAGS=$ac_save_CFLAGS
   2264 elif test $ac_cv_prog_cc_g = yes; then
   2265   if test "$GCC" = yes; then
   2266     CFLAGS="-g -O2"
   2267   else
   2268     CFLAGS="-g"
   2269   fi
   2270 else
   2271   if test "$GCC" = yes; then
   2272     CFLAGS="-O2"
   2273   else
   2274     CFLAGS=
   2275   fi
   2276 fi
   2277 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   2278 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   2279 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   2280   echo $ECHO_N "(cached) $ECHO_C" >&6
   2281 else
   2282   ac_cv_prog_cc_stdc=no
   2283 ac_save_CC=$CC
   2284 cat >conftest.$ac_ext <<_ACEOF
   2285 /* confdefs.h.  */
   2286 _ACEOF
   2287 cat confdefs.h >>conftest.$ac_ext
   2288 cat >>conftest.$ac_ext <<_ACEOF
   2289 /* end confdefs.h.  */
   2290 #include <stdarg.h>
   2291 #include <stdio.h>
   2292 #include <sys/types.h>
   2293 #include <sys/stat.h>
   2294 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   2295 struct buf { int x; };
   2296 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   2297 static char *e (p, i)
   2298      char **p;
   2299      int i;
   2300 {
   2301   return p[i];
   2302 }
   2303 static char *f (char * (*g) (char **, int), char **p, ...)
   2304 {
   2305   char *s;
   2306   va_list v;
   2307   va_start (v,p);
   2308   s = g (p, va_arg (v,int));
   2309   va_end (v);
   2310   return s;
   2311 }
   2312 
   2313 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   2314    function prototypes and stuff, but not '\xHH' hex character constants.
   2315    These don't provoke an error unfortunately, instead are silently treated
   2316    as 'x'.  The following induces an error, until -std1 is added to get
   2317    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   2318    array size at least.  It's necessary to write '\x00'==0 to get something
   2319    that's true only with -std1.  */
   2320 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   2321 
   2322 int test (int i, double x);
   2323 struct s1 {int (*f) (int a);};
   2324 struct s2 {int (*f) (double a);};
   2325 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   2326 int argc;
   2327 char **argv;
   2328 int
   2329 main ()
   2330 {
   2331 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   2332   ;
   2333   return 0;
   2334 }
   2335 _ACEOF
   2336 # Don't try gcc -ansi; that turns off useful extensions and
   2337 # breaks some systems' header files.
   2338 # AIX			-qlanglvl=ansi
   2339 # Ultrix and OSF/1	-std1
   2340 # HP-UX 10.20 and later	-Ae
   2341 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   2342 # SVR4			-Xc -D__EXTENSIONS__
   2343 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   2344 do
   2345   CC="$ac_save_CC $ac_arg"
   2346   rm -f conftest.$ac_objext
   2347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2348   (eval $ac_compile) 2>conftest.er1
   2349   ac_status=$?
   2350   grep -v '^ *+' conftest.er1 >conftest.err
   2351   rm -f conftest.er1
   2352   cat conftest.err >&5
   2353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2354   (exit $ac_status); } &&
   2355 	 { ac_try='test -z "$ac_c_werror_flag"
   2356 			 || test ! -s conftest.err'
   2357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2358   (eval $ac_try) 2>&5
   2359   ac_status=$?
   2360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2361   (exit $ac_status); }; } &&
   2362 	 { ac_try='test -s conftest.$ac_objext'
   2363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2364   (eval $ac_try) 2>&5
   2365   ac_status=$?
   2366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2367   (exit $ac_status); }; }; then
   2368   ac_cv_prog_cc_stdc=$ac_arg
   2369 break
   2370 else
   2371   echo "$as_me: failed program was:" >&5
   2372 sed 's/^/| /' conftest.$ac_ext >&5
   2373 
   2374 fi
   2375 rm -f conftest.err conftest.$ac_objext
   2376 done
   2377 rm -f conftest.$ac_ext conftest.$ac_objext
   2378 CC=$ac_save_CC
   2379 
   2380 fi
   2381 
   2382 case "x$ac_cv_prog_cc_stdc" in
   2383   x|xno)
   2384     echo "$as_me:$LINENO: result: none needed" >&5
   2385 echo "${ECHO_T}none needed" >&6 ;;
   2386   *)
   2387     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   2388 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   2389     CC="$CC $ac_cv_prog_cc_stdc" ;;
   2390 esac
   2391 
   2392 # Some people use a C++ compiler to compile C.  Since we use `exit',
   2393 # in C++ we need to declare it.  In case someone uses the same compiler
   2394 # for both compiling C and C++ we need to have the C++ compiler decide
   2395 # the declaration of exit, since it's the most demanding environment.
   2396 cat >conftest.$ac_ext <<_ACEOF
   2397 #ifndef __cplusplus
   2398   choke me
   2399 #endif
   2400 _ACEOF
   2401 rm -f conftest.$ac_objext
   2402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2403   (eval $ac_compile) 2>conftest.er1
   2404   ac_status=$?
   2405   grep -v '^ *+' conftest.er1 >conftest.err
   2406   rm -f conftest.er1
   2407   cat conftest.err >&5
   2408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2409   (exit $ac_status); } &&
   2410 	 { ac_try='test -z "$ac_c_werror_flag"
   2411 			 || test ! -s conftest.err'
   2412   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2413   (eval $ac_try) 2>&5
   2414   ac_status=$?
   2415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2416   (exit $ac_status); }; } &&
   2417 	 { ac_try='test -s conftest.$ac_objext'
   2418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2419   (eval $ac_try) 2>&5
   2420   ac_status=$?
   2421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2422   (exit $ac_status); }; }; then
   2423   for ac_declaration in \
   2424    '' \
   2425    'extern "C" void std::exit (int) throw (); using std::exit;' \
   2426    'extern "C" void std::exit (int); using std::exit;' \
   2427    'extern "C" void exit (int) throw ();' \
   2428    'extern "C" void exit (int);' \
   2429    'void exit (int);'
   2430 do
   2431   cat >conftest.$ac_ext <<_ACEOF
   2432 /* confdefs.h.  */
   2433 _ACEOF
   2434 cat confdefs.h >>conftest.$ac_ext
   2435 cat >>conftest.$ac_ext <<_ACEOF
   2436 /* end confdefs.h.  */
   2437 $ac_declaration
   2438 #include <stdlib.h>
   2439 int
   2440 main ()
   2441 {
   2442 exit (42);
   2443   ;
   2444   return 0;
   2445 }
   2446 _ACEOF
   2447 rm -f conftest.$ac_objext
   2448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2449   (eval $ac_compile) 2>conftest.er1
   2450   ac_status=$?
   2451   grep -v '^ *+' conftest.er1 >conftest.err
   2452   rm -f conftest.er1
   2453   cat conftest.err >&5
   2454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2455   (exit $ac_status); } &&
   2456 	 { ac_try='test -z "$ac_c_werror_flag"
   2457 			 || test ! -s conftest.err'
   2458   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2459   (eval $ac_try) 2>&5
   2460   ac_status=$?
   2461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2462   (exit $ac_status); }; } &&
   2463 	 { ac_try='test -s conftest.$ac_objext'
   2464   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2465   (eval $ac_try) 2>&5
   2466   ac_status=$?
   2467   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2468   (exit $ac_status); }; }; then
   2469   :
   2470 else
   2471   echo "$as_me: failed program was:" >&5
   2472 sed 's/^/| /' conftest.$ac_ext >&5
   2473 
   2474 continue
   2475 fi
   2476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2477   cat >conftest.$ac_ext <<_ACEOF
   2478 /* confdefs.h.  */
   2479 _ACEOF
   2480 cat confdefs.h >>conftest.$ac_ext
   2481 cat >>conftest.$ac_ext <<_ACEOF
   2482 /* end confdefs.h.  */
   2483 $ac_declaration
   2484 int
   2485 main ()
   2486 {
   2487 exit (42);
   2488   ;
   2489   return 0;
   2490 }
   2491 _ACEOF
   2492 rm -f conftest.$ac_objext
   2493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   2494   (eval $ac_compile) 2>conftest.er1
   2495   ac_status=$?
   2496   grep -v '^ *+' conftest.er1 >conftest.err
   2497   rm -f conftest.er1
   2498   cat conftest.err >&5
   2499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2500   (exit $ac_status); } &&
   2501 	 { ac_try='test -z "$ac_c_werror_flag"
   2502 			 || test ! -s conftest.err'
   2503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2504   (eval $ac_try) 2>&5
   2505   ac_status=$?
   2506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2507   (exit $ac_status); }; } &&
   2508 	 { ac_try='test -s conftest.$ac_objext'
   2509   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2510   (eval $ac_try) 2>&5
   2511   ac_status=$?
   2512   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2513   (exit $ac_status); }; }; then
   2514   break
   2515 else
   2516   echo "$as_me: failed program was:" >&5
   2517 sed 's/^/| /' conftest.$ac_ext >&5
   2518 
   2519 fi
   2520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2521 done
   2522 rm -f conftest*
   2523 if test -n "$ac_declaration"; then
   2524   echo '#ifdef __cplusplus' >>confdefs.h
   2525   echo $ac_declaration      >>confdefs.h
   2526   echo '#endif'             >>confdefs.h
   2527 fi
   2528 
   2529 else
   2530   echo "$as_me: failed program was:" >&5
   2531 sed 's/^/| /' conftest.$ac_ext >&5
   2532 
   2533 fi
   2534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   2535 ac_ext=c
   2536 ac_cpp='$CPP $CPPFLAGS'
   2537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   2538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   2539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   2540 
   2541 
   2542 echo "$as_me:$LINENO: checking for library containing strerror" >&5
   2543 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
   2544 if test "${ac_cv_search_strerror+set}" = set; then
   2545   echo $ECHO_N "(cached) $ECHO_C" >&6
   2546 else
   2547   ac_func_search_save_LIBS=$LIBS
   2548 ac_cv_search_strerror=no
   2549 cat >conftest.$ac_ext <<_ACEOF
   2550 /* confdefs.h.  */
   2551 _ACEOF
   2552 cat confdefs.h >>conftest.$ac_ext
   2553 cat >>conftest.$ac_ext <<_ACEOF
   2554 /* end confdefs.h.  */
   2555 
   2556 /* Override any gcc2 internal prototype to avoid an error.  */
   2557 #ifdef __cplusplus
   2558 extern "C"
   2559 #endif
   2560 /* We use char because int might match the return type of a gcc2
   2561    builtin and then its argument prototype would still apply.  */
   2562 char strerror ();
   2563 int
   2564 main ()
   2565 {
   2566 strerror ();
   2567   ;
   2568   return 0;
   2569 }
   2570 _ACEOF
   2571 rm -f conftest.$ac_objext conftest$ac_exeext
   2572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2573   (eval $ac_link) 2>conftest.er1
   2574   ac_status=$?
   2575   grep -v '^ *+' conftest.er1 >conftest.err
   2576   rm -f conftest.er1
   2577   cat conftest.err >&5
   2578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2579   (exit $ac_status); } &&
   2580 	 { ac_try='test -z "$ac_c_werror_flag"
   2581 			 || test ! -s conftest.err'
   2582   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2583   (eval $ac_try) 2>&5
   2584   ac_status=$?
   2585   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2586   (exit $ac_status); }; } &&
   2587 	 { ac_try='test -s conftest$ac_exeext'
   2588   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2589   (eval $ac_try) 2>&5
   2590   ac_status=$?
   2591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2592   (exit $ac_status); }; }; then
   2593   ac_cv_search_strerror="none required"
   2594 else
   2595   echo "$as_me: failed program was:" >&5
   2596 sed 's/^/| /' conftest.$ac_ext >&5
   2597 
   2598 fi
   2599 rm -f conftest.err conftest.$ac_objext \
   2600       conftest$ac_exeext conftest.$ac_ext
   2601 if test "$ac_cv_search_strerror" = no; then
   2602   for ac_lib in cposix; do
   2603     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   2604     cat >conftest.$ac_ext <<_ACEOF
   2605 /* confdefs.h.  */
   2606 _ACEOF
   2607 cat confdefs.h >>conftest.$ac_ext
   2608 cat >>conftest.$ac_ext <<_ACEOF
   2609 /* end confdefs.h.  */
   2610 
   2611 /* Override any gcc2 internal prototype to avoid an error.  */
   2612 #ifdef __cplusplus
   2613 extern "C"
   2614 #endif
   2615 /* We use char because int might match the return type of a gcc2
   2616    builtin and then its argument prototype would still apply.  */
   2617 char strerror ();
   2618 int
   2619 main ()
   2620 {
   2621 strerror ();
   2622   ;
   2623   return 0;
   2624 }
   2625 _ACEOF
   2626 rm -f conftest.$ac_objext conftest$ac_exeext
   2627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   2628   (eval $ac_link) 2>conftest.er1
   2629   ac_status=$?
   2630   grep -v '^ *+' conftest.er1 >conftest.err
   2631   rm -f conftest.er1
   2632   cat conftest.err >&5
   2633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2634   (exit $ac_status); } &&
   2635 	 { ac_try='test -z "$ac_c_werror_flag"
   2636 			 || test ! -s conftest.err'
   2637   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2638   (eval $ac_try) 2>&5
   2639   ac_status=$?
   2640   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2641   (exit $ac_status); }; } &&
   2642 	 { ac_try='test -s conftest$ac_exeext'
   2643   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   2644   (eval $ac_try) 2>&5
   2645   ac_status=$?
   2646   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   2647   (exit $ac_status); }; }; then
   2648   ac_cv_search_strerror="-l$ac_lib"
   2649 break
   2650 else
   2651   echo "$as_me: failed program was:" >&5
   2652 sed 's/^/| /' conftest.$ac_ext >&5
   2653 
   2654 fi
   2655 rm -f conftest.err conftest.$ac_objext \
   2656       conftest$ac_exeext conftest.$ac_ext
   2657   done
   2658 fi
   2659 LIBS=$ac_func_search_save_LIBS
   2660 fi
   2661 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
   2662 echo "${ECHO_T}$ac_cv_search_strerror" >&6
   2663 if test "$ac_cv_search_strerror" != no; then
   2664   test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
   2665 
   2666 fi
   2667 
   2668 
   2669 BFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ 	]*\([^ 	]*\)[ 	]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
   2670 am__api_version="1.9"
   2671 # Find a good install program.  We prefer a C program (faster),
   2672 # so one script is as good as another.  But avoid the broken or
   2673 # incompatible versions:
   2674 # SysV /etc/install, /usr/sbin/install
   2675 # SunOS /usr/etc/install
   2676 # IRIX /sbin/install
   2677 # AIX /bin/install
   2678 # AmigaOS /C/install, which installs bootblocks on floppy discs
   2679 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   2680 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   2681 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   2682 # OS/2's system install, which has a completely different semantic
   2683 # ./install, which can be erroneously created by make from ./install.sh.
   2684 # Reject install programs that cannot install multiple files.
   2685 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   2686 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   2687 if test -z "$INSTALL"; then
   2688 if test "${ac_cv_path_install+set}" = set; then
   2689   echo $ECHO_N "(cached) $ECHO_C" >&6
   2690 else
   2691   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2692 for as_dir in $PATH
   2693 do
   2694   IFS=$as_save_IFS
   2695   test -z "$as_dir" && as_dir=.
   2696   # Account for people who put trailing slashes in PATH elements.
   2697 case $as_dir/ in
   2698   ./ | .// | /cC/* | \
   2699   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   2700   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   2701   /usr/ucb/* ) ;;
   2702   *)
   2703     # OSF1 and SCO ODT 3.0 have their own names for install.
   2704     # Don't use installbsd from OSF since it installs stuff as root
   2705     # by default.
   2706     for ac_prog in ginstall scoinst install; do
   2707       for ac_exec_ext in '' $ac_executable_extensions; do
   2708 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   2709 	  if test $ac_prog = install &&
   2710 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2711 	    # AIX install.  It has an incompatible calling convention.
   2712 	    :
   2713 	  elif test $ac_prog = install &&
   2714 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   2715 	    # program-specific install script used by HP pwplus--don't use.
   2716 	    :
   2717 	  else
   2718 	    rm -rf conftest.one conftest.two conftest.dir
   2719 	    echo one > conftest.one
   2720 	    echo two > conftest.two
   2721 	    mkdir conftest.dir
   2722 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   2723 	      test -s conftest.one && test -s conftest.two &&
   2724 	      test -s conftest.dir/conftest.one &&
   2725 	      test -s conftest.dir/conftest.two
   2726 	    then
   2727 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   2728 	      break 3
   2729 	    fi
   2730 	  fi
   2731 	fi
   2732       done
   2733     done
   2734     ;;
   2735 esac
   2736 done
   2737 
   2738 rm -rf conftest.one conftest.two conftest.dir
   2739 
   2740 fi
   2741   if test "${ac_cv_path_install+set}" = set; then
   2742     INSTALL=$ac_cv_path_install
   2743   else
   2744     # As a last resort, use the slow shell script.  Don't cache a
   2745     # value for INSTALL within a source directory, because that will
   2746     # break other packages using the cache if that directory is
   2747     # removed, or if the value is a relative name.
   2748     INSTALL=$ac_install_sh
   2749   fi
   2750 fi
   2751 echo "$as_me:$LINENO: result: $INSTALL" >&5
   2752 echo "${ECHO_T}$INSTALL" >&6
   2753 
   2754 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   2755 # It thinks the first close brace ends the variable substitution.
   2756 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   2757 
   2758 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   2759 
   2760 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   2761 
   2762 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
   2763 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
   2764 # Just in case
   2765 sleep 1
   2766 echo timestamp > conftest.file
   2767 # Do `set' in a subshell so we don't clobber the current shell's
   2768 # arguments.  Must try -L first in case configure is actually a
   2769 # symlink; some systems play weird games with the mod time of symlinks
   2770 # (eg FreeBSD returns the mod time of the symlink's containing
   2771 # directory).
   2772 if (
   2773    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
   2774    if test "$*" = "X"; then
   2775       # -L didn't work.
   2776       set X `ls -t $srcdir/configure conftest.file`
   2777    fi
   2778    rm -f conftest.file
   2779    if test "$*" != "X $srcdir/configure conftest.file" \
   2780       && test "$*" != "X conftest.file $srcdir/configure"; then
   2781 
   2782       # If neither matched, then we have a broken ls.  This can happen
   2783       # if, for instance, CONFIG_SHELL is bash and it inherits a
   2784       # broken ls alias from the environment.  This has actually
   2785       # happened.  Such a system could not be considered "sane".
   2786       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
   2787 alias in your environment" >&5
   2788 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
   2789 alias in your environment" >&2;}
   2790    { (exit 1); exit 1; }; }
   2791    fi
   2792 
   2793    test "$2" = conftest.file
   2794    )
   2795 then
   2796    # Ok.
   2797    :
   2798 else
   2799    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
   2800 Check your system clock" >&5
   2801 echo "$as_me: error: newly created file is older than distributed files!
   2802 Check your system clock" >&2;}
   2803    { (exit 1); exit 1; }; }
   2804 fi
   2805 echo "$as_me:$LINENO: result: yes" >&5
   2806 echo "${ECHO_T}yes" >&6
   2807 test "$program_prefix" != NONE &&
   2808   program_transform_name="s,^,$program_prefix,;$program_transform_name"
   2809 # Use a double $ so make ignores it.
   2810 test "$program_suffix" != NONE &&
   2811   program_transform_name="s,\$,$program_suffix,;$program_transform_name"
   2812 # Double any \ or $.  echo might interpret backslashes.
   2813 # By default was `s,x,x', remove it if useless.
   2814 cat <<\_ACEOF >conftest.sed
   2815 s/[\\$]/&&/g;s/;s,x,x,$//
   2816 _ACEOF
   2817 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
   2818 rm conftest.sed
   2819 
   2820 # expand $ac_aux_dir to an absolute path
   2821 am_aux_dir=`cd $ac_aux_dir && pwd`
   2822 
   2823 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
   2824 # Use eval to expand $SHELL
   2825 if eval "$MISSING --run true"; then
   2826   am_missing_run="$MISSING --run "
   2827 else
   2828   am_missing_run=
   2829   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
   2830 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
   2831 fi
   2832 
   2833 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
   2834   # We used to keeping the `.' as first argument, in order to
   2835   # allow $(mkdir_p) to be used without argument.  As in
   2836   #   $(mkdir_p) $(somedir)
   2837   # where $(somedir) is conditionally defined.  However this is wrong
   2838   # for two reasons:
   2839   #  1. if the package is installed by a user who cannot write `.'
   2840   #     make install will fail,
   2841   #  2. the above comment should most certainly read
   2842   #     $(mkdir_p) $(DESTDIR)$(somedir)
   2843   #     so it does not work when $(somedir) is undefined and
   2844   #     $(DESTDIR) is not.
   2845   #  To support the latter case, we have to write
   2846   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
   2847   #  so the `.' trick is pointless.
   2848   mkdir_p='mkdir -p --'
   2849 else
   2850   # On NextStep and OpenStep, the `mkdir' command does not
   2851   # recognize any option.  It will interpret all options as
   2852   # directories to create, and then abort because `.' already
   2853   # exists.
   2854   for d in ./-p ./--version;
   2855   do
   2856     test -d $d && rmdir $d
   2857   done
   2858   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
   2859   if test -f "$ac_aux_dir/mkinstalldirs"; then
   2860     mkdir_p='$(mkinstalldirs)'
   2861   else
   2862     mkdir_p='$(install_sh) -d'
   2863   fi
   2864 fi
   2865 
   2866 for ac_prog in gawk mawk nawk awk
   2867 do
   2868   # Extract the first word of "$ac_prog", so it can be a program name with args.
   2869 set dummy $ac_prog; ac_word=$2
   2870 echo "$as_me:$LINENO: checking for $ac_word" >&5
   2871 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   2872 if test "${ac_cv_prog_AWK+set}" = set; then
   2873   echo $ECHO_N "(cached) $ECHO_C" >&6
   2874 else
   2875   if test -n "$AWK"; then
   2876   ac_cv_prog_AWK="$AWK" # Let the user override the test.
   2877 else
   2878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   2879 for as_dir in $PATH
   2880 do
   2881   IFS=$as_save_IFS
   2882   test -z "$as_dir" && as_dir=.
   2883   for ac_exec_ext in '' $ac_executable_extensions; do
   2884   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   2885     ac_cv_prog_AWK="$ac_prog"
   2886     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   2887     break 2
   2888   fi
   2889 done
   2890 done
   2891 
   2892 fi
   2893 fi
   2894 AWK=$ac_cv_prog_AWK
   2895 if test -n "$AWK"; then
   2896   echo "$as_me:$LINENO: result: $AWK" >&5
   2897 echo "${ECHO_T}$AWK" >&6
   2898 else
   2899   echo "$as_me:$LINENO: result: no" >&5
   2900 echo "${ECHO_T}no" >&6
   2901 fi
   2902 
   2903   test -n "$AWK" && break
   2904 done
   2905 
   2906 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
   2907 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
   2908 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
   2909 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
   2910   echo $ECHO_N "(cached) $ECHO_C" >&6
   2911 else
   2912   cat >conftest.make <<\_ACEOF
   2913 all:
   2914 	@echo 'ac_maketemp="$(MAKE)"'
   2915 _ACEOF
   2916 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
   2917 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
   2918 if test -n "$ac_maketemp"; then
   2919   eval ac_cv_prog_make_${ac_make}_set=yes
   2920 else
   2921   eval ac_cv_prog_make_${ac_make}_set=no
   2922 fi
   2923 rm -f conftest.make
   2924 fi
   2925 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
   2926   echo "$as_me:$LINENO: result: yes" >&5
   2927 echo "${ECHO_T}yes" >&6
   2928   SET_MAKE=
   2929 else
   2930   echo "$as_me:$LINENO: result: no" >&5
   2931 echo "${ECHO_T}no" >&6
   2932   SET_MAKE="MAKE=${MAKE-make}"
   2933 fi
   2934 
   2935 rm -rf .tst 2>/dev/null
   2936 mkdir .tst 2>/dev/null
   2937 if test -d .tst; then
   2938   am__leading_dot=.
   2939 else
   2940   am__leading_dot=_
   2941 fi
   2942 rmdir .tst 2>/dev/null
   2943 
   2944 DEPDIR="${am__leading_dot}deps"
   2945 
   2946           ac_config_commands="$ac_config_commands depfiles"
   2947 
   2948 
   2949 am_make=${MAKE-make}
   2950 cat > confinc << 'END'
   2951 am__doit:
   2952 	@echo done
   2953 .PHONY: am__doit
   2954 END
   2955 # If we don't find an include directive, just comment out the code.
   2956 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
   2957 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
   2958 am__include="#"
   2959 am__quote=
   2960 _am_result=none
   2961 # First try GNU make style include.
   2962 echo "include confinc" > confmf
   2963 # We grep out `Entering directory' and `Leaving directory'
   2964 # messages which can occur if `w' ends up in MAKEFLAGS.
   2965 # In particular we don't look at `^make:' because GNU make might
   2966 # be invoked under some other name (usually "gmake"), in which
   2967 # case it prints its new name instead of `make'.
   2968 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
   2969    am__include=include
   2970    am__quote=
   2971    _am_result=GNU
   2972 fi
   2973 # Now try BSD make style include.
   2974 if test "$am__include" = "#"; then
   2975    echo '.include "confinc"' > confmf
   2976    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
   2977       am__include=.include
   2978       am__quote="\""
   2979       _am_result=BSD
   2980    fi
   2981 fi
   2982 
   2983 
   2984 echo "$as_me:$LINENO: result: $_am_result" >&5
   2985 echo "${ECHO_T}$_am_result" >&6
   2986 rm -f confinc confmf
   2987 
   2988 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
   2989 if test "${enable_dependency_tracking+set}" = set; then
   2990   enableval="$enable_dependency_tracking"
   2991 
   2992 fi;
   2993 if test "x$enable_dependency_tracking" != xno; then
   2994   am_depcomp="$ac_aux_dir/depcomp"
   2995   AMDEPBACKSLASH='\'
   2996 fi
   2997 
   2998 
   2999 if test "x$enable_dependency_tracking" != xno; then
   3000   AMDEP_TRUE=
   3001   AMDEP_FALSE='#'
   3002 else
   3003   AMDEP_TRUE='#'
   3004   AMDEP_FALSE=
   3005 fi
   3006 
   3007 
   3008 
   3009 # test to see if srcdir already configured
   3010 if test "`cd $srcdir && pwd`" != "`pwd`" &&
   3011    test -f $srcdir/config.status; then
   3012   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
   3013 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
   3014    { (exit 1); exit 1; }; }
   3015 fi
   3016 
   3017 # test whether we have cygpath
   3018 if test -z "$CYGPATH_W"; then
   3019   if (cygpath --version) >/dev/null 2>/dev/null; then
   3020     CYGPATH_W='cygpath -w'
   3021   else
   3022     CYGPATH_W=echo
   3023   fi
   3024 fi
   3025 
   3026 
   3027 # Define the identity of the package.
   3028  PACKAGE=ld
   3029  VERSION=${BFD_VERSION}
   3030 
   3031 
   3032 cat >>confdefs.h <<_ACEOF
   3033 #define PACKAGE "$PACKAGE"
   3034 _ACEOF
   3035 
   3036 
   3037 cat >>confdefs.h <<_ACEOF
   3038 #define VERSION "$VERSION"
   3039 _ACEOF
   3040 
   3041 # Some tools Automake needs.
   3042 
   3043 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
   3044 
   3045 
   3046 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
   3047 
   3048 
   3049 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
   3050 
   3051 
   3052 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
   3053 
   3054 
   3055 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
   3056 
   3057 install_sh=${install_sh-"$am_aux_dir/install-sh"}
   3058 
   3059 # Installed binaries are usually stripped using `strip' when the user
   3060 # run `make install-strip'.  However `strip' might not be the right
   3061 # tool to use in cross-compilation environments, therefore Automake
   3062 # will honor the `STRIP' environment variable to overrule this program.
   3063 if test "$cross_compiling" != no; then
   3064   if test -n "$ac_tool_prefix"; then
   3065   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   3066 set dummy ${ac_tool_prefix}strip; ac_word=$2
   3067 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3068 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3069 if test "${ac_cv_prog_STRIP+set}" = set; then
   3070   echo $ECHO_N "(cached) $ECHO_C" >&6
   3071 else
   3072   if test -n "$STRIP"; then
   3073   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   3074 else
   3075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3076 for as_dir in $PATH
   3077 do
   3078   IFS=$as_save_IFS
   3079   test -z "$as_dir" && as_dir=.
   3080   for ac_exec_ext in '' $ac_executable_extensions; do
   3081   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3082     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   3083     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3084     break 2
   3085   fi
   3086 done
   3087 done
   3088 
   3089 fi
   3090 fi
   3091 STRIP=$ac_cv_prog_STRIP
   3092 if test -n "$STRIP"; then
   3093   echo "$as_me:$LINENO: result: $STRIP" >&5
   3094 echo "${ECHO_T}$STRIP" >&6
   3095 else
   3096   echo "$as_me:$LINENO: result: no" >&5
   3097 echo "${ECHO_T}no" >&6
   3098 fi
   3099 
   3100 fi
   3101 if test -z "$ac_cv_prog_STRIP"; then
   3102   ac_ct_STRIP=$STRIP
   3103   # Extract the first word of "strip", so it can be a program name with args.
   3104 set dummy strip; ac_word=$2
   3105 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3107 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   3108   echo $ECHO_N "(cached) $ECHO_C" >&6
   3109 else
   3110   if test -n "$ac_ct_STRIP"; then
   3111   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   3112 else
   3113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3114 for as_dir in $PATH
   3115 do
   3116   IFS=$as_save_IFS
   3117   test -z "$as_dir" && as_dir=.
   3118   for ac_exec_ext in '' $ac_executable_extensions; do
   3119   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3120     ac_cv_prog_ac_ct_STRIP="strip"
   3121     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3122     break 2
   3123   fi
   3124 done
   3125 done
   3126 
   3127   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   3128 fi
   3129 fi
   3130 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   3131 if test -n "$ac_ct_STRIP"; then
   3132   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   3133 echo "${ECHO_T}$ac_ct_STRIP" >&6
   3134 else
   3135   echo "$as_me:$LINENO: result: no" >&5
   3136 echo "${ECHO_T}no" >&6
   3137 fi
   3138 
   3139   STRIP=$ac_ct_STRIP
   3140 else
   3141   STRIP="$ac_cv_prog_STRIP"
   3142 fi
   3143 
   3144 fi
   3145 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
   3146 
   3147 # We need awk for the "check" target.  The system "awk" is bad on
   3148 # some platforms.
   3149 # Always define AMTAR for backward compatibility.
   3150 
   3151 AMTAR=${AMTAR-"${am_missing_run}tar"}
   3152 
   3153 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
   3154 
   3155 
   3156 
   3157 
   3158 depcc="$CC"   am_compiler_list=
   3159 
   3160 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
   3161 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
   3162 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
   3163   echo $ECHO_N "(cached) $ECHO_C" >&6
   3164 else
   3165   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
   3166   # We make a subdir and do the tests there.  Otherwise we can end up
   3167   # making bogus files that we don't know about and never remove.  For
   3168   # instance it was reported that on HP-UX the gcc test will end up
   3169   # making a dummy file named `D' -- because `-MD' means `put the output
   3170   # in D'.
   3171   mkdir conftest.dir
   3172   # Copy depcomp to subdir because otherwise we won't find it if we're
   3173   # using a relative directory.
   3174   cp "$am_depcomp" conftest.dir
   3175   cd conftest.dir
   3176   # We will build objects and dependencies in a subdirectory because
   3177   # it helps to detect inapplicable dependency modes.  For instance
   3178   # both Tru64's cc and ICC support -MD to output dependencies as a
   3179   # side effect of compilation, but ICC will put the dependencies in
   3180   # the current directory while Tru64 will put them in the object
   3181   # directory.
   3182   mkdir sub
   3183 
   3184   am_cv_CC_dependencies_compiler_type=none
   3185   if test "$am_compiler_list" = ""; then
   3186      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
   3187   fi
   3188   for depmode in $am_compiler_list; do
   3189     # Setup a source with many dependencies, because some compilers
   3190     # like to wrap large dependency lists on column 80 (with \), and
   3191     # we should not choose a depcomp mode which is confused by this.
   3192     #
   3193     # We need to recreate these files for each test, as the compiler may
   3194     # overwrite some of them when testing with obscure command lines.
   3195     # This happens at least with the AIX C compiler.
   3196     : > sub/conftest.c
   3197     for i in 1 2 3 4 5 6; do
   3198       echo '#include "conftst'$i'.h"' >> sub/conftest.c
   3199       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
   3200       # Solaris 8's {/usr,}/bin/sh.
   3201       touch sub/conftst$i.h
   3202     done
   3203     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
   3204 
   3205     case $depmode in
   3206     nosideeffect)
   3207       # after this tag, mechanisms are not by side-effect, so they'll
   3208       # only be used when explicitly requested
   3209       if test "x$enable_dependency_tracking" = xyes; then
   3210 	continue
   3211       else
   3212 	break
   3213       fi
   3214       ;;
   3215     none) break ;;
   3216     esac
   3217     # We check with `-c' and `-o' for the sake of the "dashmstdout"
   3218     # mode.  It turns out that the SunPro C++ compiler does not properly
   3219     # handle `-M -o', and we need to detect this.
   3220     if depmode=$depmode \
   3221        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
   3222        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
   3223        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
   3224          >/dev/null 2>conftest.err &&
   3225        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
   3226        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
   3227        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
   3228       # icc doesn't choke on unknown options, it will just issue warnings
   3229       # or remarks (even with -Werror).  So we grep stderr for any message
   3230       # that says an option was ignored or not supported.
   3231       # When given -MP, icc 7.0 and 7.1 complain thusly:
   3232       #   icc: Command line warning: ignoring option '-M'; no argument required
   3233       # The diagnosis changed in icc 8.0:
   3234       #   icc: Command line remark: option '-MP' not supported
   3235       if (grep 'ignoring option' conftest.err ||
   3236           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
   3237         am_cv_CC_dependencies_compiler_type=$depmode
   3238         break
   3239       fi
   3240     fi
   3241   done
   3242 
   3243   cd ..
   3244   rm -rf conftest.dir
   3245 else
   3246   am_cv_CC_dependencies_compiler_type=none
   3247 fi
   3248 
   3249 fi
   3250 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
   3251 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
   3252 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
   3253 
   3254 
   3255 
   3256 if
   3257   test "x$enable_dependency_tracking" != xno \
   3258   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
   3259   am__fastdepCC_TRUE=
   3260   am__fastdepCC_FALSE='#'
   3261 else
   3262   am__fastdepCC_TRUE='#'
   3263   am__fastdepCC_FALSE=
   3264 fi
   3265 
   3266 
   3267 
   3268 
   3269 
   3270 # Check whether --with-lib-path or --without-lib-path was given.
   3271 if test "${with_lib_path+set}" = set; then
   3272   withval="$with_lib_path"
   3273   LIB_PATH=$withval
   3274 fi;
   3275 # Check whether --enable-targets or --disable-targets was given.
   3276 if test "${enable_targets+set}" = set; then
   3277   enableval="$enable_targets"
   3278   case "${enableval}" in
   3279   yes | "") { { echo "$as_me:$LINENO: error: enable-targets option must specify target names or 'all'" >&5
   3280 echo "$as_me: error: enable-targets option must specify target names or 'all'" >&2;}
   3281    { (exit 1); exit 1; }; }
   3282             ;;
   3283   no)       enable_targets= ;;
   3284   *)        enable_targets=$enableval ;;
   3285 esac
   3286 fi; # Check whether --enable-64-bit-bfd or --disable-64-bit-bfd was given.
   3287 if test "${enable_64_bit_bfd+set}" = set; then
   3288   enableval="$enable_64_bit_bfd"
   3289   case "${enableval}" in
   3290   yes)  want64=true  ;;
   3291   no)   want64=false ;;
   3292   *)    { { echo "$as_me:$LINENO: error: bad value ${enableval} for 64-bit-bfd option" >&5
   3293 echo "$as_me: error: bad value ${enableval} for 64-bit-bfd option" >&2;}
   3294    { (exit 1); exit 1; }; } ;;
   3295 esac
   3296 else
   3297   want64=false
   3298 fi;
   3299 
   3300 # Check whether --with-sysroot or --without-sysroot was given.
   3301 if test "${with_sysroot+set}" = set; then
   3302   withval="$with_sysroot"
   3303 
   3304  case ${with_sysroot} in
   3305  yes) TARGET_SYSTEM_ROOT='${exec_prefix}/${target_alias}/sys-root' ;;
   3306  *) TARGET_SYSTEM_ROOT=$with_sysroot ;;
   3307  esac
   3308 
   3309  TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"$(TARGET_SYSTEM_ROOT)\"'
   3310  use_sysroot=yes
   3311 
   3312  if test "x$prefix" = xNONE; then
   3313   test_prefix=/usr/local
   3314  else
   3315   test_prefix=$prefix
   3316  fi
   3317  if test "x$exec_prefix" = xNONE; then
   3318   test_exec_prefix=$test_prefix
   3319  else
   3320   test_exec_prefix=$exec_prefix
   3321  fi
   3322  case ${TARGET_SYSTEM_ROOT} in
   3323  "${test_prefix}"|"${test_prefix}/"*|\
   3324  "${test_exec_prefix}"|"${test_exec_prefix}/"*|\
   3325  '${prefix}'|'${prefix}/'*|\
   3326  '${exec_prefix}'|'${exec_prefix}/'*)
   3327    t="$TARGET_SYSTEM_ROOT_DEFINE -DTARGET_SYSTEM_ROOT_RELOCATABLE"
   3328    TARGET_SYSTEM_ROOT_DEFINE="$t"
   3329    ;;
   3330  esac
   3331 
   3332 else
   3333 
   3334  use_sysroot=no
   3335  TARGET_SYSTEM_ROOT=
   3336  TARGET_SYSTEM_ROOT_DEFINE='-DTARGET_SYSTEM_ROOT=\"\"'
   3337 
   3338 fi;
   3339 
   3340 
   3341 
   3342 
   3343 # Check whether --enable-got or --disable-got was given.
   3344 if test "${enable_got+set}" = set; then
   3345   enableval="$enable_got"
   3346   case "${enableval}" in
   3347   target | single | negative | multigot)  got_handling=$enableval ;;
   3348   *)  { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-got option" >&5
   3349 echo "$as_me: error: bad value ${enableval} for --enable-got option" >&2;}
   3350    { (exit 1); exit 1; }; } ;;
   3351 esac
   3352 else
   3353   got_handling=target
   3354 fi;
   3355 
   3356 case "${got_handling}" in
   3357   target)
   3358 
   3359 cat >>confdefs.h <<\_ACEOF
   3360 #define GOT_HANDLING_DEFAULT GOT_HANDLING_TARGET_DEFAULT
   3361 _ACEOF
   3362  ;;
   3363   single)
   3364 
   3365 cat >>confdefs.h <<\_ACEOF
   3366 #define GOT_HANDLING_DEFAULT GOT_HANDLING_SINGLE
   3367 _ACEOF
   3368  ;;
   3369   negative)
   3370 
   3371 cat >>confdefs.h <<\_ACEOF
   3372 #define GOT_HANDLING_DEFAULT GOT_HANDLING_NEGATIVE
   3373 _ACEOF
   3374  ;;
   3375   multigot)
   3376 
   3377 cat >>confdefs.h <<\_ACEOF
   3378 #define GOT_HANDLING_DEFAULT GOT_HANDLING_MULTIGOT
   3379 _ACEOF
   3380  ;;
   3381   *)  { { echo "$as_me:$LINENO: error: bad value ${got_handling} for --enable-got option" >&5
   3382 echo "$as_me: error: bad value ${got_handling} for --enable-got option" >&2;}
   3383    { (exit 1); exit 1; }; } ;;
   3384 esac
   3385 
   3386 
   3387 GCC_WARN_CFLAGS="-W -Wall -Wstrict-prototypes -Wmissing-prototypes"
   3388 
   3389 # Check whether --enable-werror or --disable-werror was given.
   3390 if test "${enable_werror+set}" = set; then
   3391   enableval="$enable_werror"
   3392   case "${enableval}" in
   3393      yes | y) ERROR_ON_WARNING="yes" ;;
   3394      no | n)  ERROR_ON_WARNING="no" ;;
   3395      *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5
   3396 echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;}
   3397    { (exit 1); exit 1; }; } ;;
   3398    esac
   3399 fi;
   3400 
   3401 # Enable -Wno-format by default when using gcc on mingw
   3402 case "${host}" in
   3403   *-*-mingw32*)
   3404     if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   3405       GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format"
   3406     fi
   3407     ;;
   3408   *) ;;
   3409 esac
   3410 
   3411 # Enable -Werror by default when using gcc
   3412 if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
   3413     ERROR_ON_WARNING=yes
   3414 fi
   3415 
   3416 NO_WERROR=
   3417 if test "${ERROR_ON_WARNING}" = yes ; then
   3418     GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Werror"
   3419     NO_WERROR="-Wno-error"
   3420 fi
   3421 
   3422 if test "${GCC}" = yes ; then
   3423   WARN_CFLAGS="${GCC_WARN_CFLAGS}"
   3424 fi
   3425 
   3426 # Check whether --enable-build-warnings or --disable-build-warnings was given.
   3427 if test "${enable_build_warnings+set}" = set; then
   3428   enableval="$enable_build_warnings"
   3429   case "${enableval}" in
   3430   yes)	WARN_CFLAGS="${GCC_WARN_CFLAGS}";;
   3431   no)	if test "${GCC}" = yes ; then
   3432 	  WARN_CFLAGS="-w"
   3433 	fi;;
   3434   ,*)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   3435         WARN_CFLAGS="${GCC_WARN_CFLAGS} ${t}";;
   3436   *,)   t=`echo "${enableval}" | sed -e "s/,/ /g"`
   3437         WARN_CFLAGS="${t} ${GCC_WARN_CFLAGS}";;
   3438   *)    WARN_CFLAGS=`echo "${enableval}" | sed -e "s/,/ /g"`;;
   3439 esac
   3440 fi;
   3441 
   3442 if test x"$silent" != x"yes" && test x"$WARN_CFLAGS" != x""; then
   3443   echo "Setting warning flags = $WARN_CFLAGS" 6>&1
   3444 fi
   3445 
   3446 
   3447 
   3448 
   3449 
   3450           ac_config_headers="$ac_config_headers config.h:config.in"
   3451 
   3452 
   3453 if test -z "$target" ; then
   3454     { { echo "$as_me:$LINENO: error: Unrecognized target system type; please check config.sub." >&5
   3455 echo "$as_me: error: Unrecognized target system type; please check config.sub." >&2;}
   3456    { (exit 1); exit 1; }; }
   3457 fi
   3458 if test -z "$host" ; then
   3459     { { echo "$as_me:$LINENO: error: Unrecognized host system type; please check config.sub." >&5
   3460 echo "$as_me: error: Unrecognized host system type; please check config.sub." >&2;}
   3461    { (exit 1); exit 1; }; }
   3462 fi
   3463 
   3464 # host-specific stuff:
   3465 
   3466 ac_ext=c
   3467 ac_cpp='$CPP $CPPFLAGS'
   3468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   3469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   3470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   3471 if test -n "$ac_tool_prefix"; then
   3472   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
   3473 set dummy ${ac_tool_prefix}gcc; ac_word=$2
   3474 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3476 if test "${ac_cv_prog_CC+set}" = set; then
   3477   echo $ECHO_N "(cached) $ECHO_C" >&6
   3478 else
   3479   if test -n "$CC"; then
   3480   ac_cv_prog_CC="$CC" # Let the user override the test.
   3481 else
   3482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3483 for as_dir in $PATH
   3484 do
   3485   IFS=$as_save_IFS
   3486   test -z "$as_dir" && as_dir=.
   3487   for ac_exec_ext in '' $ac_executable_extensions; do
   3488   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3489     ac_cv_prog_CC="${ac_tool_prefix}gcc"
   3490     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3491     break 2
   3492   fi
   3493 done
   3494 done
   3495 
   3496 fi
   3497 fi
   3498 CC=$ac_cv_prog_CC
   3499 if test -n "$CC"; then
   3500   echo "$as_me:$LINENO: result: $CC" >&5
   3501 echo "${ECHO_T}$CC" >&6
   3502 else
   3503   echo "$as_me:$LINENO: result: no" >&5
   3504 echo "${ECHO_T}no" >&6
   3505 fi
   3506 
   3507 fi
   3508 if test -z "$ac_cv_prog_CC"; then
   3509   ac_ct_CC=$CC
   3510   # Extract the first word of "gcc", so it can be a program name with args.
   3511 set dummy gcc; ac_word=$2
   3512 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3513 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3514 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3515   echo $ECHO_N "(cached) $ECHO_C" >&6
   3516 else
   3517   if test -n "$ac_ct_CC"; then
   3518   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3519 else
   3520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3521 for as_dir in $PATH
   3522 do
   3523   IFS=$as_save_IFS
   3524   test -z "$as_dir" && as_dir=.
   3525   for ac_exec_ext in '' $ac_executable_extensions; do
   3526   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3527     ac_cv_prog_ac_ct_CC="gcc"
   3528     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3529     break 2
   3530   fi
   3531 done
   3532 done
   3533 
   3534 fi
   3535 fi
   3536 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3537 if test -n "$ac_ct_CC"; then
   3538   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3539 echo "${ECHO_T}$ac_ct_CC" >&6
   3540 else
   3541   echo "$as_me:$LINENO: result: no" >&5
   3542 echo "${ECHO_T}no" >&6
   3543 fi
   3544 
   3545   CC=$ac_ct_CC
   3546 else
   3547   CC="$ac_cv_prog_CC"
   3548 fi
   3549 
   3550 if test -z "$CC"; then
   3551   if test -n "$ac_tool_prefix"; then
   3552   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
   3553 set dummy ${ac_tool_prefix}cc; ac_word=$2
   3554 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3556 if test "${ac_cv_prog_CC+set}" = set; then
   3557   echo $ECHO_N "(cached) $ECHO_C" >&6
   3558 else
   3559   if test -n "$CC"; then
   3560   ac_cv_prog_CC="$CC" # Let the user override the test.
   3561 else
   3562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3563 for as_dir in $PATH
   3564 do
   3565   IFS=$as_save_IFS
   3566   test -z "$as_dir" && as_dir=.
   3567   for ac_exec_ext in '' $ac_executable_extensions; do
   3568   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3569     ac_cv_prog_CC="${ac_tool_prefix}cc"
   3570     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3571     break 2
   3572   fi
   3573 done
   3574 done
   3575 
   3576 fi
   3577 fi
   3578 CC=$ac_cv_prog_CC
   3579 if test -n "$CC"; then
   3580   echo "$as_me:$LINENO: result: $CC" >&5
   3581 echo "${ECHO_T}$CC" >&6
   3582 else
   3583   echo "$as_me:$LINENO: result: no" >&5
   3584 echo "${ECHO_T}no" >&6
   3585 fi
   3586 
   3587 fi
   3588 if test -z "$ac_cv_prog_CC"; then
   3589   ac_ct_CC=$CC
   3590   # Extract the first word of "cc", so it can be a program name with args.
   3591 set dummy cc; ac_word=$2
   3592 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3595   echo $ECHO_N "(cached) $ECHO_C" >&6
   3596 else
   3597   if test -n "$ac_ct_CC"; then
   3598   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3599 else
   3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3601 for as_dir in $PATH
   3602 do
   3603   IFS=$as_save_IFS
   3604   test -z "$as_dir" && as_dir=.
   3605   for ac_exec_ext in '' $ac_executable_extensions; do
   3606   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3607     ac_cv_prog_ac_ct_CC="cc"
   3608     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3609     break 2
   3610   fi
   3611 done
   3612 done
   3613 
   3614 fi
   3615 fi
   3616 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3617 if test -n "$ac_ct_CC"; then
   3618   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3619 echo "${ECHO_T}$ac_ct_CC" >&6
   3620 else
   3621   echo "$as_me:$LINENO: result: no" >&5
   3622 echo "${ECHO_T}no" >&6
   3623 fi
   3624 
   3625   CC=$ac_ct_CC
   3626 else
   3627   CC="$ac_cv_prog_CC"
   3628 fi
   3629 
   3630 fi
   3631 if test -z "$CC"; then
   3632   # Extract the first word of "cc", so it can be a program name with args.
   3633 set dummy cc; ac_word=$2
   3634 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3636 if test "${ac_cv_prog_CC+set}" = set; then
   3637   echo $ECHO_N "(cached) $ECHO_C" >&6
   3638 else
   3639   if test -n "$CC"; then
   3640   ac_cv_prog_CC="$CC" # Let the user override the test.
   3641 else
   3642   ac_prog_rejected=no
   3643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3644 for as_dir in $PATH
   3645 do
   3646   IFS=$as_save_IFS
   3647   test -z "$as_dir" && as_dir=.
   3648   for ac_exec_ext in '' $ac_executable_extensions; do
   3649   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3650     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
   3651        ac_prog_rejected=yes
   3652        continue
   3653      fi
   3654     ac_cv_prog_CC="cc"
   3655     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3656     break 2
   3657   fi
   3658 done
   3659 done
   3660 
   3661 if test $ac_prog_rejected = yes; then
   3662   # We found a bogon in the path, so make sure we never use it.
   3663   set dummy $ac_cv_prog_CC
   3664   shift
   3665   if test $# != 0; then
   3666     # We chose a different compiler from the bogus one.
   3667     # However, it has the same basename, so the bogon will be chosen
   3668     # first if we set CC to just the basename; use the full file name.
   3669     shift
   3670     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
   3671   fi
   3672 fi
   3673 fi
   3674 fi
   3675 CC=$ac_cv_prog_CC
   3676 if test -n "$CC"; then
   3677   echo "$as_me:$LINENO: result: $CC" >&5
   3678 echo "${ECHO_T}$CC" >&6
   3679 else
   3680   echo "$as_me:$LINENO: result: no" >&5
   3681 echo "${ECHO_T}no" >&6
   3682 fi
   3683 
   3684 fi
   3685 if test -z "$CC"; then
   3686   if test -n "$ac_tool_prefix"; then
   3687   for ac_prog in cl
   3688   do
   3689     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   3690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   3691 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3692 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3693 if test "${ac_cv_prog_CC+set}" = set; then
   3694   echo $ECHO_N "(cached) $ECHO_C" >&6
   3695 else
   3696   if test -n "$CC"; then
   3697   ac_cv_prog_CC="$CC" # Let the user override the test.
   3698 else
   3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3700 for as_dir in $PATH
   3701 do
   3702   IFS=$as_save_IFS
   3703   test -z "$as_dir" && as_dir=.
   3704   for ac_exec_ext in '' $ac_executable_extensions; do
   3705   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3706     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
   3707     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3708     break 2
   3709   fi
   3710 done
   3711 done
   3712 
   3713 fi
   3714 fi
   3715 CC=$ac_cv_prog_CC
   3716 if test -n "$CC"; then
   3717   echo "$as_me:$LINENO: result: $CC" >&5
   3718 echo "${ECHO_T}$CC" >&6
   3719 else
   3720   echo "$as_me:$LINENO: result: no" >&5
   3721 echo "${ECHO_T}no" >&6
   3722 fi
   3723 
   3724     test -n "$CC" && break
   3725   done
   3726 fi
   3727 if test -z "$CC"; then
   3728   ac_ct_CC=$CC
   3729   for ac_prog in cl
   3730 do
   3731   # Extract the first word of "$ac_prog", so it can be a program name with args.
   3732 set dummy $ac_prog; ac_word=$2
   3733 echo "$as_me:$LINENO: checking for $ac_word" >&5
   3734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   3735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
   3736   echo $ECHO_N "(cached) $ECHO_C" >&6
   3737 else
   3738   if test -n "$ac_ct_CC"; then
   3739   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
   3740 else
   3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   3742 for as_dir in $PATH
   3743 do
   3744   IFS=$as_save_IFS
   3745   test -z "$as_dir" && as_dir=.
   3746   for ac_exec_ext in '' $ac_executable_extensions; do
   3747   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   3748     ac_cv_prog_ac_ct_CC="$ac_prog"
   3749     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   3750     break 2
   3751   fi
   3752 done
   3753 done
   3754 
   3755 fi
   3756 fi
   3757 ac_ct_CC=$ac_cv_prog_ac_ct_CC
   3758 if test -n "$ac_ct_CC"; then
   3759   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
   3760 echo "${ECHO_T}$ac_ct_CC" >&6
   3761 else
   3762   echo "$as_me:$LINENO: result: no" >&5
   3763 echo "${ECHO_T}no" >&6
   3764 fi
   3765 
   3766   test -n "$ac_ct_CC" && break
   3767 done
   3768 
   3769   CC=$ac_ct_CC
   3770 fi
   3771 
   3772 fi
   3773 
   3774 
   3775 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   3776 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   3777 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
   3778 See \`config.log' for more details." >&5
   3779 echo "$as_me: error: no acceptable C compiler found in \$PATH
   3780 See \`config.log' for more details." >&2;}
   3781    { (exit 1); exit 1; }; }; }
   3782 
   3783 # Provide some information about the compiler.
   3784 echo "$as_me:$LINENO:" \
   3785      "checking for C compiler version" >&5
   3786 ac_compiler=`set X $ac_compile; echo $2`
   3787 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
   3788   (eval $ac_compiler --version </dev/null >&5) 2>&5
   3789   ac_status=$?
   3790   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3791   (exit $ac_status); }
   3792 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
   3793   (eval $ac_compiler -v </dev/null >&5) 2>&5
   3794   ac_status=$?
   3795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3796   (exit $ac_status); }
   3797 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
   3798   (eval $ac_compiler -V </dev/null >&5) 2>&5
   3799   ac_status=$?
   3800   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3801   (exit $ac_status); }
   3802 
   3803 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
   3804 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
   3805 if test "${ac_cv_c_compiler_gnu+set}" = set; then
   3806   echo $ECHO_N "(cached) $ECHO_C" >&6
   3807 else
   3808   cat >conftest.$ac_ext <<_ACEOF
   3809 /* confdefs.h.  */
   3810 _ACEOF
   3811 cat confdefs.h >>conftest.$ac_ext
   3812 cat >>conftest.$ac_ext <<_ACEOF
   3813 /* end confdefs.h.  */
   3814 
   3815 int
   3816 main ()
   3817 {
   3818 #ifndef __GNUC__
   3819        choke me
   3820 #endif
   3821 
   3822   ;
   3823   return 0;
   3824 }
   3825 _ACEOF
   3826 rm -f conftest.$ac_objext
   3827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3828   (eval $ac_compile) 2>conftest.er1
   3829   ac_status=$?
   3830   grep -v '^ *+' conftest.er1 >conftest.err
   3831   rm -f conftest.er1
   3832   cat conftest.err >&5
   3833   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3834   (exit $ac_status); } &&
   3835 	 { ac_try='test -z "$ac_c_werror_flag"
   3836 			 || test ! -s conftest.err'
   3837   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3838   (eval $ac_try) 2>&5
   3839   ac_status=$?
   3840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3841   (exit $ac_status); }; } &&
   3842 	 { ac_try='test -s conftest.$ac_objext'
   3843   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3844   (eval $ac_try) 2>&5
   3845   ac_status=$?
   3846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3847   (exit $ac_status); }; }; then
   3848   ac_compiler_gnu=yes
   3849 else
   3850   echo "$as_me: failed program was:" >&5
   3851 sed 's/^/| /' conftest.$ac_ext >&5
   3852 
   3853 ac_compiler_gnu=no
   3854 fi
   3855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3856 ac_cv_c_compiler_gnu=$ac_compiler_gnu
   3857 
   3858 fi
   3859 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
   3860 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
   3861 GCC=`test $ac_compiler_gnu = yes && echo yes`
   3862 ac_test_CFLAGS=${CFLAGS+set}
   3863 ac_save_CFLAGS=$CFLAGS
   3864 CFLAGS="-g"
   3865 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
   3866 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
   3867 if test "${ac_cv_prog_cc_g+set}" = set; then
   3868   echo $ECHO_N "(cached) $ECHO_C" >&6
   3869 else
   3870   cat >conftest.$ac_ext <<_ACEOF
   3871 /* confdefs.h.  */
   3872 _ACEOF
   3873 cat confdefs.h >>conftest.$ac_ext
   3874 cat >>conftest.$ac_ext <<_ACEOF
   3875 /* end confdefs.h.  */
   3876 
   3877 int
   3878 main ()
   3879 {
   3880 
   3881   ;
   3882   return 0;
   3883 }
   3884 _ACEOF
   3885 rm -f conftest.$ac_objext
   3886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   3887   (eval $ac_compile) 2>conftest.er1
   3888   ac_status=$?
   3889   grep -v '^ *+' conftest.er1 >conftest.err
   3890   rm -f conftest.er1
   3891   cat conftest.err >&5
   3892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3893   (exit $ac_status); } &&
   3894 	 { ac_try='test -z "$ac_c_werror_flag"
   3895 			 || test ! -s conftest.err'
   3896   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3897   (eval $ac_try) 2>&5
   3898   ac_status=$?
   3899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3900   (exit $ac_status); }; } &&
   3901 	 { ac_try='test -s conftest.$ac_objext'
   3902   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   3903   (eval $ac_try) 2>&5
   3904   ac_status=$?
   3905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   3906   (exit $ac_status); }; }; then
   3907   ac_cv_prog_cc_g=yes
   3908 else
   3909   echo "$as_me: failed program was:" >&5
   3910 sed 's/^/| /' conftest.$ac_ext >&5
   3911 
   3912 ac_cv_prog_cc_g=no
   3913 fi
   3914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   3915 fi
   3916 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
   3917 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
   3918 if test "$ac_test_CFLAGS" = set; then
   3919   CFLAGS=$ac_save_CFLAGS
   3920 elif test $ac_cv_prog_cc_g = yes; then
   3921   if test "$GCC" = yes; then
   3922     CFLAGS="-g -O2"
   3923   else
   3924     CFLAGS="-g"
   3925   fi
   3926 else
   3927   if test "$GCC" = yes; then
   3928     CFLAGS="-O2"
   3929   else
   3930     CFLAGS=
   3931   fi
   3932 fi
   3933 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
   3934 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
   3935 if test "${ac_cv_prog_cc_stdc+set}" = set; then
   3936   echo $ECHO_N "(cached) $ECHO_C" >&6
   3937 else
   3938   ac_cv_prog_cc_stdc=no
   3939 ac_save_CC=$CC
   3940 cat >conftest.$ac_ext <<_ACEOF
   3941 /* confdefs.h.  */
   3942 _ACEOF
   3943 cat confdefs.h >>conftest.$ac_ext
   3944 cat >>conftest.$ac_ext <<_ACEOF
   3945 /* end confdefs.h.  */
   3946 #include <stdarg.h>
   3947 #include <stdio.h>
   3948 #include <sys/types.h>
   3949 #include <sys/stat.h>
   3950 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
   3951 struct buf { int x; };
   3952 FILE * (*rcsopen) (struct buf *, struct stat *, int);
   3953 static char *e (p, i)
   3954      char **p;
   3955      int i;
   3956 {
   3957   return p[i];
   3958 }
   3959 static char *f (char * (*g) (char **, int), char **p, ...)
   3960 {
   3961   char *s;
   3962   va_list v;
   3963   va_start (v,p);
   3964   s = g (p, va_arg (v,int));
   3965   va_end (v);
   3966   return s;
   3967 }
   3968 
   3969 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
   3970    function prototypes and stuff, but not '\xHH' hex character constants.
   3971    These don't provoke an error unfortunately, instead are silently treated
   3972    as 'x'.  The following induces an error, until -std1 is added to get
   3973    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
   3974    array size at least.  It's necessary to write '\x00'==0 to get something
   3975    that's true only with -std1.  */
   3976 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
   3977 
   3978 int test (int i, double x);
   3979 struct s1 {int (*f) (int a);};
   3980 struct s2 {int (*f) (double a);};
   3981 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
   3982 int argc;
   3983 char **argv;
   3984 int
   3985 main ()
   3986 {
   3987 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
   3988   ;
   3989   return 0;
   3990 }
   3991 _ACEOF
   3992 # Don't try gcc -ansi; that turns off useful extensions and
   3993 # breaks some systems' header files.
   3994 # AIX			-qlanglvl=ansi
   3995 # Ultrix and OSF/1	-std1
   3996 # HP-UX 10.20 and later	-Ae
   3997 # HP-UX older versions	-Aa -D_HPUX_SOURCE
   3998 # SVR4			-Xc -D__EXTENSIONS__
   3999 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
   4000 do
   4001   CC="$ac_save_CC $ac_arg"
   4002   rm -f conftest.$ac_objext
   4003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4004   (eval $ac_compile) 2>conftest.er1
   4005   ac_status=$?
   4006   grep -v '^ *+' conftest.er1 >conftest.err
   4007   rm -f conftest.er1
   4008   cat conftest.err >&5
   4009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4010   (exit $ac_status); } &&
   4011 	 { ac_try='test -z "$ac_c_werror_flag"
   4012 			 || test ! -s conftest.err'
   4013   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4014   (eval $ac_try) 2>&5
   4015   ac_status=$?
   4016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4017   (exit $ac_status); }; } &&
   4018 	 { ac_try='test -s conftest.$ac_objext'
   4019   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4020   (eval $ac_try) 2>&5
   4021   ac_status=$?
   4022   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4023   (exit $ac_status); }; }; then
   4024   ac_cv_prog_cc_stdc=$ac_arg
   4025 break
   4026 else
   4027   echo "$as_me: failed program was:" >&5
   4028 sed 's/^/| /' conftest.$ac_ext >&5
   4029 
   4030 fi
   4031 rm -f conftest.err conftest.$ac_objext
   4032 done
   4033 rm -f conftest.$ac_ext conftest.$ac_objext
   4034 CC=$ac_save_CC
   4035 
   4036 fi
   4037 
   4038 case "x$ac_cv_prog_cc_stdc" in
   4039   x|xno)
   4040     echo "$as_me:$LINENO: result: none needed" >&5
   4041 echo "${ECHO_T}none needed" >&6 ;;
   4042   *)
   4043     echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
   4044 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
   4045     CC="$CC $ac_cv_prog_cc_stdc" ;;
   4046 esac
   4047 
   4048 # Some people use a C++ compiler to compile C.  Since we use `exit',
   4049 # in C++ we need to declare it.  In case someone uses the same compiler
   4050 # for both compiling C and C++ we need to have the C++ compiler decide
   4051 # the declaration of exit, since it's the most demanding environment.
   4052 cat >conftest.$ac_ext <<_ACEOF
   4053 #ifndef __cplusplus
   4054   choke me
   4055 #endif
   4056 _ACEOF
   4057 rm -f conftest.$ac_objext
   4058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4059   (eval $ac_compile) 2>conftest.er1
   4060   ac_status=$?
   4061   grep -v '^ *+' conftest.er1 >conftest.err
   4062   rm -f conftest.er1
   4063   cat conftest.err >&5
   4064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4065   (exit $ac_status); } &&
   4066 	 { ac_try='test -z "$ac_c_werror_flag"
   4067 			 || test ! -s conftest.err'
   4068   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4069   (eval $ac_try) 2>&5
   4070   ac_status=$?
   4071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4072   (exit $ac_status); }; } &&
   4073 	 { ac_try='test -s conftest.$ac_objext'
   4074   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4075   (eval $ac_try) 2>&5
   4076   ac_status=$?
   4077   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4078   (exit $ac_status); }; }; then
   4079   for ac_declaration in \
   4080    '' \
   4081    'extern "C" void std::exit (int) throw (); using std::exit;' \
   4082    'extern "C" void std::exit (int); using std::exit;' \
   4083    'extern "C" void exit (int) throw ();' \
   4084    'extern "C" void exit (int);' \
   4085    'void exit (int);'
   4086 do
   4087   cat >conftest.$ac_ext <<_ACEOF
   4088 /* confdefs.h.  */
   4089 _ACEOF
   4090 cat confdefs.h >>conftest.$ac_ext
   4091 cat >>conftest.$ac_ext <<_ACEOF
   4092 /* end confdefs.h.  */
   4093 $ac_declaration
   4094 #include <stdlib.h>
   4095 int
   4096 main ()
   4097 {
   4098 exit (42);
   4099   ;
   4100   return 0;
   4101 }
   4102 _ACEOF
   4103 rm -f conftest.$ac_objext
   4104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4105   (eval $ac_compile) 2>conftest.er1
   4106   ac_status=$?
   4107   grep -v '^ *+' conftest.er1 >conftest.err
   4108   rm -f conftest.er1
   4109   cat conftest.err >&5
   4110   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4111   (exit $ac_status); } &&
   4112 	 { ac_try='test -z "$ac_c_werror_flag"
   4113 			 || test ! -s conftest.err'
   4114   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4115   (eval $ac_try) 2>&5
   4116   ac_status=$?
   4117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4118   (exit $ac_status); }; } &&
   4119 	 { ac_try='test -s conftest.$ac_objext'
   4120   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4121   (eval $ac_try) 2>&5
   4122   ac_status=$?
   4123   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4124   (exit $ac_status); }; }; then
   4125   :
   4126 else
   4127   echo "$as_me: failed program was:" >&5
   4128 sed 's/^/| /' conftest.$ac_ext >&5
   4129 
   4130 continue
   4131 fi
   4132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4133   cat >conftest.$ac_ext <<_ACEOF
   4134 /* confdefs.h.  */
   4135 _ACEOF
   4136 cat confdefs.h >>conftest.$ac_ext
   4137 cat >>conftest.$ac_ext <<_ACEOF
   4138 /* end confdefs.h.  */
   4139 $ac_declaration
   4140 int
   4141 main ()
   4142 {
   4143 exit (42);
   4144   ;
   4145   return 0;
   4146 }
   4147 _ACEOF
   4148 rm -f conftest.$ac_objext
   4149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4150   (eval $ac_compile) 2>conftest.er1
   4151   ac_status=$?
   4152   grep -v '^ *+' conftest.er1 >conftest.err
   4153   rm -f conftest.er1
   4154   cat conftest.err >&5
   4155   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4156   (exit $ac_status); } &&
   4157 	 { ac_try='test -z "$ac_c_werror_flag"
   4158 			 || test ! -s conftest.err'
   4159   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4160   (eval $ac_try) 2>&5
   4161   ac_status=$?
   4162   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4163   (exit $ac_status); }; } &&
   4164 	 { ac_try='test -s conftest.$ac_objext'
   4165   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4166   (eval $ac_try) 2>&5
   4167   ac_status=$?
   4168   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4169   (exit $ac_status); }; }; then
   4170   break
   4171 else
   4172   echo "$as_me: failed program was:" >&5
   4173 sed 's/^/| /' conftest.$ac_ext >&5
   4174 
   4175 fi
   4176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4177 done
   4178 rm -f conftest*
   4179 if test -n "$ac_declaration"; then
   4180   echo '#ifdef __cplusplus' >>confdefs.h
   4181   echo $ac_declaration      >>confdefs.h
   4182   echo '#endif'             >>confdefs.h
   4183 fi
   4184 
   4185 else
   4186   echo "$as_me: failed program was:" >&5
   4187 sed 's/^/| /' conftest.$ac_ext >&5
   4188 
   4189 fi
   4190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4191 ac_ext=c
   4192 ac_cpp='$CPP $CPPFLAGS'
   4193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4196 
   4197 
   4198 cat >>confdefs.h <<\_ACEOF
   4199 #define _GNU_SOURCE 1
   4200 _ACEOF
   4201 
   4202 
   4203 ac_ext=c
   4204 ac_cpp='$CPP $CPPFLAGS'
   4205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4208 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
   4209 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
   4210 # On Suns, sometimes $CPP names a directory.
   4211 if test -n "$CPP" && test -d "$CPP"; then
   4212   CPP=
   4213 fi
   4214 if test -z "$CPP"; then
   4215   if test "${ac_cv_prog_CPP+set}" = set; then
   4216   echo $ECHO_N "(cached) $ECHO_C" >&6
   4217 else
   4218       # Double quotes because CPP needs to be expanded
   4219     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
   4220     do
   4221       ac_preproc_ok=false
   4222 for ac_c_preproc_warn_flag in '' yes
   4223 do
   4224   # Use a header file that comes with gcc, so configuring glibc
   4225   # with a fresh cross-compiler works.
   4226   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4227   # <limits.h> exists even on freestanding compilers.
   4228   # On the NeXT, cc -E runs the code through the compiler's parser,
   4229   # not just through cpp. "Syntax error" is here to catch this case.
   4230   cat >conftest.$ac_ext <<_ACEOF
   4231 /* confdefs.h.  */
   4232 _ACEOF
   4233 cat confdefs.h >>conftest.$ac_ext
   4234 cat >>conftest.$ac_ext <<_ACEOF
   4235 /* end confdefs.h.  */
   4236 #ifdef __STDC__
   4237 # include <limits.h>
   4238 #else
   4239 # include <assert.h>
   4240 #endif
   4241 		     Syntax error
   4242 _ACEOF
   4243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4244   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4245   ac_status=$?
   4246   grep -v '^ *+' conftest.er1 >conftest.err
   4247   rm -f conftest.er1
   4248   cat conftest.err >&5
   4249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4250   (exit $ac_status); } >/dev/null; then
   4251   if test -s conftest.err; then
   4252     ac_cpp_err=$ac_c_preproc_warn_flag
   4253     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4254   else
   4255     ac_cpp_err=
   4256   fi
   4257 else
   4258   ac_cpp_err=yes
   4259 fi
   4260 if test -z "$ac_cpp_err"; then
   4261   :
   4262 else
   4263   echo "$as_me: failed program was:" >&5
   4264 sed 's/^/| /' conftest.$ac_ext >&5
   4265 
   4266   # Broken: fails on valid input.
   4267 continue
   4268 fi
   4269 rm -f conftest.err conftest.$ac_ext
   4270 
   4271   # OK, works on sane cases.  Now check whether non-existent headers
   4272   # can be detected and how.
   4273   cat >conftest.$ac_ext <<_ACEOF
   4274 /* confdefs.h.  */
   4275 _ACEOF
   4276 cat confdefs.h >>conftest.$ac_ext
   4277 cat >>conftest.$ac_ext <<_ACEOF
   4278 /* end confdefs.h.  */
   4279 #include <ac_nonexistent.h>
   4280 _ACEOF
   4281 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4282   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4283   ac_status=$?
   4284   grep -v '^ *+' conftest.er1 >conftest.err
   4285   rm -f conftest.er1
   4286   cat conftest.err >&5
   4287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4288   (exit $ac_status); } >/dev/null; then
   4289   if test -s conftest.err; then
   4290     ac_cpp_err=$ac_c_preproc_warn_flag
   4291     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4292   else
   4293     ac_cpp_err=
   4294   fi
   4295 else
   4296   ac_cpp_err=yes
   4297 fi
   4298 if test -z "$ac_cpp_err"; then
   4299   # Broken: success on invalid input.
   4300 continue
   4301 else
   4302   echo "$as_me: failed program was:" >&5
   4303 sed 's/^/| /' conftest.$ac_ext >&5
   4304 
   4305   # Passes both tests.
   4306 ac_preproc_ok=:
   4307 break
   4308 fi
   4309 rm -f conftest.err conftest.$ac_ext
   4310 
   4311 done
   4312 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4313 rm -f conftest.err conftest.$ac_ext
   4314 if $ac_preproc_ok; then
   4315   break
   4316 fi
   4317 
   4318     done
   4319     ac_cv_prog_CPP=$CPP
   4320 
   4321 fi
   4322   CPP=$ac_cv_prog_CPP
   4323 else
   4324   ac_cv_prog_CPP=$CPP
   4325 fi
   4326 echo "$as_me:$LINENO: result: $CPP" >&5
   4327 echo "${ECHO_T}$CPP" >&6
   4328 ac_preproc_ok=false
   4329 for ac_c_preproc_warn_flag in '' yes
   4330 do
   4331   # Use a header file that comes with gcc, so configuring glibc
   4332   # with a fresh cross-compiler works.
   4333   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   4334   # <limits.h> exists even on freestanding compilers.
   4335   # On the NeXT, cc -E runs the code through the compiler's parser,
   4336   # not just through cpp. "Syntax error" is here to catch this case.
   4337   cat >conftest.$ac_ext <<_ACEOF
   4338 /* confdefs.h.  */
   4339 _ACEOF
   4340 cat confdefs.h >>conftest.$ac_ext
   4341 cat >>conftest.$ac_ext <<_ACEOF
   4342 /* end confdefs.h.  */
   4343 #ifdef __STDC__
   4344 # include <limits.h>
   4345 #else
   4346 # include <assert.h>
   4347 #endif
   4348 		     Syntax error
   4349 _ACEOF
   4350 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4351   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4352   ac_status=$?
   4353   grep -v '^ *+' conftest.er1 >conftest.err
   4354   rm -f conftest.er1
   4355   cat conftest.err >&5
   4356   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4357   (exit $ac_status); } >/dev/null; then
   4358   if test -s conftest.err; then
   4359     ac_cpp_err=$ac_c_preproc_warn_flag
   4360     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4361   else
   4362     ac_cpp_err=
   4363   fi
   4364 else
   4365   ac_cpp_err=yes
   4366 fi
   4367 if test -z "$ac_cpp_err"; then
   4368   :
   4369 else
   4370   echo "$as_me: failed program was:" >&5
   4371 sed 's/^/| /' conftest.$ac_ext >&5
   4372 
   4373   # Broken: fails on valid input.
   4374 continue
   4375 fi
   4376 rm -f conftest.err conftest.$ac_ext
   4377 
   4378   # OK, works on sane cases.  Now check whether non-existent headers
   4379   # can be detected and how.
   4380   cat >conftest.$ac_ext <<_ACEOF
   4381 /* confdefs.h.  */
   4382 _ACEOF
   4383 cat confdefs.h >>conftest.$ac_ext
   4384 cat >>conftest.$ac_ext <<_ACEOF
   4385 /* end confdefs.h.  */
   4386 #include <ac_nonexistent.h>
   4387 _ACEOF
   4388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4389   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4390   ac_status=$?
   4391   grep -v '^ *+' conftest.er1 >conftest.err
   4392   rm -f conftest.er1
   4393   cat conftest.err >&5
   4394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4395   (exit $ac_status); } >/dev/null; then
   4396   if test -s conftest.err; then
   4397     ac_cpp_err=$ac_c_preproc_warn_flag
   4398     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4399   else
   4400     ac_cpp_err=
   4401   fi
   4402 else
   4403   ac_cpp_err=yes
   4404 fi
   4405 if test -z "$ac_cpp_err"; then
   4406   # Broken: success on invalid input.
   4407 continue
   4408 else
   4409   echo "$as_me: failed program was:" >&5
   4410 sed 's/^/| /' conftest.$ac_ext >&5
   4411 
   4412   # Passes both tests.
   4413 ac_preproc_ok=:
   4414 break
   4415 fi
   4416 rm -f conftest.err conftest.$ac_ext
   4417 
   4418 done
   4419 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
   4420 rm -f conftest.err conftest.$ac_ext
   4421 if $ac_preproc_ok; then
   4422   :
   4423 else
   4424   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   4425 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   4426 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
   4427 See \`config.log' for more details." >&5
   4428 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
   4429 See \`config.log' for more details." >&2;}
   4430    { (exit 1); exit 1; }; }; }
   4431 fi
   4432 
   4433 ac_ext=c
   4434 ac_cpp='$CPP $CPPFLAGS'
   4435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   4436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   4437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   4438 
   4439 
   4440 echo "$as_me:$LINENO: checking for egrep" >&5
   4441 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
   4442 if test "${ac_cv_prog_egrep+set}" = set; then
   4443   echo $ECHO_N "(cached) $ECHO_C" >&6
   4444 else
   4445   if echo a | (grep -E '(a|b)') >/dev/null 2>&1
   4446     then ac_cv_prog_egrep='grep -E'
   4447     else ac_cv_prog_egrep='egrep'
   4448     fi
   4449 fi
   4450 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
   4451 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
   4452  EGREP=$ac_cv_prog_egrep
   4453 
   4454 
   4455 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
   4456 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
   4457 if test "${ac_cv_header_stdc+set}" = set; then
   4458   echo $ECHO_N "(cached) $ECHO_C" >&6
   4459 else
   4460   cat >conftest.$ac_ext <<_ACEOF
   4461 /* confdefs.h.  */
   4462 _ACEOF
   4463 cat confdefs.h >>conftest.$ac_ext
   4464 cat >>conftest.$ac_ext <<_ACEOF
   4465 /* end confdefs.h.  */
   4466 #include <stdlib.h>
   4467 #include <stdarg.h>
   4468 #include <string.h>
   4469 #include <float.h>
   4470 
   4471 int
   4472 main ()
   4473 {
   4474 
   4475   ;
   4476   return 0;
   4477 }
   4478 _ACEOF
   4479 rm -f conftest.$ac_objext
   4480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4481   (eval $ac_compile) 2>conftest.er1
   4482   ac_status=$?
   4483   grep -v '^ *+' conftest.er1 >conftest.err
   4484   rm -f conftest.er1
   4485   cat conftest.err >&5
   4486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4487   (exit $ac_status); } &&
   4488 	 { ac_try='test -z "$ac_c_werror_flag"
   4489 			 || test ! -s conftest.err'
   4490   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4491   (eval $ac_try) 2>&5
   4492   ac_status=$?
   4493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4494   (exit $ac_status); }; } &&
   4495 	 { ac_try='test -s conftest.$ac_objext'
   4496   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4497   (eval $ac_try) 2>&5
   4498   ac_status=$?
   4499   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4500   (exit $ac_status); }; }; then
   4501   ac_cv_header_stdc=yes
   4502 else
   4503   echo "$as_me: failed program was:" >&5
   4504 sed 's/^/| /' conftest.$ac_ext >&5
   4505 
   4506 ac_cv_header_stdc=no
   4507 fi
   4508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4509 
   4510 if test $ac_cv_header_stdc = yes; then
   4511   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
   4512   cat >conftest.$ac_ext <<_ACEOF
   4513 /* confdefs.h.  */
   4514 _ACEOF
   4515 cat confdefs.h >>conftest.$ac_ext
   4516 cat >>conftest.$ac_ext <<_ACEOF
   4517 /* end confdefs.h.  */
   4518 #include <string.h>
   4519 
   4520 _ACEOF
   4521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4522   $EGREP "memchr" >/dev/null 2>&1; then
   4523   :
   4524 else
   4525   ac_cv_header_stdc=no
   4526 fi
   4527 rm -f conftest*
   4528 
   4529 fi
   4530 
   4531 if test $ac_cv_header_stdc = yes; then
   4532   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
   4533   cat >conftest.$ac_ext <<_ACEOF
   4534 /* confdefs.h.  */
   4535 _ACEOF
   4536 cat confdefs.h >>conftest.$ac_ext
   4537 cat >>conftest.$ac_ext <<_ACEOF
   4538 /* end confdefs.h.  */
   4539 #include <stdlib.h>
   4540 
   4541 _ACEOF
   4542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
   4543   $EGREP "free" >/dev/null 2>&1; then
   4544   :
   4545 else
   4546   ac_cv_header_stdc=no
   4547 fi
   4548 rm -f conftest*
   4549 
   4550 fi
   4551 
   4552 if test $ac_cv_header_stdc = yes; then
   4553   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
   4554   if test "$cross_compiling" = yes; then
   4555   :
   4556 else
   4557   cat >conftest.$ac_ext <<_ACEOF
   4558 /* confdefs.h.  */
   4559 _ACEOF
   4560 cat confdefs.h >>conftest.$ac_ext
   4561 cat >>conftest.$ac_ext <<_ACEOF
   4562 /* end confdefs.h.  */
   4563 #include <ctype.h>
   4564 #if ((' ' & 0x0FF) == 0x020)
   4565 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
   4566 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
   4567 #else
   4568 # define ISLOWER(c) \
   4569 		   (('a' <= (c) && (c) <= 'i') \
   4570 		     || ('j' <= (c) && (c) <= 'r') \
   4571 		     || ('s' <= (c) && (c) <= 'z'))
   4572 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
   4573 #endif
   4574 
   4575 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
   4576 int
   4577 main ()
   4578 {
   4579   int i;
   4580   for (i = 0; i < 256; i++)
   4581     if (XOR (islower (i), ISLOWER (i))
   4582 	|| toupper (i) != TOUPPER (i))
   4583       exit(2);
   4584   exit (0);
   4585 }
   4586 _ACEOF
   4587 rm -f conftest$ac_exeext
   4588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   4589   (eval $ac_link) 2>&5
   4590   ac_status=$?
   4591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4592   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   4593   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4594   (eval $ac_try) 2>&5
   4595   ac_status=$?
   4596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4597   (exit $ac_status); }; }; then
   4598   :
   4599 else
   4600   echo "$as_me: program exited with status $ac_status" >&5
   4601 echo "$as_me: failed program was:" >&5
   4602 sed 's/^/| /' conftest.$ac_ext >&5
   4603 
   4604 ( exit $ac_status )
   4605 ac_cv_header_stdc=no
   4606 fi
   4607 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   4608 fi
   4609 fi
   4610 fi
   4611 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
   4612 echo "${ECHO_T}$ac_cv_header_stdc" >&6
   4613 if test $ac_cv_header_stdc = yes; then
   4614 
   4615 cat >>confdefs.h <<\_ACEOF
   4616 #define STDC_HEADERS 1
   4617 _ACEOF
   4618 
   4619 fi
   4620 
   4621 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
   4622 
   4623 
   4624 
   4625 
   4626 
   4627 
   4628 
   4629 
   4630 
   4631 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
   4632 		  inttypes.h stdint.h unistd.h
   4633 do
   4634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   4635 echo "$as_me:$LINENO: checking for $ac_header" >&5
   4636 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   4637 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   4638   echo $ECHO_N "(cached) $ECHO_C" >&6
   4639 else
   4640   cat >conftest.$ac_ext <<_ACEOF
   4641 /* confdefs.h.  */
   4642 _ACEOF
   4643 cat confdefs.h >>conftest.$ac_ext
   4644 cat >>conftest.$ac_ext <<_ACEOF
   4645 /* end confdefs.h.  */
   4646 $ac_includes_default
   4647 
   4648 #include <$ac_header>
   4649 _ACEOF
   4650 rm -f conftest.$ac_objext
   4651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4652   (eval $ac_compile) 2>conftest.er1
   4653   ac_status=$?
   4654   grep -v '^ *+' conftest.er1 >conftest.err
   4655   rm -f conftest.er1
   4656   cat conftest.err >&5
   4657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4658   (exit $ac_status); } &&
   4659 	 { ac_try='test -z "$ac_c_werror_flag"
   4660 			 || test ! -s conftest.err'
   4661   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4662   (eval $ac_try) 2>&5
   4663   ac_status=$?
   4664   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4665   (exit $ac_status); }; } &&
   4666 	 { ac_try='test -s conftest.$ac_objext'
   4667   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4668   (eval $ac_try) 2>&5
   4669   ac_status=$?
   4670   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4671   (exit $ac_status); }; }; then
   4672   eval "$as_ac_Header=yes"
   4673 else
   4674   echo "$as_me: failed program was:" >&5
   4675 sed 's/^/| /' conftest.$ac_ext >&5
   4676 
   4677 eval "$as_ac_Header=no"
   4678 fi
   4679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4680 fi
   4681 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   4682 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   4683 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   4684   cat >>confdefs.h <<_ACEOF
   4685 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   4686 _ACEOF
   4687 
   4688 fi
   4689 
   4690 done
   4691 
   4692 
   4693 
   4694   if test "${ac_cv_header_minix_config_h+set}" = set; then
   4695   echo "$as_me:$LINENO: checking for minix/config.h" >&5
   4696 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
   4697 if test "${ac_cv_header_minix_config_h+set}" = set; then
   4698   echo $ECHO_N "(cached) $ECHO_C" >&6
   4699 fi
   4700 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
   4701 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
   4702 else
   4703   # Is the header compilable?
   4704 echo "$as_me:$LINENO: checking minix/config.h usability" >&5
   4705 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6
   4706 cat >conftest.$ac_ext <<_ACEOF
   4707 /* confdefs.h.  */
   4708 _ACEOF
   4709 cat confdefs.h >>conftest.$ac_ext
   4710 cat >>conftest.$ac_ext <<_ACEOF
   4711 /* end confdefs.h.  */
   4712 $ac_includes_default
   4713 #include <minix/config.h>
   4714 _ACEOF
   4715 rm -f conftest.$ac_objext
   4716 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4717   (eval $ac_compile) 2>conftest.er1
   4718   ac_status=$?
   4719   grep -v '^ *+' conftest.er1 >conftest.err
   4720   rm -f conftest.er1
   4721   cat conftest.err >&5
   4722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4723   (exit $ac_status); } &&
   4724 	 { ac_try='test -z "$ac_c_werror_flag"
   4725 			 || test ! -s conftest.err'
   4726   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4727   (eval $ac_try) 2>&5
   4728   ac_status=$?
   4729   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4730   (exit $ac_status); }; } &&
   4731 	 { ac_try='test -s conftest.$ac_objext'
   4732   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4733   (eval $ac_try) 2>&5
   4734   ac_status=$?
   4735   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4736   (exit $ac_status); }; }; then
   4737   ac_header_compiler=yes
   4738 else
   4739   echo "$as_me: failed program was:" >&5
   4740 sed 's/^/| /' conftest.$ac_ext >&5
   4741 
   4742 ac_header_compiler=no
   4743 fi
   4744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4745 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   4746 echo "${ECHO_T}$ac_header_compiler" >&6
   4747 
   4748 # Is the header present?
   4749 echo "$as_me:$LINENO: checking minix/config.h presence" >&5
   4750 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6
   4751 cat >conftest.$ac_ext <<_ACEOF
   4752 /* confdefs.h.  */
   4753 _ACEOF
   4754 cat confdefs.h >>conftest.$ac_ext
   4755 cat >>conftest.$ac_ext <<_ACEOF
   4756 /* end confdefs.h.  */
   4757 #include <minix/config.h>
   4758 _ACEOF
   4759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   4760   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   4761   ac_status=$?
   4762   grep -v '^ *+' conftest.er1 >conftest.err
   4763   rm -f conftest.er1
   4764   cat conftest.err >&5
   4765   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4766   (exit $ac_status); } >/dev/null; then
   4767   if test -s conftest.err; then
   4768     ac_cpp_err=$ac_c_preproc_warn_flag
   4769     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   4770   else
   4771     ac_cpp_err=
   4772   fi
   4773 else
   4774   ac_cpp_err=yes
   4775 fi
   4776 if test -z "$ac_cpp_err"; then
   4777   ac_header_preproc=yes
   4778 else
   4779   echo "$as_me: failed program was:" >&5
   4780 sed 's/^/| /' conftest.$ac_ext >&5
   4781 
   4782   ac_header_preproc=no
   4783 fi
   4784 rm -f conftest.err conftest.$ac_ext
   4785 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   4786 echo "${ECHO_T}$ac_header_preproc" >&6
   4787 
   4788 # So?  What about this header?
   4789 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   4790   yes:no: )
   4791     { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
   4792 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
   4793     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
   4794 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
   4795     ac_header_preproc=yes
   4796     ;;
   4797   no:yes:* )
   4798     { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
   4799 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
   4800     { echo "$as_me:$LINENO: WARNING: minix/config.h:     check for missing prerequisite headers?" >&5
   4801 echo "$as_me: WARNING: minix/config.h:     check for missing prerequisite headers?" >&2;}
   4802     { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
   4803 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
   4804     { echo "$as_me:$LINENO: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&5
   4805 echo "$as_me: WARNING: minix/config.h:     section \"Present But Cannot Be Compiled\"" >&2;}
   4806     { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
   4807 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
   4808     { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
   4809 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
   4810     (
   4811       cat <<\_ASBOX
   4812 ## ------------------------------------------ ##
   4813 ## Report this to the AC_PACKAGE_NAME lists.  ##
   4814 ## ------------------------------------------ ##
   4815 _ASBOX
   4816     ) |
   4817       sed "s/^/$as_me: WARNING:     /" >&2
   4818     ;;
   4819 esac
   4820 echo "$as_me:$LINENO: checking for minix/config.h" >&5
   4821 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6
   4822 if test "${ac_cv_header_minix_config_h+set}" = set; then
   4823   echo $ECHO_N "(cached) $ECHO_C" >&6
   4824 else
   4825   ac_cv_header_minix_config_h=$ac_header_preproc
   4826 fi
   4827 echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
   4828 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6
   4829 
   4830 fi
   4831 if test $ac_cv_header_minix_config_h = yes; then
   4832   MINIX=yes
   4833 else
   4834   MINIX=
   4835 fi
   4836 
   4837 
   4838   if test "$MINIX" = yes; then
   4839 
   4840 cat >>confdefs.h <<\_ACEOF
   4841 #define _POSIX_SOURCE 1
   4842 _ACEOF
   4843 
   4844 
   4845 cat >>confdefs.h <<\_ACEOF
   4846 #define _POSIX_1_SOURCE 2
   4847 _ACEOF
   4848 
   4849 
   4850 cat >>confdefs.h <<\_ACEOF
   4851 #define _MINIX 1
   4852 _ACEOF
   4853 
   4854   fi
   4855 
   4856 
   4857 
   4858   echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
   4859 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6
   4860 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
   4861   echo $ECHO_N "(cached) $ECHO_C" >&6
   4862 else
   4863   cat >conftest.$ac_ext <<_ACEOF
   4864 /* confdefs.h.  */
   4865 _ACEOF
   4866 cat confdefs.h >>conftest.$ac_ext
   4867 cat >>conftest.$ac_ext <<_ACEOF
   4868 /* end confdefs.h.  */
   4869 
   4870 #	  define __EXTENSIONS__ 1
   4871 	  $ac_includes_default
   4872 int
   4873 main ()
   4874 {
   4875 
   4876   ;
   4877   return 0;
   4878 }
   4879 _ACEOF
   4880 rm -f conftest.$ac_objext
   4881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   4882   (eval $ac_compile) 2>conftest.er1
   4883   ac_status=$?
   4884   grep -v '^ *+' conftest.er1 >conftest.err
   4885   rm -f conftest.er1
   4886   cat conftest.err >&5
   4887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4888   (exit $ac_status); } &&
   4889 	 { ac_try='test -z "$ac_c_werror_flag"
   4890 			 || test ! -s conftest.err'
   4891   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4892   (eval $ac_try) 2>&5
   4893   ac_status=$?
   4894   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4895   (exit $ac_status); }; } &&
   4896 	 { ac_try='test -s conftest.$ac_objext'
   4897   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   4898   (eval $ac_try) 2>&5
   4899   ac_status=$?
   4900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   4901   (exit $ac_status); }; }; then
   4902   ac_cv_safe_to_define___extensions__=yes
   4903 else
   4904   echo "$as_me: failed program was:" >&5
   4905 sed 's/^/| /' conftest.$ac_ext >&5
   4906 
   4907 ac_cv_safe_to_define___extensions__=no
   4908 fi
   4909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   4910 fi
   4911 echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
   4912 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6
   4913   test $ac_cv_safe_to_define___extensions__ = yes &&
   4914     cat >>confdefs.h <<\_ACEOF
   4915 #define __EXTENSIONS__ 1
   4916 _ACEOF
   4917 
   4918   cat >>confdefs.h <<\_ACEOF
   4919 #define _ALL_SOURCE 1
   4920 _ACEOF
   4921 
   4922   cat >>confdefs.h <<\_ACEOF
   4923 #define _GNU_SOURCE 1
   4924 _ACEOF
   4925 
   4926   cat >>confdefs.h <<\_ACEOF
   4927 #define _POSIX_PTHREAD_SEMANTICS 1
   4928 _ACEOF
   4929 
   4930   cat >>confdefs.h <<\_ACEOF
   4931 #define _TANDEM_SOURCE 1
   4932 _ACEOF
   4933 
   4934 
   4935 # Find a good install program.  We prefer a C program (faster),
   4936 # so one script is as good as another.  But avoid the broken or
   4937 # incompatible versions:
   4938 # SysV /etc/install, /usr/sbin/install
   4939 # SunOS /usr/etc/install
   4940 # IRIX /sbin/install
   4941 # AIX /bin/install
   4942 # AmigaOS /C/install, which installs bootblocks on floppy discs
   4943 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
   4944 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
   4945 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
   4946 # OS/2's system install, which has a completely different semantic
   4947 # ./install, which can be erroneously created by make from ./install.sh.
   4948 # Reject install programs that cannot install multiple files.
   4949 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
   4950 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
   4951 if test -z "$INSTALL"; then
   4952 if test "${ac_cv_path_install+set}" = set; then
   4953   echo $ECHO_N "(cached) $ECHO_C" >&6
   4954 else
   4955   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   4956 for as_dir in $PATH
   4957 do
   4958   IFS=$as_save_IFS
   4959   test -z "$as_dir" && as_dir=.
   4960   # Account for people who put trailing slashes in PATH elements.
   4961 case $as_dir/ in
   4962   ./ | .// | /cC/* | \
   4963   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
   4964   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
   4965   /usr/ucb/* ) ;;
   4966   *)
   4967     # OSF1 and SCO ODT 3.0 have their own names for install.
   4968     # Don't use installbsd from OSF since it installs stuff as root
   4969     # by default.
   4970     for ac_prog in ginstall scoinst install; do
   4971       for ac_exec_ext in '' $ac_executable_extensions; do
   4972 	if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
   4973 	  if test $ac_prog = install &&
   4974 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4975 	    # AIX install.  It has an incompatible calling convention.
   4976 	    :
   4977 	  elif test $ac_prog = install &&
   4978 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
   4979 	    # program-specific install script used by HP pwplus--don't use.
   4980 	    :
   4981 	  else
   4982 	    rm -rf conftest.one conftest.two conftest.dir
   4983 	    echo one > conftest.one
   4984 	    echo two > conftest.two
   4985 	    mkdir conftest.dir
   4986 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
   4987 	      test -s conftest.one && test -s conftest.two &&
   4988 	      test -s conftest.dir/conftest.one &&
   4989 	      test -s conftest.dir/conftest.two
   4990 	    then
   4991 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
   4992 	      break 3
   4993 	    fi
   4994 	  fi
   4995 	fi
   4996       done
   4997     done
   4998     ;;
   4999 esac
   5000 done
   5001 
   5002 rm -rf conftest.one conftest.two conftest.dir
   5003 
   5004 fi
   5005   if test "${ac_cv_path_install+set}" = set; then
   5006     INSTALL=$ac_cv_path_install
   5007   else
   5008     # As a last resort, use the slow shell script.  Don't cache a
   5009     # value for INSTALL within a source directory, because that will
   5010     # break other packages using the cache if that directory is
   5011     # removed, or if the value is a relative name.
   5012     INSTALL=$ac_install_sh
   5013   fi
   5014 fi
   5015 echo "$as_me:$LINENO: result: $INSTALL" >&5
   5016 echo "${ECHO_T}$INSTALL" >&6
   5017 
   5018 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
   5019 # It thinks the first close brace ends the variable substitution.
   5020 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
   5021 
   5022 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
   5023 
   5024 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
   5025 
   5026 
   5027 
   5028 
   5029 macro_version='2.1a'
   5030 macro_revision='1.2435'
   5031 
   5032 
   5033 
   5034 
   5035 
   5036 
   5037 
   5038 
   5039 
   5040 
   5041 
   5042 
   5043 ltmain="$ac_aux_dir/ltmain.sh"
   5044 
   5045 # Set options
   5046 
   5047 enable_dlopen=no
   5048 
   5049 
   5050 enable_win32_dll=no
   5051 
   5052 
   5053 # Check whether --enable-shared or --disable-shared was given.
   5054 if test "${enable_shared+set}" = set; then
   5055   enableval="$enable_shared"
   5056   p=${PACKAGE-default}
   5057     case $enableval in
   5058     yes) enable_shared=yes ;;
   5059     no) enable_shared=no ;;
   5060     *)
   5061       enable_shared=no
   5062       # Look at the argument we got.  We use all the common list separators.
   5063       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   5064       for pkg in $enableval; do
   5065 	IFS="$lt_save_ifs"
   5066 	if test "X$pkg" = "X$p"; then
   5067 	  enable_shared=yes
   5068 	fi
   5069       done
   5070       IFS="$lt_save_ifs"
   5071       ;;
   5072     esac
   5073 else
   5074   enable_shared=yes
   5075 fi;
   5076 
   5077 
   5078 
   5079 
   5080 
   5081 
   5082 
   5083 
   5084 # Check whether --enable-static or --disable-static was given.
   5085 if test "${enable_static+set}" = set; then
   5086   enableval="$enable_static"
   5087   p=${PACKAGE-default}
   5088     case $enableval in
   5089     yes) enable_static=yes ;;
   5090     no) enable_static=no ;;
   5091     *)
   5092      enable_static=no
   5093       # Look at the argument we got.  We use all the common list separators.
   5094       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   5095       for pkg in $enableval; do
   5096 	IFS="$lt_save_ifs"
   5097 	if test "X$pkg" = "X$p"; then
   5098 	  enable_static=yes
   5099 	fi
   5100       done
   5101       IFS="$lt_save_ifs"
   5102       ;;
   5103     esac
   5104 else
   5105   enable_static=yes
   5106 fi;
   5107 
   5108 
   5109 
   5110 
   5111 
   5112 
   5113 
   5114 
   5115 
   5116 # Check whether --with-pic or --without-pic was given.
   5117 if test "${with_pic+set}" = set; then
   5118   withval="$with_pic"
   5119   pic_mode="$withval"
   5120 else
   5121   pic_mode=default
   5122 fi;
   5123 
   5124 test -z "$pic_mode" && pic_mode=default
   5125 
   5126 
   5127 
   5128 
   5129 
   5130 
   5131 
   5132 # Check whether --enable-fast-install or --disable-fast-install was given.
   5133 if test "${enable_fast_install+set}" = set; then
   5134   enableval="$enable_fast_install"
   5135   p=${PACKAGE-default}
   5136     case $enableval in
   5137     yes) enable_fast_install=yes ;;
   5138     no) enable_fast_install=no ;;
   5139     *)
   5140       enable_fast_install=no
   5141       # Look at the argument we got.  We use all the common list separators.
   5142       lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
   5143       for pkg in $enableval; do
   5144 	IFS="$lt_save_ifs"
   5145 	if test "X$pkg" = "X$p"; then
   5146 	  enable_fast_install=yes
   5147 	fi
   5148       done
   5149       IFS="$lt_save_ifs"
   5150       ;;
   5151     esac
   5152 else
   5153   enable_fast_install=yes
   5154 fi;
   5155 
   5156 
   5157 
   5158 
   5159 
   5160 
   5161 
   5162 
   5163 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
   5164 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
   5165 if test "${lt_cv_path_SED+set}" = set; then
   5166   echo $ECHO_N "(cached) $ECHO_C" >&6
   5167 else
   5168   # Loop through the user's path and test for sed and gsed.
   5169 # Then use that list of sed's as ones to test for truncation.
   5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5171 for as_dir in $PATH
   5172 do
   5173   IFS=$as_save_IFS
   5174   test -z "$as_dir" && as_dir=.
   5175   for lt_ac_prog in sed gsed; do
   5176     for ac_exec_ext in '' $ac_executable_extensions; do
   5177       if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
   5178         lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
   5179       fi
   5180     done
   5181   done
   5182 done
   5183 IFS=$as_save_IFS
   5184 lt_ac_max=0
   5185 lt_ac_count=0
   5186 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
   5187 # along with /bin/sed that truncates output.
   5188 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
   5189   test ! -f $lt_ac_sed && continue
   5190   cat /dev/null > conftest.in
   5191   lt_ac_count=0
   5192   echo $ECHO_N "0123456789$ECHO_C" >conftest.in
   5193   # Check for GNU sed and select it if it is found.
   5194   if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
   5195     lt_cv_path_SED=$lt_ac_sed
   5196     break
   5197   fi
   5198   while true; do
   5199     cat conftest.in conftest.in >conftest.tmp
   5200     mv conftest.tmp conftest.in
   5201     cp conftest.in conftest.nl
   5202     echo >>conftest.nl
   5203     $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
   5204     cmp -s conftest.out conftest.nl || break
   5205     # 10000 chars as input seems more than enough
   5206     test $lt_ac_count -gt 10 && break
   5207     lt_ac_count=`expr $lt_ac_count + 1`
   5208     if test $lt_ac_count -gt $lt_ac_max; then
   5209       lt_ac_max=$lt_ac_count
   5210       lt_cv_path_SED=$lt_ac_sed
   5211     fi
   5212   done
   5213 done
   5214 
   5215 fi
   5216 
   5217 SED=$lt_cv_path_SED
   5218 
   5219 echo "$as_me:$LINENO: result: $SED" >&5
   5220 echo "${ECHO_T}$SED" >&6
   5221 
   5222 test -z "$SED" && SED=sed
   5223 Xsed="$SED -e 1s/^X//"
   5224 
   5225 
   5226 
   5227 
   5228 
   5229 
   5230 
   5231 
   5232 
   5233 
   5234 
   5235 echo "$as_me:$LINENO: checking for fgrep" >&5
   5236 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
   5237 if test "${ac_cv_prog_fgrep+set}" = set; then
   5238   echo $ECHO_N "(cached) $ECHO_C" >&6
   5239 else
   5240   if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
   5241     then ac_cv_prog_fgrep='grep -F'
   5242     else ac_cv_prog_fgrep='fgrep'
   5243     fi
   5244 fi
   5245 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
   5246 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
   5247  FGREP=$ac_cv_prog_fgrep
   5248 
   5249 
   5250 test -z "$GREP" && GREP=grep
   5251 
   5252 
   5253 
   5254 
   5255 
   5256 
   5257 
   5258 
   5259 
   5260 
   5261 
   5262 
   5263 
   5264 
   5265 
   5266 
   5267 
   5268 
   5269 
   5270 # Check whether --with-gnu-ld or --without-gnu-ld was given.
   5271 if test "${with_gnu_ld+set}" = set; then
   5272   withval="$with_gnu_ld"
   5273   test "$withval" = no || with_gnu_ld=yes
   5274 else
   5275   with_gnu_ld=no
   5276 fi;
   5277 ac_prog=ld
   5278 if test "$GCC" = yes; then
   5279   # Check if gcc -print-prog-name=ld gives a path.
   5280   echo "$as_me:$LINENO: checking for ld used by $CC" >&5
   5281 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
   5282   case $host in
   5283   *-*-mingw*)
   5284     # gcc leaves a trailing carriage return which upsets mingw
   5285     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
   5286   *)
   5287     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
   5288   esac
   5289   case $ac_prog in
   5290     # Accept absolute paths.
   5291     [\\/]* | ?:[\\/]*)
   5292       re_direlt='/[^/][^/]*/\.\./'
   5293       # Canonicalize the pathname of ld
   5294       ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
   5295       while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
   5296 	ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
   5297       done
   5298       test -z "$LD" && LD="$ac_prog"
   5299       ;;
   5300   "")
   5301     # If it fails, then pretend we aren't using GCC.
   5302     ac_prog=ld
   5303     ;;
   5304   *)
   5305     # If it is relative, then search for the first ld in PATH.
   5306     with_gnu_ld=unknown
   5307     ;;
   5308   esac
   5309 elif test "$with_gnu_ld" = yes; then
   5310   echo "$as_me:$LINENO: checking for GNU ld" >&5
   5311 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
   5312 else
   5313   echo "$as_me:$LINENO: checking for non-GNU ld" >&5
   5314 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
   5315 fi
   5316 if test "${lt_cv_path_LD+set}" = set; then
   5317   echo $ECHO_N "(cached) $ECHO_C" >&6
   5318 else
   5319   if test -z "$LD"; then
   5320   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5321   for ac_dir in $PATH; do
   5322     IFS="$lt_save_ifs"
   5323     test -z "$ac_dir" && ac_dir=.
   5324     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
   5325       lt_cv_path_LD="$ac_dir/$ac_prog"
   5326       # Check to see if the program is GNU ld.  I'd rather use --version,
   5327       # but apparently some variants of GNU ld only accept -v.
   5328       # Break only if it was the GNU/non-GNU ld that we prefer.
   5329       case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
   5330       *GNU* | *'with BFD'*)
   5331 	test "$with_gnu_ld" != no && break
   5332 	;;
   5333       *)
   5334 	test "$with_gnu_ld" != yes && break
   5335 	;;
   5336       esac
   5337     fi
   5338   done
   5339   IFS="$lt_save_ifs"
   5340 else
   5341   lt_cv_path_LD="$LD" # Let the user override the test with a path.
   5342 fi
   5343 fi
   5344 
   5345 LD="$lt_cv_path_LD"
   5346 if test -n "$LD"; then
   5347   echo "$as_me:$LINENO: result: $LD" >&5
   5348 echo "${ECHO_T}$LD" >&6
   5349 else
   5350   echo "$as_me:$LINENO: result: no" >&5
   5351 echo "${ECHO_T}no" >&6
   5352 fi
   5353 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
   5354 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
   5355    { (exit 1); exit 1; }; }
   5356 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
   5357 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
   5358 if test "${lt_cv_prog_gnu_ld+set}" = set; then
   5359   echo $ECHO_N "(cached) $ECHO_C" >&6
   5360 else
   5361   # I'd rather use --version here, but apparently some GNU lds only accept -v.
   5362 case `$LD -v 2>&1 </dev/null` in
   5363 *GNU* | *'with BFD'*)
   5364   lt_cv_prog_gnu_ld=yes
   5365   ;;
   5366 *)
   5367   lt_cv_prog_gnu_ld=no
   5368   ;;
   5369 esac
   5370 fi
   5371 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
   5372 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
   5373 with_gnu_ld=$lt_cv_prog_gnu_ld
   5374 
   5375 
   5376 
   5377 
   5378 
   5379 
   5380 
   5381 
   5382 
   5383 
   5384 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
   5385 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
   5386 if test "${lt_cv_path_NM+set}" = set; then
   5387   echo $ECHO_N "(cached) $ECHO_C" >&6
   5388 else
   5389   if test -n "$NM"; then
   5390   # Let the user override the test.
   5391   lt_cv_path_NM="$NM"
   5392 else
   5393   lt_nm_to_check="${ac_tool_prefix}nm"
   5394   if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
   5395     lt_nm_to_check="$lt_nm_to_check nm"
   5396   fi
   5397   for lt_tmp_nm in $lt_nm_to_check; do
   5398     lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   5399     for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
   5400       IFS="$lt_save_ifs"
   5401       test -z "$ac_dir" && ac_dir=.
   5402       tmp_nm="$ac_dir/$lt_tmp_nm"
   5403       if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
   5404 	# Check to see if the nm accepts a BSD-compat flag.
   5405 	# Adding the `sed 1q' prevents false positives on HP-UX, which says:
   5406 	#   nm: unknown option "B" ignored
   5407 	# Tru64's nm complains that /dev/null is an invalid object file
   5408 	case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
   5409 	*/dev/null* | *'Invalid file or object type'*)
   5410 	  lt_cv_path_NM="$tmp_nm -B"
   5411 	  break
   5412 	  ;;
   5413 	*)
   5414 	  case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
   5415 	  */dev/null*)
   5416 	    lt_cv_path_NM="$tmp_nm -p"
   5417 	    break
   5418 	    ;;
   5419 	  *)
   5420 	    lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
   5421 	    continue # so that we can try to find one that supports BSD flags
   5422 	    ;;
   5423 	  esac
   5424 	  ;;
   5425 	esac
   5426       fi
   5427     done
   5428     IFS="$lt_save_ifs"
   5429   done
   5430   : ${lt_cv_path_NM=no}
   5431 fi
   5432 fi
   5433 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
   5434 echo "${ECHO_T}$lt_cv_path_NM" >&6
   5435 if test "$lt_cv_path_NM" != "no"; then
   5436   NM="$lt_cv_path_NM"
   5437 else
   5438   # Didn't find any BSD compatible name lister, look for dumpbin.
   5439   if test -n "$ac_tool_prefix"; then
   5440   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5441   do
   5442     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
   5443 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
   5444 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5446 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
   5447   echo $ECHO_N "(cached) $ECHO_C" >&6
   5448 else
   5449   if test -n "$DUMPBIN"; then
   5450   ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
   5451 else
   5452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5453 for as_dir in $PATH
   5454 do
   5455   IFS=$as_save_IFS
   5456   test -z "$as_dir" && as_dir=.
   5457   for ac_exec_ext in '' $ac_executable_extensions; do
   5458   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5459     ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
   5460     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5461     break 2
   5462   fi
   5463 done
   5464 done
   5465 
   5466 fi
   5467 fi
   5468 DUMPBIN=$ac_cv_prog_DUMPBIN
   5469 if test -n "$DUMPBIN"; then
   5470   echo "$as_me:$LINENO: result: $DUMPBIN" >&5
   5471 echo "${ECHO_T}$DUMPBIN" >&6
   5472 else
   5473   echo "$as_me:$LINENO: result: no" >&5
   5474 echo "${ECHO_T}no" >&6
   5475 fi
   5476 
   5477     test -n "$DUMPBIN" && break
   5478   done
   5479 fi
   5480 if test -z "$DUMPBIN"; then
   5481   ac_ct_DUMPBIN=$DUMPBIN
   5482   for ac_prog in "dumpbin -symbols" "link -dump -symbols"
   5483 do
   5484   # Extract the first word of "$ac_prog", so it can be a program name with args.
   5485 set dummy $ac_prog; ac_word=$2
   5486 echo "$as_me:$LINENO: checking for $ac_word" >&5
   5487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   5488 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
   5489   echo $ECHO_N "(cached) $ECHO_C" >&6
   5490 else
   5491   if test -n "$ac_ct_DUMPBIN"; then
   5492   ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
   5493 else
   5494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   5495 for as_dir in $PATH
   5496 do
   5497   IFS=$as_save_IFS
   5498   test -z "$as_dir" && as_dir=.
   5499   for ac_exec_ext in '' $ac_executable_extensions; do
   5500   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   5501     ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
   5502     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   5503     break 2
   5504   fi
   5505 done
   5506 done
   5507 
   5508 fi
   5509 fi
   5510 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
   5511 if test -n "$ac_ct_DUMPBIN"; then
   5512   echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
   5513 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
   5514 else
   5515   echo "$as_me:$LINENO: result: no" >&5
   5516 echo "${ECHO_T}no" >&6
   5517 fi
   5518 
   5519   test -n "$ac_ct_DUMPBIN" && break
   5520 done
   5521 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
   5522 
   5523   DUMPBIN=$ac_ct_DUMPBIN
   5524 fi
   5525 
   5526 
   5527   if test "$DUMPBIN" != ":"; then
   5528     NM="$DUMPBIN"
   5529   fi
   5530 fi
   5531 test -z "$NM" && NM=nm
   5532 
   5533 
   5534 
   5535 
   5536 
   5537 
   5538 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
   5539 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
   5540 if test "${lt_cv_nm_interface+set}" = set; then
   5541   echo $ECHO_N "(cached) $ECHO_C" >&6
   5542 else
   5543   lt_cv_nm_interface="BSD nm"
   5544   echo "int some_variable = 0;" > conftest.$ac_ext
   5545   (eval echo "\"\$as_me:5545: $ac_compile\"" >&5)
   5546   (eval "$ac_compile" 2>conftest.err)
   5547   cat conftest.err >&5
   5548   (eval echo "\"\$as_me:5548: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
   5549   (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
   5550   cat conftest.err >&5
   5551   (eval echo "\"\$as_me:5551: output\"" >&5)
   5552   cat conftest.out >&5
   5553   if $GREP 'External.*some_variable' conftest.out > /dev/null; then
   5554     lt_cv_nm_interface="MS dumpbin"
   5555   fi
   5556   rm -f conftest*
   5557 fi
   5558 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
   5559 echo "${ECHO_T}$lt_cv_nm_interface" >&6
   5560 
   5561 echo "$as_me:$LINENO: checking whether ln -s works" >&5
   5562 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
   5563 LN_S=$as_ln_s
   5564 if test "$LN_S" = "ln -s"; then
   5565   echo "$as_me:$LINENO: result: yes" >&5
   5566 echo "${ECHO_T}yes" >&6
   5567 else
   5568   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
   5569 echo "${ECHO_T}no, using $LN_S" >&6
   5570 fi
   5571 
   5572 # find the maximum length of command line arguments
   5573 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
   5574 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
   5575 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
   5576   echo $ECHO_N "(cached) $ECHO_C" >&6
   5577 else
   5578     i=0
   5579   teststring="ABCD"
   5580 
   5581   case $build_os in
   5582   msdosdjgpp*)
   5583     # On DJGPP, this test can blow up pretty badly due to problems in libc
   5584     # (any single argument exceeding 2000 bytes causes a buffer overrun
   5585     # during glob expansion).  Even if it were fixed, the result of this
   5586     # check would be larger than it should be.
   5587     lt_cv_sys_max_cmd_len=12288;    # 12K is about right
   5588     ;;
   5589 
   5590   gnu*)
   5591     # Under GNU Hurd, this test is not required because there is
   5592     # no limit to the length of command line arguments.
   5593     # Libtool will interpret -1 as no limit whatsoever
   5594     lt_cv_sys_max_cmd_len=-1;
   5595     ;;
   5596 
   5597   cygwin* | mingw*)
   5598     # On Win9x/ME, this test blows up -- it succeeds, but takes
   5599     # about 5 minutes as the teststring grows exponentially.
   5600     # Worse, since 9x/ME are not pre-emptively multitasking,
   5601     # you end up with a "frozen" computer, even though with patience
   5602     # the test eventually succeeds (with a max line length of 256k).
   5603     # Instead, let's just punt: use the minimum linelength reported by
   5604     # all of the supported platforms: 8192 (on NT/2K/XP).
   5605     lt_cv_sys_max_cmd_len=8192;
   5606     ;;
   5607 
   5608   amigaos*)
   5609     # On AmigaOS with pdksh, this test takes hours, literally.
   5610     # So we just punt and use a minimum line length of 8192.
   5611     lt_cv_sys_max_cmd_len=8192;
   5612     ;;
   5613 
   5614   netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
   5615     # This has been around since 386BSD, at least.  Likely further.
   5616     if test -x /sbin/sysctl; then
   5617       lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
   5618     elif test -x /usr/sbin/sysctl; then
   5619       lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
   5620     else
   5621       lt_cv_sys_max_cmd_len=65536	# usable default for all BSDs
   5622     fi
   5623     # And add a safety zone
   5624     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5625     lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5626     ;;
   5627 
   5628   interix*)
   5629     # We know the value 262144 and hardcode it with a safety zone (like BSD)
   5630     lt_cv_sys_max_cmd_len=196608
   5631     ;;
   5632 
   5633   osf*)
   5634     # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
   5635     # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
   5636     # nice to cause kernel panics so lets avoid the loop below.
   5637     # First set a reasonable default.
   5638     lt_cv_sys_max_cmd_len=16384
   5639     #
   5640     if test -x /sbin/sysconfig; then
   5641       case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
   5642         *1*) lt_cv_sys_max_cmd_len=-1 ;;
   5643       esac
   5644     fi
   5645     ;;
   5646   sco3.2v5*)
   5647     lt_cv_sys_max_cmd_len=102400
   5648     ;;
   5649   sysv5* | sco5v6* | sysv4.2uw2*)
   5650     kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
   5651     if test -n "$kargmax"; then
   5652       lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[	 ]//'`
   5653     else
   5654       lt_cv_sys_max_cmd_len=32768
   5655     fi
   5656     ;;
   5657   *)
   5658     lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
   5659     if test -n $lt_cv_sys_max_cmd_len; then
   5660       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
   5661       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
   5662     else
   5663       # Make teststring a little bigger before we do anything with it.
   5664       # a 1K string should be a reasonable start.
   5665       for i in 1 2 3 4 5 6 7 8 ; do
   5666         teststring=$teststring$teststring
   5667       done
   5668       SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
   5669       # If test is not a shell built-in, we'll probably end up computing a
   5670       # maximum length that is only half of the actual maximum length, but
   5671       # we can't tell.
   5672       while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
   5673 	         = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
   5674 	      test $i != 17 # 1/2 MB should be enough
   5675       do
   5676         i=`expr $i + 1`
   5677         teststring=$teststring$teststring
   5678       done
   5679       # Only check the string length outside the loop.
   5680       lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
   5681       teststring=
   5682       # Add a significant safety factor because C++ compilers can tack on
   5683       # massive amounts of additional arguments before passing them to the
   5684       # linker.  It appears as though 1/2 is a usable value.
   5685       lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
   5686     fi
   5687     ;;
   5688   esac
   5689 
   5690 fi
   5691 
   5692 if test -n $lt_cv_sys_max_cmd_len ; then
   5693   echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
   5694 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
   5695 else
   5696   echo "$as_me:$LINENO: result: none" >&5
   5697 echo "${ECHO_T}none" >&6
   5698 fi
   5699 max_cmd_len=$lt_cv_sys_max_cmd_len
   5700 
   5701 
   5702 
   5703 
   5704 
   5705 
   5706 
   5707 : ${CP="cp -f"}
   5708 : ${MV="mv -f"}
   5709 : ${RM="rm -f"}
   5710 
   5711 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
   5712 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
   5713 # Try some XSI features
   5714 xsi_shell=no
   5715 ( _lt_dummy="a/b/c"
   5716   test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
   5717       = c,a/b,, ) >/dev/null 2>&1 \
   5718   && xsi_shell=yes
   5719 echo "$as_me:$LINENO: result: $xsi_shell" >&5
   5720 echo "${ECHO_T}$xsi_shell" >&6
   5721 
   5722 
   5723 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
   5724 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
   5725 lt_shell_append=no
   5726 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
   5727     >/dev/null 2>&1 \
   5728   && lt_shell_append=yes
   5729 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
   5730 echo "${ECHO_T}$lt_shell_append" >&6
   5731 
   5732 
   5733 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   5734   lt_unset=unset
   5735 else
   5736   lt_unset=false
   5737 fi
   5738 
   5739 
   5740 
   5741 
   5742 
   5743 # test EBCDIC or ASCII
   5744 case `echo X|tr X '\101'` in
   5745  A) # ASCII based system
   5746     # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
   5747   lt_SP2NL='tr \040 \012'
   5748   lt_NL2SP='tr \015\012 \040\040'
   5749   ;;
   5750  *) # EBCDIC based system
   5751   lt_SP2NL='tr \100 \n'
   5752   lt_NL2SP='tr \r\n \100\100'
   5753   ;;
   5754 esac
   5755 
   5756 
   5757 
   5758 
   5759 
   5760 
   5761 
   5762 
   5763 
   5764 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
   5765 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
   5766 if test "${lt_cv_ld_reload_flag+set}" = set; then
   5767   echo $ECHO_N "(cached) $ECHO_C" >&6
   5768 else
   5769   lt_cv_ld_reload_flag='-r'
   5770 fi
   5771 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
   5772 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
   5773 reload_flag=$lt_cv_ld_reload_flag
   5774 case $reload_flag in
   5775 "" | " "*) ;;
   5776 *) reload_flag=" $reload_flag" ;;
   5777 esac
   5778 reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5779 case $host_os in
   5780   darwin*)
   5781     if test "$GCC" = yes; then
   5782       reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
   5783     else
   5784       reload_cmds='$LD$reload_flag -o $output$reload_objs'
   5785     fi
   5786     ;;
   5787 esac
   5788 
   5789 
   5790 
   5791 
   5792 
   5793 
   5794 
   5795 
   5796 
   5797 
   5798 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
   5799 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
   5800 if test "${lt_cv_deplibs_check_method+set}" = set; then
   5801   echo $ECHO_N "(cached) $ECHO_C" >&6
   5802 else
   5803   lt_cv_file_magic_cmd='$MAGIC_CMD'
   5804 lt_cv_file_magic_test_file=
   5805 lt_cv_deplibs_check_method='unknown'
   5806 # Need to set the preceding variable on all platforms that support
   5807 # interlibrary dependencies.
   5808 # 'none' -- dependencies not supported.
   5809 # `unknown' -- same as none, but documents that we really don't know.
   5810 # 'pass_all' -- all dependencies passed with no checks.
   5811 # 'test_compile' -- check by making test program.
   5812 # 'file_magic [[regex]]' -- check by looking for files in library path
   5813 # which responds to the $file_magic_cmd with a given extended regex.
   5814 # If you have `file' or equivalent on your system and you're not sure
   5815 # whether `pass_all' will *always* work, you probably want this one.
   5816 
   5817 case $host_os in
   5818 aix[4-9]*)
   5819   lt_cv_deplibs_check_method=pass_all
   5820   ;;
   5821 
   5822 beos*)
   5823   lt_cv_deplibs_check_method=pass_all
   5824   ;;
   5825 
   5826 bsdi[45]*)
   5827   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
   5828   lt_cv_file_magic_cmd='/usr/bin/file -L'
   5829   lt_cv_file_magic_test_file=/shlib/libc.so
   5830   ;;
   5831 
   5832 cygwin*)
   5833   # func_win32_libid is a shell function defined in ltmain.sh
   5834   lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5835   lt_cv_file_magic_cmd='func_win32_libid'
   5836   ;;
   5837 
   5838 mingw* | pw32*)
   5839   # Base MSYS/MinGW do not provide the 'file' command needed by
   5840   # func_win32_libid shell function, so use a weaker test based on 'objdump',
   5841   # unless we find 'file', for example because we are cross-compiling.
   5842   if ( file / ) >/dev/null 2>&1; then
   5843     lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
   5844     lt_cv_file_magic_cmd='func_win32_libid'
   5845   else
   5846     lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
   5847     lt_cv_file_magic_cmd='$OBJDUMP -f'
   5848   fi
   5849   ;;
   5850 
   5851 darwin* | rhapsody*)
   5852   lt_cv_deplibs_check_method=pass_all
   5853   ;;
   5854 
   5855 freebsd* | dragonfly*)
   5856   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5857     case $host_cpu in
   5858     i*86 )
   5859       # Not sure whether the presence of OpenBSD here was a mistake.
   5860       # Let's accept both of them until this is cleared up.
   5861       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
   5862       lt_cv_file_magic_cmd=/usr/bin/file
   5863       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
   5864       ;;
   5865     esac
   5866   else
   5867     lt_cv_deplibs_check_method=pass_all
   5868   fi
   5869   ;;
   5870 
   5871 gnu*)
   5872   lt_cv_deplibs_check_method=pass_all
   5873   ;;
   5874 
   5875 hpux10.20* | hpux11*)
   5876   lt_cv_file_magic_cmd=/usr/bin/file
   5877   case $host_cpu in
   5878   ia64*)
   5879     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
   5880     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
   5881     ;;
   5882   hppa*64*)
   5883     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
   5884     lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
   5885     ;;
   5886   *)
   5887     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
   5888     lt_cv_file_magic_test_file=/usr/lib/libc.sl
   5889     ;;
   5890   esac
   5891   ;;
   5892 
   5893 interix[3-9]*)
   5894   # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
   5895   lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
   5896   ;;
   5897 
   5898 irix5* | irix6* | nonstopux*)
   5899   case $LD in
   5900   *-32|*"-32 ") libmagic=32-bit;;
   5901   *-n32|*"-n32 ") libmagic=N32;;
   5902   *-64|*"-64 ") libmagic=64-bit;;
   5903   *) libmagic=never-match;;
   5904   esac
   5905   lt_cv_deplibs_check_method=pass_all
   5906   ;;
   5907 
   5908 # This must be Linux ELF.
   5909 linux* | k*bsd*-gnu)
   5910   lt_cv_deplibs_check_method=pass_all
   5911   ;;
   5912 
   5913 netbsd*)
   5914   if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
   5915     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5916   else
   5917     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
   5918   fi
   5919   ;;
   5920 
   5921 newos6*)
   5922   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
   5923   lt_cv_file_magic_cmd=/usr/bin/file
   5924   lt_cv_file_magic_test_file=/usr/lib/libnls.so
   5925   ;;
   5926 
   5927 *nto* | *qnx*)
   5928   lt_cv_deplibs_check_method=pass_all
   5929   ;;
   5930 
   5931 openbsd*)
   5932   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   5933     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
   5934   else
   5935     lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
   5936   fi
   5937   ;;
   5938 
   5939 osf3* | osf4* | osf5*)
   5940   lt_cv_deplibs_check_method=pass_all
   5941   ;;
   5942 
   5943 rdos*)
   5944   lt_cv_deplibs_check_method=pass_all
   5945   ;;
   5946 
   5947 solaris*)
   5948   lt_cv_deplibs_check_method=pass_all
   5949   ;;
   5950 
   5951 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   5952   lt_cv_deplibs_check_method=pass_all
   5953   ;;
   5954 
   5955 sysv4 | sysv4.3*)
   5956   case $host_vendor in
   5957   motorola)
   5958     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]'
   5959     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
   5960     ;;
   5961   ncr)
   5962     lt_cv_deplibs_check_method=pass_all
   5963     ;;
   5964   sequent)
   5965     lt_cv_file_magic_cmd='/bin/file'
   5966     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
   5967     ;;
   5968   sni)
   5969     lt_cv_file_magic_cmd='/bin/file'
   5970     lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
   5971     lt_cv_file_magic_test_file=/lib/libc.so
   5972     ;;
   5973   siemens)
   5974     lt_cv_deplibs_check_method=pass_all
   5975     ;;
   5976   pc)
   5977     lt_cv_deplibs_check_method=pass_all
   5978     ;;
   5979   esac
   5980   ;;
   5981 
   5982 tpf*)
   5983   lt_cv_deplibs_check_method=pass_all
   5984   ;;
   5985 esac
   5986 
   5987 fi
   5988 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
   5989 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
   5990 file_magic_cmd=$lt_cv_file_magic_cmd
   5991 deplibs_check_method=$lt_cv_deplibs_check_method
   5992 test -z "$deplibs_check_method" && deplibs_check_method=unknown
   5993 
   5994 
   5995 
   5996 
   5997 
   5998 
   5999 
   6000 
   6001 
   6002 
   6003 
   6004 
   6005 if test -n "$ac_tool_prefix"; then
   6006   # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
   6007 set dummy ${ac_tool_prefix}ar; ac_word=$2
   6008 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6009 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6010 if test "${ac_cv_prog_AR+set}" = set; then
   6011   echo $ECHO_N "(cached) $ECHO_C" >&6
   6012 else
   6013   if test -n "$AR"; then
   6014   ac_cv_prog_AR="$AR" # Let the user override the test.
   6015 else
   6016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6017 for as_dir in $PATH
   6018 do
   6019   IFS=$as_save_IFS
   6020   test -z "$as_dir" && as_dir=.
   6021   for ac_exec_ext in '' $ac_executable_extensions; do
   6022   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6023     ac_cv_prog_AR="${ac_tool_prefix}ar"
   6024     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6025     break 2
   6026   fi
   6027 done
   6028 done
   6029 
   6030 fi
   6031 fi
   6032 AR=$ac_cv_prog_AR
   6033 if test -n "$AR"; then
   6034   echo "$as_me:$LINENO: result: $AR" >&5
   6035 echo "${ECHO_T}$AR" >&6
   6036 else
   6037   echo "$as_me:$LINENO: result: no" >&5
   6038 echo "${ECHO_T}no" >&6
   6039 fi
   6040 
   6041 fi
   6042 if test -z "$ac_cv_prog_AR"; then
   6043   ac_ct_AR=$AR
   6044   # Extract the first word of "ar", so it can be a program name with args.
   6045 set dummy ar; ac_word=$2
   6046 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6048 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
   6049   echo $ECHO_N "(cached) $ECHO_C" >&6
   6050 else
   6051   if test -n "$ac_ct_AR"; then
   6052   ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
   6053 else
   6054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6055 for as_dir in $PATH
   6056 do
   6057   IFS=$as_save_IFS
   6058   test -z "$as_dir" && as_dir=.
   6059   for ac_exec_ext in '' $ac_executable_extensions; do
   6060   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6061     ac_cv_prog_ac_ct_AR="ar"
   6062     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6063     break 2
   6064   fi
   6065 done
   6066 done
   6067 
   6068   test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
   6069 fi
   6070 fi
   6071 ac_ct_AR=$ac_cv_prog_ac_ct_AR
   6072 if test -n "$ac_ct_AR"; then
   6073   echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
   6074 echo "${ECHO_T}$ac_ct_AR" >&6
   6075 else
   6076   echo "$as_me:$LINENO: result: no" >&5
   6077 echo "${ECHO_T}no" >&6
   6078 fi
   6079 
   6080   AR=$ac_ct_AR
   6081 else
   6082   AR="$ac_cv_prog_AR"
   6083 fi
   6084 
   6085 test -z "$AR" && AR=ar
   6086 test -z "$AR_FLAGS" && AR_FLAGS=cru
   6087 
   6088 
   6089 
   6090 
   6091 
   6092 
   6093 
   6094 
   6095 
   6096 
   6097 
   6098 if test -n "$ac_tool_prefix"; then
   6099   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
   6100 set dummy ${ac_tool_prefix}strip; ac_word=$2
   6101 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6102 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6103 if test "${ac_cv_prog_STRIP+set}" = set; then
   6104   echo $ECHO_N "(cached) $ECHO_C" >&6
   6105 else
   6106   if test -n "$STRIP"; then
   6107   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
   6108 else
   6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6110 for as_dir in $PATH
   6111 do
   6112   IFS=$as_save_IFS
   6113   test -z "$as_dir" && as_dir=.
   6114   for ac_exec_ext in '' $ac_executable_extensions; do
   6115   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6116     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
   6117     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6118     break 2
   6119   fi
   6120 done
   6121 done
   6122 
   6123 fi
   6124 fi
   6125 STRIP=$ac_cv_prog_STRIP
   6126 if test -n "$STRIP"; then
   6127   echo "$as_me:$LINENO: result: $STRIP" >&5
   6128 echo "${ECHO_T}$STRIP" >&6
   6129 else
   6130   echo "$as_me:$LINENO: result: no" >&5
   6131 echo "${ECHO_T}no" >&6
   6132 fi
   6133 
   6134 fi
   6135 if test -z "$ac_cv_prog_STRIP"; then
   6136   ac_ct_STRIP=$STRIP
   6137   # Extract the first word of "strip", so it can be a program name with args.
   6138 set dummy strip; ac_word=$2
   6139 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6141 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
   6142   echo $ECHO_N "(cached) $ECHO_C" >&6
   6143 else
   6144   if test -n "$ac_ct_STRIP"; then
   6145   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
   6146 else
   6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6148 for as_dir in $PATH
   6149 do
   6150   IFS=$as_save_IFS
   6151   test -z "$as_dir" && as_dir=.
   6152   for ac_exec_ext in '' $ac_executable_extensions; do
   6153   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6154     ac_cv_prog_ac_ct_STRIP="strip"
   6155     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6156     break 2
   6157   fi
   6158 done
   6159 done
   6160 
   6161   test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
   6162 fi
   6163 fi
   6164 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
   6165 if test -n "$ac_ct_STRIP"; then
   6166   echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
   6167 echo "${ECHO_T}$ac_ct_STRIP" >&6
   6168 else
   6169   echo "$as_me:$LINENO: result: no" >&5
   6170 echo "${ECHO_T}no" >&6
   6171 fi
   6172 
   6173   STRIP=$ac_ct_STRIP
   6174 else
   6175   STRIP="$ac_cv_prog_STRIP"
   6176 fi
   6177 
   6178 test -z "$STRIP" && STRIP=:
   6179 
   6180 
   6181 
   6182 
   6183 
   6184 
   6185 if test -n "$ac_tool_prefix"; then
   6186   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
   6187 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
   6188 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6190 if test "${ac_cv_prog_RANLIB+set}" = set; then
   6191   echo $ECHO_N "(cached) $ECHO_C" >&6
   6192 else
   6193   if test -n "$RANLIB"; then
   6194   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
   6195 else
   6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6197 for as_dir in $PATH
   6198 do
   6199   IFS=$as_save_IFS
   6200   test -z "$as_dir" && as_dir=.
   6201   for ac_exec_ext in '' $ac_executable_extensions; do
   6202   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6203     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
   6204     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6205     break 2
   6206   fi
   6207 done
   6208 done
   6209 
   6210 fi
   6211 fi
   6212 RANLIB=$ac_cv_prog_RANLIB
   6213 if test -n "$RANLIB"; then
   6214   echo "$as_me:$LINENO: result: $RANLIB" >&5
   6215 echo "${ECHO_T}$RANLIB" >&6
   6216 else
   6217   echo "$as_me:$LINENO: result: no" >&5
   6218 echo "${ECHO_T}no" >&6
   6219 fi
   6220 
   6221 fi
   6222 if test -z "$ac_cv_prog_RANLIB"; then
   6223   ac_ct_RANLIB=$RANLIB
   6224   # Extract the first word of "ranlib", so it can be a program name with args.
   6225 set dummy ranlib; ac_word=$2
   6226 echo "$as_me:$LINENO: checking for $ac_word" >&5
   6227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   6228 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
   6229   echo $ECHO_N "(cached) $ECHO_C" >&6
   6230 else
   6231   if test -n "$ac_ct_RANLIB"; then
   6232   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
   6233 else
   6234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   6235 for as_dir in $PATH
   6236 do
   6237   IFS=$as_save_IFS
   6238   test -z "$as_dir" && as_dir=.
   6239   for ac_exec_ext in '' $ac_executable_extensions; do
   6240   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   6241     ac_cv_prog_ac_ct_RANLIB="ranlib"
   6242     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   6243     break 2
   6244   fi
   6245 done
   6246 done
   6247 
   6248   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
   6249 fi
   6250 fi
   6251 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
   6252 if test -n "$ac_ct_RANLIB"; then
   6253   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
   6254 echo "${ECHO_T}$ac_ct_RANLIB" >&6
   6255 else
   6256   echo "$as_me:$LINENO: result: no" >&5
   6257 echo "${ECHO_T}no" >&6
   6258 fi
   6259 
   6260   RANLIB=$ac_ct_RANLIB
   6261 else
   6262   RANLIB="$ac_cv_prog_RANLIB"
   6263 fi
   6264 
   6265 test -z "$RANLIB" && RANLIB=:
   6266 
   6267 
   6268 
   6269 
   6270 
   6271 
   6272 # Determine commands to create old-style static archives.
   6273 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
   6274 old_postinstall_cmds='chmod 644 $oldlib'
   6275 old_postuninstall_cmds=
   6276 
   6277 if test -n "$RANLIB"; then
   6278   case $host_os in
   6279   openbsd*)
   6280     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
   6281     ;;
   6282   *)
   6283     old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
   6284     ;;
   6285   esac
   6286   old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
   6287 fi
   6288 
   6289 
   6290 
   6291 
   6292 
   6293 
   6294 
   6295 
   6296 
   6297 
   6298 
   6299 
   6300 
   6301 
   6302 
   6303 
   6304 
   6305 
   6306 
   6307 
   6308 
   6309 
   6310 
   6311 
   6312 
   6313 
   6314 
   6315 
   6316 
   6317 
   6318 
   6319 
   6320 
   6321 
   6322 # If no C compiler was specified, use CC.
   6323 LTCC=${LTCC-"$CC"}
   6324 
   6325 # If no C compiler flags were specified, use CFLAGS.
   6326 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   6327 
   6328 # Allow CC to be a program name with arguments.
   6329 compiler=$CC
   6330 
   6331 
   6332 # Check for command to grab the raw symbol name followed by C symbol from nm.
   6333 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
   6334 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
   6335 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
   6336   echo $ECHO_N "(cached) $ECHO_C" >&6
   6337 else
   6338 
   6339 # These are sane defaults that work on at least a few old systems.
   6340 # [They come from Ultrix.  What could be older than Ultrix?!! ;)]
   6341 
   6342 # Character class describing NM global symbol codes.
   6343 symcode='[BCDEGRST]'
   6344 
   6345 # Regexp to match symbols that can be accessed directly from C.
   6346 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
   6347 
   6348 # Define system-specific variables.
   6349 case $host_os in
   6350 aix*)
   6351   symcode='[BCDT]'
   6352   ;;
   6353 cygwin* | mingw* | pw32*)
   6354   symcode='[ABCDGISTW]'
   6355   ;;
   6356 hpux*)
   6357   if test "$host_cpu" = ia64; then
   6358     symcode='[ABCDEGRST]'
   6359   fi
   6360   ;;
   6361 irix* | nonstopux*)
   6362   symcode='[BCDEGRST]'
   6363   ;;
   6364 osf*)
   6365   symcode='[BCDEGQRST]'
   6366   ;;
   6367 solaris*)
   6368   symcode='[BDRT]'
   6369   ;;
   6370 sco3.2v5*)
   6371   symcode='[DT]'
   6372   ;;
   6373 sysv4.2uw2*)
   6374   symcode='[DT]'
   6375   ;;
   6376 sysv5* | sco5v6* | unixware* | OpenUNIX*)
   6377   symcode='[ABDT]'
   6378   ;;
   6379 sysv4)
   6380   symcode='[DFNSTU]'
   6381   ;;
   6382 esac
   6383 
   6384 # If we're using GNU nm, then use its standard symbol codes.
   6385 case `$NM -V 2>&1` in
   6386 *GNU* | *'with BFD'*)
   6387   symcode='[ABCDGIRSTW]' ;;
   6388 esac
   6389 
   6390 # Transform an extracted symbol line into a proper C declaration.
   6391 # Some systems (esp. on ia64) link data and code symbols differently,
   6392 # so use this general approach.
   6393 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
   6394 
   6395 # Transform an extracted symbol line into symbol name and symbol address
   6396 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
   6397 
   6398 # Handle CRLF in mingw tool chain
   6399 opt_cr=
   6400 case $build_os in
   6401 mingw*)
   6402   opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
   6403   ;;
   6404 esac
   6405 
   6406 # Try without a prefix underscore, then with it.
   6407 for ac_symprfx in "" "_"; do
   6408 
   6409   # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
   6410   symxfrm="\\1 $ac_symprfx\\2 \\2"
   6411 
   6412   # Write the raw and C identifiers.
   6413   if test "$lt_cv_nm_interface" = "MS dumpbin"; then
   6414     # Fake it for dumpbin and say T for any non-static function
   6415     # and D for any global variable.
   6416     # Also find C++ and __fastcall symbols from MSVC++,
   6417     # which start with @ or ?.
   6418     lt_cv_sys_global_symbol_pipe="$AWK '"\
   6419 "     {last_section=section; section=\$ 3};"\
   6420 "     /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
   6421 "     \$ 0!~/External *\|/{next};"\
   6422 "     / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
   6423 "     {if(hide[section]) next};"\
   6424 "     {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
   6425 "     {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
   6426 "     s[1]~/^[@?]/{print s[1], s[1]; next};"\
   6427 "     s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
   6428 "     ' prfx=^$ac_symprfx"
   6429   else
   6430     lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[	 ]\($symcode$symcode*\)[	 ][	 ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
   6431   fi
   6432 
   6433   # Check to see that the pipe works correctly.
   6434   pipe_works=no
   6435 
   6436   rm -f conftest*
   6437   cat > conftest.$ac_ext <<_LT_EOF
   6438 #ifdef __cplusplus
   6439 extern "C" {
   6440 #endif
   6441 char nm_test_var;
   6442 void nm_test_func(void);
   6443 void nm_test_func(void){}
   6444 #ifdef __cplusplus
   6445 }
   6446 #endif
   6447 int main(){nm_test_var='a';nm_test_func();return(0);}
   6448 _LT_EOF
   6449 
   6450   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6451   (eval $ac_compile) 2>&5
   6452   ac_status=$?
   6453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6454   (exit $ac_status); }; then
   6455     # Now try to grab the symbols.
   6456     nlist=conftest.nm
   6457     if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
   6458   (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
   6459   ac_status=$?
   6460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6461   (exit $ac_status); } && test -s "$nlist"; then
   6462       # Try sorting and uniquifying the output.
   6463       if sort "$nlist" | uniq > "$nlist"T; then
   6464 	mv -f "$nlist"T "$nlist"
   6465       else
   6466 	rm -f "$nlist"T
   6467       fi
   6468 
   6469       # Make sure that we snagged all the symbols we need.
   6470       if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
   6471 	if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
   6472 	  cat <<_LT_EOF > conftest.$ac_ext
   6473 #ifdef __cplusplus
   6474 extern "C" {
   6475 #endif
   6476 
   6477 _LT_EOF
   6478 	  # Now generate the symbol file.
   6479 	  eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
   6480 
   6481 	  cat <<_LT_EOF >> conftest.$ac_ext
   6482 
   6483 /* The mapping between symbol names and symbols.  */
   6484 const struct {
   6485   const char *name;
   6486   void       *address;
   6487 }
   6488 lt__PROGRAM__LTX_preloaded_symbols[] =
   6489 {
   6490   { "@PROGRAM@", (void *) 0 },
   6491 _LT_EOF
   6492 	  $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/  {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
   6493 	  cat <<\_LT_EOF >> conftest.$ac_ext
   6494   {0, (void *) 0}
   6495 };
   6496 
   6497 /* This works around a problem in FreeBSD linker */
   6498 #ifdef FREEBSD_WORKAROUND
   6499 static const void *lt_preloaded_setup() {
   6500   return lt__PROGRAM__LTX_preloaded_symbols;
   6501 }
   6502 #endif
   6503 
   6504 #ifdef __cplusplus
   6505 }
   6506 #endif
   6507 _LT_EOF
   6508 	  # Now try linking the two files.
   6509 	  mv conftest.$ac_objext conftstm.$ac_objext
   6510 	  lt_save_LIBS="$LIBS"
   6511 	  lt_save_CFLAGS="$CFLAGS"
   6512 	  LIBS="conftstm.$ac_objext"
   6513 	  CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
   6514 	  if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6515   (eval $ac_link) 2>&5
   6516   ac_status=$?
   6517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6518   (exit $ac_status); } && test -s conftest${ac_exeext}; then
   6519 	    pipe_works=yes
   6520 	  fi
   6521 	  LIBS="$lt_save_LIBS"
   6522 	  CFLAGS="$lt_save_CFLAGS"
   6523 	else
   6524 	  echo "cannot find nm_test_func in $nlist" >&5
   6525 	fi
   6526       else
   6527 	echo "cannot find nm_test_var in $nlist" >&5
   6528       fi
   6529     else
   6530       echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
   6531     fi
   6532   else
   6533     echo "$progname: failed program was:" >&5
   6534     cat conftest.$ac_ext >&5
   6535   fi
   6536   rm -f conftest* conftst*
   6537 
   6538   # Do not use the global_symbol_pipe unless it works.
   6539   if test "$pipe_works" = yes; then
   6540     break
   6541   else
   6542     lt_cv_sys_global_symbol_pipe=
   6543   fi
   6544 done
   6545 
   6546 fi
   6547 
   6548 if test -z "$lt_cv_sys_global_symbol_pipe"; then
   6549   lt_cv_sys_global_symbol_to_cdecl=
   6550 fi
   6551 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
   6552   echo "$as_me:$LINENO: result: failed" >&5
   6553 echo "${ECHO_T}failed" >&6
   6554 else
   6555   echo "$as_me:$LINENO: result: ok" >&5
   6556 echo "${ECHO_T}ok" >&6
   6557 fi
   6558 
   6559 
   6560 
   6561 
   6562 
   6563 
   6564 
   6565 
   6566 
   6567 
   6568 
   6569 
   6570 
   6571 
   6572 
   6573 
   6574 
   6575 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
   6576 if test "${enable_libtool_lock+set}" = set; then
   6577   enableval="$enable_libtool_lock"
   6578 
   6579 fi;
   6580 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
   6581 
   6582 # Some flags need to be propagated to the compiler or linker for good
   6583 # libtool support.
   6584 case $host in
   6585 ia64-*-hpux*)
   6586   # Find out which ABI we are using.
   6587   echo 'int i;' > conftest.$ac_ext
   6588   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6589   (eval $ac_compile) 2>&5
   6590   ac_status=$?
   6591   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6592   (exit $ac_status); }; then
   6593     case `/usr/bin/file conftest.$ac_objext` in
   6594       *ELF-32*)
   6595 	HPUX_IA64_MODE="32"
   6596 	;;
   6597       *ELF-64*)
   6598 	HPUX_IA64_MODE="64"
   6599 	;;
   6600     esac
   6601   fi
   6602   rm -rf conftest*
   6603   ;;
   6604 *-*-irix6*)
   6605   # Find out which ABI we are using.
   6606   echo '#line 6606 "configure"' > conftest.$ac_ext
   6607   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6608   (eval $ac_compile) 2>&5
   6609   ac_status=$?
   6610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6611   (exit $ac_status); }; then
   6612     if test "$lt_cv_prog_gnu_ld" = yes; then
   6613       case `/usr/bin/file conftest.$ac_objext` in
   6614 	*32-bit*)
   6615 	  LD="${LD-ld} -melf32bsmip"
   6616 	  ;;
   6617 	*N32*)
   6618 	  LD="${LD-ld} -melf32bmipn32"
   6619 	  ;;
   6620 	*64-bit*)
   6621 	  LD="${LD-ld} -melf64bmip"
   6622 	;;
   6623       esac
   6624     else
   6625       case `/usr/bin/file conftest.$ac_objext` in
   6626 	*32-bit*)
   6627 	  LD="${LD-ld} -32"
   6628 	  ;;
   6629 	*N32*)
   6630 	  LD="${LD-ld} -n32"
   6631 	  ;;
   6632 	*64-bit*)
   6633 	  LD="${LD-ld} -64"
   6634 	  ;;
   6635       esac
   6636     fi
   6637   fi
   6638   rm -rf conftest*
   6639   ;;
   6640 
   6641 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
   6642 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
   6643   # Find out which ABI we are using.
   6644   echo 'int i;' > conftest.$ac_ext
   6645   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6646   (eval $ac_compile) 2>&5
   6647   ac_status=$?
   6648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6649   (exit $ac_status); }; then
   6650     case `/usr/bin/file conftest.o` in
   6651       *32-bit*)
   6652 	case $host in
   6653 	  x86_64-*kfreebsd*-gnu)
   6654 	    LD="${LD-ld} -m elf_i386_fbsd"
   6655 	    ;;
   6656 	  x86_64-*linux*)
   6657 	    LD="${LD-ld} -m elf_i386"
   6658 	    ;;
   6659 	  ppc64-*linux*|powerpc64-*linux*)
   6660 	    LD="${LD-ld} -m elf32ppclinux"
   6661 	    ;;
   6662 	  s390x-*linux*)
   6663 	    LD="${LD-ld} -m elf_s390"
   6664 	    ;;
   6665 	  sparc64-*linux*)
   6666 	    LD="${LD-ld} -m elf32_sparc"
   6667 	    ;;
   6668 	esac
   6669 	;;
   6670       *64-bit*)
   6671 	case $host in
   6672 	  x86_64-*kfreebsd*-gnu)
   6673 	    LD="${LD-ld} -m elf_x86_64_fbsd"
   6674 	    ;;
   6675 	  x86_64-*linux*)
   6676 	    LD="${LD-ld} -m elf_x86_64"
   6677 	    ;;
   6678 	  ppc*-*linux*|powerpc*-*linux*)
   6679 	    LD="${LD-ld} -m elf64ppc"
   6680 	    ;;
   6681 	  s390*-*linux*|s390*-*tpf*)
   6682 	    LD="${LD-ld} -m elf64_s390"
   6683 	    ;;
   6684 	  sparc*-*linux*)
   6685 	    LD="${LD-ld} -m elf64_sparc"
   6686 	    ;;
   6687 	esac
   6688 	;;
   6689     esac
   6690   fi
   6691   rm -rf conftest*
   6692   ;;
   6693 
   6694 *-*-sco3.2v5*)
   6695   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
   6696   SAVE_CFLAGS="$CFLAGS"
   6697   CFLAGS="$CFLAGS -belf"
   6698   echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
   6699 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
   6700 if test "${lt_cv_cc_needs_belf+set}" = set; then
   6701   echo $ECHO_N "(cached) $ECHO_C" >&6
   6702 else
   6703   ac_ext=c
   6704 ac_cpp='$CPP $CPPFLAGS'
   6705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6708 
   6709      cat >conftest.$ac_ext <<_ACEOF
   6710 /* confdefs.h.  */
   6711 _ACEOF
   6712 cat confdefs.h >>conftest.$ac_ext
   6713 cat >>conftest.$ac_ext <<_ACEOF
   6714 /* end confdefs.h.  */
   6715 
   6716 int
   6717 main ()
   6718 {
   6719 
   6720   ;
   6721   return 0;
   6722 }
   6723 _ACEOF
   6724 rm -f conftest.$ac_objext conftest$ac_exeext
   6725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   6726   (eval $ac_link) 2>conftest.er1
   6727   ac_status=$?
   6728   grep -v '^ *+' conftest.er1 >conftest.err
   6729   rm -f conftest.er1
   6730   cat conftest.err >&5
   6731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6732   (exit $ac_status); } &&
   6733 	 { ac_try='test -z "$ac_c_werror_flag"
   6734 			 || test ! -s conftest.err'
   6735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6736   (eval $ac_try) 2>&5
   6737   ac_status=$?
   6738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6739   (exit $ac_status); }; } &&
   6740 	 { ac_try='test -s conftest$ac_exeext'
   6741   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6742   (eval $ac_try) 2>&5
   6743   ac_status=$?
   6744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6745   (exit $ac_status); }; }; then
   6746   lt_cv_cc_needs_belf=yes
   6747 else
   6748   echo "$as_me: failed program was:" >&5
   6749 sed 's/^/| /' conftest.$ac_ext >&5
   6750 
   6751 lt_cv_cc_needs_belf=no
   6752 fi
   6753 rm -f conftest.err conftest.$ac_objext \
   6754       conftest$ac_exeext conftest.$ac_ext
   6755      ac_ext=c
   6756 ac_cpp='$CPP $CPPFLAGS'
   6757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   6758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   6759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   6760 
   6761 fi
   6762 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
   6763 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
   6764   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
   6765     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
   6766     CFLAGS="$SAVE_CFLAGS"
   6767   fi
   6768   ;;
   6769 sparc*-*solaris*)
   6770   # Find out which ABI we are using.
   6771   echo 'int i;' > conftest.$ac_ext
   6772   if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6773   (eval $ac_compile) 2>&5
   6774   ac_status=$?
   6775   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6776   (exit $ac_status); }; then
   6777     case `/usr/bin/file conftest.o` in
   6778     *64-bit*)
   6779       case $lt_cv_prog_gnu_ld in
   6780       yes*) LD="${LD-ld} -m elf64_sparc" ;;
   6781       *)    LD="${LD-ld} -64" ;;
   6782       esac
   6783       ;;
   6784     esac
   6785   fi
   6786   rm -rf conftest*
   6787   ;;
   6788 esac
   6789 
   6790 need_locks="$enable_libtool_lock"
   6791 
   6792 
   6793 for ac_header in dlfcn.h
   6794 do
   6795 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   6796 echo "$as_me:$LINENO: checking for $ac_header" >&5
   6797 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   6798 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   6799   echo $ECHO_N "(cached) $ECHO_C" >&6
   6800 else
   6801   cat >conftest.$ac_ext <<_ACEOF
   6802 /* confdefs.h.  */
   6803 _ACEOF
   6804 cat confdefs.h >>conftest.$ac_ext
   6805 cat >>conftest.$ac_ext <<_ACEOF
   6806 /* end confdefs.h.  */
   6807 $ac_includes_default
   6808 
   6809 #include <$ac_header>
   6810 _ACEOF
   6811 rm -f conftest.$ac_objext
   6812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   6813   (eval $ac_compile) 2>conftest.er1
   6814   ac_status=$?
   6815   grep -v '^ *+' conftest.er1 >conftest.err
   6816   rm -f conftest.er1
   6817   cat conftest.err >&5
   6818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6819   (exit $ac_status); } &&
   6820 	 { ac_try='test -z "$ac_c_werror_flag"
   6821 			 || test ! -s conftest.err'
   6822   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6823   (eval $ac_try) 2>&5
   6824   ac_status=$?
   6825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6826   (exit $ac_status); }; } &&
   6827 	 { ac_try='test -s conftest.$ac_objext'
   6828   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   6829   (eval $ac_try) 2>&5
   6830   ac_status=$?
   6831   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   6832   (exit $ac_status); }; }; then
   6833   eval "$as_ac_Header=yes"
   6834 else
   6835   echo "$as_me: failed program was:" >&5
   6836 sed 's/^/| /' conftest.$ac_ext >&5
   6837 
   6838 eval "$as_ac_Header=no"
   6839 fi
   6840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   6841 fi
   6842 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   6843 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   6844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   6845   cat >>confdefs.h <<_ACEOF
   6846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   6847 _ACEOF
   6848 
   6849 fi
   6850 
   6851 done
   6852 
   6853 
   6854 
   6855 # This can be used to rebuild libtool when needed
   6856 LIBTOOL_DEPS="$ltmain"
   6857 
   6858 # Always use our own libtool.
   6859 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
   6860 
   6861 
   6862 
   6863 
   6864 
   6865 
   6866 
   6867 
   6868 
   6869 
   6870 
   6871 
   6872 
   6873 
   6874 
   6875 
   6876 
   6877 
   6878 
   6879 
   6880 
   6881 
   6882 
   6883 
   6884 
   6885 test -z "$LN_S" && LN_S="ln -s"
   6886 
   6887 
   6888 
   6889 
   6890 
   6891 
   6892 
   6893 
   6894 
   6895 
   6896 
   6897 
   6898 
   6899 
   6900 if test -n "${ZSH_VERSION+set}" ; then
   6901    setopt NO_GLOB_SUBST
   6902 fi
   6903 
   6904 echo "$as_me:$LINENO: checking for objdir" >&5
   6905 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
   6906 if test "${lt_cv_objdir+set}" = set; then
   6907   echo $ECHO_N "(cached) $ECHO_C" >&6
   6908 else
   6909   rm -f .libs 2>/dev/null
   6910 mkdir .libs 2>/dev/null
   6911 if test -d .libs; then
   6912   lt_cv_objdir=.libs
   6913 else
   6914   # MS-DOS does not allow filenames that begin with a dot.
   6915   lt_cv_objdir=_libs
   6916 fi
   6917 rmdir .libs 2>/dev/null
   6918 fi
   6919 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
   6920 echo "${ECHO_T}$lt_cv_objdir" >&6
   6921 objdir=$lt_cv_objdir
   6922 
   6923 
   6924 
   6925 
   6926 
   6927 cat >>confdefs.h <<_ACEOF
   6928 #define LT_OBJDIR "$lt_cv_objdir/"
   6929 _ACEOF
   6930 
   6931 
   6932 
   6933 
   6934 
   6935 
   6936 
   6937 
   6938 
   6939 
   6940 
   6941 
   6942 
   6943 
   6944 
   6945 
   6946 
   6947 case $host_os in
   6948 aix3*)
   6949   # AIX sometimes has problems with the GCC collect2 program.  For some
   6950   # reason, if we set the COLLECT_NAMES environment variable, the problems
   6951   # vanish in a puff of smoke.
   6952   if test "X${COLLECT_NAMES+set}" != Xset; then
   6953     COLLECT_NAMES=
   6954     export COLLECT_NAMES
   6955   fi
   6956   ;;
   6957 esac
   6958 
   6959 # Sed substitution that helps us do robust quoting.  It backslashifies
   6960 # metacharacters that are still active within double-quoted strings.
   6961 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
   6962 
   6963 # Same as above, but do not quote variable references.
   6964 double_quote_subst='s/\(["`\\]\)/\\\1/g'
   6965 
   6966 # Sed substitution to delay expansion of an escaped shell variable in a
   6967 # double_quote_subst'ed string.
   6968 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
   6969 
   6970 # Sed substitution to delay expansion of an escaped single quote.
   6971 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
   6972 
   6973 # Sed substitution to avoid accidental globbing in evaled expressions
   6974 no_glob_subst='s/\*/\\\*/g'
   6975 
   6976 # Global variables:
   6977 ofile=libtool
   6978 can_build_shared=yes
   6979 
   6980 # All known linkers require a `.a' archive for static linking (except MSVC,
   6981 # which needs '.lib').
   6982 libext=a
   6983 
   6984 with_gnu_ld="$lt_cv_prog_gnu_ld"
   6985 
   6986 old_CC="$CC"
   6987 old_CFLAGS="$CFLAGS"
   6988 
   6989 # Set sane defaults for various variables
   6990 test -z "$CC" && CC=cc
   6991 test -z "$LTCC" && LTCC=$CC
   6992 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
   6993 test -z "$LD" && LD=ld
   6994 test -z "$ac_objext" && ac_objext=o
   6995 
   6996 for cc_temp in $compiler""; do
   6997   case $cc_temp in
   6998     compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
   6999     distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
   7000     \-*) ;;
   7001     *) break;;
   7002   esac
   7003 done
   7004 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
   7005 
   7006 
   7007 # Only perform the check for file, if the check method requires it
   7008 test -z "$MAGIC_CMD" && MAGIC_CMD=file
   7009 case $deplibs_check_method in
   7010 file_magic*)
   7011   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
   7012     echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
   7013 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
   7014 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7015   echo $ECHO_N "(cached) $ECHO_C" >&6
   7016 else
   7017   case $MAGIC_CMD in
   7018 [\\/*] |  ?:[\\/]*)
   7019   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7020   ;;
   7021 *)
   7022   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7023   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7024   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7025   for ac_dir in $ac_dummy; do
   7026     IFS="$lt_save_ifs"
   7027     test -z "$ac_dir" && ac_dir=.
   7028     if test -f $ac_dir/${ac_tool_prefix}file; then
   7029       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
   7030       if test -n "$file_magic_test_file"; then
   7031 	case $deplibs_check_method in
   7032 	"file_magic "*)
   7033 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7034 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7035 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7036 	    $EGREP "$file_magic_regex" > /dev/null; then
   7037 	    :
   7038 	  else
   7039 	    cat <<_LT_EOF 1>&2
   7040 
   7041 *** Warning: the command libtool uses to detect shared libraries,
   7042 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7043 *** The result is that libtool may fail to recognize shared libraries
   7044 *** as such.  This will affect the creation of libtool libraries that
   7045 *** depend on shared libraries, but programs linked with such libtool
   7046 *** libraries will work regardless of this problem.  Nevertheless, you
   7047 *** may want to report the problem to your system manager and/or to
   7048 *** bug-libtool@gnu.org
   7049 
   7050 _LT_EOF
   7051 	  fi ;;
   7052 	esac
   7053       fi
   7054       break
   7055     fi
   7056   done
   7057   IFS="$lt_save_ifs"
   7058   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7059   ;;
   7060 esac
   7061 fi
   7062 
   7063 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7064 if test -n "$MAGIC_CMD"; then
   7065   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7066 echo "${ECHO_T}$MAGIC_CMD" >&6
   7067 else
   7068   echo "$as_me:$LINENO: result: no" >&5
   7069 echo "${ECHO_T}no" >&6
   7070 fi
   7071 
   7072 
   7073 
   7074 
   7075 
   7076 if test -z "$lt_cv_path_MAGIC_CMD"; then
   7077   if test -n "$ac_tool_prefix"; then
   7078     echo "$as_me:$LINENO: checking for file" >&5
   7079 echo $ECHO_N "checking for file... $ECHO_C" >&6
   7080 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
   7081   echo $ECHO_N "(cached) $ECHO_C" >&6
   7082 else
   7083   case $MAGIC_CMD in
   7084 [\\/*] |  ?:[\\/]*)
   7085   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
   7086   ;;
   7087 *)
   7088   lt_save_MAGIC_CMD="$MAGIC_CMD"
   7089   lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
   7090   ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
   7091   for ac_dir in $ac_dummy; do
   7092     IFS="$lt_save_ifs"
   7093     test -z "$ac_dir" && ac_dir=.
   7094     if test -f $ac_dir/file; then
   7095       lt_cv_path_MAGIC_CMD="$ac_dir/file"
   7096       if test -n "$file_magic_test_file"; then
   7097 	case $deplibs_check_method in
   7098 	"file_magic "*)
   7099 	  file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
   7100 	  MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7101 	  if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
   7102 	    $EGREP "$file_magic_regex" > /dev/null; then
   7103 	    :
   7104 	  else
   7105 	    cat <<_LT_EOF 1>&2
   7106 
   7107 *** Warning: the command libtool uses to detect shared libraries,
   7108 *** $file_magic_cmd, produces output that libtool cannot recognize.
   7109 *** The result is that libtool may fail to recognize shared libraries
   7110 *** as such.  This will affect the creation of libtool libraries that
   7111 *** depend on shared libraries, but programs linked with such libtool
   7112 *** libraries will work regardless of this problem.  Nevertheless, you
   7113 *** may want to report the problem to your system manager and/or to
   7114 *** bug-libtool@gnu.org
   7115 
   7116 _LT_EOF
   7117 	  fi ;;
   7118 	esac
   7119       fi
   7120       break
   7121     fi
   7122   done
   7123   IFS="$lt_save_ifs"
   7124   MAGIC_CMD="$lt_save_MAGIC_CMD"
   7125   ;;
   7126 esac
   7127 fi
   7128 
   7129 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
   7130 if test -n "$MAGIC_CMD"; then
   7131   echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
   7132 echo "${ECHO_T}$MAGIC_CMD" >&6
   7133 else
   7134   echo "$as_me:$LINENO: result: no" >&5
   7135 echo "${ECHO_T}no" >&6
   7136 fi
   7137 
   7138 
   7139   else
   7140     MAGIC_CMD=:
   7141   fi
   7142 fi
   7143 
   7144   fi
   7145   ;;
   7146 esac
   7147 
   7148 # Use C for the default configuration in the libtool script
   7149 
   7150 lt_save_CC="$CC"
   7151 ac_ext=c
   7152 ac_cpp='$CPP $CPPFLAGS'
   7153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   7154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   7155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   7156 
   7157 
   7158 # Source file extension for C test sources.
   7159 ac_ext=c
   7160 
   7161 # Object file extension for compiled C test sources.
   7162 objext=o
   7163 objext=$objext
   7164 
   7165 # Code to be used in simple compile tests
   7166 lt_simple_compile_test_code="int some_variable = 0;"
   7167 
   7168 # Code to be used in simple link tests
   7169 lt_simple_link_test_code='int main(){return(0);}'
   7170 
   7171 
   7172 
   7173 
   7174 
   7175 
   7176 
   7177 # If no C compiler was specified, use CC.
   7178 LTCC=${LTCC-"$CC"}
   7179 
   7180 # If no C compiler flags were specified, use CFLAGS.
   7181 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
   7182 
   7183 # Allow CC to be a program name with arguments.
   7184 compiler=$CC
   7185 
   7186 # Save the default compiler, since it gets overwritten when the other
   7187 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
   7188 compiler_DEFAULT=$CC
   7189 
   7190 # save warnings/boilerplate of simple test code
   7191 ac_outfile=conftest.$ac_objext
   7192 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
   7193 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7194 _lt_compiler_boilerplate=`cat conftest.err`
   7195 $RM conftest*
   7196 
   7197 ac_outfile=conftest.$ac_objext
   7198 echo "$lt_simple_link_test_code" >conftest.$ac_ext
   7199 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
   7200 _lt_linker_boilerplate=`cat conftest.err`
   7201 $RM conftest*
   7202 
   7203 
   7204 ## CAVEAT EMPTOR:
   7205 ## There is no encapsulation within the following macros, do not change
   7206 ## the running order or otherwise move them around unless you know exactly
   7207 ## what you are doing...
   7208 if test -n "$compiler"; then
   7209 
   7210 lt_prog_compiler_no_builtin_flag=
   7211 
   7212 if test "$GCC" = yes; then
   7213   lt_prog_compiler_no_builtin_flag=' -fno-builtin'
   7214 
   7215   echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
   7216 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
   7217 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
   7218   echo $ECHO_N "(cached) $ECHO_C" >&6
   7219 else
   7220   lt_cv_prog_compiler_rtti_exceptions=no
   7221    ac_outfile=conftest.$ac_objext
   7222    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7223    lt_compiler_flag="-fno-rtti -fno-exceptions"
   7224    # Insert the option either (1) after the last *FLAGS variable, or
   7225    # (2) before a word containing "conftest.", or (3) at the end.
   7226    # Note that $ac_compile itself does not contain backslashes and begins
   7227    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7228    # The option is referenced via a variable to avoid confusing sed.
   7229    lt_compile=`echo "$ac_compile" | $SED \
   7230    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7231    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7232    -e 's:$: $lt_compiler_flag:'`
   7233    (eval echo "\"\$as_me:7233: $lt_compile\"" >&5)
   7234    (eval "$lt_compile" 2>conftest.err)
   7235    ac_status=$?
   7236    cat conftest.err >&5
   7237    echo "$as_me:7237: \$? = $ac_status" >&5
   7238    if (exit $ac_status) && test -s "$ac_outfile"; then
   7239      # The compiler can only warn and ignore the option if not recognized
   7240      # So say no if there are warnings other than the usual output.
   7241      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7242      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7243      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7244        lt_cv_prog_compiler_rtti_exceptions=yes
   7245      fi
   7246    fi
   7247    $RM conftest*
   7248 
   7249 fi
   7250 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
   7251 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
   7252 
   7253 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
   7254     lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
   7255 else
   7256     :
   7257 fi
   7258 
   7259 fi
   7260 
   7261 
   7262 
   7263 
   7264 
   7265 
   7266   lt_prog_compiler_wl=
   7267 lt_prog_compiler_pic=
   7268 lt_prog_compiler_static=
   7269 
   7270 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
   7271 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
   7272 
   7273   if test "$GCC" = yes; then
   7274     lt_prog_compiler_wl='-Wl,'
   7275     lt_prog_compiler_static='-static'
   7276 
   7277     case $host_os in
   7278       aix*)
   7279       # All AIX code is PIC.
   7280       if test "$host_cpu" = ia64; then
   7281 	# AIX 5 now supports IA64 processor
   7282 	lt_prog_compiler_static='-Bstatic'
   7283       fi
   7284       ;;
   7285 
   7286     amigaos*)
   7287       if test "$host_cpu" = m68k; then
   7288         # FIXME: we need at least 68020 code to build shared libraries, but
   7289         # adding the `-m68020' flag to GCC prevents building anything better,
   7290         # like `-m68040'.
   7291         lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
   7292       fi
   7293       ;;
   7294 
   7295     beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
   7296       # PIC is the default for these OSes.
   7297       ;;
   7298 
   7299     mingw* | cygwin* | pw32* | os2*)
   7300       # This hack is so that the source file can tell whether it is being
   7301       # built for inclusion in a dll (and should export symbols for example).
   7302       # Although the cygwin gcc ignores -fPIC, still need this for old-style
   7303       # (--disable-auto-import) libraries
   7304       lt_prog_compiler_pic='-DDLL_EXPORT'
   7305       ;;
   7306 
   7307     darwin* | rhapsody*)
   7308       # PIC is the default on this platform
   7309       # Common symbols not allowed in MH_DYLIB files
   7310       lt_prog_compiler_pic='-fno-common'
   7311       ;;
   7312 
   7313     hpux*)
   7314       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7315       # not for PA HP-UX.
   7316       case $host_cpu in
   7317       hppa*64*|ia64*)
   7318 	# +Z the default
   7319 	;;
   7320       *)
   7321 	lt_prog_compiler_pic='-fPIC'
   7322 	;;
   7323       esac
   7324       ;;
   7325 
   7326     interix[3-9]*)
   7327       # Interix 3.x gcc -fpic/-fPIC options generate broken code.
   7328       # Instead, we relocate shared libraries at runtime.
   7329       ;;
   7330 
   7331     msdosdjgpp*)
   7332       # Just because we use GCC doesn't mean we suddenly get shared libraries
   7333       # on systems that don't support them.
   7334       lt_prog_compiler_can_build_shared=no
   7335       enable_shared=no
   7336       ;;
   7337 
   7338     *nto* | *qnx*)
   7339       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7340       # it will coredump.
   7341       lt_prog_compiler_pic='-fPIC -shared'
   7342       ;;
   7343 
   7344     sysv4*MP*)
   7345       if test -d /usr/nec; then
   7346 	lt_prog_compiler_pic=-Kconform_pic
   7347       fi
   7348       ;;
   7349 
   7350     *)
   7351       lt_prog_compiler_pic='-fPIC'
   7352       ;;
   7353     esac
   7354   else
   7355     # PORTME Check for flag to pass linker flags through the system compiler.
   7356     case $host_os in
   7357     aix*)
   7358       lt_prog_compiler_wl='-Wl,'
   7359       if test "$host_cpu" = ia64; then
   7360 	# AIX 5 now supports IA64 processor
   7361 	lt_prog_compiler_static='-Bstatic'
   7362       else
   7363 	lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
   7364       fi
   7365       ;;
   7366     darwin*)
   7367       # PIC is the default on this platform
   7368       # Common symbols not allowed in MH_DYLIB files
   7369       case $cc_basename in
   7370       xlc*)
   7371         lt_prog_compiler_pic='-qnocommon'
   7372         lt_prog_compiler_wl='-Wl,'
   7373         ;;
   7374       esac
   7375       ;;
   7376 
   7377     mingw* | cygwin* | pw32* | os2*)
   7378       # This hack is so that the source file can tell whether it is being
   7379       # built for inclusion in a dll (and should export symbols for example).
   7380       lt_prog_compiler_pic='-DDLL_EXPORT'
   7381       ;;
   7382 
   7383     hpux9* | hpux10* | hpux11*)
   7384       lt_prog_compiler_wl='-Wl,'
   7385       # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
   7386       # not for PA HP-UX.
   7387       case $host_cpu in
   7388       hppa*64*|ia64*)
   7389 	# +Z the default
   7390 	;;
   7391       *)
   7392 	lt_prog_compiler_pic='+Z'
   7393 	;;
   7394       esac
   7395       # Is there a better lt_prog_compiler_static that works with the bundled CC?
   7396       lt_prog_compiler_static='${wl}-a ${wl}archive'
   7397       ;;
   7398 
   7399     irix5* | irix6* | nonstopux*)
   7400       lt_prog_compiler_wl='-Wl,'
   7401       # PIC (with -KPIC) is the default.
   7402       lt_prog_compiler_static='-non_shared'
   7403       ;;
   7404 
   7405     linux* | k*bsd*-gnu)
   7406       case $cc_basename in
   7407       icc* | ecc*)
   7408 	lt_prog_compiler_wl='-Wl,'
   7409 	lt_prog_compiler_pic='-KPIC'
   7410 	lt_prog_compiler_static='-static'
   7411         ;;
   7412       pgcc* | pgf77* | pgf90* | pgf95*)
   7413         # Portland Group compilers (*not* the Pentium gcc compiler,
   7414 	# which looks to be a dead project)
   7415 	lt_prog_compiler_wl='-Wl,'
   7416 	lt_prog_compiler_pic='-fpic'
   7417 	lt_prog_compiler_static='-Bstatic'
   7418         ;;
   7419       ccc*)
   7420         lt_prog_compiler_wl='-Wl,'
   7421         # All Alpha code is PIC.
   7422         lt_prog_compiler_static='-non_shared'
   7423         ;;
   7424       *)
   7425 	case `$CC -V 2>&1 | sed 5q` in
   7426 	*Sun\ C*)
   7427 	  # Sun C 5.9
   7428 	  lt_prog_compiler_pic='-KPIC'
   7429 	  lt_prog_compiler_static='-Bstatic'
   7430 	  lt_prog_compiler_wl='-Wl,'
   7431 	  ;;
   7432 	*Sun\ F*)
   7433 	  # Sun Fortran 8.3 passes all unrecognized flags to the linker
   7434 	  lt_prog_compiler_pic='-KPIC'
   7435 	  lt_prog_compiler_static='-Bstatic'
   7436 	  lt_prog_compiler_wl=''
   7437 	  ;;
   7438 	esac
   7439 	;;
   7440       esac
   7441       ;;
   7442 
   7443     newsos6)
   7444       lt_prog_compiler_pic='-KPIC'
   7445       lt_prog_compiler_static='-Bstatic'
   7446       ;;
   7447 
   7448     *nto* | *qnx*)
   7449       # QNX uses GNU C++, but need to define -shared option too, otherwise
   7450       # it will coredump.
   7451       lt_prog_compiler_pic='-fPIC -shared'
   7452       ;;
   7453 
   7454     osf3* | osf4* | osf5*)
   7455       lt_prog_compiler_wl='-Wl,'
   7456       # All OSF/1 code is PIC.
   7457       lt_prog_compiler_static='-non_shared'
   7458       ;;
   7459 
   7460     rdos*)
   7461       lt_prog_compiler_static='-non_shared'
   7462       ;;
   7463 
   7464     solaris*)
   7465       lt_prog_compiler_pic='-KPIC'
   7466       lt_prog_compiler_static='-Bstatic'
   7467       case $cc_basename in
   7468       f77* | f90* | f95*)
   7469 	lt_prog_compiler_wl='-Qoption ld ';;
   7470       *)
   7471 	lt_prog_compiler_wl='-Wl,';;
   7472       esac
   7473       ;;
   7474 
   7475     sunos4*)
   7476       lt_prog_compiler_wl='-Qoption ld '
   7477       lt_prog_compiler_pic='-PIC'
   7478       lt_prog_compiler_static='-Bstatic'
   7479       ;;
   7480 
   7481     sysv4 | sysv4.2uw2* | sysv4.3*)
   7482       lt_prog_compiler_wl='-Wl,'
   7483       lt_prog_compiler_pic='-KPIC'
   7484       lt_prog_compiler_static='-Bstatic'
   7485       ;;
   7486 
   7487     sysv4*MP*)
   7488       if test -d /usr/nec ;then
   7489 	lt_prog_compiler_pic='-Kconform_pic'
   7490 	lt_prog_compiler_static='-Bstatic'
   7491       fi
   7492       ;;
   7493 
   7494     sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
   7495       lt_prog_compiler_wl='-Wl,'
   7496       lt_prog_compiler_pic='-KPIC'
   7497       lt_prog_compiler_static='-Bstatic'
   7498       ;;
   7499 
   7500     unicos*)
   7501       lt_prog_compiler_wl='-Wl,'
   7502       lt_prog_compiler_can_build_shared=no
   7503       ;;
   7504 
   7505     uts4*)
   7506       lt_prog_compiler_pic='-pic'
   7507       lt_prog_compiler_static='-Bstatic'
   7508       ;;
   7509 
   7510     *)
   7511       lt_prog_compiler_can_build_shared=no
   7512       ;;
   7513     esac
   7514   fi
   7515 
   7516 case $host_os in
   7517   # For platforms which do not support PIC, -DPIC is meaningless:
   7518   *djgpp*)
   7519     lt_prog_compiler_pic=
   7520     ;;
   7521   *)
   7522     lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
   7523     ;;
   7524 esac
   7525 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
   7526 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
   7527 
   7528 
   7529 
   7530 
   7531 
   7532 
   7533 #
   7534 # Check to make sure the PIC flag actually works.
   7535 #
   7536 if test -n "$lt_prog_compiler_pic"; then
   7537   echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
   7538 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
   7539 if test "${lt_prog_compiler_pic_works+set}" = set; then
   7540   echo $ECHO_N "(cached) $ECHO_C" >&6
   7541 else
   7542   lt_prog_compiler_pic_works=no
   7543    ac_outfile=conftest.$ac_objext
   7544    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7545    lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
   7546    # Insert the option either (1) after the last *FLAGS variable, or
   7547    # (2) before a word containing "conftest.", or (3) at the end.
   7548    # Note that $ac_compile itself does not contain backslashes and begins
   7549    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7550    # The option is referenced via a variable to avoid confusing sed.
   7551    lt_compile=`echo "$ac_compile" | $SED \
   7552    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7553    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7554    -e 's:$: $lt_compiler_flag:'`
   7555    (eval echo "\"\$as_me:7555: $lt_compile\"" >&5)
   7556    (eval "$lt_compile" 2>conftest.err)
   7557    ac_status=$?
   7558    cat conftest.err >&5
   7559    echo "$as_me:7559: \$? = $ac_status" >&5
   7560    if (exit $ac_status) && test -s "$ac_outfile"; then
   7561      # The compiler can only warn and ignore the option if not recognized
   7562      # So say no if there are warnings other than the usual output.
   7563      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
   7564      $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7565      if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
   7566        lt_prog_compiler_pic_works=yes
   7567      fi
   7568    fi
   7569    $RM conftest*
   7570 
   7571 fi
   7572 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
   7573 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
   7574 
   7575 if test x"$lt_prog_compiler_pic_works" = xyes; then
   7576     case $lt_prog_compiler_pic in
   7577      "" | " "*) ;;
   7578      *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
   7579      esac
   7580 else
   7581     lt_prog_compiler_pic=
   7582      lt_prog_compiler_can_build_shared=no
   7583 fi
   7584 
   7585 fi
   7586 
   7587 
   7588 
   7589 
   7590 
   7591 
   7592 #
   7593 # Check to make sure the static flag actually works.
   7594 #
   7595 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
   7596 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
   7597 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
   7598 if test "${lt_prog_compiler_static_works+set}" = set; then
   7599   echo $ECHO_N "(cached) $ECHO_C" >&6
   7600 else
   7601   lt_prog_compiler_static_works=no
   7602    save_LDFLAGS="$LDFLAGS"
   7603    LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
   7604    echo "$lt_simple_link_test_code" > conftest.$ac_ext
   7605    if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
   7606      # The linker can only warn and ignore the option if not recognized
   7607      # So say no if there are warnings
   7608      if test -s conftest.err; then
   7609        # Append any errors to the config.log.
   7610        cat conftest.err 1>&5
   7611        $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
   7612        $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
   7613        if diff conftest.exp conftest.er2 >/dev/null; then
   7614          lt_prog_compiler_static_works=yes
   7615        fi
   7616      else
   7617        lt_prog_compiler_static_works=yes
   7618      fi
   7619    fi
   7620    $RM conftest*
   7621    LDFLAGS="$save_LDFLAGS"
   7622 
   7623 fi
   7624 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
   7625 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
   7626 
   7627 if test x"$lt_prog_compiler_static_works" = xyes; then
   7628     :
   7629 else
   7630     lt_prog_compiler_static=
   7631 fi
   7632 
   7633 
   7634 
   7635 
   7636 
   7637 
   7638 
   7639   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7640 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   7641 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7642   echo $ECHO_N "(cached) $ECHO_C" >&6
   7643 else
   7644   lt_cv_prog_compiler_c_o=no
   7645    $RM -r conftest 2>/dev/null
   7646    mkdir conftest
   7647    cd conftest
   7648    mkdir out
   7649    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7650 
   7651    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7652    # Insert the option either (1) after the last *FLAGS variable, or
   7653    # (2) before a word containing "conftest.", or (3) at the end.
   7654    # Note that $ac_compile itself does not contain backslashes and begins
   7655    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7656    lt_compile=`echo "$ac_compile" | $SED \
   7657    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7658    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7659    -e 's:$: $lt_compiler_flag:'`
   7660    (eval echo "\"\$as_me:7660: $lt_compile\"" >&5)
   7661    (eval "$lt_compile" 2>out/conftest.err)
   7662    ac_status=$?
   7663    cat out/conftest.err >&5
   7664    echo "$as_me:7664: \$? = $ac_status" >&5
   7665    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7666    then
   7667      # The compiler can only warn and ignore the option if not recognized
   7668      # So say no if there are warnings
   7669      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7670      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7671      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7672        lt_cv_prog_compiler_c_o=yes
   7673      fi
   7674    fi
   7675    chmod u+w . 2>&5
   7676    $RM conftest*
   7677    # SGI C++ compiler will create directory out/ii_files/ for
   7678    # template instantiation
   7679    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7680    $RM out/* && rmdir out
   7681    cd ..
   7682    $RM -r conftest
   7683    $RM conftest*
   7684 
   7685 fi
   7686 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7687 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
   7688 
   7689 
   7690 
   7691 
   7692 
   7693 
   7694   echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
   7695 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
   7696 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
   7697   echo $ECHO_N "(cached) $ECHO_C" >&6
   7698 else
   7699   lt_cv_prog_compiler_c_o=no
   7700    $RM -r conftest 2>/dev/null
   7701    mkdir conftest
   7702    cd conftest
   7703    mkdir out
   7704    echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   7705 
   7706    lt_compiler_flag="-o out/conftest2.$ac_objext"
   7707    # Insert the option either (1) after the last *FLAGS variable, or
   7708    # (2) before a word containing "conftest.", or (3) at the end.
   7709    # Note that $ac_compile itself does not contain backslashes and begins
   7710    # with a dollar sign (not a hyphen), so the echo should work correctly.
   7711    lt_compile=`echo "$ac_compile" | $SED \
   7712    -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
   7713    -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
   7714    -e 's:$: $lt_compiler_flag:'`
   7715    (eval echo "\"\$as_me:7715: $lt_compile\"" >&5)
   7716    (eval "$lt_compile" 2>out/conftest.err)
   7717    ac_status=$?
   7718    cat out/conftest.err >&5
   7719    echo "$as_me:7719: \$? = $ac_status" >&5
   7720    if (exit $ac_status) && test -s out/conftest2.$ac_objext
   7721    then
   7722      # The compiler can only warn and ignore the option if not recognized
   7723      # So say no if there are warnings
   7724      $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
   7725      $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
   7726      if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
   7727        lt_cv_prog_compiler_c_o=yes
   7728      fi
   7729    fi
   7730    chmod u+w . 2>&5
   7731    $RM conftest*
   7732    # SGI C++ compiler will create directory out/ii_files/ for
   7733    # template instantiation
   7734    test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
   7735    $RM out/* && rmdir out
   7736    cd ..
   7737    $RM -r conftest
   7738    $RM conftest*
   7739 
   7740 fi
   7741 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
   7742 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
   7743 
   7744 
   7745 
   7746 
   7747 hard_links="nottested"
   7748 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
   7749   # do not overwrite the value of need_locks provided by the user
   7750   echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
   7751 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
   7752   hard_links=yes
   7753   $RM conftest*
   7754   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7755   touch conftest.a
   7756   ln conftest.a conftest.b 2>&5 || hard_links=no
   7757   ln conftest.a conftest.b 2>/dev/null && hard_links=no
   7758   echo "$as_me:$LINENO: result: $hard_links" >&5
   7759 echo "${ECHO_T}$hard_links" >&6
   7760   if test "$hard_links" = no; then
   7761     { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
   7762 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
   7763     need_locks=warn
   7764   fi
   7765 else
   7766   need_locks=no
   7767 fi
   7768 
   7769 
   7770 
   7771 
   7772 
   7773 
   7774   echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
   7775 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
   7776 
   7777   runpath_var=
   7778   allow_undefined_flag=
   7779   always_export_symbols=no
   7780   archive_cmds=
   7781   archive_expsym_cmds=
   7782   compiler_needs_object=no
   7783   enable_shared_with_static_runtimes=no
   7784   export_dynamic_flag_spec=
   7785   export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
   7786   hardcode_automatic=no
   7787   hardcode_direct=no
   7788   hardcode_direct_absolute=no
   7789   hardcode_libdir_flag_spec=
   7790   hardcode_libdir_flag_spec_ld=
   7791   hardcode_libdir_separator=
   7792   hardcode_minus_L=no
   7793   hardcode_shlibpath_var=unsupported
   7794   inherit_rpath=no
   7795   link_all_deplibs=unknown
   7796   module_cmds=
   7797   module_expsym_cmds=
   7798   old_archive_from_new_cmds=
   7799   old_archive_from_expsyms_cmds=
   7800   thread_safe_flag_spec=
   7801   whole_archive_flag_spec=
   7802   # include_expsyms should be a list of space-separated symbols to be *always*
   7803   # included in the symbol list
   7804   include_expsyms=
   7805   # exclude_expsyms can be an extended regexp of symbols to exclude
   7806   # it will be wrapped by ` (' and `)$', so one must not match beginning or
   7807   # end of line.  Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
   7808   # as well as any symbol that contains `d'.
   7809   exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
   7810   # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
   7811   # platforms (ab)use it in PIC code, but their linkers get confused if
   7812   # the symbol is explicitly referenced.  Since portable code cannot
   7813   # rely on this symbol name, it's probably fine to never include it in
   7814   # preloaded symbol tables.
   7815   extract_expsyms_cmds=
   7816 
   7817   case $host_os in
   7818   cygwin* | mingw* | pw32*)
   7819     # FIXME: the MSVC++ port hasn't been tested in a loooong time
   7820     # When not using gcc, we currently assume that we are using
   7821     # Microsoft Visual C++.
   7822     if test "$GCC" != yes; then
   7823       with_gnu_ld=no
   7824     fi
   7825     ;;
   7826   interix*)
   7827     # we just hope/assume this is gcc and not c89 (= MSVC++)
   7828     with_gnu_ld=yes
   7829     ;;
   7830   openbsd*)
   7831     with_gnu_ld=no
   7832     ;;
   7833   esac
   7834 
   7835   ld_shlibs=yes
   7836   if test "$with_gnu_ld" = yes; then
   7837     # If archive_cmds runs LD, not CC, wlarc should be empty
   7838     wlarc='${wl}'
   7839 
   7840     # Set some defaults for GNU ld with shared library support. These
   7841     # are reset later if shared libraries are not supported. Putting them
   7842     # here allows them to be overridden if necessary.
   7843     runpath_var=LD_RUN_PATH
   7844     hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   7845     export_dynamic_flag_spec='${wl}--export-dynamic'
   7846     # ancient GNU ld didn't support --whole-archive et. al.
   7847     if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
   7848       whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
   7849     else
   7850       whole_archive_flag_spec=
   7851     fi
   7852     supports_anon_versioning=no
   7853     case `$LD -v 2>&1` in
   7854       *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
   7855       *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
   7856       *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
   7857       *\ 2.11.*) ;; # other 2.11 versions
   7858       *) supports_anon_versioning=yes ;;
   7859     esac
   7860 
   7861     # See if GNU ld supports shared libraries.
   7862     case $host_os in
   7863     aix[3-9]*)
   7864       # On AIX/PPC, the GNU linker is very broken
   7865       if test "$host_cpu" != ia64; then
   7866 	ld_shlibs=no
   7867 	cat <<_LT_EOF 1>&2
   7868 
   7869 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
   7870 *** to be unable to reliably create shared libraries on AIX.
   7871 *** Therefore, libtool is disabling shared libraries support.  If you
   7872 *** really care for shared libraries, you may want to modify your PATH
   7873 *** so that a non-GNU linker is found, and then restart.
   7874 
   7875 _LT_EOF
   7876       fi
   7877       ;;
   7878 
   7879     amigaos*)
   7880       if test "$host_cpu" = m68k; then
   7881         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)'
   7882         hardcode_libdir_flag_spec='-L$libdir'
   7883         hardcode_minus_L=yes
   7884       fi
   7885 
   7886       # Samuel A. Falvo II <kc5tja (at] dolphin.openprojects.net> reports
   7887       # that the semantics of dynamic libraries on AmigaOS, at least up
   7888       # to version 4, is to share data among multiple programs linked
   7889       # with the same dynamic library.  Since this doesn't match the
   7890       # behavior of shared libraries on other platforms, we can't use
   7891       # them.
   7892       ld_shlibs=no
   7893       ;;
   7894 
   7895     beos*)
   7896       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   7897 	allow_undefined_flag=unsupported
   7898 	# Joseph Beckenbach <jrb3 (at] best.com> says some releases of gcc
   7899 	# support --undefined.  This deserves some investigation.  FIXME
   7900 	archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7901       else
   7902 	ld_shlibs=no
   7903       fi
   7904       ;;
   7905 
   7906     cygwin* | mingw* | pw32*)
   7907       # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
   7908       # as there is no search path for DLLs.
   7909       hardcode_libdir_flag_spec='-L$libdir'
   7910       allow_undefined_flag=unsupported
   7911       always_export_symbols=no
   7912       enable_shared_with_static_runtimes=yes
   7913       export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
   7914 
   7915       if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
   7916         archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7917 	# If the export-symbols file already is a .def file (1st line
   7918 	# is EXPORTS), use it as is; otherwise, prepend...
   7919 	archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
   7920 	  cp $export_symbols $output_objdir/$soname.def;
   7921 	else
   7922 	  echo EXPORTS > $output_objdir/$soname.def;
   7923 	  cat $export_symbols >> $output_objdir/$soname.def;
   7924 	fi~
   7925 	$CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
   7926       else
   7927 	ld_shlibs=no
   7928       fi
   7929       ;;
   7930 
   7931     interix[3-9]*)
   7932       hardcode_direct=no
   7933       hardcode_shlibpath_var=no
   7934       hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   7935       export_dynamic_flag_spec='${wl}-E'
   7936       # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
   7937       # Instead, shared libraries are loaded at an image base (0x10000000 by
   7938       # default) and relocated if they conflict, which is a slow very memory
   7939       # consuming and fragmenting process.  To avoid this, we pick a random,
   7940       # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
   7941       # time.  Moving up from 0x10000000 also allows more sbrk(2) space.
   7942       archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7943       archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
   7944       ;;
   7945 
   7946     gnu* | linux* | tpf* | k*bsd*-gnu)
   7947       tmp_diet=no
   7948       if test "$host_os" = linux-dietlibc; then
   7949 	case $cc_basename in
   7950 	  diet\ *) tmp_diet=yes;;	# linux-dietlibc with static linking (!diet-dyn)
   7951 	esac
   7952       fi
   7953       if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
   7954 	 && test "$tmp_diet" = no
   7955       then
   7956 	tmp_addflag=
   7957 	case $cc_basename,$host_cpu in
   7958         pgcc*)				# Portland Group C compiler
   7959 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   7960 	  tmp_addflag=' $pic_flag'
   7961 	  ;;
   7962 	pgf77* | pgf90* | pgf95*)	# Portland Group f77 and f90 compilers
   7963 	  whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   7964 	  tmp_addflag=' $pic_flag -Mnomain' ;;
   7965 	ecc*,ia64* | icc*,ia64*)	# Intel C compiler on ia64
   7966 	  tmp_addflag=' -i_dynamic' ;;
   7967 	efc*,ia64* | ifort*,ia64*)	# Intel Fortran compiler on ia64
   7968 	  tmp_addflag=' -i_dynamic -nofor_main' ;;
   7969 	ifc* | ifort*)			# Intel Fortran compiler
   7970 	  tmp_addflag=' -nofor_main' ;;
   7971 	esac
   7972 	case `$CC -V 2>&1 | sed 5q` in
   7973 	*Sun\ C*)			# Sun C 5.9
   7974 	  whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
   7975 	  compiler_needs_object=yes
   7976 	  tmp_sharedflag='-G' ;;
   7977 	*Sun\ F*)			# Sun Fortran 8.3
   7978 	  tmp_sharedflag='-G' ;;
   7979 	*)
   7980 	  tmp_sharedflag='-shared' ;;
   7981 	esac
   7982 	archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   7983 
   7984         if test "x$supports_anon_versioning" = xyes; then
   7985           archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
   7986 	    cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
   7987 	    echo "local: *; };" >> $output_objdir/$libname.ver~
   7988 	    $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
   7989         fi
   7990       else
   7991         ld_shlibs=no
   7992       fi
   7993       ;;
   7994 
   7995     netbsd*)
   7996       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   7997 	archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
   7998 	wlarc=
   7999       else
   8000 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8001 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8002       fi
   8003       ;;
   8004 
   8005     solaris*)
   8006       if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
   8007 	ld_shlibs=no
   8008 	cat <<_LT_EOF 1>&2
   8009 
   8010 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
   8011 *** create shared libraries on Solaris systems.  Therefore, libtool
   8012 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8013 *** binutils to release 2.9.1 or newer.  Another option is to modify
   8014 *** your PATH or compiler configuration so that the native linker is
   8015 *** used, and then restart.
   8016 
   8017 _LT_EOF
   8018       elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8019 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8020 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8021       else
   8022 	ld_shlibs=no
   8023       fi
   8024       ;;
   8025 
   8026     sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
   8027       case `$LD -v 2>&1` in
   8028         *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
   8029 	ld_shlibs=no
   8030 	cat <<_LT_EOF 1>&2
   8031 
   8032 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
   8033 *** reliably create shared libraries on SCO systems.  Therefore, libtool
   8034 *** is disabling shared libraries support.  We urge you to upgrade GNU
   8035 *** binutils to release 2.16.91.0.3 or newer.  Another option is to modify
   8036 *** your PATH or compiler configuration so that the native linker is
   8037 *** used, and then restart.
   8038 
   8039 _LT_EOF
   8040 	;;
   8041 	*)
   8042 	  # For security reasons, it is highly recommended that you always
   8043 	  # use absolute paths for naming shared libraries, and exclude the
   8044 	  # DT_RUNPATH tag from executables and libraries.  But doing so
   8045 	  # requires that you compile everything twice, which is a pain.
   8046 	  if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8047 	    hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8048 	    archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8049 	    archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8050 	  else
   8051 	    ld_shlibs=no
   8052 	  fi
   8053 	;;
   8054       esac
   8055       ;;
   8056 
   8057     sunos4*)
   8058       archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8059       wlarc=
   8060       hardcode_direct=yes
   8061       hardcode_shlibpath_var=no
   8062       ;;
   8063 
   8064     *)
   8065       if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
   8066 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
   8067 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
   8068       else
   8069 	ld_shlibs=no
   8070       fi
   8071       ;;
   8072     esac
   8073 
   8074     if test "$ld_shlibs" = no; then
   8075       runpath_var=
   8076       hardcode_libdir_flag_spec=
   8077       export_dynamic_flag_spec=
   8078       whole_archive_flag_spec=
   8079     fi
   8080   else
   8081     # PORTME fill in a description of your system's linker (not GNU ld)
   8082     case $host_os in
   8083     aix3*)
   8084       allow_undefined_flag=unsupported
   8085       always_export_symbols=yes
   8086       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'
   8087       # Note: this linker hardcodes the directories in LIBPATH if there
   8088       # are no directories specified by -L.
   8089       hardcode_minus_L=yes
   8090       if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
   8091 	# Neither direct hardcoding nor static linking is supported with a
   8092 	# broken collect2.
   8093 	hardcode_direct=unsupported
   8094       fi
   8095       ;;
   8096 
   8097     aix[4-9]*)
   8098       if test "$host_cpu" = ia64; then
   8099 	# On IA64, the linker does run time linking by default, so we don't
   8100 	# have to do anything special.
   8101 	aix_use_runtimelinking=no
   8102 	exp_sym_flag='-Bexport'
   8103 	no_entry_flag=""
   8104       else
   8105 	# If we're using GNU nm, then we don't want the "-C" option.
   8106 	# -C means demangle to AIX nm, but means don't demangle with GNU nm
   8107 	if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
   8108 	  export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8109 	else
   8110 	  export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
   8111 	fi
   8112 	aix_use_runtimelinking=no
   8113 
   8114 	# Test if we are trying to use run time linking or normal
   8115 	# AIX style linking. If -brtl is somewhere in LDFLAGS, we
   8116 	# need to do runtime linking.
   8117 	case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
   8118 	  for ld_flag in $LDFLAGS; do
   8119 	  if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
   8120 	    aix_use_runtimelinking=yes
   8121 	    break
   8122 	  fi
   8123 	  done
   8124 	  ;;
   8125 	esac
   8126 
   8127 	exp_sym_flag='-bexport'
   8128 	no_entry_flag='-bnoentry'
   8129       fi
   8130 
   8131       # When large executables or shared objects are built, AIX ld can
   8132       # have problems creating the table of contents.  If linking a library
   8133       # or program results in "error TOC overflow" add -mminimal-toc to
   8134       # CXXFLAGS/CFLAGS for g++/gcc.  In the cases where that is not
   8135       # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
   8136 
   8137       archive_cmds=''
   8138       hardcode_direct=yes
   8139       hardcode_direct_absolute=yes
   8140       hardcode_libdir_separator=':'
   8141       link_all_deplibs=yes
   8142       file_list_spec='${wl}-f,'
   8143 
   8144       if test "$GCC" = yes; then
   8145 	case $host_os in aix4.[012]|aix4.[012].*)
   8146 	# We only want to do this on AIX 4.2 and lower, the check
   8147 	# below for broken collect2 doesn't work under 4.3+
   8148 	  collect2name=`${CC} -print-prog-name=collect2`
   8149 	  if test -f "$collect2name" &&
   8150 	   strings "$collect2name" | $GREP resolve_lib_name >/dev/null
   8151 	  then
   8152 	  # We have reworked collect2
   8153 	  :
   8154 	  else
   8155 	  # We have old collect2
   8156 	  hardcode_direct=unsupported
   8157 	  # It fails to find uninstalled libraries when the uninstalled
   8158 	  # path is not listed in the libpath.  Setting hardcode_minus_L
   8159 	  # to unsupported forces relinking
   8160 	  hardcode_minus_L=yes
   8161 	  hardcode_libdir_flag_spec='-L$libdir'
   8162 	  hardcode_libdir_separator=
   8163 	  fi
   8164 	  ;;
   8165 	esac
   8166 	shared_flag='-shared'
   8167 	if test "$aix_use_runtimelinking" = yes; then
   8168 	  shared_flag="$shared_flag "'${wl}-G'
   8169 	fi
   8170       else
   8171 	# not using gcc
   8172 	if test "$host_cpu" = ia64; then
   8173 	# VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
   8174 	# chokes on -Wl,-G. The following line is correct:
   8175 	  shared_flag='-G'
   8176 	else
   8177 	  if test "$aix_use_runtimelinking" = yes; then
   8178 	    shared_flag='${wl}-G'
   8179 	  else
   8180 	    shared_flag='${wl}-bM:SRE'
   8181 	  fi
   8182 	fi
   8183       fi
   8184 
   8185       # It seems that -bexpall does not export symbols beginning with
   8186       # underscore (_), so it is better to generate a list of symbols to export.
   8187       always_export_symbols=yes
   8188       if test "$aix_use_runtimelinking" = yes; then
   8189 	# Warning - without using the other runtime loading flags (-brtl),
   8190 	# -berok will link without error, but may produce a broken library.
   8191 	allow_undefined_flag='-berok'
   8192         # Determine the default libpath from the value encoded in an
   8193         # empty executable.
   8194         cat >conftest.$ac_ext <<_ACEOF
   8195 /* confdefs.h.  */
   8196 _ACEOF
   8197 cat confdefs.h >>conftest.$ac_ext
   8198 cat >>conftest.$ac_ext <<_ACEOF
   8199 /* end confdefs.h.  */
   8200 
   8201 int
   8202 main ()
   8203 {
   8204 
   8205   ;
   8206   return 0;
   8207 }
   8208 _ACEOF
   8209 rm -f conftest.$ac_objext conftest$ac_exeext
   8210 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8211   (eval $ac_link) 2>conftest.er1
   8212   ac_status=$?
   8213   grep -v '^ *+' conftest.er1 >conftest.err
   8214   rm -f conftest.er1
   8215   cat conftest.err >&5
   8216   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8217   (exit $ac_status); } &&
   8218 	 { ac_try='test -z "$ac_c_werror_flag"
   8219 			 || test ! -s conftest.err'
   8220   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8221   (eval $ac_try) 2>&5
   8222   ac_status=$?
   8223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8224   (exit $ac_status); }; } &&
   8225 	 { ac_try='test -s conftest$ac_exeext'
   8226   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8227   (eval $ac_try) 2>&5
   8228   ac_status=$?
   8229   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8230   (exit $ac_status); }; }; then
   8231 
   8232 lt_aix_libpath_sed='
   8233     /Import File Strings/,/^$/ {
   8234 	/^0/ {
   8235 	    s/^0  *\(.*\)$/\1/
   8236 	    p
   8237 	}
   8238     }'
   8239 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8240 # Check for a 64-bit object if we didn't find anything.
   8241 if test -z "$aix_libpath"; then
   8242   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8243 fi
   8244 else
   8245   echo "$as_me: failed program was:" >&5
   8246 sed 's/^/| /' conftest.$ac_ext >&5
   8247 
   8248 fi
   8249 rm -f conftest.err conftest.$ac_objext \
   8250       conftest$ac_exeext conftest.$ac_ext
   8251 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8252 
   8253         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8254         archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
   8255       else
   8256 	if test "$host_cpu" = ia64; then
   8257 	  hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
   8258 	  allow_undefined_flag="-z nodefs"
   8259 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
   8260 	else
   8261 	 # Determine the default libpath from the value encoded in an
   8262 	 # empty executable.
   8263 	 cat >conftest.$ac_ext <<_ACEOF
   8264 /* confdefs.h.  */
   8265 _ACEOF
   8266 cat confdefs.h >>conftest.$ac_ext
   8267 cat >>conftest.$ac_ext <<_ACEOF
   8268 /* end confdefs.h.  */
   8269 
   8270 int
   8271 main ()
   8272 {
   8273 
   8274   ;
   8275   return 0;
   8276 }
   8277 _ACEOF
   8278 rm -f conftest.$ac_objext conftest$ac_exeext
   8279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8280   (eval $ac_link) 2>conftest.er1
   8281   ac_status=$?
   8282   grep -v '^ *+' conftest.er1 >conftest.err
   8283   rm -f conftest.er1
   8284   cat conftest.err >&5
   8285   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8286   (exit $ac_status); } &&
   8287 	 { ac_try='test -z "$ac_c_werror_flag"
   8288 			 || test ! -s conftest.err'
   8289   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8290   (eval $ac_try) 2>&5
   8291   ac_status=$?
   8292   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8293   (exit $ac_status); }; } &&
   8294 	 { ac_try='test -s conftest$ac_exeext'
   8295   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8296   (eval $ac_try) 2>&5
   8297   ac_status=$?
   8298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8299   (exit $ac_status); }; }; then
   8300 
   8301 lt_aix_libpath_sed='
   8302     /Import File Strings/,/^$/ {
   8303 	/^0/ {
   8304 	    s/^0  *\(.*\)$/\1/
   8305 	    p
   8306 	}
   8307     }'
   8308 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8309 # Check for a 64-bit object if we didn't find anything.
   8310 if test -z "$aix_libpath"; then
   8311   aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
   8312 fi
   8313 else
   8314   echo "$as_me: failed program was:" >&5
   8315 sed 's/^/| /' conftest.$ac_ext >&5
   8316 
   8317 fi
   8318 rm -f conftest.err conftest.$ac_objext \
   8319       conftest$ac_exeext conftest.$ac_ext
   8320 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
   8321 
   8322 	 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
   8323 	  # Warning - without using the other run time loading flags,
   8324 	  # -berok will link without error, but may produce a broken library.
   8325 	  no_undefined_flag=' ${wl}-bernotok'
   8326 	  allow_undefined_flag=' ${wl}-berok'
   8327 	  # Exported symbols can be pulled into shared objects from archives
   8328 	  whole_archive_flag_spec='$convenience'
   8329 	  archive_cmds_need_lc=yes
   8330 	  # This is similar to how AIX traditionally builds its shared libraries.
   8331 	  archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
   8332 	fi
   8333       fi
   8334       ;;
   8335 
   8336     amigaos*)
   8337       if test "$host_cpu" = m68k; then
   8338         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)'
   8339         hardcode_libdir_flag_spec='-L$libdir'
   8340         hardcode_minus_L=yes
   8341       fi
   8342       # see comment about different semantics on the GNU ld section
   8343       ld_shlibs=no
   8344       ;;
   8345 
   8346     bsdi[45]*)
   8347       export_dynamic_flag_spec=-rdynamic
   8348       ;;
   8349 
   8350     cygwin* | mingw* | pw32*)
   8351       # When not using gcc, we currently assume that we are using
   8352       # Microsoft Visual C++.
   8353       # hardcode_libdir_flag_spec is actually meaningless, as there is
   8354       # no search path for DLLs.
   8355       hardcode_libdir_flag_spec=' '
   8356       allow_undefined_flag=unsupported
   8357       # Tell ltmain to make .lib files, not .a files.
   8358       libext=lib
   8359       # Tell ltmain to make .dll files, not .so files.
   8360       shrext_cmds=".dll"
   8361       # FIXME: Setting linknames here is a bad hack.
   8362       archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
   8363       # The linker will automatically build a .lib file if we build a DLL.
   8364       old_archive_from_new_cmds='true'
   8365       # FIXME: Should let the user specify the lib program.
   8366       old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
   8367       fix_srcfile_path='`cygpath -w "$srcfile"`'
   8368       enable_shared_with_static_runtimes=yes
   8369       ;;
   8370 
   8371     darwin* | rhapsody*)
   8372       case $host_os in
   8373       rhapsody* | darwin1.[012])
   8374 	allow_undefined_flag='${wl}-undefined ${wl}suppress'
   8375 	;;
   8376       *) # Darwin 1.3 on
   8377 	case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
   8378 	10.[012])
   8379 	  allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
   8380 	  ;;
   8381 	10.*)
   8382 	  allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
   8383 	  ;;
   8384 	esac
   8385 	;;
   8386       esac
   8387       archive_cmds_need_lc=no
   8388       hardcode_direct=no
   8389       hardcode_automatic=yes
   8390       hardcode_shlibpath_var=unsupported
   8391       whole_archive_flag_spec=''
   8392       link_all_deplibs=yes
   8393       if test "$GCC" = yes ; then
   8394 	if test "${lt_cv_apple_cc_single_mod+set}" = set; then
   8395   echo $ECHO_N "(cached) $ECHO_C" >&6
   8396 else
   8397   lt_cv_apple_cc_single_mod=no
   8398 	if test -z "${LT_MULTI_MODULE}"; then
   8399 	  # By default we will add the -single_module flag. You can override
   8400 	  # by either setting the environment variable LT_MULTI_MODULE
   8401 	  # non-empty at configure time, or by adding -multi-module to the
   8402 	  # link flags.
   8403 	  echo "int foo(void){return 1;}" > conftest.c
   8404 	  $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
   8405 	      -dynamiclib ${wl}-single_module conftest.c
   8406 	  if test -f libconftest.dylib; then
   8407 	      lt_cv_apple_cc_single_mod=yes
   8408 	      rm libconftest.dylib
   8409 	  fi
   8410 	  rm conftest.$ac_ext
   8411 	fi
   8412 fi
   8413 
   8414 	output_verbose_link_cmd=echo
   8415 	if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
   8416 	  archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8417 	  archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8418 	else
   8419 	  archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
   8420 	  archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8421 	fi
   8422 	module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8423 	module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8424       else
   8425 	case $cc_basename in
   8426 	xlc*)
   8427 	  output_verbose_link_cmd=echo
   8428 	  archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
   8429 	  module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
   8430 	  # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
   8431 	  archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8432 	  module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
   8433 	  ;;
   8434 	*)
   8435 	  ld_shlibs=no
   8436 	  ;;
   8437 	esac
   8438       fi
   8439       ;;
   8440 
   8441     dgux*)
   8442       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8443       hardcode_libdir_flag_spec='-L$libdir'
   8444       hardcode_shlibpath_var=no
   8445       ;;
   8446 
   8447     freebsd1*)
   8448       ld_shlibs=no
   8449       ;;
   8450 
   8451     # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
   8452     # support.  Future versions do this automatically, but an explicit c++rt0.o
   8453     # does not break anything, and helps significantly (at the cost of a little
   8454     # extra space).
   8455     freebsd2.2*)
   8456       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
   8457       hardcode_libdir_flag_spec='-R$libdir'
   8458       hardcode_direct=yes
   8459       hardcode_shlibpath_var=no
   8460       ;;
   8461 
   8462     # Unfortunately, older versions of FreeBSD 2 do not have this feature.
   8463     freebsd2*)
   8464       archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8465       hardcode_direct=yes
   8466       hardcode_minus_L=yes
   8467       hardcode_shlibpath_var=no
   8468       ;;
   8469 
   8470     # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
   8471     freebsd* | dragonfly*)
   8472       archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
   8473       hardcode_libdir_flag_spec='-R$libdir'
   8474       hardcode_direct=yes
   8475       hardcode_shlibpath_var=no
   8476       ;;
   8477 
   8478     hpux9*)
   8479       if test "$GCC" = yes; then
   8480 	archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
   8481       else
   8482 	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'
   8483       fi
   8484       hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8485       hardcode_libdir_separator=:
   8486       hardcode_direct=yes
   8487 
   8488       # hardcode_minus_L: Not really in the search PATH,
   8489       # but as the default location of the library.
   8490       hardcode_minus_L=yes
   8491       export_dynamic_flag_spec='${wl}-E'
   8492       ;;
   8493 
   8494     hpux10*)
   8495       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8496 	archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8497       else
   8498 	archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
   8499       fi
   8500       if test "$with_gnu_ld" = no; then
   8501 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8502 	hardcode_libdir_flag_spec_ld='+b $libdir'
   8503 	hardcode_libdir_separator=:
   8504 	hardcode_direct=yes
   8505 	hardcode_direct_absolute=yes
   8506 	export_dynamic_flag_spec='${wl}-E'
   8507 	# hardcode_minus_L: Not really in the search PATH,
   8508 	# but as the default location of the library.
   8509 	hardcode_minus_L=yes
   8510       fi
   8511       ;;
   8512 
   8513     hpux11*)
   8514       if test "$GCC" = yes -a "$with_gnu_ld" = no; then
   8515 	case $host_cpu in
   8516 	hppa*64*)
   8517 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8518 	  ;;
   8519 	ia64*)
   8520 	  archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8521 	  ;;
   8522 	*)
   8523 	  archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8524 	  ;;
   8525 	esac
   8526       else
   8527 	case $host_cpu in
   8528 	hppa*64*)
   8529 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8530 	  ;;
   8531 	ia64*)
   8532 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
   8533 	  ;;
   8534 	*)
   8535 	  archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
   8536 	  ;;
   8537 	esac
   8538       fi
   8539       if test "$with_gnu_ld" = no; then
   8540 	hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
   8541 	hardcode_libdir_separator=:
   8542 
   8543 	case $host_cpu in
   8544 	hppa*64*|ia64*)
   8545 	  hardcode_direct=no
   8546 	  hardcode_shlibpath_var=no
   8547 	  ;;
   8548 	*)
   8549 	  hardcode_direct=yes
   8550 	  hardcode_direct_absolute=yes
   8551 	  export_dynamic_flag_spec='${wl}-E'
   8552 
   8553 	  # hardcode_minus_L: Not really in the search PATH,
   8554 	  # but as the default location of the library.
   8555 	  hardcode_minus_L=yes
   8556 	  ;;
   8557 	esac
   8558       fi
   8559       ;;
   8560 
   8561     irix5* | irix6* | nonstopux*)
   8562       if test "$GCC" = yes; then
   8563 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8564 	# Try to use the -exported_symbol ld option, if it does not
   8565 	# work, assume that -exports_file does not work either and
   8566 	# implicitly export all symbols.
   8567         save_LDFLAGS="$LDFLAGS"
   8568         LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
   8569         cat >conftest.$ac_ext <<_ACEOF
   8570 int foo(void) {}
   8571 _ACEOF
   8572 rm -f conftest.$ac_objext conftest$ac_exeext
   8573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   8574   (eval $ac_link) 2>conftest.er1
   8575   ac_status=$?
   8576   grep -v '^ *+' conftest.er1 >conftest.err
   8577   rm -f conftest.er1
   8578   cat conftest.err >&5
   8579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8580   (exit $ac_status); } &&
   8581 	 { ac_try='test -z "$ac_c_werror_flag"
   8582 			 || test ! -s conftest.err'
   8583   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8584   (eval $ac_try) 2>&5
   8585   ac_status=$?
   8586   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8587   (exit $ac_status); }; } &&
   8588 	 { ac_try='test -s conftest$ac_exeext'
   8589   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   8590   (eval $ac_try) 2>&5
   8591   ac_status=$?
   8592   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8593   (exit $ac_status); }; }; then
   8594   archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
   8595 
   8596 else
   8597   echo "$as_me: failed program was:" >&5
   8598 sed 's/^/| /' conftest.$ac_ext >&5
   8599 
   8600 fi
   8601 rm -f conftest.err conftest.$ac_objext \
   8602       conftest$ac_exeext conftest.$ac_ext
   8603         LDFLAGS="$save_LDFLAGS"
   8604       else
   8605 	archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8606 	archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
   8607       fi
   8608       archive_cmds_need_lc='no'
   8609       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8610       hardcode_libdir_separator=:
   8611       inherit_rpath=yes
   8612       link_all_deplibs=yes
   8613       ;;
   8614 
   8615     netbsd*)
   8616       if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   8617 	archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
   8618       else
   8619 	archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags'      # ELF
   8620       fi
   8621       hardcode_libdir_flag_spec='-R$libdir'
   8622       hardcode_direct=yes
   8623       hardcode_shlibpath_var=no
   8624       ;;
   8625 
   8626     newsos6)
   8627       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8628       hardcode_direct=yes
   8629       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8630       hardcode_libdir_separator=:
   8631       hardcode_shlibpath_var=no
   8632       ;;
   8633 
   8634     *nto* | *qnx*)
   8635       ;;
   8636 
   8637     openbsd*)
   8638       hardcode_direct=yes
   8639       hardcode_shlibpath_var=no
   8640       hardcode_direct_absolute=yes
   8641       if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   8642 	archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8643 	archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
   8644 	hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8645 	export_dynamic_flag_spec='${wl}-E'
   8646       else
   8647         case $host_os in
   8648 	openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
   8649 	  archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
   8650 	  hardcode_libdir_flag_spec='-R$libdir'
   8651 	  ;;
   8652 	*)
   8653 	  archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
   8654 	  hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
   8655 	  ;;
   8656         esac
   8657       fi
   8658       ;;
   8659 
   8660     os2*)
   8661       hardcode_libdir_flag_spec='-L$libdir'
   8662       hardcode_minus_L=yes
   8663       allow_undefined_flag=unsupported
   8664       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'
   8665       old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
   8666       ;;
   8667 
   8668     osf3*)
   8669       if test "$GCC" = yes; then
   8670 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8671 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8672       else
   8673 	allow_undefined_flag=' -expect_unresolved \*'
   8674 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8675       fi
   8676       archive_cmds_need_lc='no'
   8677       hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8678       hardcode_libdir_separator=:
   8679       ;;
   8680 
   8681     osf4* | osf5*)	# as osf3* with the addition of -msym flag
   8682       if test "$GCC" = yes; then
   8683 	allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
   8684 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
   8685 	hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
   8686       else
   8687 	allow_undefined_flag=' -expect_unresolved \*'
   8688 	archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
   8689 	archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
   8690 	$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
   8691 
   8692 	# Both c and cxx compiler support -rpath directly
   8693 	hardcode_libdir_flag_spec='-rpath $libdir'
   8694       fi
   8695       archive_cmds_need_lc='no'
   8696       hardcode_libdir_separator=:
   8697       ;;
   8698 
   8699     solaris*)
   8700       no_undefined_flag=' -z defs'
   8701       if test "$GCC" = yes; then
   8702 	wlarc='${wl}'
   8703 	archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
   8704 	archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8705 	  $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8706       else
   8707 	case `$CC -V 2>&1` in
   8708 	*"Compilers 5.0"*)
   8709 	  wlarc=''
   8710 	  archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8711 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8712 	  $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
   8713 	  ;;
   8714 	*)
   8715 	  wlarc='${wl}'
   8716 	  archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8717 	  archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
   8718 	  $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
   8719 	  ;;
   8720 	esac
   8721       fi
   8722       hardcode_libdir_flag_spec='-R$libdir'
   8723       hardcode_shlibpath_var=no
   8724       case $host_os in
   8725       solaris2.[0-5] | solaris2.[0-5].*) ;;
   8726       *)
   8727 	# The compiler driver will combine and reorder linker options,
   8728 	# but understands `-z linker_flag'.  GCC discards it without `$wl',
   8729 	# but is careful enough not to reorder.
   8730 	# Supported since Solaris 2.6 (maybe 2.5.1?)
   8731 	if test "$GCC" = yes; then
   8732 	  whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
   8733 	else
   8734 	  whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
   8735 	fi
   8736 	;;
   8737       esac
   8738       link_all_deplibs=yes
   8739       ;;
   8740 
   8741     sunos4*)
   8742       if test "x$host_vendor" = xsequent; then
   8743 	# Use $CC to link under sequent, because it throws in some extra .o
   8744 	# files that make .init and .fini sections work.
   8745 	archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
   8746       else
   8747 	archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
   8748       fi
   8749       hardcode_libdir_flag_spec='-L$libdir'
   8750       hardcode_direct=yes
   8751       hardcode_minus_L=yes
   8752       hardcode_shlibpath_var=no
   8753       ;;
   8754 
   8755     sysv4)
   8756       case $host_vendor in
   8757 	sni)
   8758 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8759 	  hardcode_direct=yes # is this really true???
   8760 	;;
   8761 	siemens)
   8762 	  ## LD is ld it makes a PLAMLIB
   8763 	  ## CC just makes a GrossModule.
   8764 	  archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
   8765 	  reload_cmds='$CC -r -o $output$reload_objs'
   8766 	  hardcode_direct=no
   8767         ;;
   8768 	motorola)
   8769 	  archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8770 	  hardcode_direct=no #Motorola manual says yes, but my tests say they lie
   8771 	;;
   8772       esac
   8773       runpath_var='LD_RUN_PATH'
   8774       hardcode_shlibpath_var=no
   8775       ;;
   8776 
   8777     sysv4.3*)
   8778       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8779       hardcode_shlibpath_var=no
   8780       export_dynamic_flag_spec='-Bexport'
   8781       ;;
   8782 
   8783     sysv4*MP*)
   8784       if test -d /usr/nec; then
   8785 	archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8786 	hardcode_shlibpath_var=no
   8787 	runpath_var=LD_RUN_PATH
   8788 	hardcode_runpath_var=yes
   8789 	ld_shlibs=yes
   8790       fi
   8791       ;;
   8792 
   8793     sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
   8794       no_undefined_flag='${wl}-z,text'
   8795       archive_cmds_need_lc=no
   8796       hardcode_shlibpath_var=no
   8797       runpath_var='LD_RUN_PATH'
   8798 
   8799       if test "$GCC" = yes; then
   8800 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8801 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8802       else
   8803 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8804 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8805       fi
   8806       ;;
   8807 
   8808     sysv5* | sco3.2v5* | sco5v6*)
   8809       # Note: We can NOT use -z defs as we might desire, because we do not
   8810       # link with -lc, and that would cause any symbols used from libc to
   8811       # always be unresolved, which means just about no library would
   8812       # ever link correctly.  If we're not using GNU ld we use -z text
   8813       # though, which does catch some bad symbols but isn't as heavy-handed
   8814       # as -z defs.
   8815       no_undefined_flag='${wl}-z,text'
   8816       allow_undefined_flag='${wl}-z,nodefs'
   8817       archive_cmds_need_lc=no
   8818       hardcode_shlibpath_var=no
   8819       hardcode_libdir_flag_spec='${wl}-R,$libdir'
   8820       hardcode_libdir_separator=':'
   8821       link_all_deplibs=yes
   8822       export_dynamic_flag_spec='${wl}-Bexport'
   8823       runpath_var='LD_RUN_PATH'
   8824 
   8825       if test "$GCC" = yes; then
   8826 	archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8827 	archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8828       else
   8829 	archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8830 	archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
   8831       fi
   8832       ;;
   8833 
   8834     uts4*)
   8835       archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
   8836       hardcode_libdir_flag_spec='-L$libdir'
   8837       hardcode_shlibpath_var=no
   8838       ;;
   8839 
   8840     *)
   8841       ld_shlibs=no
   8842       ;;
   8843     esac
   8844 
   8845     if test x$host_vendor = xsni; then
   8846       case $host in
   8847       sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
   8848 	export_dynamic_flag_spec='${wl}-Blargedynsym'
   8849 	;;
   8850       esac
   8851     fi
   8852   fi
   8853 
   8854 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
   8855 echo "${ECHO_T}$ld_shlibs" >&6
   8856 test "$ld_shlibs" = no && can_build_shared=no
   8857 
   8858 with_gnu_ld=$with_gnu_ld
   8859 
   8860 
   8861 
   8862 
   8863 
   8864 
   8865 
   8866 
   8867 
   8868 
   8869 
   8870 
   8871 
   8872 
   8873 
   8874 #
   8875 # Do we need to explicitly link libc?
   8876 #
   8877 case "x$archive_cmds_need_lc" in
   8878 x|xyes)
   8879   # Assume -lc should be added
   8880   archive_cmds_need_lc=yes
   8881 
   8882   if test "$enable_shared" = yes && test "$GCC" = yes; then
   8883     case $archive_cmds in
   8884     *'~'*)
   8885       # FIXME: we may have to deal with multi-command sequences.
   8886       ;;
   8887     '$CC '*)
   8888       # Test whether the compiler implicitly links with -lc since on some
   8889       # systems, -lgcc has to come before -lc. If gcc already passes -lc
   8890       # to ld, don't add -lc before -lgcc.
   8891       echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
   8892 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
   8893       $RM conftest*
   8894       echo "$lt_simple_compile_test_code" > conftest.$ac_ext
   8895 
   8896       if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   8897   (eval $ac_compile) 2>&5
   8898   ac_status=$?
   8899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8900   (exit $ac_status); } 2>conftest.err; then
   8901         soname=conftest
   8902         lib=conftest
   8903         libobjs=conftest.$ac_objext
   8904         deplibs=
   8905         wl=$lt_prog_compiler_wl
   8906 	pic_flag=$lt_prog_compiler_pic
   8907         compiler_flags=-v
   8908         linker_flags=-v
   8909         verstring=
   8910         output_objdir=.
   8911         libname=conftest
   8912         lt_save_allow_undefined_flag=$allow_undefined_flag
   8913         allow_undefined_flag=
   8914         if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
   8915   (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
   8916   ac_status=$?
   8917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   8918   (exit $ac_status); }
   8919         then
   8920 	  archive_cmds_need_lc=no
   8921         else
   8922 	  archive_cmds_need_lc=yes
   8923         fi
   8924         allow_undefined_flag=$lt_save_allow_undefined_flag
   8925       else
   8926         cat conftest.err 1>&5
   8927       fi
   8928       $RM conftest*
   8929       echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
   8930 echo "${ECHO_T}$archive_cmds_need_lc" >&6
   8931       ;;
   8932     esac
   8933   fi
   8934   ;;
   8935 esac
   8936 
   8937 
   8938 
   8939 
   8940 
   8941 
   8942 
   8943 
   8944 
   8945 
   8946 
   8947 
   8948 
   8949 
   8950 
   8951 
   8952 
   8953 
   8954 
   8955 
   8956 
   8957 
   8958 
   8959 
   8960 
   8961 
   8962 
   8963 
   8964 
   8965 
   8966 
   8967 
   8968 
   8969 
   8970 
   8971 
   8972 
   8973 
   8974 
   8975 
   8976 
   8977 
   8978 
   8979 
   8980 
   8981 
   8982 
   8983 
   8984 
   8985 
   8986 
   8987 
   8988 
   8989 
   8990 
   8991 
   8992 
   8993 
   8994 
   8995 
   8996 
   8997 
   8998 
   8999 
   9000 
   9001 
   9002 
   9003 
   9004 
   9005 
   9006 
   9007 
   9008 
   9009 
   9010 
   9011 
   9012 
   9013 
   9014 
   9015 
   9016 
   9017 
   9018 
   9019 
   9020 
   9021 
   9022 
   9023 
   9024 
   9025 
   9026 
   9027 
   9028 
   9029 
   9030 
   9031 
   9032 
   9033 
   9034 
   9035 
   9036 
   9037 
   9038 
   9039 
   9040 
   9041 
   9042 
   9043 
   9044 
   9045 
   9046 
   9047 
   9048 
   9049 
   9050 
   9051 
   9052 
   9053 
   9054 
   9055 
   9056 
   9057 
   9058 
   9059 
   9060 
   9061 
   9062 
   9063 
   9064 
   9065 
   9066 
   9067 
   9068 
   9069 
   9070 
   9071 
   9072 
   9073 
   9074 
   9075 
   9076 
   9077 
   9078 
   9079 
   9080 
   9081 
   9082 
   9083 
   9084 
   9085 
   9086 
   9087 
   9088 
   9089 
   9090 
   9091 
   9092 
   9093   echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
   9094 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
   9095 withGCC=$GCC
   9096 if test "$withGCC" = yes; then
   9097   case $host_os in
   9098     darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
   9099     *) lt_awk_arg="/^libraries:/" ;;
   9100   esac
   9101   lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9102   if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
   9103     # if the path contains ";" then we assume it to be the separator
   9104     # otherwise default to the standard path separator (i.e. ":") - it is
   9105     # assumed that no part of a normal pathname contains ";" but that should
   9106     # okay in the real world where ";" in dirpaths is itself problematic.
   9107     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
   9108   else
   9109     lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9110   fi
   9111   # Ok, now we have the path, separated by spaces, we can step through it
   9112   # and add multilib dir if necessary.
   9113   lt_tmp_lt_search_path_spec=
   9114   lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
   9115   for lt_sys_path in $lt_search_path_spec; do
   9116     if test -d "$lt_sys_path/$lt_multi_os_dir"; then
   9117       lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
   9118     else
   9119       test -d "$lt_sys_path" && \
   9120 	lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
   9121     fi
   9122   done
   9123   lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
   9124 BEGIN {RS=" "; FS="/|\n";} {
   9125   lt_foo="";
   9126   lt_count=0;
   9127   for (lt_i = NF; lt_i > 0; lt_i--) {
   9128     if ($lt_i != "" && $lt_i != ".") {
   9129       if ($lt_i == "..") {
   9130         lt_count++;
   9131       } else {
   9132         if (lt_count == 0) {
   9133           lt_foo="/" $lt_i lt_foo;
   9134         } else {
   9135           lt_count--;
   9136         }
   9137       }
   9138     }
   9139   }
   9140   if (lt_foo != "") { lt_freq[lt_foo]++; }
   9141   if (lt_freq[lt_foo] == 1) { print lt_foo; }
   9142 }'`
   9143   sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
   9144 else
   9145   sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
   9146 fi
   9147 library_names_spec=
   9148 libname_spec='lib$name'
   9149 soname_spec=
   9150 shrext_cmds=".so"
   9151 postinstall_cmds=
   9152 postuninstall_cmds=
   9153 finish_cmds=
   9154 finish_eval=
   9155 shlibpath_var=
   9156 shlibpath_overrides_runpath=unknown
   9157 version_type=none
   9158 dynamic_linker="$host_os ld.so"
   9159 sys_lib_dlsearch_path_spec="/lib /usr/lib"
   9160 need_lib_prefix=unknown
   9161 hardcode_into_libs=no
   9162 
   9163 # when you set need_version to no, make sure it does not cause -set_version
   9164 # flags to be left without arguments
   9165 need_version=unknown
   9166 
   9167 case $host_os in
   9168 aix3*)
   9169   version_type=linux
   9170   library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
   9171   shlibpath_var=LIBPATH
   9172 
   9173   # AIX 3 has no versioning support, so we append a major version to the name.
   9174   soname_spec='${libname}${release}${shared_ext}$major'
   9175   ;;
   9176 
   9177 aix[4-9]*)
   9178   version_type=linux
   9179   need_lib_prefix=no
   9180   need_version=no
   9181   hardcode_into_libs=yes
   9182   if test "$host_cpu" = ia64; then
   9183     # AIX 5 supports IA64
   9184     library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
   9185     shlibpath_var=LD_LIBRARY_PATH
   9186   else
   9187     # With GCC up to 2.95.x, collect2 would create an import file
   9188     # for dependence libraries.  The import file would start with
   9189     # the line `#! .'.  This would cause the generated library to
   9190     # depend on `.', always an invalid library.  This was fixed in
   9191     # development snapshots of GCC prior to 3.0.
   9192     case $host_os in
   9193       aix4 | aix4.[01] | aix4.[01].*)
   9194       if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
   9195 	   echo ' yes '
   9196 	   echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
   9197 	:
   9198       else
   9199 	can_build_shared=no
   9200       fi
   9201       ;;
   9202     esac
   9203     # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
   9204     # soname into executable. Probably we can add versioning support to
   9205     # collect2, so additional links can be useful in future.
   9206     if test "$aix_use_runtimelinking" = yes; then
   9207       # If using run time linking (on AIX 4.2 or later) use lib<name>.so
   9208       # instead of lib<name>.a to let people know that these are not
   9209       # typical AIX shared libraries.
   9210       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9211     else
   9212       # We preserve .a as extension for shared libraries through AIX4.2
   9213       # and later when we are not doing run time linking.
   9214       library_names_spec='${libname}${release}.a $libname.a'
   9215       soname_spec='${libname}${release}${shared_ext}$major'
   9216     fi
   9217     shlibpath_var=LIBPATH
   9218   fi
   9219   ;;
   9220 
   9221 amigaos*)
   9222   if test "$host_cpu" = m68k; then
   9223     library_names_spec='$libname.ixlibrary $libname.a'
   9224     # Create ${libname}_ixlibrary.a entries in /sys/libs.
   9225     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'
   9226   else
   9227     dynamic_linker=no
   9228   fi
   9229   ;;
   9230 
   9231 beos*)
   9232   library_names_spec='${libname}${shared_ext}'
   9233   dynamic_linker="$host_os ld.so"
   9234   shlibpath_var=LIBRARY_PATH
   9235   ;;
   9236 
   9237 bsdi[45]*)
   9238   version_type=linux
   9239   need_version=no
   9240   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9241   soname_spec='${libname}${release}${shared_ext}$major'
   9242   finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
   9243   shlibpath_var=LD_LIBRARY_PATH
   9244   sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
   9245   sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
   9246   # the default ld.so.conf also contains /usr/contrib/lib and
   9247   # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
   9248   # libtool to hard-code these into programs
   9249   ;;
   9250 
   9251 cygwin* | mingw* | pw32*)
   9252   version_type=windows
   9253   shrext_cmds=".dll"
   9254   need_version=no
   9255   need_lib_prefix=no
   9256 
   9257   case $withGCC,$host_os in
   9258   yes,cygwin* | yes,mingw* | yes,pw32*)
   9259     library_names_spec='$libname.dll.a'
   9260     # DLL is installed to $(libdir)/../bin by postinstall_cmds
   9261     postinstall_cmds='base_file=`basename \${file}`~
   9262       dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
   9263       dldir=$destdir/`dirname \$dlpath`~
   9264       test -d \$dldir || mkdir -p \$dldir~
   9265       $install_prog $dir/$dlname \$dldir/$dlname~
   9266       chmod a+x \$dldir/$dlname~
   9267       if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
   9268         eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
   9269       fi'
   9270     postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
   9271       dlpath=$dir/\$dldll~
   9272        $RM \$dlpath'
   9273     shlibpath_overrides_runpath=yes
   9274 
   9275     case $host_os in
   9276     cygwin*)
   9277       # Cygwin DLLs use 'cyg' prefix rather than 'lib'
   9278       soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9279       sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
   9280       ;;
   9281     mingw*)
   9282       # MinGW DLLs use traditional 'lib' prefix
   9283       soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9284       sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
   9285       if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
   9286         # It is most probably a Windows format PATH printed by
   9287         # mingw gcc, but we are running on Cygwin. Gcc prints its search
   9288         # path with ; separators, and with drive letters. We can handle the
   9289         # drive letters (cygwin fileutils understands them), so leave them,
   9290         # especially as we might pass files found there to a mingw objdump,
   9291         # which wouldn't understand a cygwinified path. Ahh.
   9292         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
   9293       else
   9294         sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
   9295       fi
   9296       ;;
   9297     pw32*)
   9298       # pw32 DLLs use 'pw' prefix rather than 'lib'
   9299       library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
   9300       ;;
   9301     esac
   9302     ;;
   9303 
   9304   *)
   9305     library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
   9306     ;;
   9307   esac
   9308   dynamic_linker='Win32 ld.exe'
   9309   # FIXME: first we should search . and the directory the executable is in
   9310   shlibpath_var=PATH
   9311   ;;
   9312 
   9313 darwin* | rhapsody*)
   9314   dynamic_linker="$host_os dyld"
   9315   version_type=darwin
   9316   need_lib_prefix=no
   9317   need_version=no
   9318   library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
   9319   soname_spec='${libname}${release}${major}$shared_ext'
   9320   shlibpath_overrides_runpath=yes
   9321   shlibpath_var=DYLD_LIBRARY_PATH
   9322   shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
   9323 
   9324   sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
   9325   sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
   9326   ;;
   9327 
   9328 dgux*)
   9329   version_type=linux
   9330   need_lib_prefix=no
   9331   need_version=no
   9332   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
   9333   soname_spec='${libname}${release}${shared_ext}$major'
   9334   shlibpath_var=LD_LIBRARY_PATH
   9335   ;;
   9336 
   9337 freebsd1*)
   9338   dynamic_linker=no
   9339   ;;
   9340 
   9341 freebsd* | dragonfly*)
   9342   # DragonFly does not have aout.  When/if they implement a new
   9343   # versioning mechanism, adjust this.
   9344   if test -x /usr/bin/objformat; then
   9345     objformat=`/usr/bin/objformat`
   9346   else
   9347     case $host_os in
   9348     freebsd[123]*) objformat=aout ;;
   9349     *) objformat=elf ;;
   9350     esac
   9351   fi
   9352   version_type=freebsd-$objformat
   9353   case $version_type in
   9354     freebsd-elf*)
   9355       library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9356       need_version=no
   9357       need_lib_prefix=no
   9358       ;;
   9359     freebsd-*)
   9360       library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
   9361       need_version=yes
   9362       ;;
   9363   esac
   9364   shlibpath_var=LD_LIBRARY_PATH
   9365   case $host_os in
   9366   freebsd2*)
   9367     shlibpath_overrides_runpath=yes
   9368     ;;
   9369   freebsd3.[01]* | freebsdelf3.[01]*)
   9370     shlibpath_overrides_runpath=yes
   9371     hardcode_into_libs=yes
   9372     ;;
   9373   freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
   9374   freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
   9375     shlibpath_overrides_runpath=no
   9376     hardcode_into_libs=yes
   9377     ;;
   9378   *) # from 4.6 on, and DragonFly
   9379     shlibpath_overrides_runpath=yes
   9380     hardcode_into_libs=yes
   9381     ;;
   9382   esac
   9383   ;;
   9384 
   9385 gnu*)
   9386   version_type=linux
   9387   need_lib_prefix=no
   9388   need_version=no
   9389   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
   9390   soname_spec='${libname}${release}${shared_ext}$major'
   9391   shlibpath_var=LD_LIBRARY_PATH
   9392   hardcode_into_libs=yes
   9393   ;;
   9394 
   9395 hpux9* | hpux10* | hpux11*)
   9396   # Give a soname corresponding to the major version so that dld.sl refuses to
   9397   # link against other versions.
   9398   version_type=sunos
   9399   need_lib_prefix=no
   9400   need_version=no
   9401   case $host_cpu in
   9402   ia64*)
   9403     shrext_cmds='.so'
   9404     hardcode_into_libs=yes
   9405     dynamic_linker="$host_os dld.so"
   9406     shlibpath_var=LD_LIBRARY_PATH
   9407     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9408     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9409     soname_spec='${libname}${release}${shared_ext}$major'
   9410     if test "X$HPUX_IA64_MODE" = X32; then
   9411       sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
   9412     else
   9413       sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
   9414     fi
   9415     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9416     ;;
   9417   hppa*64*)
   9418     shrext_cmds='.sl'
   9419     hardcode_into_libs=yes
   9420     dynamic_linker="$host_os dld.sl"
   9421     shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
   9422     shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
   9423     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9424     soname_spec='${libname}${release}${shared_ext}$major'
   9425     sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
   9426     sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
   9427     ;;
   9428   *)
   9429     shrext_cmds='.sl'
   9430     dynamic_linker="$host_os dld.sl"
   9431     shlibpath_var=SHLIB_PATH
   9432     shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
   9433     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9434     soname_spec='${libname}${release}${shared_ext}$major'
   9435     ;;
   9436   esac
   9437   # HP-UX runs *really* slowly unless shared libraries are mode 555.
   9438   postinstall_cmds='chmod 555 $lib'
   9439   ;;
   9440 
   9441 interix[3-9]*)
   9442   version_type=linux
   9443   need_lib_prefix=no
   9444   need_version=no
   9445   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9446   soname_spec='${libname}${release}${shared_ext}$major'
   9447   dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
   9448   shlibpath_var=LD_LIBRARY_PATH
   9449   shlibpath_overrides_runpath=no
   9450   hardcode_into_libs=yes
   9451   ;;
   9452 
   9453 irix5* | irix6* | nonstopux*)
   9454   case $host_os in
   9455     nonstopux*) version_type=nonstopux ;;
   9456     *)
   9457 	if test "$lt_cv_prog_gnu_ld" = yes; then
   9458 		version_type=linux
   9459 	else
   9460 		version_type=irix
   9461 	fi ;;
   9462   esac
   9463   need_lib_prefix=no
   9464   need_version=no
   9465   soname_spec='${libname}${release}${shared_ext}$major'
   9466   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
   9467   case $host_os in
   9468   irix5* | nonstopux*)
   9469     libsuff= shlibsuff=
   9470     ;;
   9471   *)
   9472     case $LD in # libtool.m4 will add one of these switches to LD
   9473     *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
   9474       libsuff= shlibsuff= libmagic=32-bit;;
   9475     *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
   9476       libsuff=32 shlibsuff=N32 libmagic=N32;;
   9477     *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
   9478       libsuff=64 shlibsuff=64 libmagic=64-bit;;
   9479     *) libsuff= shlibsuff= libmagic=never-match;;
   9480     esac
   9481     ;;
   9482   esac
   9483   shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
   9484   shlibpath_overrides_runpath=no
   9485   sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
   9486   sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
   9487   hardcode_into_libs=yes
   9488   ;;
   9489 
   9490 # No shared lib support for Linux oldld, aout, or coff.
   9491 linux*oldld* | linux*aout* | linux*coff*)
   9492   dynamic_linker=no
   9493   ;;
   9494 
   9495 # This must be Linux ELF.
   9496 linux* | k*bsd*-gnu)
   9497   version_type=linux
   9498   need_lib_prefix=no
   9499   need_version=no
   9500   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9501   soname_spec='${libname}${release}${shared_ext}$major'
   9502   finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
   9503   shlibpath_var=LD_LIBRARY_PATH
   9504   shlibpath_overrides_runpath=no
   9505   # Some binutils ld are patched to set DT_RUNPATH
   9506   save_LDFLAGS=$LDFLAGS
   9507   save_libdir=$libdir
   9508   eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
   9509        LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
   9510   cat >conftest.$ac_ext <<_ACEOF
   9511 /* confdefs.h.  */
   9512 _ACEOF
   9513 cat confdefs.h >>conftest.$ac_ext
   9514 cat >>conftest.$ac_ext <<_ACEOF
   9515 /* end confdefs.h.  */
   9516 
   9517 int
   9518 main ()
   9519 {
   9520 
   9521   ;
   9522   return 0;
   9523 }
   9524 _ACEOF
   9525 rm -f conftest.$ac_objext conftest$ac_exeext
   9526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9527   (eval $ac_link) 2>conftest.er1
   9528   ac_status=$?
   9529   grep -v '^ *+' conftest.er1 >conftest.err
   9530   rm -f conftest.er1
   9531   cat conftest.err >&5
   9532   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9533   (exit $ac_status); } &&
   9534 	 { ac_try='test -z "$ac_c_werror_flag"
   9535 			 || test ! -s conftest.err'
   9536   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9537   (eval $ac_try) 2>&5
   9538   ac_status=$?
   9539   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9540   (exit $ac_status); }; } &&
   9541 	 { ac_try='test -s conftest$ac_exeext'
   9542   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9543   (eval $ac_try) 2>&5
   9544   ac_status=$?
   9545   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9546   (exit $ac_status); }; }; then
   9547   if  ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
   9548   shlibpath_overrides_runpath=yes
   9549 fi
   9550 
   9551 else
   9552   echo "$as_me: failed program was:" >&5
   9553 sed 's/^/| /' conftest.$ac_ext >&5
   9554 
   9555 fi
   9556 rm -f conftest.err conftest.$ac_objext \
   9557       conftest$ac_exeext conftest.$ac_ext
   9558   LDFLAGS=$save_LDFLAGS
   9559   libdir=$save_libdir
   9560 
   9561   # This implies no fast_install, which is unacceptable.
   9562   # Some rework will be needed to allow for fast_install
   9563   # before this can be enabled.
   9564   hardcode_into_libs=yes
   9565 
   9566   # Append ld.so.conf contents to the search path
   9567   if test -f /etc/ld.so.conf; then
   9568     lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,	]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
   9569     sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
   9570   fi
   9571 
   9572   # We used to test for /lib/ld.so.1 and disable shared libraries on
   9573   # powerpc, because MkLinux only supported shared libraries with the
   9574   # GNU dynamic linker.  Since this was broken with cross compilers,
   9575   # most powerpc-linux boxes support dynamic linking these days and
   9576   # people can always --disable-shared, the test was removed, and we
   9577   # assume the GNU/Linux dynamic linker is in use.
   9578   dynamic_linker='GNU/Linux ld.so'
   9579   ;;
   9580 
   9581 netbsd*)
   9582   version_type=sunos
   9583   need_lib_prefix=no
   9584   need_version=no
   9585   if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
   9586     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9587     finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9588     dynamic_linker='NetBSD (a.out) ld.so'
   9589   else
   9590     library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
   9591     soname_spec='${libname}${release}${shared_ext}$major'
   9592     dynamic_linker='NetBSD ld.elf_so'
   9593   fi
   9594   shlibpath_var=LD_LIBRARY_PATH
   9595   shlibpath_overrides_runpath=yes
   9596   hardcode_into_libs=yes
   9597   ;;
   9598 
   9599 newsos6)
   9600   version_type=linux
   9601   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9602   shlibpath_var=LD_LIBRARY_PATH
   9603   shlibpath_overrides_runpath=yes
   9604   ;;
   9605 
   9606 *nto* | *qnx*)
   9607   version_type=qnx
   9608   need_lib_prefix=no
   9609   need_version=no
   9610   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9611   soname_spec='${libname}${release}${shared_ext}$major'
   9612   shlibpath_var=LD_LIBRARY_PATH
   9613   shlibpath_overrides_runpath=no
   9614   hardcode_into_libs=yes
   9615   dynamic_linker='ldqnx.so'
   9616   ;;
   9617 
   9618 openbsd*)
   9619   version_type=sunos
   9620   sys_lib_dlsearch_path_spec="/usr/lib"
   9621   need_lib_prefix=no
   9622   # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
   9623   case $host_os in
   9624     openbsd3.3 | openbsd3.3.*)	need_version=yes ;;
   9625     *)				need_version=no  ;;
   9626   esac
   9627   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9628   finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
   9629   shlibpath_var=LD_LIBRARY_PATH
   9630   if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
   9631     case $host_os in
   9632       openbsd2.[89] | openbsd2.[89].*)
   9633 	shlibpath_overrides_runpath=no
   9634 	;;
   9635       *)
   9636 	shlibpath_overrides_runpath=yes
   9637 	;;
   9638       esac
   9639   else
   9640     shlibpath_overrides_runpath=yes
   9641   fi
   9642   ;;
   9643 
   9644 os2*)
   9645   libname_spec='$name'
   9646   shrext_cmds=".dll"
   9647   need_lib_prefix=no
   9648   library_names_spec='$libname${shared_ext} $libname.a'
   9649   dynamic_linker='OS/2 ld.exe'
   9650   shlibpath_var=LIBPATH
   9651   ;;
   9652 
   9653 osf3* | osf4* | osf5*)
   9654   version_type=osf
   9655   need_lib_prefix=no
   9656   need_version=no
   9657   soname_spec='${libname}${release}${shared_ext}$major'
   9658   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9659   shlibpath_var=LD_LIBRARY_PATH
   9660   sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
   9661   sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
   9662   ;;
   9663 
   9664 rdos*)
   9665   dynamic_linker=no
   9666   ;;
   9667 
   9668 solaris*)
   9669   version_type=linux
   9670   need_lib_prefix=no
   9671   need_version=no
   9672   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9673   soname_spec='${libname}${release}${shared_ext}$major'
   9674   shlibpath_var=LD_LIBRARY_PATH
   9675   shlibpath_overrides_runpath=yes
   9676   hardcode_into_libs=yes
   9677   # ldd complains unless libraries are executable
   9678   postinstall_cmds='chmod +x $lib'
   9679   ;;
   9680 
   9681 sunos4*)
   9682   version_type=sunos
   9683   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
   9684   finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
   9685   shlibpath_var=LD_LIBRARY_PATH
   9686   shlibpath_overrides_runpath=yes
   9687   if test "$with_gnu_ld" = yes; then
   9688     need_lib_prefix=no
   9689   fi
   9690   need_version=yes
   9691   ;;
   9692 
   9693 sysv4 | sysv4.3*)
   9694   version_type=linux
   9695   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9696   soname_spec='${libname}${release}${shared_ext}$major'
   9697   shlibpath_var=LD_LIBRARY_PATH
   9698   case $host_vendor in
   9699     sni)
   9700       shlibpath_overrides_runpath=no
   9701       need_lib_prefix=no
   9702       runpath_var=LD_RUN_PATH
   9703       ;;
   9704     siemens)
   9705       need_lib_prefix=no
   9706       ;;
   9707     motorola)
   9708       need_lib_prefix=no
   9709       need_version=no
   9710       shlibpath_overrides_runpath=no
   9711       sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
   9712       ;;
   9713   esac
   9714   ;;
   9715 
   9716 sysv4*MP*)
   9717   if test -d /usr/nec ;then
   9718     version_type=linux
   9719     library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
   9720     soname_spec='$libname${shared_ext}.$major'
   9721     shlibpath_var=LD_LIBRARY_PATH
   9722   fi
   9723   ;;
   9724 
   9725 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
   9726   version_type=freebsd-elf
   9727   need_lib_prefix=no
   9728   need_version=no
   9729   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
   9730   soname_spec='${libname}${release}${shared_ext}$major'
   9731   shlibpath_var=LD_LIBRARY_PATH
   9732   shlibpath_overrides_runpath=yes
   9733   hardcode_into_libs=yes
   9734   if test "$with_gnu_ld" = yes; then
   9735     sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
   9736   else
   9737     sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
   9738     case $host_os in
   9739       sco3.2v5*)
   9740         sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
   9741 	;;
   9742     esac
   9743   fi
   9744   sys_lib_dlsearch_path_spec='/usr/lib'
   9745   ;;
   9746 
   9747 tpf*)
   9748   # TPF is a cross-target only.  Preferred cross-host = GNU/Linux.
   9749   version_type=linux
   9750   need_lib_prefix=no
   9751   need_version=no
   9752   library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9753   shlibpath_var=LD_LIBRARY_PATH
   9754   shlibpath_overrides_runpath=no
   9755   hardcode_into_libs=yes
   9756   ;;
   9757 
   9758 uts4*)
   9759   version_type=linux
   9760   library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
   9761   soname_spec='${libname}${release}${shared_ext}$major'
   9762   shlibpath_var=LD_LIBRARY_PATH
   9763   ;;
   9764 
   9765 *)
   9766   dynamic_linker=no
   9767   ;;
   9768 esac
   9769 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
   9770 echo "${ECHO_T}$dynamic_linker" >&6
   9771 test "$dynamic_linker" = no && can_build_shared=no
   9772 
   9773 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
   9774 if test "$GCC" = yes; then
   9775   variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
   9776 fi
   9777 
   9778 
   9779 
   9780 
   9781 
   9782 
   9783 
   9784 
   9785 
   9786 
   9787 
   9788 
   9789 
   9790 
   9791 
   9792 
   9793 
   9794 
   9795 
   9796 
   9797 
   9798 
   9799 
   9800 
   9801 
   9802 
   9803 
   9804 
   9805 
   9806 
   9807 
   9808 
   9809 
   9810 
   9811 
   9812 
   9813 
   9814 
   9815 
   9816 
   9817 
   9818 
   9819 
   9820 
   9821 
   9822 
   9823 
   9824 
   9825 
   9826 
   9827 
   9828 
   9829 
   9830 
   9831 
   9832 
   9833 
   9834 
   9835 
   9836 
   9837 
   9838 
   9839 
   9840 
   9841 
   9842 
   9843 
   9844 
   9845 
   9846 
   9847 
   9848 
   9849 
   9850 
   9851 
   9852 
   9853 
   9854 
   9855 
   9856 
   9857 
   9858 
   9859 
   9860 
   9861 
   9862 
   9863 
   9864   echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
   9865 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
   9866 hardcode_action=
   9867 if test -n "$hardcode_libdir_flag_spec" ||
   9868    test -n "$runpath_var" ||
   9869    test "X$hardcode_automatic" = "Xyes" ; then
   9870 
   9871   # We can hardcode non-existent directories.
   9872   if test "$hardcode_direct" != no &&
   9873      # If the only mechanism to avoid hardcoding is shlibpath_var, we
   9874      # have to relink, otherwise we might link with an installed library
   9875      # when we should be linking with a yet-to-be-installed one
   9876      ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
   9877      test "$hardcode_minus_L" != no; then
   9878     # Linking always hardcodes the temporary library directory.
   9879     hardcode_action=relink
   9880   else
   9881     # We can link without hardcoding, and we can hardcode nonexisting dirs.
   9882     hardcode_action=immediate
   9883   fi
   9884 else
   9885   # We cannot hardcode anything, or else we can only hardcode existing
   9886   # directories.
   9887   hardcode_action=unsupported
   9888 fi
   9889 echo "$as_me:$LINENO: result: $hardcode_action" >&5
   9890 echo "${ECHO_T}$hardcode_action" >&6
   9891 
   9892 if test "$hardcode_action" = relink ||
   9893    test "$inherit_rpath" = yes; then
   9894   # Fast installation is not supported
   9895   enable_fast_install=no
   9896 elif test "$shlibpath_overrides_runpath" = yes ||
   9897      test "$enable_shared" = no; then
   9898   # Fast installation is not necessary
   9899   enable_fast_install=needless
   9900 fi
   9901 
   9902 
   9903 
   9904 
   9905 
   9906 
   9907   if test "x$enable_dlopen" != xyes; then
   9908   enable_dlopen=unknown
   9909   enable_dlopen_self=unknown
   9910   enable_dlopen_self_static=unknown
   9911 else
   9912   lt_cv_dlopen=no
   9913   lt_cv_dlopen_libs=
   9914 
   9915   case $host_os in
   9916   beos*)
   9917     lt_cv_dlopen="load_add_on"
   9918     lt_cv_dlopen_libs=
   9919     lt_cv_dlopen_self=yes
   9920     ;;
   9921 
   9922   mingw* | pw32*)
   9923     lt_cv_dlopen="LoadLibrary"
   9924     lt_cv_dlopen_libs=
   9925     ;;
   9926 
   9927   cygwin*)
   9928     lt_cv_dlopen="dlopen"
   9929     lt_cv_dlopen_libs=
   9930     ;;
   9931 
   9932   darwin*)
   9933   # if libdl is installed we need to link against it
   9934     echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   9935 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   9936 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   9937   echo $ECHO_N "(cached) $ECHO_C" >&6
   9938 else
   9939   ac_check_lib_save_LIBS=$LIBS
   9940 LIBS="-ldl  $LIBS"
   9941 cat >conftest.$ac_ext <<_ACEOF
   9942 /* confdefs.h.  */
   9943 _ACEOF
   9944 cat confdefs.h >>conftest.$ac_ext
   9945 cat >>conftest.$ac_ext <<_ACEOF
   9946 /* end confdefs.h.  */
   9947 
   9948 /* Override any gcc2 internal prototype to avoid an error.  */
   9949 #ifdef __cplusplus
   9950 extern "C"
   9951 #endif
   9952 /* We use char because int might match the return type of a gcc2
   9953    builtin and then its argument prototype would still apply.  */
   9954 char dlopen ();
   9955 int
   9956 main ()
   9957 {
   9958 dlopen ();
   9959   ;
   9960   return 0;
   9961 }
   9962 _ACEOF
   9963 rm -f conftest.$ac_objext conftest$ac_exeext
   9964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   9965   (eval $ac_link) 2>conftest.er1
   9966   ac_status=$?
   9967   grep -v '^ *+' conftest.er1 >conftest.err
   9968   rm -f conftest.er1
   9969   cat conftest.err >&5
   9970   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9971   (exit $ac_status); } &&
   9972 	 { ac_try='test -z "$ac_c_werror_flag"
   9973 			 || test ! -s conftest.err'
   9974   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9975   (eval $ac_try) 2>&5
   9976   ac_status=$?
   9977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9978   (exit $ac_status); }; } &&
   9979 	 { ac_try='test -s conftest$ac_exeext'
   9980   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   9981   (eval $ac_try) 2>&5
   9982   ac_status=$?
   9983   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   9984   (exit $ac_status); }; }; then
   9985   ac_cv_lib_dl_dlopen=yes
   9986 else
   9987   echo "$as_me: failed program was:" >&5
   9988 sed 's/^/| /' conftest.$ac_ext >&5
   9989 
   9990 ac_cv_lib_dl_dlopen=no
   9991 fi
   9992 rm -f conftest.err conftest.$ac_objext \
   9993       conftest$ac_exeext conftest.$ac_ext
   9994 LIBS=$ac_check_lib_save_LIBS
   9995 fi
   9996 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   9997 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   9998 if test $ac_cv_lib_dl_dlopen = yes; then
   9999   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10000 else
   10001 
   10002     lt_cv_dlopen="dyld"
   10003     lt_cv_dlopen_libs=
   10004     lt_cv_dlopen_self=yes
   10005 
   10006 fi
   10007 
   10008     ;;
   10009 
   10010   *)
   10011     echo "$as_me:$LINENO: checking for shl_load" >&5
   10012 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
   10013 if test "${ac_cv_func_shl_load+set}" = set; then
   10014   echo $ECHO_N "(cached) $ECHO_C" >&6
   10015 else
   10016   cat >conftest.$ac_ext <<_ACEOF
   10017 /* confdefs.h.  */
   10018 _ACEOF
   10019 cat confdefs.h >>conftest.$ac_ext
   10020 cat >>conftest.$ac_ext <<_ACEOF
   10021 /* end confdefs.h.  */
   10022 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
   10023    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10024 #define shl_load innocuous_shl_load
   10025 
   10026 /* System header to define __stub macros and hopefully few prototypes,
   10027     which can conflict with char shl_load (); below.
   10028     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10029     <limits.h> exists even on freestanding compilers.  */
   10030 
   10031 #ifdef __STDC__
   10032 # include <limits.h>
   10033 #else
   10034 # include <assert.h>
   10035 #endif
   10036 
   10037 #undef shl_load
   10038 
   10039 /* Override any gcc2 internal prototype to avoid an error.  */
   10040 #ifdef __cplusplus
   10041 extern "C"
   10042 {
   10043 #endif
   10044 /* We use char because int might match the return type of a gcc2
   10045    builtin and then its argument prototype would still apply.  */
   10046 char shl_load ();
   10047 /* The GNU C library defines this for functions which it implements
   10048     to always fail with ENOSYS.  Some functions are actually named
   10049     something starting with __ and the normal name is an alias.  */
   10050 #if defined (__stub_shl_load) || defined (__stub___shl_load)
   10051 choke me
   10052 #else
   10053 char (*f) () = shl_load;
   10054 #endif
   10055 #ifdef __cplusplus
   10056 }
   10057 #endif
   10058 
   10059 int
   10060 main ()
   10061 {
   10062 return f != shl_load;
   10063   ;
   10064   return 0;
   10065 }
   10066 _ACEOF
   10067 rm -f conftest.$ac_objext conftest$ac_exeext
   10068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10069   (eval $ac_link) 2>conftest.er1
   10070   ac_status=$?
   10071   grep -v '^ *+' conftest.er1 >conftest.err
   10072   rm -f conftest.er1
   10073   cat conftest.err >&5
   10074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10075   (exit $ac_status); } &&
   10076 	 { ac_try='test -z "$ac_c_werror_flag"
   10077 			 || test ! -s conftest.err'
   10078   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10079   (eval $ac_try) 2>&5
   10080   ac_status=$?
   10081   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10082   (exit $ac_status); }; } &&
   10083 	 { ac_try='test -s conftest$ac_exeext'
   10084   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10085   (eval $ac_try) 2>&5
   10086   ac_status=$?
   10087   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10088   (exit $ac_status); }; }; then
   10089   ac_cv_func_shl_load=yes
   10090 else
   10091   echo "$as_me: failed program was:" >&5
   10092 sed 's/^/| /' conftest.$ac_ext >&5
   10093 
   10094 ac_cv_func_shl_load=no
   10095 fi
   10096 rm -f conftest.err conftest.$ac_objext \
   10097       conftest$ac_exeext conftest.$ac_ext
   10098 fi
   10099 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
   10100 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
   10101 if test $ac_cv_func_shl_load = yes; then
   10102   lt_cv_dlopen="shl_load"
   10103 else
   10104   echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
   10105 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
   10106 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
   10107   echo $ECHO_N "(cached) $ECHO_C" >&6
   10108 else
   10109   ac_check_lib_save_LIBS=$LIBS
   10110 LIBS="-ldld  $LIBS"
   10111 cat >conftest.$ac_ext <<_ACEOF
   10112 /* confdefs.h.  */
   10113 _ACEOF
   10114 cat confdefs.h >>conftest.$ac_ext
   10115 cat >>conftest.$ac_ext <<_ACEOF
   10116 /* end confdefs.h.  */
   10117 
   10118 /* Override any gcc2 internal prototype to avoid an error.  */
   10119 #ifdef __cplusplus
   10120 extern "C"
   10121 #endif
   10122 /* We use char because int might match the return type of a gcc2
   10123    builtin and then its argument prototype would still apply.  */
   10124 char shl_load ();
   10125 int
   10126 main ()
   10127 {
   10128 shl_load ();
   10129   ;
   10130   return 0;
   10131 }
   10132 _ACEOF
   10133 rm -f conftest.$ac_objext conftest$ac_exeext
   10134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10135   (eval $ac_link) 2>conftest.er1
   10136   ac_status=$?
   10137   grep -v '^ *+' conftest.er1 >conftest.err
   10138   rm -f conftest.er1
   10139   cat conftest.err >&5
   10140   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10141   (exit $ac_status); } &&
   10142 	 { ac_try='test -z "$ac_c_werror_flag"
   10143 			 || test ! -s conftest.err'
   10144   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10145   (eval $ac_try) 2>&5
   10146   ac_status=$?
   10147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10148   (exit $ac_status); }; } &&
   10149 	 { ac_try='test -s conftest$ac_exeext'
   10150   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10151   (eval $ac_try) 2>&5
   10152   ac_status=$?
   10153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10154   (exit $ac_status); }; }; then
   10155   ac_cv_lib_dld_shl_load=yes
   10156 else
   10157   echo "$as_me: failed program was:" >&5
   10158 sed 's/^/| /' conftest.$ac_ext >&5
   10159 
   10160 ac_cv_lib_dld_shl_load=no
   10161 fi
   10162 rm -f conftest.err conftest.$ac_objext \
   10163       conftest$ac_exeext conftest.$ac_ext
   10164 LIBS=$ac_check_lib_save_LIBS
   10165 fi
   10166 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
   10167 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
   10168 if test $ac_cv_lib_dld_shl_load = yes; then
   10169   lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
   10170 else
   10171   echo "$as_me:$LINENO: checking for dlopen" >&5
   10172 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
   10173 if test "${ac_cv_func_dlopen+set}" = set; then
   10174   echo $ECHO_N "(cached) $ECHO_C" >&6
   10175 else
   10176   cat >conftest.$ac_ext <<_ACEOF
   10177 /* confdefs.h.  */
   10178 _ACEOF
   10179 cat confdefs.h >>conftest.$ac_ext
   10180 cat >>conftest.$ac_ext <<_ACEOF
   10181 /* end confdefs.h.  */
   10182 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
   10183    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   10184 #define dlopen innocuous_dlopen
   10185 
   10186 /* System header to define __stub macros and hopefully few prototypes,
   10187     which can conflict with char dlopen (); below.
   10188     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   10189     <limits.h> exists even on freestanding compilers.  */
   10190 
   10191 #ifdef __STDC__
   10192 # include <limits.h>
   10193 #else
   10194 # include <assert.h>
   10195 #endif
   10196 
   10197 #undef dlopen
   10198 
   10199 /* Override any gcc2 internal prototype to avoid an error.  */
   10200 #ifdef __cplusplus
   10201 extern "C"
   10202 {
   10203 #endif
   10204 /* We use char because int might match the return type of a gcc2
   10205    builtin and then its argument prototype would still apply.  */
   10206 char dlopen ();
   10207 /* The GNU C library defines this for functions which it implements
   10208     to always fail with ENOSYS.  Some functions are actually named
   10209     something starting with __ and the normal name is an alias.  */
   10210 #if defined (__stub_dlopen) || defined (__stub___dlopen)
   10211 choke me
   10212 #else
   10213 char (*f) () = dlopen;
   10214 #endif
   10215 #ifdef __cplusplus
   10216 }
   10217 #endif
   10218 
   10219 int
   10220 main ()
   10221 {
   10222 return f != dlopen;
   10223   ;
   10224   return 0;
   10225 }
   10226 _ACEOF
   10227 rm -f conftest.$ac_objext conftest$ac_exeext
   10228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10229   (eval $ac_link) 2>conftest.er1
   10230   ac_status=$?
   10231   grep -v '^ *+' conftest.er1 >conftest.err
   10232   rm -f conftest.er1
   10233   cat conftest.err >&5
   10234   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10235   (exit $ac_status); } &&
   10236 	 { ac_try='test -z "$ac_c_werror_flag"
   10237 			 || test ! -s conftest.err'
   10238   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10239   (eval $ac_try) 2>&5
   10240   ac_status=$?
   10241   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10242   (exit $ac_status); }; } &&
   10243 	 { ac_try='test -s conftest$ac_exeext'
   10244   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10245   (eval $ac_try) 2>&5
   10246   ac_status=$?
   10247   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10248   (exit $ac_status); }; }; then
   10249   ac_cv_func_dlopen=yes
   10250 else
   10251   echo "$as_me: failed program was:" >&5
   10252 sed 's/^/| /' conftest.$ac_ext >&5
   10253 
   10254 ac_cv_func_dlopen=no
   10255 fi
   10256 rm -f conftest.err conftest.$ac_objext \
   10257       conftest$ac_exeext conftest.$ac_ext
   10258 fi
   10259 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
   10260 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
   10261 if test $ac_cv_func_dlopen = yes; then
   10262   lt_cv_dlopen="dlopen"
   10263 else
   10264   echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
   10265 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
   10266 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
   10267   echo $ECHO_N "(cached) $ECHO_C" >&6
   10268 else
   10269   ac_check_lib_save_LIBS=$LIBS
   10270 LIBS="-ldl  $LIBS"
   10271 cat >conftest.$ac_ext <<_ACEOF
   10272 /* confdefs.h.  */
   10273 _ACEOF
   10274 cat confdefs.h >>conftest.$ac_ext
   10275 cat >>conftest.$ac_ext <<_ACEOF
   10276 /* end confdefs.h.  */
   10277 
   10278 /* Override any gcc2 internal prototype to avoid an error.  */
   10279 #ifdef __cplusplus
   10280 extern "C"
   10281 #endif
   10282 /* We use char because int might match the return type of a gcc2
   10283    builtin and then its argument prototype would still apply.  */
   10284 char dlopen ();
   10285 int
   10286 main ()
   10287 {
   10288 dlopen ();
   10289   ;
   10290   return 0;
   10291 }
   10292 _ACEOF
   10293 rm -f conftest.$ac_objext conftest$ac_exeext
   10294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10295   (eval $ac_link) 2>conftest.er1
   10296   ac_status=$?
   10297   grep -v '^ *+' conftest.er1 >conftest.err
   10298   rm -f conftest.er1
   10299   cat conftest.err >&5
   10300   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10301   (exit $ac_status); } &&
   10302 	 { ac_try='test -z "$ac_c_werror_flag"
   10303 			 || test ! -s conftest.err'
   10304   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10305   (eval $ac_try) 2>&5
   10306   ac_status=$?
   10307   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10308   (exit $ac_status); }; } &&
   10309 	 { ac_try='test -s conftest$ac_exeext'
   10310   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10311   (eval $ac_try) 2>&5
   10312   ac_status=$?
   10313   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10314   (exit $ac_status); }; }; then
   10315   ac_cv_lib_dl_dlopen=yes
   10316 else
   10317   echo "$as_me: failed program was:" >&5
   10318 sed 's/^/| /' conftest.$ac_ext >&5
   10319 
   10320 ac_cv_lib_dl_dlopen=no
   10321 fi
   10322 rm -f conftest.err conftest.$ac_objext \
   10323       conftest$ac_exeext conftest.$ac_ext
   10324 LIBS=$ac_check_lib_save_LIBS
   10325 fi
   10326 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
   10327 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
   10328 if test $ac_cv_lib_dl_dlopen = yes; then
   10329   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
   10330 else
   10331   echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
   10332 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
   10333 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
   10334   echo $ECHO_N "(cached) $ECHO_C" >&6
   10335 else
   10336   ac_check_lib_save_LIBS=$LIBS
   10337 LIBS="-lsvld  $LIBS"
   10338 cat >conftest.$ac_ext <<_ACEOF
   10339 /* confdefs.h.  */
   10340 _ACEOF
   10341 cat confdefs.h >>conftest.$ac_ext
   10342 cat >>conftest.$ac_ext <<_ACEOF
   10343 /* end confdefs.h.  */
   10344 
   10345 /* Override any gcc2 internal prototype to avoid an error.  */
   10346 #ifdef __cplusplus
   10347 extern "C"
   10348 #endif
   10349 /* We use char because int might match the return type of a gcc2
   10350    builtin and then its argument prototype would still apply.  */
   10351 char dlopen ();
   10352 int
   10353 main ()
   10354 {
   10355 dlopen ();
   10356   ;
   10357   return 0;
   10358 }
   10359 _ACEOF
   10360 rm -f conftest.$ac_objext conftest$ac_exeext
   10361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10362   (eval $ac_link) 2>conftest.er1
   10363   ac_status=$?
   10364   grep -v '^ *+' conftest.er1 >conftest.err
   10365   rm -f conftest.er1
   10366   cat conftest.err >&5
   10367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10368   (exit $ac_status); } &&
   10369 	 { ac_try='test -z "$ac_c_werror_flag"
   10370 			 || test ! -s conftest.err'
   10371   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10372   (eval $ac_try) 2>&5
   10373   ac_status=$?
   10374   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10375   (exit $ac_status); }; } &&
   10376 	 { ac_try='test -s conftest$ac_exeext'
   10377   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10378   (eval $ac_try) 2>&5
   10379   ac_status=$?
   10380   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10381   (exit $ac_status); }; }; then
   10382   ac_cv_lib_svld_dlopen=yes
   10383 else
   10384   echo "$as_me: failed program was:" >&5
   10385 sed 's/^/| /' conftest.$ac_ext >&5
   10386 
   10387 ac_cv_lib_svld_dlopen=no
   10388 fi
   10389 rm -f conftest.err conftest.$ac_objext \
   10390       conftest$ac_exeext conftest.$ac_ext
   10391 LIBS=$ac_check_lib_save_LIBS
   10392 fi
   10393 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
   10394 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
   10395 if test $ac_cv_lib_svld_dlopen = yes; then
   10396   lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
   10397 else
   10398   echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
   10399 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
   10400 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
   10401   echo $ECHO_N "(cached) $ECHO_C" >&6
   10402 else
   10403   ac_check_lib_save_LIBS=$LIBS
   10404 LIBS="-ldld  $LIBS"
   10405 cat >conftest.$ac_ext <<_ACEOF
   10406 /* confdefs.h.  */
   10407 _ACEOF
   10408 cat confdefs.h >>conftest.$ac_ext
   10409 cat >>conftest.$ac_ext <<_ACEOF
   10410 /* end confdefs.h.  */
   10411 
   10412 /* Override any gcc2 internal prototype to avoid an error.  */
   10413 #ifdef __cplusplus
   10414 extern "C"
   10415 #endif
   10416 /* We use char because int might match the return type of a gcc2
   10417    builtin and then its argument prototype would still apply.  */
   10418 char dld_link ();
   10419 int
   10420 main ()
   10421 {
   10422 dld_link ();
   10423   ;
   10424   return 0;
   10425 }
   10426 _ACEOF
   10427 rm -f conftest.$ac_objext conftest$ac_exeext
   10428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10429   (eval $ac_link) 2>conftest.er1
   10430   ac_status=$?
   10431   grep -v '^ *+' conftest.er1 >conftest.err
   10432   rm -f conftest.er1
   10433   cat conftest.err >&5
   10434   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10435   (exit $ac_status); } &&
   10436 	 { ac_try='test -z "$ac_c_werror_flag"
   10437 			 || test ! -s conftest.err'
   10438   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10439   (eval $ac_try) 2>&5
   10440   ac_status=$?
   10441   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10442   (exit $ac_status); }; } &&
   10443 	 { ac_try='test -s conftest$ac_exeext'
   10444   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   10445   (eval $ac_try) 2>&5
   10446   ac_status=$?
   10447   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10448   (exit $ac_status); }; }; then
   10449   ac_cv_lib_dld_dld_link=yes
   10450 else
   10451   echo "$as_me: failed program was:" >&5
   10452 sed 's/^/| /' conftest.$ac_ext >&5
   10453 
   10454 ac_cv_lib_dld_dld_link=no
   10455 fi
   10456 rm -f conftest.err conftest.$ac_objext \
   10457       conftest$ac_exeext conftest.$ac_ext
   10458 LIBS=$ac_check_lib_save_LIBS
   10459 fi
   10460 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
   10461 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
   10462 if test $ac_cv_lib_dld_dld_link = yes; then
   10463   lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
   10464 fi
   10465 
   10466 
   10467 fi
   10468 
   10469 
   10470 fi
   10471 
   10472 
   10473 fi
   10474 
   10475 
   10476 fi
   10477 
   10478 
   10479 fi
   10480 
   10481     ;;
   10482   esac
   10483 
   10484   if test "x$lt_cv_dlopen" != xno; then
   10485     enable_dlopen=yes
   10486   else
   10487     enable_dlopen=no
   10488   fi
   10489 
   10490   case $lt_cv_dlopen in
   10491   dlopen)
   10492     save_CPPFLAGS="$CPPFLAGS"
   10493     test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
   10494 
   10495     save_LDFLAGS="$LDFLAGS"
   10496     wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
   10497 
   10498     save_LIBS="$LIBS"
   10499     LIBS="$lt_cv_dlopen_libs $LIBS"
   10500 
   10501     echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
   10502 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
   10503 if test "${lt_cv_dlopen_self+set}" = set; then
   10504   echo $ECHO_N "(cached) $ECHO_C" >&6
   10505 else
   10506   	  if test "$cross_compiling" = yes; then :
   10507   lt_cv_dlopen_self=cross
   10508 else
   10509   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10510   lt_status=$lt_dlunknown
   10511   cat > conftest.$ac_ext <<_LT_EOF
   10512 #line 10512 "configure"
   10513 #include "confdefs.h"
   10514 
   10515 #if HAVE_DLFCN_H
   10516 #include <dlfcn.h>
   10517 #endif
   10518 
   10519 #include <stdio.h>
   10520 
   10521 #ifdef RTLD_GLOBAL
   10522 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10523 #else
   10524 #  ifdef DL_GLOBAL
   10525 #    define LT_DLGLOBAL		DL_GLOBAL
   10526 #  else
   10527 #    define LT_DLGLOBAL		0
   10528 #  endif
   10529 #endif
   10530 
   10531 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10532    find out it does not work in some platform. */
   10533 #ifndef LT_DLLAZY_OR_NOW
   10534 #  ifdef RTLD_LAZY
   10535 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10536 #  else
   10537 #    ifdef DL_LAZY
   10538 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10539 #    else
   10540 #      ifdef RTLD_NOW
   10541 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10542 #      else
   10543 #        ifdef DL_NOW
   10544 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10545 #        else
   10546 #          define LT_DLLAZY_OR_NOW	0
   10547 #        endif
   10548 #      endif
   10549 #    endif
   10550 #  endif
   10551 #endif
   10552 
   10553 #ifdef __cplusplus
   10554 extern "C" void exit (int);
   10555 #endif
   10556 
   10557 void fnord() { int i=42;}
   10558 int main ()
   10559 {
   10560   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10561   int status = $lt_dlunknown;
   10562 
   10563   if (self)
   10564     {
   10565       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10566       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10567       /* dlclose (self); */
   10568     }
   10569   else
   10570     puts (dlerror ());
   10571 
   10572     exit (status);
   10573 }
   10574 _LT_EOF
   10575   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10576   (eval $ac_link) 2>&5
   10577   ac_status=$?
   10578   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10579   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10580     (./conftest; exit; ) >&5 2>/dev/null
   10581     lt_status=$?
   10582     case x$lt_status in
   10583       x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
   10584       x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
   10585       x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
   10586     esac
   10587   else :
   10588     # compilation failed
   10589     lt_cv_dlopen_self=no
   10590   fi
   10591 fi
   10592 rm -fr conftest*
   10593 
   10594 
   10595 fi
   10596 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
   10597 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
   10598 
   10599     if test "x$lt_cv_dlopen_self" = xyes; then
   10600       wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
   10601       echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
   10602 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
   10603 if test "${lt_cv_dlopen_self_static+set}" = set; then
   10604   echo $ECHO_N "(cached) $ECHO_C" >&6
   10605 else
   10606   	  if test "$cross_compiling" = yes; then :
   10607   lt_cv_dlopen_self_static=cross
   10608 else
   10609   lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
   10610   lt_status=$lt_dlunknown
   10611   cat > conftest.$ac_ext <<_LT_EOF
   10612 #line 10612 "configure"
   10613 #include "confdefs.h"
   10614 
   10615 #if HAVE_DLFCN_H
   10616 #include <dlfcn.h>
   10617 #endif
   10618 
   10619 #include <stdio.h>
   10620 
   10621 #ifdef RTLD_GLOBAL
   10622 #  define LT_DLGLOBAL		RTLD_GLOBAL
   10623 #else
   10624 #  ifdef DL_GLOBAL
   10625 #    define LT_DLGLOBAL		DL_GLOBAL
   10626 #  else
   10627 #    define LT_DLGLOBAL		0
   10628 #  endif
   10629 #endif
   10630 
   10631 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
   10632    find out it does not work in some platform. */
   10633 #ifndef LT_DLLAZY_OR_NOW
   10634 #  ifdef RTLD_LAZY
   10635 #    define LT_DLLAZY_OR_NOW		RTLD_LAZY
   10636 #  else
   10637 #    ifdef DL_LAZY
   10638 #      define LT_DLLAZY_OR_NOW		DL_LAZY
   10639 #    else
   10640 #      ifdef RTLD_NOW
   10641 #        define LT_DLLAZY_OR_NOW	RTLD_NOW
   10642 #      else
   10643 #        ifdef DL_NOW
   10644 #          define LT_DLLAZY_OR_NOW	DL_NOW
   10645 #        else
   10646 #          define LT_DLLAZY_OR_NOW	0
   10647 #        endif
   10648 #      endif
   10649 #    endif
   10650 #  endif
   10651 #endif
   10652 
   10653 #ifdef __cplusplus
   10654 extern "C" void exit (int);
   10655 #endif
   10656 
   10657 void fnord() { int i=42;}
   10658 int main ()
   10659 {
   10660   void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
   10661   int status = $lt_dlunknown;
   10662 
   10663   if (self)
   10664     {
   10665       if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
   10666       else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
   10667       /* dlclose (self); */
   10668     }
   10669   else
   10670     puts (dlerror ());
   10671 
   10672     exit (status);
   10673 }
   10674 _LT_EOF
   10675   if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   10676   (eval $ac_link) 2>&5
   10677   ac_status=$?
   10678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   10679   (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
   10680     (./conftest; exit; ) >&5 2>/dev/null
   10681     lt_status=$?
   10682     case x$lt_status in
   10683       x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
   10684       x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
   10685       x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
   10686     esac
   10687   else :
   10688     # compilation failed
   10689     lt_cv_dlopen_self_static=no
   10690   fi
   10691 fi
   10692 rm -fr conftest*
   10693 
   10694 
   10695 fi
   10696 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
   10697 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
   10698     fi
   10699 
   10700     CPPFLAGS="$save_CPPFLAGS"
   10701     LDFLAGS="$save_LDFLAGS"
   10702     LIBS="$save_LIBS"
   10703     ;;
   10704   esac
   10705 
   10706   case $lt_cv_dlopen_self in
   10707   yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
   10708   *) enable_dlopen_self=unknown ;;
   10709   esac
   10710 
   10711   case $lt_cv_dlopen_self_static in
   10712   yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
   10713   *) enable_dlopen_self_static=unknown ;;
   10714   esac
   10715 fi
   10716 
   10717 
   10718 
   10719 
   10720 
   10721 
   10722 
   10723 
   10724 
   10725 
   10726 
   10727 
   10728 
   10729 
   10730 
   10731 
   10732 
   10733 striplib=
   10734 old_striplib=
   10735 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
   10736 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
   10737 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
   10738   test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
   10739   test -z "$striplib" && striplib="$STRIP --strip-unneeded"
   10740   echo "$as_me:$LINENO: result: yes" >&5
   10741 echo "${ECHO_T}yes" >&6
   10742 else
   10743 # FIXME - insert some real tests, host_os isn't really good enough
   10744   case $host_os in
   10745   darwin*)
   10746     if test -n "$STRIP" ; then
   10747       striplib="$STRIP -x"
   10748       old_striplib="$STRIP -S"
   10749       echo "$as_me:$LINENO: result: yes" >&5
   10750 echo "${ECHO_T}yes" >&6
   10751     else
   10752       echo "$as_me:$LINENO: result: no" >&5
   10753 echo "${ECHO_T}no" >&6
   10754     fi
   10755     ;;
   10756   *)
   10757     echo "$as_me:$LINENO: result: no" >&5
   10758 echo "${ECHO_T}no" >&6
   10759     ;;
   10760   esac
   10761 fi
   10762 
   10763 
   10764 
   10765 
   10766 
   10767 
   10768 
   10769 
   10770 
   10771 
   10772 
   10773 
   10774   # Report which library types will actually be built
   10775   echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
   10776 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
   10777   echo "$as_me:$LINENO: result: $can_build_shared" >&5
   10778 echo "${ECHO_T}$can_build_shared" >&6
   10779 
   10780   echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
   10781 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
   10782   test "$can_build_shared" = "no" && enable_shared=no
   10783 
   10784   # On AIX, shared libraries and static libraries use the same namespace, and
   10785   # are all built from PIC.
   10786   case $host_os in
   10787   aix3*)
   10788     test "$enable_shared" = yes && enable_static=no
   10789     if test -n "$RANLIB"; then
   10790       archive_cmds="$archive_cmds~\$RANLIB \$lib"
   10791       postinstall_cmds='$RANLIB $lib'
   10792     fi
   10793     ;;
   10794 
   10795   aix[4-9]*)
   10796     if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
   10797       test "$enable_shared" = yes && enable_static=no
   10798     fi
   10799     ;;
   10800   esac
   10801   echo "$as_me:$LINENO: result: $enable_shared" >&5
   10802 echo "${ECHO_T}$enable_shared" >&6
   10803 
   10804   echo "$as_me:$LINENO: checking whether to build static libraries" >&5
   10805 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
   10806   # Make sure either enable_shared or enable_static is yes.
   10807   test "$enable_shared" = yes || enable_static=yes
   10808   echo "$as_me:$LINENO: result: $enable_static" >&5
   10809 echo "${ECHO_T}$enable_static" >&6
   10810 
   10811 
   10812 
   10813 
   10814 fi
   10815 ac_ext=c
   10816 ac_cpp='$CPP $CPPFLAGS'
   10817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
   10818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
   10819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
   10820 
   10821 CC="$lt_save_CC"
   10822 
   10823 
   10824 
   10825 
   10826 
   10827 
   10828 
   10829 
   10830 
   10831 
   10832 
   10833 
   10834 
   10835                   ac_config_commands="$ac_config_commands libtool"
   10836 
   10837 
   10838 
   10839 
   10840 # Only expand once:
   10841 
   10842 
   10843 
   10844 ALL_LINGUAS="fr sv tr es da vi zh_CN zh_TW ga fi"
   10845 # If we haven't got the data from the intl directory,
   10846 # assume NLS is disabled.
   10847 USE_NLS=no
   10848 LIBINTL=
   10849 LIBINTL_DEP=
   10850 INCINTL=
   10851 XGETTEXT=
   10852 GMSGFMT=
   10853 POSUB=
   10854 
   10855 if test -f  ../intl/config.intl; then
   10856   .  ../intl/config.intl
   10857 fi
   10858 echo "$as_me:$LINENO: checking whether NLS is requested" >&5
   10859 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
   10860 if test x"$USE_NLS" != xyes; then
   10861   echo "$as_me:$LINENO: result: no" >&5
   10862 echo "${ECHO_T}no" >&6
   10863 else
   10864   echo "$as_me:$LINENO: result: yes" >&5
   10865 echo "${ECHO_T}yes" >&6
   10866 
   10867 cat >>confdefs.h <<\_ACEOF
   10868 #define ENABLE_NLS 1
   10869 _ACEOF
   10870 
   10871 
   10872   echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
   10873 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6
   10874   # Look for .po and .gmo files in the source directory.
   10875   CATALOGS=
   10876   XLINGUAS=
   10877   for cat in $srcdir/po/*.gmo $srcdir/po/*.po; do
   10878     # If there aren't any .gmo files the shell will give us the
   10879     # literal string "../path/to/srcdir/po/*.gmo" which has to be
   10880     # weeded out.
   10881     case "$cat" in *\**)
   10882       continue;;
   10883     esac
   10884     # The quadruple backslash is collapsed to a double backslash
   10885     # by the backticks, then collapsed again by the double quotes,
   10886     # leaving us with one backslash in the sed expression (right
   10887     # before the dot that mustn't act as a wildcard).
   10888     cat=`echo $cat | sed -e "s!$srcdir/po/!!" -e "s!\\\\.po!.gmo!"`
   10889     lang=`echo $cat | sed -e "s!\\\\.gmo!!"`
   10890     # The user is allowed to set LINGUAS to a list of languages to
   10891     # install catalogs for.  If it's empty that means "all of them."
   10892     if test "x$LINGUAS" = x; then
   10893       CATALOGS="$CATALOGS $cat"
   10894       XLINGUAS="$XLINGUAS $lang"
   10895     else
   10896       case "$LINGUAS" in *$lang*)
   10897         CATALOGS="$CATALOGS $cat"
   10898         XLINGUAS="$XLINGUAS $lang"
   10899         ;;
   10900       esac
   10901     fi
   10902   done
   10903   LINGUAS="$XLINGUAS"
   10904   echo "$as_me:$LINENO: result: $LINGUAS" >&5
   10905 echo "${ECHO_T}$LINGUAS" >&6
   10906 
   10907 
   10908     DATADIRNAME=share
   10909 
   10910   INSTOBJEXT=.mo
   10911 
   10912   GENCAT=gencat
   10913 
   10914   CATOBJEXT=.gmo
   10915 
   10916 fi
   10917 
   10918         MKINSTALLDIRS=
   10919   if test -n "$ac_aux_dir"; then
   10920     case "$ac_aux_dir" in
   10921       /*) MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs" ;;
   10922       *) MKINSTALLDIRS="\$(top_builddir)/$ac_aux_dir/mkinstalldirs" ;;
   10923     esac
   10924   fi
   10925   if test -z "$MKINSTALLDIRS"; then
   10926     MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
   10927   fi
   10928 
   10929 
   10930 
   10931   echo "$as_me:$LINENO: checking whether NLS is requested" >&5
   10932 echo $ECHO_N "checking whether NLS is requested... $ECHO_C" >&6
   10933     # Check whether --enable-nls or --disable-nls was given.
   10934 if test "${enable_nls+set}" = set; then
   10935   enableval="$enable_nls"
   10936   USE_NLS=$enableval
   10937 else
   10938   USE_NLS=yes
   10939 fi;
   10940   echo "$as_me:$LINENO: result: $USE_NLS" >&5
   10941 echo "${ECHO_T}$USE_NLS" >&6
   10942 
   10943 
   10944 
   10945 
   10946 
   10947 
   10948 # Prepare PATH_SEPARATOR.
   10949 # The user is always right.
   10950 if test "${PATH_SEPARATOR+set}" != set; then
   10951   echo "#! /bin/sh" >conf$$.sh
   10952   echo  "exit 0"   >>conf$$.sh
   10953   chmod +x conf$$.sh
   10954   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   10955     PATH_SEPARATOR=';'
   10956   else
   10957     PATH_SEPARATOR=:
   10958   fi
   10959   rm -f conf$$.sh
   10960 fi
   10961 
   10962 # Find out how to test for executable files. Don't use a zero-byte file,
   10963 # as systems may use methods other than mode bits to determine executability.
   10964 cat >conf$$.file <<_ASEOF
   10965 #! /bin/sh
   10966 exit 0
   10967 _ASEOF
   10968 chmod +x conf$$.file
   10969 if test -x conf$$.file >/dev/null 2>&1; then
   10970   ac_executable_p="test -x"
   10971 else
   10972   ac_executable_p="test -f"
   10973 fi
   10974 rm -f conf$$.file
   10975 
   10976 # Extract the first word of "msgfmt", so it can be a program name with args.
   10977 set dummy msgfmt; ac_word=$2
   10978 echo "$as_me:$LINENO: checking for $ac_word" >&5
   10979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   10980 if test "${ac_cv_path_MSGFMT+set}" = set; then
   10981   echo $ECHO_N "(cached) $ECHO_C" >&6
   10982 else
   10983   case "$MSGFMT" in
   10984   [\\/]* | ?:[\\/]*)
   10985     ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
   10986     ;;
   10987   *)
   10988     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   10989     for ac_dir in $PATH; do
   10990       IFS="$ac_save_IFS"
   10991       test -z "$ac_dir" && ac_dir=.
   10992       for ac_exec_ext in '' $ac_executable_extensions; do
   10993         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   10994           if $ac_dir/$ac_word --statistics /dev/null >/dev/null 2>&1 &&
   10995      (if $ac_dir/$ac_word --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   10996             ac_cv_path_MSGFMT="$ac_dir/$ac_word$ac_exec_ext"
   10997             break 2
   10998           fi
   10999         fi
   11000       done
   11001     done
   11002     IFS="$ac_save_IFS"
   11003   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT=":"
   11004     ;;
   11005 esac
   11006 fi
   11007 MSGFMT="$ac_cv_path_MSGFMT"
   11008 if test "$MSGFMT" != ":"; then
   11009   echo "$as_me:$LINENO: result: $MSGFMT" >&5
   11010 echo "${ECHO_T}$MSGFMT" >&6
   11011 else
   11012   echo "$as_me:$LINENO: result: no" >&5
   11013 echo "${ECHO_T}no" >&6
   11014 fi
   11015 
   11016   # Extract the first word of "gmsgfmt", so it can be a program name with args.
   11017 set dummy gmsgfmt; ac_word=$2
   11018 echo "$as_me:$LINENO: checking for $ac_word" >&5
   11019 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   11020 if test "${ac_cv_path_GMSGFMT+set}" = set; then
   11021   echo $ECHO_N "(cached) $ECHO_C" >&6
   11022 else
   11023   case $GMSGFMT in
   11024   [\\/]* | ?:[\\/]*)
   11025   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
   11026   ;;
   11027   *)
   11028   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11029 for as_dir in $PATH
   11030 do
   11031   IFS=$as_save_IFS
   11032   test -z "$as_dir" && as_dir=.
   11033   for ac_exec_ext in '' $ac_executable_extensions; do
   11034   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11035     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
   11036     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11037     break 2
   11038   fi
   11039 done
   11040 done
   11041 
   11042   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
   11043   ;;
   11044 esac
   11045 fi
   11046 GMSGFMT=$ac_cv_path_GMSGFMT
   11047 
   11048 if test -n "$GMSGFMT"; then
   11049   echo "$as_me:$LINENO: result: $GMSGFMT" >&5
   11050 echo "${ECHO_T}$GMSGFMT" >&6
   11051 else
   11052   echo "$as_me:$LINENO: result: no" >&5
   11053 echo "${ECHO_T}no" >&6
   11054 fi
   11055 
   11056 
   11057 
   11058 # Prepare PATH_SEPARATOR.
   11059 # The user is always right.
   11060 if test "${PATH_SEPARATOR+set}" != set; then
   11061   echo "#! /bin/sh" >conf$$.sh
   11062   echo  "exit 0"   >>conf$$.sh
   11063   chmod +x conf$$.sh
   11064   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11065     PATH_SEPARATOR=';'
   11066   else
   11067     PATH_SEPARATOR=:
   11068   fi
   11069   rm -f conf$$.sh
   11070 fi
   11071 
   11072 # Find out how to test for executable files. Don't use a zero-byte file,
   11073 # as systems may use methods other than mode bits to determine executability.
   11074 cat >conf$$.file <<_ASEOF
   11075 #! /bin/sh
   11076 exit 0
   11077 _ASEOF
   11078 chmod +x conf$$.file
   11079 if test -x conf$$.file >/dev/null 2>&1; then
   11080   ac_executable_p="test -x"
   11081 else
   11082   ac_executable_p="test -f"
   11083 fi
   11084 rm -f conf$$.file
   11085 
   11086 # Extract the first word of "xgettext", so it can be a program name with args.
   11087 set dummy xgettext; ac_word=$2
   11088 echo "$as_me:$LINENO: checking for $ac_word" >&5
   11089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   11090 if test "${ac_cv_path_XGETTEXT+set}" = set; then
   11091   echo $ECHO_N "(cached) $ECHO_C" >&6
   11092 else
   11093   case "$XGETTEXT" in
   11094   [\\/]* | ?:[\\/]*)
   11095     ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
   11096     ;;
   11097   *)
   11098     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11099     for ac_dir in $PATH; do
   11100       IFS="$ac_save_IFS"
   11101       test -z "$ac_dir" && ac_dir=.
   11102       for ac_exec_ext in '' $ac_executable_extensions; do
   11103         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11104           if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   11105      (if $ac_dir/$ac_word --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11106             ac_cv_path_XGETTEXT="$ac_dir/$ac_word$ac_exec_ext"
   11107             break 2
   11108           fi
   11109         fi
   11110       done
   11111     done
   11112     IFS="$ac_save_IFS"
   11113   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
   11114     ;;
   11115 esac
   11116 fi
   11117 XGETTEXT="$ac_cv_path_XGETTEXT"
   11118 if test "$XGETTEXT" != ":"; then
   11119   echo "$as_me:$LINENO: result: $XGETTEXT" >&5
   11120 echo "${ECHO_T}$XGETTEXT" >&6
   11121 else
   11122   echo "$as_me:$LINENO: result: no" >&5
   11123 echo "${ECHO_T}no" >&6
   11124 fi
   11125 
   11126     rm -f messages.po
   11127 
   11128 
   11129 # Prepare PATH_SEPARATOR.
   11130 # The user is always right.
   11131 if test "${PATH_SEPARATOR+set}" != set; then
   11132   echo "#! /bin/sh" >conf$$.sh
   11133   echo  "exit 0"   >>conf$$.sh
   11134   chmod +x conf$$.sh
   11135   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   11136     PATH_SEPARATOR=';'
   11137   else
   11138     PATH_SEPARATOR=:
   11139   fi
   11140   rm -f conf$$.sh
   11141 fi
   11142 
   11143 # Find out how to test for executable files. Don't use a zero-byte file,
   11144 # as systems may use methods other than mode bits to determine executability.
   11145 cat >conf$$.file <<_ASEOF
   11146 #! /bin/sh
   11147 exit 0
   11148 _ASEOF
   11149 chmod +x conf$$.file
   11150 if test -x conf$$.file >/dev/null 2>&1; then
   11151   ac_executable_p="test -x"
   11152 else
   11153   ac_executable_p="test -f"
   11154 fi
   11155 rm -f conf$$.file
   11156 
   11157 # Extract the first word of "msgmerge", so it can be a program name with args.
   11158 set dummy msgmerge; ac_word=$2
   11159 echo "$as_me:$LINENO: checking for $ac_word" >&5
   11160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   11161 if test "${ac_cv_path_MSGMERGE+set}" = set; then
   11162   echo $ECHO_N "(cached) $ECHO_C" >&6
   11163 else
   11164   case "$MSGMERGE" in
   11165   [\\/]* | ?:[\\/]*)
   11166     ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
   11167     ;;
   11168   *)
   11169     ac_save_IFS="$IFS"; IFS=$PATH_SEPARATOR
   11170     for ac_dir in $PATH; do
   11171       IFS="$ac_save_IFS"
   11172       test -z "$ac_dir" && ac_dir=.
   11173       for ac_exec_ext in '' $ac_executable_extensions; do
   11174         if $ac_executable_p "$ac_dir/$ac_word$ac_exec_ext"; then
   11175           if $ac_dir/$ac_word --update -q /dev/null /dev/null >/dev/null 2>&1; then
   11176             ac_cv_path_MSGMERGE="$ac_dir/$ac_word$ac_exec_ext"
   11177             break 2
   11178           fi
   11179         fi
   11180       done
   11181     done
   11182     IFS="$ac_save_IFS"
   11183   test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE=":"
   11184     ;;
   11185 esac
   11186 fi
   11187 MSGMERGE="$ac_cv_path_MSGMERGE"
   11188 if test "$MSGMERGE" != ":"; then
   11189   echo "$as_me:$LINENO: result: $MSGMERGE" >&5
   11190 echo "${ECHO_T}$MSGMERGE" >&6
   11191 else
   11192   echo "$as_me:$LINENO: result: no" >&5
   11193 echo "${ECHO_T}no" >&6
   11194 fi
   11195 
   11196 
   11197       if test "$GMSGFMT" != ":"; then
   11198             if $GMSGFMT --statistics /dev/null >/dev/null 2>&1 &&
   11199        (if $GMSGFMT --statistics /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11200       : ;
   11201     else
   11202       GMSGFMT=`echo "$GMSGFMT" | sed -e 's,^.*/,,'`
   11203       echo "$as_me:$LINENO: result: found $GMSGFMT program is not GNU msgfmt; ignore it" >&5
   11204 echo "${ECHO_T}found $GMSGFMT program is not GNU msgfmt; ignore it" >&6
   11205       GMSGFMT=":"
   11206     fi
   11207   fi
   11208 
   11209       if test "$XGETTEXT" != ":"; then
   11210             if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null >/dev/null 2>&1 &&
   11211        (if $XGETTEXT --omit-header --copyright-holder= --msgid-bugs-address= /dev/null 2>&1 >/dev/null | grep usage >/dev/null; then exit 1; else exit 0; fi); then
   11212       : ;
   11213     else
   11214       echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
   11215 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6
   11216       XGETTEXT=":"
   11217     fi
   11218         rm -f messages.po
   11219   fi
   11220 
   11221             ac_config_commands="$ac_config_commands default-1"
   11222 
   11223 
   11224 
   11225 
   11226 
   11227 for ac_prog in 'bison -y' byacc
   11228 do
   11229   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11230 set dummy $ac_prog; ac_word=$2
   11231 echo "$as_me:$LINENO: checking for $ac_word" >&5
   11232 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   11233 if test "${ac_cv_prog_YACC+set}" = set; then
   11234   echo $ECHO_N "(cached) $ECHO_C" >&6
   11235 else
   11236   if test -n "$YACC"; then
   11237   ac_cv_prog_YACC="$YACC" # Let the user override the test.
   11238 else
   11239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11240 for as_dir in $PATH
   11241 do
   11242   IFS=$as_save_IFS
   11243   test -z "$as_dir" && as_dir=.
   11244   for ac_exec_ext in '' $ac_executable_extensions; do
   11245   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11246     ac_cv_prog_YACC="$ac_prog"
   11247     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11248     break 2
   11249   fi
   11250 done
   11251 done
   11252 
   11253 fi
   11254 fi
   11255 YACC=$ac_cv_prog_YACC
   11256 if test -n "$YACC"; then
   11257   echo "$as_me:$LINENO: result: $YACC" >&5
   11258 echo "${ECHO_T}$YACC" >&6
   11259 else
   11260   echo "$as_me:$LINENO: result: no" >&5
   11261 echo "${ECHO_T}no" >&6
   11262 fi
   11263 
   11264   test -n "$YACC" && break
   11265 done
   11266 test -n "$YACC" || YACC="yacc"
   11267 
   11268 for ac_prog in flex lex
   11269 do
   11270   # Extract the first word of "$ac_prog", so it can be a program name with args.
   11271 set dummy $ac_prog; ac_word=$2
   11272 echo "$as_me:$LINENO: checking for $ac_word" >&5
   11273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
   11274 if test "${ac_cv_prog_LEX+set}" = set; then
   11275   echo $ECHO_N "(cached) $ECHO_C" >&6
   11276 else
   11277   if test -n "$LEX"; then
   11278   ac_cv_prog_LEX="$LEX" # Let the user override the test.
   11279 else
   11280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   11281 for as_dir in $PATH
   11282 do
   11283   IFS=$as_save_IFS
   11284   test -z "$as_dir" && as_dir=.
   11285   for ac_exec_ext in '' $ac_executable_extensions; do
   11286   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
   11287     ac_cv_prog_LEX="$ac_prog"
   11288     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
   11289     break 2
   11290   fi
   11291 done
   11292 done
   11293 
   11294 fi
   11295 fi
   11296 LEX=$ac_cv_prog_LEX
   11297 if test -n "$LEX"; then
   11298   echo "$as_me:$LINENO: result: $LEX" >&5
   11299 echo "${ECHO_T}$LEX" >&6
   11300 else
   11301   echo "$as_me:$LINENO: result: no" >&5
   11302 echo "${ECHO_T}no" >&6
   11303 fi
   11304 
   11305   test -n "$LEX" && break
   11306 done
   11307 test -n "$LEX" || LEX=":"
   11308 
   11309 if test -z "$LEXLIB"
   11310 then
   11311   echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
   11312 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
   11313 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
   11314   echo $ECHO_N "(cached) $ECHO_C" >&6
   11315 else
   11316   ac_check_lib_save_LIBS=$LIBS
   11317 LIBS="-lfl  $LIBS"
   11318 cat >conftest.$ac_ext <<_ACEOF
   11319 /* confdefs.h.  */
   11320 _ACEOF
   11321 cat confdefs.h >>conftest.$ac_ext
   11322 cat >>conftest.$ac_ext <<_ACEOF
   11323 /* end confdefs.h.  */
   11324 
   11325 /* Override any gcc2 internal prototype to avoid an error.  */
   11326 #ifdef __cplusplus
   11327 extern "C"
   11328 #endif
   11329 /* We use char because int might match the return type of a gcc2
   11330    builtin and then its argument prototype would still apply.  */
   11331 char yywrap ();
   11332 int
   11333 main ()
   11334 {
   11335 yywrap ();
   11336   ;
   11337   return 0;
   11338 }
   11339 _ACEOF
   11340 rm -f conftest.$ac_objext conftest$ac_exeext
   11341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11342   (eval $ac_link) 2>conftest.er1
   11343   ac_status=$?
   11344   grep -v '^ *+' conftest.er1 >conftest.err
   11345   rm -f conftest.er1
   11346   cat conftest.err >&5
   11347   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11348   (exit $ac_status); } &&
   11349 	 { ac_try='test -z "$ac_c_werror_flag"
   11350 			 || test ! -s conftest.err'
   11351   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11352   (eval $ac_try) 2>&5
   11353   ac_status=$?
   11354   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11355   (exit $ac_status); }; } &&
   11356 	 { ac_try='test -s conftest$ac_exeext'
   11357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11358   (eval $ac_try) 2>&5
   11359   ac_status=$?
   11360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11361   (exit $ac_status); }; }; then
   11362   ac_cv_lib_fl_yywrap=yes
   11363 else
   11364   echo "$as_me: failed program was:" >&5
   11365 sed 's/^/| /' conftest.$ac_ext >&5
   11366 
   11367 ac_cv_lib_fl_yywrap=no
   11368 fi
   11369 rm -f conftest.err conftest.$ac_objext \
   11370       conftest$ac_exeext conftest.$ac_ext
   11371 LIBS=$ac_check_lib_save_LIBS
   11372 fi
   11373 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
   11374 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
   11375 if test $ac_cv_lib_fl_yywrap = yes; then
   11376   LEXLIB="-lfl"
   11377 else
   11378   echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
   11379 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
   11380 if test "${ac_cv_lib_l_yywrap+set}" = set; then
   11381   echo $ECHO_N "(cached) $ECHO_C" >&6
   11382 else
   11383   ac_check_lib_save_LIBS=$LIBS
   11384 LIBS="-ll  $LIBS"
   11385 cat >conftest.$ac_ext <<_ACEOF
   11386 /* confdefs.h.  */
   11387 _ACEOF
   11388 cat confdefs.h >>conftest.$ac_ext
   11389 cat >>conftest.$ac_ext <<_ACEOF
   11390 /* end confdefs.h.  */
   11391 
   11392 /* Override any gcc2 internal prototype to avoid an error.  */
   11393 #ifdef __cplusplus
   11394 extern "C"
   11395 #endif
   11396 /* We use char because int might match the return type of a gcc2
   11397    builtin and then its argument prototype would still apply.  */
   11398 char yywrap ();
   11399 int
   11400 main ()
   11401 {
   11402 yywrap ();
   11403   ;
   11404   return 0;
   11405 }
   11406 _ACEOF
   11407 rm -f conftest.$ac_objext conftest$ac_exeext
   11408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11409   (eval $ac_link) 2>conftest.er1
   11410   ac_status=$?
   11411   grep -v '^ *+' conftest.er1 >conftest.err
   11412   rm -f conftest.er1
   11413   cat conftest.err >&5
   11414   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11415   (exit $ac_status); } &&
   11416 	 { ac_try='test -z "$ac_c_werror_flag"
   11417 			 || test ! -s conftest.err'
   11418   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11419   (eval $ac_try) 2>&5
   11420   ac_status=$?
   11421   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11422   (exit $ac_status); }; } &&
   11423 	 { ac_try='test -s conftest$ac_exeext'
   11424   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11425   (eval $ac_try) 2>&5
   11426   ac_status=$?
   11427   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11428   (exit $ac_status); }; }; then
   11429   ac_cv_lib_l_yywrap=yes
   11430 else
   11431   echo "$as_me: failed program was:" >&5
   11432 sed 's/^/| /' conftest.$ac_ext >&5
   11433 
   11434 ac_cv_lib_l_yywrap=no
   11435 fi
   11436 rm -f conftest.err conftest.$ac_objext \
   11437       conftest$ac_exeext conftest.$ac_ext
   11438 LIBS=$ac_check_lib_save_LIBS
   11439 fi
   11440 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
   11441 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
   11442 if test $ac_cv_lib_l_yywrap = yes; then
   11443   LEXLIB="-ll"
   11444 fi
   11445 
   11446 fi
   11447 
   11448 fi
   11449 
   11450 if test "x$LEX" != "x:"; then
   11451   echo "$as_me:$LINENO: checking lex output file root" >&5
   11452 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
   11453 if test "${ac_cv_prog_lex_root+set}" = set; then
   11454   echo $ECHO_N "(cached) $ECHO_C" >&6
   11455 else
   11456   # The minimal lex program is just a single line: %%.  But some broken lexes
   11457 # (Solaris, I think it was) want two %% lines, so accommodate them.
   11458 cat >conftest.l <<_ACEOF
   11459 %%
   11460 %%
   11461 _ACEOF
   11462 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
   11463   (eval $LEX conftest.l) 2>&5
   11464   ac_status=$?
   11465   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11466   (exit $ac_status); }
   11467 if test -f lex.yy.c; then
   11468   ac_cv_prog_lex_root=lex.yy
   11469 elif test -f lexyy.c; then
   11470   ac_cv_prog_lex_root=lexyy
   11471 else
   11472   { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
   11473 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
   11474    { (exit 1); exit 1; }; }
   11475 fi
   11476 fi
   11477 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
   11478 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
   11479 rm -f conftest.l
   11480 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
   11481 
   11482 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
   11483 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
   11484 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
   11485   echo $ECHO_N "(cached) $ECHO_C" >&6
   11486 else
   11487   # POSIX says lex can declare yytext either as a pointer or an array; the
   11488 # default is implementation-dependent. Figure out which it is, since
   11489 # not all implementations provide the %pointer and %array declarations.
   11490 ac_cv_prog_lex_yytext_pointer=no
   11491 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
   11492 ac_save_LIBS=$LIBS
   11493 LIBS="$LIBS $LEXLIB"
   11494 cat >conftest.$ac_ext <<_ACEOF
   11495 `cat $LEX_OUTPUT_ROOT.c`
   11496 _ACEOF
   11497 rm -f conftest.$ac_objext conftest$ac_exeext
   11498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11499   (eval $ac_link) 2>conftest.er1
   11500   ac_status=$?
   11501   grep -v '^ *+' conftest.er1 >conftest.err
   11502   rm -f conftest.er1
   11503   cat conftest.err >&5
   11504   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11505   (exit $ac_status); } &&
   11506 	 { ac_try='test -z "$ac_c_werror_flag"
   11507 			 || test ! -s conftest.err'
   11508   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11509   (eval $ac_try) 2>&5
   11510   ac_status=$?
   11511   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11512   (exit $ac_status); }; } &&
   11513 	 { ac_try='test -s conftest$ac_exeext'
   11514   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11515   (eval $ac_try) 2>&5
   11516   ac_status=$?
   11517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11518   (exit $ac_status); }; }; then
   11519   ac_cv_prog_lex_yytext_pointer=yes
   11520 else
   11521   echo "$as_me: failed program was:" >&5
   11522 sed 's/^/| /' conftest.$ac_ext >&5
   11523 
   11524 fi
   11525 rm -f conftest.err conftest.$ac_objext \
   11526       conftest$ac_exeext conftest.$ac_ext
   11527 LIBS=$ac_save_LIBS
   11528 rm -f "${LEX_OUTPUT_ROOT}.c"
   11529 
   11530 fi
   11531 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
   11532 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
   11533 if test $ac_cv_prog_lex_yytext_pointer = yes; then
   11534 
   11535 cat >>confdefs.h <<\_ACEOF
   11536 #define YYTEXT_POINTER 1
   11537 _ACEOF
   11538 
   11539 fi
   11540 
   11541 fi
   11542 if test "$LEX" = :; then
   11543   LEX=${am_missing_run}flex
   11544 fi
   11545 
   11546 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
   11547 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
   11548     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
   11549 if test "${enable_maintainer_mode+set}" = set; then
   11550   enableval="$enable_maintainer_mode"
   11551   USE_MAINTAINER_MODE=$enableval
   11552 else
   11553   USE_MAINTAINER_MODE=no
   11554 fi;
   11555   echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
   11556 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
   11557 
   11558 
   11559 if test $USE_MAINTAINER_MODE = yes; then
   11560   MAINTAINER_MODE_TRUE=
   11561   MAINTAINER_MODE_FALSE='#'
   11562 else
   11563   MAINTAINER_MODE_TRUE='#'
   11564   MAINTAINER_MODE_FALSE=
   11565 fi
   11566 
   11567   MAINT=$MAINTAINER_MODE_TRUE
   11568 
   11569 
   11570 
   11571 
   11572 if false; then
   11573   GENINSRC_NEVER_TRUE=
   11574   GENINSRC_NEVER_FALSE='#'
   11575 else
   11576   GENINSRC_NEVER_TRUE='#'
   11577   GENINSRC_NEVER_FALSE=
   11578 fi
   11579 
   11580 
   11581 . ${srcdir}/configure.host
   11582 
   11583 
   11584 
   11585 
   11586 
   11587 
   11588 
   11589 
   11590 
   11591 
   11592 
   11593 
   11594 
   11595 for ac_header in string.h strings.h stdlib.h unistd.h elf-hints.h limits.h sys/param.h
   11596 do
   11597 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   11598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   11599   echo "$as_me:$LINENO: checking for $ac_header" >&5
   11600 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   11601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   11602   echo $ECHO_N "(cached) $ECHO_C" >&6
   11603 fi
   11604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   11605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   11606 else
   11607   # Is the header compilable?
   11608 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   11609 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   11610 cat >conftest.$ac_ext <<_ACEOF
   11611 /* confdefs.h.  */
   11612 _ACEOF
   11613 cat confdefs.h >>conftest.$ac_ext
   11614 cat >>conftest.$ac_ext <<_ACEOF
   11615 /* end confdefs.h.  */
   11616 $ac_includes_default
   11617 #include <$ac_header>
   11618 _ACEOF
   11619 rm -f conftest.$ac_objext
   11620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11621   (eval $ac_compile) 2>conftest.er1
   11622   ac_status=$?
   11623   grep -v '^ *+' conftest.er1 >conftest.err
   11624   rm -f conftest.er1
   11625   cat conftest.err >&5
   11626   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11627   (exit $ac_status); } &&
   11628 	 { ac_try='test -z "$ac_c_werror_flag"
   11629 			 || test ! -s conftest.err'
   11630   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11631   (eval $ac_try) 2>&5
   11632   ac_status=$?
   11633   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11634   (exit $ac_status); }; } &&
   11635 	 { ac_try='test -s conftest.$ac_objext'
   11636   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11637   (eval $ac_try) 2>&5
   11638   ac_status=$?
   11639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11640   (exit $ac_status); }; }; then
   11641   ac_header_compiler=yes
   11642 else
   11643   echo "$as_me: failed program was:" >&5
   11644 sed 's/^/| /' conftest.$ac_ext >&5
   11645 
   11646 ac_header_compiler=no
   11647 fi
   11648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11649 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   11650 echo "${ECHO_T}$ac_header_compiler" >&6
   11651 
   11652 # Is the header present?
   11653 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   11654 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   11655 cat >conftest.$ac_ext <<_ACEOF
   11656 /* confdefs.h.  */
   11657 _ACEOF
   11658 cat confdefs.h >>conftest.$ac_ext
   11659 cat >>conftest.$ac_ext <<_ACEOF
   11660 /* end confdefs.h.  */
   11661 #include <$ac_header>
   11662 _ACEOF
   11663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   11664   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   11665   ac_status=$?
   11666   grep -v '^ *+' conftest.er1 >conftest.err
   11667   rm -f conftest.er1
   11668   cat conftest.err >&5
   11669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11670   (exit $ac_status); } >/dev/null; then
   11671   if test -s conftest.err; then
   11672     ac_cpp_err=$ac_c_preproc_warn_flag
   11673     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   11674   else
   11675     ac_cpp_err=
   11676   fi
   11677 else
   11678   ac_cpp_err=yes
   11679 fi
   11680 if test -z "$ac_cpp_err"; then
   11681   ac_header_preproc=yes
   11682 else
   11683   echo "$as_me: failed program was:" >&5
   11684 sed 's/^/| /' conftest.$ac_ext >&5
   11685 
   11686   ac_header_preproc=no
   11687 fi
   11688 rm -f conftest.err conftest.$ac_ext
   11689 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   11690 echo "${ECHO_T}$ac_header_preproc" >&6
   11691 
   11692 # So?  What about this header?
   11693 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   11694   yes:no: )
   11695     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   11696 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   11697     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   11698 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   11699     ac_header_preproc=yes
   11700     ;;
   11701   no:yes:* )
   11702     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   11703 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   11704     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   11705 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   11706     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   11707 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   11708     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   11709 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   11710     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   11711 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   11712     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   11713 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   11714     (
   11715       cat <<\_ASBOX
   11716 ## ------------------------------------------ ##
   11717 ## Report this to the AC_PACKAGE_NAME lists.  ##
   11718 ## ------------------------------------------ ##
   11719 _ASBOX
   11720     ) |
   11721       sed "s/^/$as_me: WARNING:     /" >&2
   11722     ;;
   11723 esac
   11724 echo "$as_me:$LINENO: checking for $ac_header" >&5
   11725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   11726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   11727   echo $ECHO_N "(cached) $ECHO_C" >&6
   11728 else
   11729   eval "$as_ac_Header=\$ac_header_preproc"
   11730 fi
   11731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   11732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   11733 
   11734 fi
   11735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   11736   cat >>confdefs.h <<_ACEOF
   11737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   11738 _ACEOF
   11739 
   11740 fi
   11741 
   11742 done
   11743 
   11744 
   11745 
   11746 
   11747 
   11748 
   11749 for ac_func in glob mkstemp realpath sbrk waitpid
   11750 do
   11751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
   11752 echo "$as_me:$LINENO: checking for $ac_func" >&5
   11753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
   11754 if eval "test \"\${$as_ac_var+set}\" = set"; then
   11755   echo $ECHO_N "(cached) $ECHO_C" >&6
   11756 else
   11757   cat >conftest.$ac_ext <<_ACEOF
   11758 /* confdefs.h.  */
   11759 _ACEOF
   11760 cat confdefs.h >>conftest.$ac_ext
   11761 cat >>conftest.$ac_ext <<_ACEOF
   11762 /* end confdefs.h.  */
   11763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
   11764    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
   11765 #define $ac_func innocuous_$ac_func
   11766 
   11767 /* System header to define __stub macros and hopefully few prototypes,
   11768     which can conflict with char $ac_func (); below.
   11769     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
   11770     <limits.h> exists even on freestanding compilers.  */
   11771 
   11772 #ifdef __STDC__
   11773 # include <limits.h>
   11774 #else
   11775 # include <assert.h>
   11776 #endif
   11777 
   11778 #undef $ac_func
   11779 
   11780 /* Override any gcc2 internal prototype to avoid an error.  */
   11781 #ifdef __cplusplus
   11782 extern "C"
   11783 {
   11784 #endif
   11785 /* We use char because int might match the return type of a gcc2
   11786    builtin and then its argument prototype would still apply.  */
   11787 char $ac_func ();
   11788 /* The GNU C library defines this for functions which it implements
   11789     to always fail with ENOSYS.  Some functions are actually named
   11790     something starting with __ and the normal name is an alias.  */
   11791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
   11792 choke me
   11793 #else
   11794 char (*f) () = $ac_func;
   11795 #endif
   11796 #ifdef __cplusplus
   11797 }
   11798 #endif
   11799 
   11800 int
   11801 main ()
   11802 {
   11803 return f != $ac_func;
   11804   ;
   11805   return 0;
   11806 }
   11807 _ACEOF
   11808 rm -f conftest.$ac_objext conftest$ac_exeext
   11809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11810   (eval $ac_link) 2>conftest.er1
   11811   ac_status=$?
   11812   grep -v '^ *+' conftest.er1 >conftest.err
   11813   rm -f conftest.er1
   11814   cat conftest.err >&5
   11815   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11816   (exit $ac_status); } &&
   11817 	 { ac_try='test -z "$ac_c_werror_flag"
   11818 			 || test ! -s conftest.err'
   11819   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11820   (eval $ac_try) 2>&5
   11821   ac_status=$?
   11822   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11823   (exit $ac_status); }; } &&
   11824 	 { ac_try='test -s conftest$ac_exeext'
   11825   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11826   (eval $ac_try) 2>&5
   11827   ac_status=$?
   11828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11829   (exit $ac_status); }; }; then
   11830   eval "$as_ac_var=yes"
   11831 else
   11832   echo "$as_me: failed program was:" >&5
   11833 sed 's/^/| /' conftest.$ac_ext >&5
   11834 
   11835 eval "$as_ac_var=no"
   11836 fi
   11837 rm -f conftest.err conftest.$ac_objext \
   11838       conftest$ac_exeext conftest.$ac_ext
   11839 fi
   11840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
   11841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
   11842 if test `eval echo '${'$as_ac_var'}'` = yes; then
   11843   cat >>confdefs.h <<_ACEOF
   11844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
   11845 _ACEOF
   11846 
   11847 fi
   11848 done
   11849 
   11850 
   11851 
   11852 
   11853 
   11854 
   11855 ac_header_dirent=no
   11856 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
   11857   as_ac_Header=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
   11858 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
   11859 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
   11860 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   11861   echo $ECHO_N "(cached) $ECHO_C" >&6
   11862 else
   11863   cat >conftest.$ac_ext <<_ACEOF
   11864 /* confdefs.h.  */
   11865 _ACEOF
   11866 cat confdefs.h >>conftest.$ac_ext
   11867 cat >>conftest.$ac_ext <<_ACEOF
   11868 /* end confdefs.h.  */
   11869 #include <sys/types.h>
   11870 #include <$ac_hdr>
   11871 
   11872 int
   11873 main ()
   11874 {
   11875 if ((DIR *) 0)
   11876 return 0;
   11877   ;
   11878   return 0;
   11879 }
   11880 _ACEOF
   11881 rm -f conftest.$ac_objext
   11882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   11883   (eval $ac_compile) 2>conftest.er1
   11884   ac_status=$?
   11885   grep -v '^ *+' conftest.er1 >conftest.err
   11886   rm -f conftest.er1
   11887   cat conftest.err >&5
   11888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11889   (exit $ac_status); } &&
   11890 	 { ac_try='test -z "$ac_c_werror_flag"
   11891 			 || test ! -s conftest.err'
   11892   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11893   (eval $ac_try) 2>&5
   11894   ac_status=$?
   11895   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11896   (exit $ac_status); }; } &&
   11897 	 { ac_try='test -s conftest.$ac_objext'
   11898   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11899   (eval $ac_try) 2>&5
   11900   ac_status=$?
   11901   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11902   (exit $ac_status); }; }; then
   11903   eval "$as_ac_Header=yes"
   11904 else
   11905   echo "$as_me: failed program was:" >&5
   11906 sed 's/^/| /' conftest.$ac_ext >&5
   11907 
   11908 eval "$as_ac_Header=no"
   11909 fi
   11910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   11911 fi
   11912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   11913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   11914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   11915   cat >>confdefs.h <<_ACEOF
   11916 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
   11917 _ACEOF
   11918 
   11919 ac_header_dirent=$ac_hdr; break
   11920 fi
   11921 
   11922 done
   11923 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
   11924 if test $ac_header_dirent = dirent.h; then
   11925   echo "$as_me:$LINENO: checking for library containing opendir" >&5
   11926 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
   11927 if test "${ac_cv_search_opendir+set}" = set; then
   11928   echo $ECHO_N "(cached) $ECHO_C" >&6
   11929 else
   11930   ac_func_search_save_LIBS=$LIBS
   11931 ac_cv_search_opendir=no
   11932 cat >conftest.$ac_ext <<_ACEOF
   11933 /* confdefs.h.  */
   11934 _ACEOF
   11935 cat confdefs.h >>conftest.$ac_ext
   11936 cat >>conftest.$ac_ext <<_ACEOF
   11937 /* end confdefs.h.  */
   11938 
   11939 /* Override any gcc2 internal prototype to avoid an error.  */
   11940 #ifdef __cplusplus
   11941 extern "C"
   11942 #endif
   11943 /* We use char because int might match the return type of a gcc2
   11944    builtin and then its argument prototype would still apply.  */
   11945 char opendir ();
   11946 int
   11947 main ()
   11948 {
   11949 opendir ();
   11950   ;
   11951   return 0;
   11952 }
   11953 _ACEOF
   11954 rm -f conftest.$ac_objext conftest$ac_exeext
   11955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   11956   (eval $ac_link) 2>conftest.er1
   11957   ac_status=$?
   11958   grep -v '^ *+' conftest.er1 >conftest.err
   11959   rm -f conftest.er1
   11960   cat conftest.err >&5
   11961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11962   (exit $ac_status); } &&
   11963 	 { ac_try='test -z "$ac_c_werror_flag"
   11964 			 || test ! -s conftest.err'
   11965   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11966   (eval $ac_try) 2>&5
   11967   ac_status=$?
   11968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11969   (exit $ac_status); }; } &&
   11970 	 { ac_try='test -s conftest$ac_exeext'
   11971   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   11972   (eval $ac_try) 2>&5
   11973   ac_status=$?
   11974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   11975   (exit $ac_status); }; }; then
   11976   ac_cv_search_opendir="none required"
   11977 else
   11978   echo "$as_me: failed program was:" >&5
   11979 sed 's/^/| /' conftest.$ac_ext >&5
   11980 
   11981 fi
   11982 rm -f conftest.err conftest.$ac_objext \
   11983       conftest$ac_exeext conftest.$ac_ext
   11984 if test "$ac_cv_search_opendir" = no; then
   11985   for ac_lib in dir; do
   11986     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   11987     cat >conftest.$ac_ext <<_ACEOF
   11988 /* confdefs.h.  */
   11989 _ACEOF
   11990 cat confdefs.h >>conftest.$ac_ext
   11991 cat >>conftest.$ac_ext <<_ACEOF
   11992 /* end confdefs.h.  */
   11993 
   11994 /* Override any gcc2 internal prototype to avoid an error.  */
   11995 #ifdef __cplusplus
   11996 extern "C"
   11997 #endif
   11998 /* We use char because int might match the return type of a gcc2
   11999    builtin and then its argument prototype would still apply.  */
   12000 char opendir ();
   12001 int
   12002 main ()
   12003 {
   12004 opendir ();
   12005   ;
   12006   return 0;
   12007 }
   12008 _ACEOF
   12009 rm -f conftest.$ac_objext conftest$ac_exeext
   12010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12011   (eval $ac_link) 2>conftest.er1
   12012   ac_status=$?
   12013   grep -v '^ *+' conftest.er1 >conftest.err
   12014   rm -f conftest.er1
   12015   cat conftest.err >&5
   12016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12017   (exit $ac_status); } &&
   12018 	 { ac_try='test -z "$ac_c_werror_flag"
   12019 			 || test ! -s conftest.err'
   12020   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12021   (eval $ac_try) 2>&5
   12022   ac_status=$?
   12023   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12024   (exit $ac_status); }; } &&
   12025 	 { ac_try='test -s conftest$ac_exeext'
   12026   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12027   (eval $ac_try) 2>&5
   12028   ac_status=$?
   12029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12030   (exit $ac_status); }; }; then
   12031   ac_cv_search_opendir="-l$ac_lib"
   12032 break
   12033 else
   12034   echo "$as_me: failed program was:" >&5
   12035 sed 's/^/| /' conftest.$ac_ext >&5
   12036 
   12037 fi
   12038 rm -f conftest.err conftest.$ac_objext \
   12039       conftest$ac_exeext conftest.$ac_ext
   12040   done
   12041 fi
   12042 LIBS=$ac_func_search_save_LIBS
   12043 fi
   12044 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   12045 echo "${ECHO_T}$ac_cv_search_opendir" >&6
   12046 if test "$ac_cv_search_opendir" != no; then
   12047   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
   12048 
   12049 fi
   12050 
   12051 else
   12052   echo "$as_me:$LINENO: checking for library containing opendir" >&5
   12053 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
   12054 if test "${ac_cv_search_opendir+set}" = set; then
   12055   echo $ECHO_N "(cached) $ECHO_C" >&6
   12056 else
   12057   ac_func_search_save_LIBS=$LIBS
   12058 ac_cv_search_opendir=no
   12059 cat >conftest.$ac_ext <<_ACEOF
   12060 /* confdefs.h.  */
   12061 _ACEOF
   12062 cat confdefs.h >>conftest.$ac_ext
   12063 cat >>conftest.$ac_ext <<_ACEOF
   12064 /* end confdefs.h.  */
   12065 
   12066 /* Override any gcc2 internal prototype to avoid an error.  */
   12067 #ifdef __cplusplus
   12068 extern "C"
   12069 #endif
   12070 /* We use char because int might match the return type of a gcc2
   12071    builtin and then its argument prototype would still apply.  */
   12072 char opendir ();
   12073 int
   12074 main ()
   12075 {
   12076 opendir ();
   12077   ;
   12078   return 0;
   12079 }
   12080 _ACEOF
   12081 rm -f conftest.$ac_objext conftest$ac_exeext
   12082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12083   (eval $ac_link) 2>conftest.er1
   12084   ac_status=$?
   12085   grep -v '^ *+' conftest.er1 >conftest.err
   12086   rm -f conftest.er1
   12087   cat conftest.err >&5
   12088   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12089   (exit $ac_status); } &&
   12090 	 { ac_try='test -z "$ac_c_werror_flag"
   12091 			 || test ! -s conftest.err'
   12092   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12093   (eval $ac_try) 2>&5
   12094   ac_status=$?
   12095   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12096   (exit $ac_status); }; } &&
   12097 	 { ac_try='test -s conftest$ac_exeext'
   12098   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12099   (eval $ac_try) 2>&5
   12100   ac_status=$?
   12101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12102   (exit $ac_status); }; }; then
   12103   ac_cv_search_opendir="none required"
   12104 else
   12105   echo "$as_me: failed program was:" >&5
   12106 sed 's/^/| /' conftest.$ac_ext >&5
   12107 
   12108 fi
   12109 rm -f conftest.err conftest.$ac_objext \
   12110       conftest$ac_exeext conftest.$ac_ext
   12111 if test "$ac_cv_search_opendir" = no; then
   12112   for ac_lib in x; do
   12113     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12114     cat >conftest.$ac_ext <<_ACEOF
   12115 /* confdefs.h.  */
   12116 _ACEOF
   12117 cat confdefs.h >>conftest.$ac_ext
   12118 cat >>conftest.$ac_ext <<_ACEOF
   12119 /* end confdefs.h.  */
   12120 
   12121 /* Override any gcc2 internal prototype to avoid an error.  */
   12122 #ifdef __cplusplus
   12123 extern "C"
   12124 #endif
   12125 /* We use char because int might match the return type of a gcc2
   12126    builtin and then its argument prototype would still apply.  */
   12127 char opendir ();
   12128 int
   12129 main ()
   12130 {
   12131 opendir ();
   12132   ;
   12133   return 0;
   12134 }
   12135 _ACEOF
   12136 rm -f conftest.$ac_objext conftest$ac_exeext
   12137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12138   (eval $ac_link) 2>conftest.er1
   12139   ac_status=$?
   12140   grep -v '^ *+' conftest.er1 >conftest.err
   12141   rm -f conftest.er1
   12142   cat conftest.err >&5
   12143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12144   (exit $ac_status); } &&
   12145 	 { ac_try='test -z "$ac_c_werror_flag"
   12146 			 || test ! -s conftest.err'
   12147   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12148   (eval $ac_try) 2>&5
   12149   ac_status=$?
   12150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12151   (exit $ac_status); }; } &&
   12152 	 { ac_try='test -s conftest$ac_exeext'
   12153   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12154   (eval $ac_try) 2>&5
   12155   ac_status=$?
   12156   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12157   (exit $ac_status); }; }; then
   12158   ac_cv_search_opendir="-l$ac_lib"
   12159 break
   12160 else
   12161   echo "$as_me: failed program was:" >&5
   12162 sed 's/^/| /' conftest.$ac_ext >&5
   12163 
   12164 fi
   12165 rm -f conftest.err conftest.$ac_objext \
   12166       conftest$ac_exeext conftest.$ac_ext
   12167   done
   12168 fi
   12169 LIBS=$ac_func_search_save_LIBS
   12170 fi
   12171 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
   12172 echo "${ECHO_T}$ac_cv_search_opendir" >&6
   12173 if test "$ac_cv_search_opendir" != no; then
   12174   test "$ac_cv_search_opendir" = "none required" || LIBS="$ac_cv_search_opendir $LIBS"
   12175 
   12176 fi
   12177 
   12178 fi
   12179 
   12180 
   12181 echo "$as_me:$LINENO: checking for a known getopt prototype in unistd.h" >&5
   12182 echo $ECHO_N "checking for a known getopt prototype in unistd.h... $ECHO_C" >&6
   12183 if test "${ld_cv_decl_getopt_unistd_h+set}" = set; then
   12184   echo $ECHO_N "(cached) $ECHO_C" >&6
   12185 else
   12186   cat >conftest.$ac_ext <<_ACEOF
   12187 /* confdefs.h.  */
   12188 _ACEOF
   12189 cat confdefs.h >>conftest.$ac_ext
   12190 cat >>conftest.$ac_ext <<_ACEOF
   12191 /* end confdefs.h.  */
   12192 #include <unistd.h>
   12193 int
   12194 main ()
   12195 {
   12196 extern int getopt (int, char *const*, const char *);
   12197   ;
   12198   return 0;
   12199 }
   12200 _ACEOF
   12201 rm -f conftest.$ac_objext
   12202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12203   (eval $ac_compile) 2>conftest.er1
   12204   ac_status=$?
   12205   grep -v '^ *+' conftest.er1 >conftest.err
   12206   rm -f conftest.er1
   12207   cat conftest.err >&5
   12208   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12209   (exit $ac_status); } &&
   12210 	 { ac_try='test -z "$ac_c_werror_flag"
   12211 			 || test ! -s conftest.err'
   12212   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12213   (eval $ac_try) 2>&5
   12214   ac_status=$?
   12215   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12216   (exit $ac_status); }; } &&
   12217 	 { ac_try='test -s conftest.$ac_objext'
   12218   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12219   (eval $ac_try) 2>&5
   12220   ac_status=$?
   12221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12222   (exit $ac_status); }; }; then
   12223   ld_cv_decl_getopt_unistd_h=yes
   12224 else
   12225   echo "$as_me: failed program was:" >&5
   12226 sed 's/^/| /' conftest.$ac_ext >&5
   12227 
   12228 ld_cv_decl_getopt_unistd_h=no
   12229 fi
   12230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   12231 fi
   12232 
   12233 echo "$as_me:$LINENO: result: $ld_cv_decl_getopt_unistd_h" >&5
   12234 echo "${ECHO_T}$ld_cv_decl_getopt_unistd_h" >&6
   12235 if test $ld_cv_decl_getopt_unistd_h = yes; then
   12236 
   12237 cat >>confdefs.h <<\_ACEOF
   12238 #define HAVE_DECL_GETOPT 1
   12239 _ACEOF
   12240 
   12241 fi
   12242 
   12243 
   12244 case "${host}" in
   12245 *-*-msdos* | *-*-go32* | *-*-mingw32* | *-*-cygwin* | *-*-windows*)
   12246 
   12247 cat >>confdefs.h <<\_ACEOF
   12248 #define USE_BINARY_FOPEN 1
   12249 _ACEOF
   12250  ;;
   12251 esac
   12252 
   12253 echo "$as_me:$LINENO: checking whether strstr is declared" >&5
   12254 echo $ECHO_N "checking whether strstr is declared... $ECHO_C" >&6
   12255 if test "${ac_cv_have_decl_strstr+set}" = set; then
   12256   echo $ECHO_N "(cached) $ECHO_C" >&6
   12257 else
   12258   cat >conftest.$ac_ext <<_ACEOF
   12259 /* confdefs.h.  */
   12260 _ACEOF
   12261 cat confdefs.h >>conftest.$ac_ext
   12262 cat >>conftest.$ac_ext <<_ACEOF
   12263 /* end confdefs.h.  */
   12264 $ac_includes_default
   12265 int
   12266 main ()
   12267 {
   12268 #ifndef strstr
   12269   char *p = (char *) strstr;
   12270 #endif
   12271 
   12272   ;
   12273   return 0;
   12274 }
   12275 _ACEOF
   12276 rm -f conftest.$ac_objext
   12277 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12278   (eval $ac_compile) 2>conftest.er1
   12279   ac_status=$?
   12280   grep -v '^ *+' conftest.er1 >conftest.err
   12281   rm -f conftest.er1
   12282   cat conftest.err >&5
   12283   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12284   (exit $ac_status); } &&
   12285 	 { ac_try='test -z "$ac_c_werror_flag"
   12286 			 || test ! -s conftest.err'
   12287   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12288   (eval $ac_try) 2>&5
   12289   ac_status=$?
   12290   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12291   (exit $ac_status); }; } &&
   12292 	 { ac_try='test -s conftest.$ac_objext'
   12293   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12294   (eval $ac_try) 2>&5
   12295   ac_status=$?
   12296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12297   (exit $ac_status); }; }; then
   12298   ac_cv_have_decl_strstr=yes
   12299 else
   12300   echo "$as_me: failed program was:" >&5
   12301 sed 's/^/| /' conftest.$ac_ext >&5
   12302 
   12303 ac_cv_have_decl_strstr=no
   12304 fi
   12305 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   12306 fi
   12307 echo "$as_me:$LINENO: result: $ac_cv_have_decl_strstr" >&5
   12308 echo "${ECHO_T}$ac_cv_have_decl_strstr" >&6
   12309 if test $ac_cv_have_decl_strstr = yes; then
   12310 
   12311 cat >>confdefs.h <<_ACEOF
   12312 #define HAVE_DECL_STRSTR 1
   12313 _ACEOF
   12314 
   12315 
   12316 else
   12317   cat >>confdefs.h <<_ACEOF
   12318 #define HAVE_DECL_STRSTR 0
   12319 _ACEOF
   12320 
   12321 
   12322 fi
   12323 echo "$as_me:$LINENO: checking whether free is declared" >&5
   12324 echo $ECHO_N "checking whether free is declared... $ECHO_C" >&6
   12325 if test "${ac_cv_have_decl_free+set}" = set; then
   12326   echo $ECHO_N "(cached) $ECHO_C" >&6
   12327 else
   12328   cat >conftest.$ac_ext <<_ACEOF
   12329 /* confdefs.h.  */
   12330 _ACEOF
   12331 cat confdefs.h >>conftest.$ac_ext
   12332 cat >>conftest.$ac_ext <<_ACEOF
   12333 /* end confdefs.h.  */
   12334 $ac_includes_default
   12335 int
   12336 main ()
   12337 {
   12338 #ifndef free
   12339   char *p = (char *) free;
   12340 #endif
   12341 
   12342   ;
   12343   return 0;
   12344 }
   12345 _ACEOF
   12346 rm -f conftest.$ac_objext
   12347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12348   (eval $ac_compile) 2>conftest.er1
   12349   ac_status=$?
   12350   grep -v '^ *+' conftest.er1 >conftest.err
   12351   rm -f conftest.er1
   12352   cat conftest.err >&5
   12353   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12354   (exit $ac_status); } &&
   12355 	 { ac_try='test -z "$ac_c_werror_flag"
   12356 			 || test ! -s conftest.err'
   12357   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12358   (eval $ac_try) 2>&5
   12359   ac_status=$?
   12360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12361   (exit $ac_status); }; } &&
   12362 	 { ac_try='test -s conftest.$ac_objext'
   12363   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12364   (eval $ac_try) 2>&5
   12365   ac_status=$?
   12366   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12367   (exit $ac_status); }; }; then
   12368   ac_cv_have_decl_free=yes
   12369 else
   12370   echo "$as_me: failed program was:" >&5
   12371 sed 's/^/| /' conftest.$ac_ext >&5
   12372 
   12373 ac_cv_have_decl_free=no
   12374 fi
   12375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   12376 fi
   12377 echo "$as_me:$LINENO: result: $ac_cv_have_decl_free" >&5
   12378 echo "${ECHO_T}$ac_cv_have_decl_free" >&6
   12379 if test $ac_cv_have_decl_free = yes; then
   12380 
   12381 cat >>confdefs.h <<_ACEOF
   12382 #define HAVE_DECL_FREE 1
   12383 _ACEOF
   12384 
   12385 
   12386 else
   12387   cat >>confdefs.h <<_ACEOF
   12388 #define HAVE_DECL_FREE 0
   12389 _ACEOF
   12390 
   12391 
   12392 fi
   12393 echo "$as_me:$LINENO: checking whether sbrk is declared" >&5
   12394 echo $ECHO_N "checking whether sbrk is declared... $ECHO_C" >&6
   12395 if test "${ac_cv_have_decl_sbrk+set}" = set; then
   12396   echo $ECHO_N "(cached) $ECHO_C" >&6
   12397 else
   12398   cat >conftest.$ac_ext <<_ACEOF
   12399 /* confdefs.h.  */
   12400 _ACEOF
   12401 cat confdefs.h >>conftest.$ac_ext
   12402 cat >>conftest.$ac_ext <<_ACEOF
   12403 /* end confdefs.h.  */
   12404 $ac_includes_default
   12405 int
   12406 main ()
   12407 {
   12408 #ifndef sbrk
   12409   char *p = (char *) sbrk;
   12410 #endif
   12411 
   12412   ;
   12413   return 0;
   12414 }
   12415 _ACEOF
   12416 rm -f conftest.$ac_objext
   12417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12418   (eval $ac_compile) 2>conftest.er1
   12419   ac_status=$?
   12420   grep -v '^ *+' conftest.er1 >conftest.err
   12421   rm -f conftest.er1
   12422   cat conftest.err >&5
   12423   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12424   (exit $ac_status); } &&
   12425 	 { ac_try='test -z "$ac_c_werror_flag"
   12426 			 || test ! -s conftest.err'
   12427   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12428   (eval $ac_try) 2>&5
   12429   ac_status=$?
   12430   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12431   (exit $ac_status); }; } &&
   12432 	 { ac_try='test -s conftest.$ac_objext'
   12433   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12434   (eval $ac_try) 2>&5
   12435   ac_status=$?
   12436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12437   (exit $ac_status); }; }; then
   12438   ac_cv_have_decl_sbrk=yes
   12439 else
   12440   echo "$as_me: failed program was:" >&5
   12441 sed 's/^/| /' conftest.$ac_ext >&5
   12442 
   12443 ac_cv_have_decl_sbrk=no
   12444 fi
   12445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   12446 fi
   12447 echo "$as_me:$LINENO: result: $ac_cv_have_decl_sbrk" >&5
   12448 echo "${ECHO_T}$ac_cv_have_decl_sbrk" >&6
   12449 if test $ac_cv_have_decl_sbrk = yes; then
   12450 
   12451 cat >>confdefs.h <<_ACEOF
   12452 #define HAVE_DECL_SBRK 1
   12453 _ACEOF
   12454 
   12455 
   12456 else
   12457   cat >>confdefs.h <<_ACEOF
   12458 #define HAVE_DECL_SBRK 0
   12459 _ACEOF
   12460 
   12461 
   12462 fi
   12463 echo "$as_me:$LINENO: checking whether getenv is declared" >&5
   12464 echo $ECHO_N "checking whether getenv is declared... $ECHO_C" >&6
   12465 if test "${ac_cv_have_decl_getenv+set}" = set; then
   12466   echo $ECHO_N "(cached) $ECHO_C" >&6
   12467 else
   12468   cat >conftest.$ac_ext <<_ACEOF
   12469 /* confdefs.h.  */
   12470 _ACEOF
   12471 cat confdefs.h >>conftest.$ac_ext
   12472 cat >>conftest.$ac_ext <<_ACEOF
   12473 /* end confdefs.h.  */
   12474 $ac_includes_default
   12475 int
   12476 main ()
   12477 {
   12478 #ifndef getenv
   12479   char *p = (char *) getenv;
   12480 #endif
   12481 
   12482   ;
   12483   return 0;
   12484 }
   12485 _ACEOF
   12486 rm -f conftest.$ac_objext
   12487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12488   (eval $ac_compile) 2>conftest.er1
   12489   ac_status=$?
   12490   grep -v '^ *+' conftest.er1 >conftest.err
   12491   rm -f conftest.er1
   12492   cat conftest.err >&5
   12493   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12494   (exit $ac_status); } &&
   12495 	 { ac_try='test -z "$ac_c_werror_flag"
   12496 			 || test ! -s conftest.err'
   12497   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12498   (eval $ac_try) 2>&5
   12499   ac_status=$?
   12500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12501   (exit $ac_status); }; } &&
   12502 	 { ac_try='test -s conftest.$ac_objext'
   12503   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12504   (eval $ac_try) 2>&5
   12505   ac_status=$?
   12506   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12507   (exit $ac_status); }; }; then
   12508   ac_cv_have_decl_getenv=yes
   12509 else
   12510   echo "$as_me: failed program was:" >&5
   12511 sed 's/^/| /' conftest.$ac_ext >&5
   12512 
   12513 ac_cv_have_decl_getenv=no
   12514 fi
   12515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   12516 fi
   12517 echo "$as_me:$LINENO: result: $ac_cv_have_decl_getenv" >&5
   12518 echo "${ECHO_T}$ac_cv_have_decl_getenv" >&6
   12519 if test $ac_cv_have_decl_getenv = yes; then
   12520 
   12521 cat >>confdefs.h <<_ACEOF
   12522 #define HAVE_DECL_GETENV 1
   12523 _ACEOF
   12524 
   12525 
   12526 else
   12527   cat >>confdefs.h <<_ACEOF
   12528 #define HAVE_DECL_GETENV 0
   12529 _ACEOF
   12530 
   12531 
   12532 fi
   12533 echo "$as_me:$LINENO: checking whether environ is declared" >&5
   12534 echo $ECHO_N "checking whether environ is declared... $ECHO_C" >&6
   12535 if test "${ac_cv_have_decl_environ+set}" = set; then
   12536   echo $ECHO_N "(cached) $ECHO_C" >&6
   12537 else
   12538   cat >conftest.$ac_ext <<_ACEOF
   12539 /* confdefs.h.  */
   12540 _ACEOF
   12541 cat confdefs.h >>conftest.$ac_ext
   12542 cat >>conftest.$ac_ext <<_ACEOF
   12543 /* end confdefs.h.  */
   12544 $ac_includes_default
   12545 int
   12546 main ()
   12547 {
   12548 #ifndef environ
   12549   char *p = (char *) environ;
   12550 #endif
   12551 
   12552   ;
   12553   return 0;
   12554 }
   12555 _ACEOF
   12556 rm -f conftest.$ac_objext
   12557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12558   (eval $ac_compile) 2>conftest.er1
   12559   ac_status=$?
   12560   grep -v '^ *+' conftest.er1 >conftest.err
   12561   rm -f conftest.er1
   12562   cat conftest.err >&5
   12563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12564   (exit $ac_status); } &&
   12565 	 { ac_try='test -z "$ac_c_werror_flag"
   12566 			 || test ! -s conftest.err'
   12567   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12568   (eval $ac_try) 2>&5
   12569   ac_status=$?
   12570   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12571   (exit $ac_status); }; } &&
   12572 	 { ac_try='test -s conftest.$ac_objext'
   12573   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12574   (eval $ac_try) 2>&5
   12575   ac_status=$?
   12576   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12577   (exit $ac_status); }; }; then
   12578   ac_cv_have_decl_environ=yes
   12579 else
   12580   echo "$as_me: failed program was:" >&5
   12581 sed 's/^/| /' conftest.$ac_ext >&5
   12582 
   12583 ac_cv_have_decl_environ=no
   12584 fi
   12585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   12586 fi
   12587 echo "$as_me:$LINENO: result: $ac_cv_have_decl_environ" >&5
   12588 echo "${ECHO_T}$ac_cv_have_decl_environ" >&6
   12589 if test $ac_cv_have_decl_environ = yes; then
   12590 
   12591 cat >>confdefs.h <<_ACEOF
   12592 #define HAVE_DECL_ENVIRON 1
   12593 _ACEOF
   12594 
   12595 
   12596 else
   12597   cat >>confdefs.h <<_ACEOF
   12598 #define HAVE_DECL_ENVIRON 0
   12599 _ACEOF
   12600 
   12601 
   12602 fi
   12603 
   12604 
   12605 
   12606 # Link in zlib if we can.  This is needed only for the bootstrap tests
   12607 # right now, since those tests use libbfd, which depends on zlib.
   12608 echo "$as_me:$LINENO: checking for library containing zlibVersion" >&5
   12609 echo $ECHO_N "checking for library containing zlibVersion... $ECHO_C" >&6
   12610 if test "${ac_cv_search_zlibVersion+set}" = set; then
   12611   echo $ECHO_N "(cached) $ECHO_C" >&6
   12612 else
   12613   ac_func_search_save_LIBS=$LIBS
   12614 ac_cv_search_zlibVersion=no
   12615 cat >conftest.$ac_ext <<_ACEOF
   12616 /* confdefs.h.  */
   12617 _ACEOF
   12618 cat confdefs.h >>conftest.$ac_ext
   12619 cat >>conftest.$ac_ext <<_ACEOF
   12620 /* end confdefs.h.  */
   12621 
   12622 /* Override any gcc2 internal prototype to avoid an error.  */
   12623 #ifdef __cplusplus
   12624 extern "C"
   12625 #endif
   12626 /* We use char because int might match the return type of a gcc2
   12627    builtin and then its argument prototype would still apply.  */
   12628 char zlibVersion ();
   12629 int
   12630 main ()
   12631 {
   12632 zlibVersion ();
   12633   ;
   12634   return 0;
   12635 }
   12636 _ACEOF
   12637 rm -f conftest.$ac_objext conftest$ac_exeext
   12638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12639   (eval $ac_link) 2>conftest.er1
   12640   ac_status=$?
   12641   grep -v '^ *+' conftest.er1 >conftest.err
   12642   rm -f conftest.er1
   12643   cat conftest.err >&5
   12644   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12645   (exit $ac_status); } &&
   12646 	 { ac_try='test -z "$ac_c_werror_flag"
   12647 			 || test ! -s conftest.err'
   12648   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12649   (eval $ac_try) 2>&5
   12650   ac_status=$?
   12651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12652   (exit $ac_status); }; } &&
   12653 	 { ac_try='test -s conftest$ac_exeext'
   12654   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12655   (eval $ac_try) 2>&5
   12656   ac_status=$?
   12657   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12658   (exit $ac_status); }; }; then
   12659   ac_cv_search_zlibVersion="none required"
   12660 else
   12661   echo "$as_me: failed program was:" >&5
   12662 sed 's/^/| /' conftest.$ac_ext >&5
   12663 
   12664 fi
   12665 rm -f conftest.err conftest.$ac_objext \
   12666       conftest$ac_exeext conftest.$ac_ext
   12667 if test "$ac_cv_search_zlibVersion" = no; then
   12668   for ac_lib in z; do
   12669     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
   12670     cat >conftest.$ac_ext <<_ACEOF
   12671 /* confdefs.h.  */
   12672 _ACEOF
   12673 cat confdefs.h >>conftest.$ac_ext
   12674 cat >>conftest.$ac_ext <<_ACEOF
   12675 /* end confdefs.h.  */
   12676 
   12677 /* Override any gcc2 internal prototype to avoid an error.  */
   12678 #ifdef __cplusplus
   12679 extern "C"
   12680 #endif
   12681 /* We use char because int might match the return type of a gcc2
   12682    builtin and then its argument prototype would still apply.  */
   12683 char zlibVersion ();
   12684 int
   12685 main ()
   12686 {
   12687 zlibVersion ();
   12688   ;
   12689   return 0;
   12690 }
   12691 _ACEOF
   12692 rm -f conftest.$ac_objext conftest$ac_exeext
   12693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   12694   (eval $ac_link) 2>conftest.er1
   12695   ac_status=$?
   12696   grep -v '^ *+' conftest.er1 >conftest.err
   12697   rm -f conftest.er1
   12698   cat conftest.err >&5
   12699   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12700   (exit $ac_status); } &&
   12701 	 { ac_try='test -z "$ac_c_werror_flag"
   12702 			 || test ! -s conftest.err'
   12703   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12704   (eval $ac_try) 2>&5
   12705   ac_status=$?
   12706   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12707   (exit $ac_status); }; } &&
   12708 	 { ac_try='test -s conftest$ac_exeext'
   12709   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12710   (eval $ac_try) 2>&5
   12711   ac_status=$?
   12712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12713   (exit $ac_status); }; }; then
   12714   ac_cv_search_zlibVersion="-l$ac_lib"
   12715 break
   12716 else
   12717   echo "$as_me: failed program was:" >&5
   12718 sed 's/^/| /' conftest.$ac_ext >&5
   12719 
   12720 fi
   12721 rm -f conftest.err conftest.$ac_objext \
   12722       conftest$ac_exeext conftest.$ac_ext
   12723   done
   12724 fi
   12725 LIBS=$ac_func_search_save_LIBS
   12726 fi
   12727 echo "$as_me:$LINENO: result: $ac_cv_search_zlibVersion" >&5
   12728 echo "${ECHO_T}$ac_cv_search_zlibVersion" >&6
   12729 if test "$ac_cv_search_zlibVersion" != no; then
   12730   test "$ac_cv_search_zlibVersion" = "none required" || LIBS="$ac_cv_search_zlibVersion $LIBS"
   12731 
   12732 for ac_header in zlib.h
   12733 do
   12734 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
   12735 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   12736   echo "$as_me:$LINENO: checking for $ac_header" >&5
   12737 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   12738 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   12739   echo $ECHO_N "(cached) $ECHO_C" >&6
   12740 fi
   12741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   12742 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   12743 else
   12744   # Is the header compilable?
   12745 echo "$as_me:$LINENO: checking $ac_header usability" >&5
   12746 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
   12747 cat >conftest.$ac_ext <<_ACEOF
   12748 /* confdefs.h.  */
   12749 _ACEOF
   12750 cat confdefs.h >>conftest.$ac_ext
   12751 cat >>conftest.$ac_ext <<_ACEOF
   12752 /* end confdefs.h.  */
   12753 $ac_includes_default
   12754 #include <$ac_header>
   12755 _ACEOF
   12756 rm -f conftest.$ac_objext
   12757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12758   (eval $ac_compile) 2>conftest.er1
   12759   ac_status=$?
   12760   grep -v '^ *+' conftest.er1 >conftest.err
   12761   rm -f conftest.er1
   12762   cat conftest.err >&5
   12763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12764   (exit $ac_status); } &&
   12765 	 { ac_try='test -z "$ac_c_werror_flag"
   12766 			 || test ! -s conftest.err'
   12767   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12768   (eval $ac_try) 2>&5
   12769   ac_status=$?
   12770   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12771   (exit $ac_status); }; } &&
   12772 	 { ac_try='test -s conftest.$ac_objext'
   12773   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12774   (eval $ac_try) 2>&5
   12775   ac_status=$?
   12776   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12777   (exit $ac_status); }; }; then
   12778   ac_header_compiler=yes
   12779 else
   12780   echo "$as_me: failed program was:" >&5
   12781 sed 's/^/| /' conftest.$ac_ext >&5
   12782 
   12783 ac_header_compiler=no
   12784 fi
   12785 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   12786 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
   12787 echo "${ECHO_T}$ac_header_compiler" >&6
   12788 
   12789 # Is the header present?
   12790 echo "$as_me:$LINENO: checking $ac_header presence" >&5
   12791 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
   12792 cat >conftest.$ac_ext <<_ACEOF
   12793 /* confdefs.h.  */
   12794 _ACEOF
   12795 cat confdefs.h >>conftest.$ac_ext
   12796 cat >>conftest.$ac_ext <<_ACEOF
   12797 /* end confdefs.h.  */
   12798 #include <$ac_header>
   12799 _ACEOF
   12800 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
   12801   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
   12802   ac_status=$?
   12803   grep -v '^ *+' conftest.er1 >conftest.err
   12804   rm -f conftest.er1
   12805   cat conftest.err >&5
   12806   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12807   (exit $ac_status); } >/dev/null; then
   12808   if test -s conftest.err; then
   12809     ac_cpp_err=$ac_c_preproc_warn_flag
   12810     ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
   12811   else
   12812     ac_cpp_err=
   12813   fi
   12814 else
   12815   ac_cpp_err=yes
   12816 fi
   12817 if test -z "$ac_cpp_err"; then
   12818   ac_header_preproc=yes
   12819 else
   12820   echo "$as_me: failed program was:" >&5
   12821 sed 's/^/| /' conftest.$ac_ext >&5
   12822 
   12823   ac_header_preproc=no
   12824 fi
   12825 rm -f conftest.err conftest.$ac_ext
   12826 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
   12827 echo "${ECHO_T}$ac_header_preproc" >&6
   12828 
   12829 # So?  What about this header?
   12830 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
   12831   yes:no: )
   12832     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
   12833 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
   12834     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
   12835 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
   12836     ac_header_preproc=yes
   12837     ;;
   12838   no:yes:* )
   12839     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
   12840 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
   12841     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
   12842 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
   12843     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
   12844 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
   12845     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
   12846 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
   12847     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
   12848 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
   12849     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
   12850 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
   12851     (
   12852       cat <<\_ASBOX
   12853 ## ------------------------------------------ ##
   12854 ## Report this to the AC_PACKAGE_NAME lists.  ##
   12855 ## ------------------------------------------ ##
   12856 _ASBOX
   12857     ) |
   12858       sed "s/^/$as_me: WARNING:     /" >&2
   12859     ;;
   12860 esac
   12861 echo "$as_me:$LINENO: checking for $ac_header" >&5
   12862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
   12863 if eval "test \"\${$as_ac_Header+set}\" = set"; then
   12864   echo $ECHO_N "(cached) $ECHO_C" >&6
   12865 else
   12866   eval "$as_ac_Header=\$ac_header_preproc"
   12867 fi
   12868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
   12869 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
   12870 
   12871 fi
   12872 if test `eval echo '${'$as_ac_Header'}'` = yes; then
   12873   cat >>confdefs.h <<_ACEOF
   12874 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
   12875 _ACEOF
   12876 
   12877 fi
   12878 
   12879 done
   12880 
   12881 fi
   12882 
   12883 
   12884 # When converting linker scripts into strings for use in emulation
   12885 # files, use astring.sed if the compiler supports ANSI string
   12886 # concatenation, or ostring.sed otherwise.  This is to support the
   12887 # broken Microsoft MSVC compiler, which limits the length of string
   12888 # constants, while still supporting pre-ANSI compilers which do not
   12889 # support string concatenation.
   12890 echo "$as_me:$LINENO: checking whether ANSI C string concatenation works" >&5
   12891 echo $ECHO_N "checking whether ANSI C string concatenation works... $ECHO_C" >&6
   12892 if test "${ld_cv_string_concatenation+set}" = set; then
   12893   echo $ECHO_N "(cached) $ECHO_C" >&6
   12894 else
   12895   cat >conftest.$ac_ext <<_ACEOF
   12896 /* confdefs.h.  */
   12897 _ACEOF
   12898 cat confdefs.h >>conftest.$ac_ext
   12899 cat >>conftest.$ac_ext <<_ACEOF
   12900 /* end confdefs.h.  */
   12901 
   12902 int
   12903 main ()
   12904 {
   12905 char *a = "a" "a";
   12906   ;
   12907   return 0;
   12908 }
   12909 _ACEOF
   12910 rm -f conftest.$ac_objext
   12911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   12912   (eval $ac_compile) 2>conftest.er1
   12913   ac_status=$?
   12914   grep -v '^ *+' conftest.er1 >conftest.err
   12915   rm -f conftest.er1
   12916   cat conftest.err >&5
   12917   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12918   (exit $ac_status); } &&
   12919 	 { ac_try='test -z "$ac_c_werror_flag"
   12920 			 || test ! -s conftest.err'
   12921   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12922   (eval $ac_try) 2>&5
   12923   ac_status=$?
   12924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12925   (exit $ac_status); }; } &&
   12926 	 { ac_try='test -s conftest.$ac_objext'
   12927   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   12928   (eval $ac_try) 2>&5
   12929   ac_status=$?
   12930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   12931   (exit $ac_status); }; }; then
   12932   ld_cv_string_concatenation=yes
   12933 else
   12934   echo "$as_me: failed program was:" >&5
   12935 sed 's/^/| /' conftest.$ac_ext >&5
   12936 
   12937 ld_cv_string_concatenation=no
   12938 fi
   12939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   12940 fi
   12941 
   12942 echo "$as_me:$LINENO: result: $ld_cv_string_concatenation" >&5
   12943 echo "${ECHO_T}$ld_cv_string_concatenation" >&6
   12944 if test "$ld_cv_string_concatenation" = "yes"; then
   12945   STRINGIFY=astring.sed
   12946 else
   12947   STRINGIFY=ostring.sed
   12948 fi
   12949 
   12950 
   12951 # target-specific stuff:
   12952 
   12953 all_targets=
   12954 EMUL=
   12955 all_emuls=
   12956 all_emul_extras=
   12957 all_libpath=
   12958 
   12959 rm -f tdirs
   12960 
   12961 for targ_alias in `echo $target_alias $enable_targets | sed 's/,/ /g'`
   12962 do
   12963   if test "$targ_alias" = "all"; then
   12964     all_targets=true
   12965   else
   12966     # Canonicalize the secondary target names.
   12967     result=`$ac_config_sub $targ_alias 2>/dev/null`
   12968     if test -n "$result"; then
   12969 	targ=$result
   12970     else
   12971 	targ=$targ_alias
   12972     fi
   12973 
   12974     . ${srcdir}/configure.tgt
   12975 
   12976     if test "$targ" = "$target"; then
   12977       EMUL=$targ_emul
   12978     fi
   12979 
   12980     if test x${want64} = xfalse; then
   12981       . ${srcdir}/../bfd/config.bfd
   12982     fi
   12983 
   12984     if test x${want64} = xtrue; then
   12985       targ_extra_emuls="$targ_extra_emuls $targ64_extra_emuls"
   12986       targ_extra_libpath="$targ_extra_libpath $targ64_extra_libpath"
   12987     fi
   12988 
   12989     for i in $targ_emul $targ_extra_emuls $targ_extra_libpath; do
   12990 	case " $all_emuls " in
   12991 	*" e${i}.o "*) ;;
   12992 	*)
   12993 	  all_emuls="$all_emuls e${i}.o"
   12994 	  eval result=\$tdir_$i
   12995 	  test -z "$result" && result=$targ_alias
   12996 	  echo tdir_$i=$result >> tdirs
   12997 	  ;;
   12998 	esac
   12999     done
   13000 
   13001     for i in $targ_emul $targ_extra_libpath; do
   13002 	case " $all_libpath " in
   13003 	*" ${i} "*) ;;
   13004 	*)
   13005 	  if test -z "$all_libpath"; then
   13006 	    all_libpath=${i}
   13007 	  else
   13008 	    all_libpath="$all_libpath ${i}"
   13009 	  fi
   13010 	  ;;
   13011 	esac
   13012     done
   13013 
   13014     for i in $targ_extra_ofiles; do
   13015 	case " $all_emul_extras " in
   13016 	*" ${i} "*) ;;
   13017 	*)
   13018 	  all_emul_extras="$all_emul_extras ${i}"
   13019 	  ;;
   13020 	esac
   13021     done
   13022   fi
   13023 done
   13024 
   13025 
   13026 
   13027 TDIRS=tdirs
   13028 
   13029 
   13030 if test x${all_targets} = xtrue; then
   13031   if test x${want64} = xfalse; then
   13032     echo "$as_me:$LINENO: checking for long" >&5
   13033 echo $ECHO_N "checking for long... $ECHO_C" >&6
   13034 if test "${ac_cv_type_long+set}" = set; then
   13035   echo $ECHO_N "(cached) $ECHO_C" >&6
   13036 else
   13037   cat >conftest.$ac_ext <<_ACEOF
   13038 /* confdefs.h.  */
   13039 _ACEOF
   13040 cat confdefs.h >>conftest.$ac_ext
   13041 cat >>conftest.$ac_ext <<_ACEOF
   13042 /* end confdefs.h.  */
   13043 $ac_includes_default
   13044 int
   13045 main ()
   13046 {
   13047 if ((long *) 0)
   13048   return 0;
   13049 if (sizeof (long))
   13050   return 0;
   13051   ;
   13052   return 0;
   13053 }
   13054 _ACEOF
   13055 rm -f conftest.$ac_objext
   13056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13057   (eval $ac_compile) 2>conftest.er1
   13058   ac_status=$?
   13059   grep -v '^ *+' conftest.er1 >conftest.err
   13060   rm -f conftest.er1
   13061   cat conftest.err >&5
   13062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13063   (exit $ac_status); } &&
   13064 	 { ac_try='test -z "$ac_c_werror_flag"
   13065 			 || test ! -s conftest.err'
   13066   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13067   (eval $ac_try) 2>&5
   13068   ac_status=$?
   13069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13070   (exit $ac_status); }; } &&
   13071 	 { ac_try='test -s conftest.$ac_objext'
   13072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13073   (eval $ac_try) 2>&5
   13074   ac_status=$?
   13075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13076   (exit $ac_status); }; }; then
   13077   ac_cv_type_long=yes
   13078 else
   13079   echo "$as_me: failed program was:" >&5
   13080 sed 's/^/| /' conftest.$ac_ext >&5
   13081 
   13082 ac_cv_type_long=no
   13083 fi
   13084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13085 fi
   13086 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
   13087 echo "${ECHO_T}$ac_cv_type_long" >&6
   13088 
   13089 echo "$as_me:$LINENO: checking size of long" >&5
   13090 echo $ECHO_N "checking size of long... $ECHO_C" >&6
   13091 if test "${ac_cv_sizeof_long+set}" = set; then
   13092   echo $ECHO_N "(cached) $ECHO_C" >&6
   13093 else
   13094   if test "$ac_cv_type_long" = yes; then
   13095   # The cast to unsigned long works around a bug in the HP C Compiler
   13096   # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
   13097   # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
   13098   # This bug is HP SR number 8606223364.
   13099   if test "$cross_compiling" = yes; then
   13100   # Depending upon the size, compute the lo and hi bounds.
   13101 cat >conftest.$ac_ext <<_ACEOF
   13102 /* confdefs.h.  */
   13103 _ACEOF
   13104 cat confdefs.h >>conftest.$ac_ext
   13105 cat >>conftest.$ac_ext <<_ACEOF
   13106 /* end confdefs.h.  */
   13107 $ac_includes_default
   13108 int
   13109 main ()
   13110 {
   13111 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
   13112 test_array [0] = 0
   13113 
   13114   ;
   13115   return 0;
   13116 }
   13117 _ACEOF
   13118 rm -f conftest.$ac_objext
   13119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13120   (eval $ac_compile) 2>conftest.er1
   13121   ac_status=$?
   13122   grep -v '^ *+' conftest.er1 >conftest.err
   13123   rm -f conftest.er1
   13124   cat conftest.err >&5
   13125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13126   (exit $ac_status); } &&
   13127 	 { ac_try='test -z "$ac_c_werror_flag"
   13128 			 || test ! -s conftest.err'
   13129   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13130   (eval $ac_try) 2>&5
   13131   ac_status=$?
   13132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13133   (exit $ac_status); }; } &&
   13134 	 { ac_try='test -s conftest.$ac_objext'
   13135   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13136   (eval $ac_try) 2>&5
   13137   ac_status=$?
   13138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13139   (exit $ac_status); }; }; then
   13140   ac_lo=0 ac_mid=0
   13141   while :; do
   13142     cat >conftest.$ac_ext <<_ACEOF
   13143 /* confdefs.h.  */
   13144 _ACEOF
   13145 cat confdefs.h >>conftest.$ac_ext
   13146 cat >>conftest.$ac_ext <<_ACEOF
   13147 /* end confdefs.h.  */
   13148 $ac_includes_default
   13149 int
   13150 main ()
   13151 {
   13152 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
   13153 test_array [0] = 0
   13154 
   13155   ;
   13156   return 0;
   13157 }
   13158 _ACEOF
   13159 rm -f conftest.$ac_objext
   13160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13161   (eval $ac_compile) 2>conftest.er1
   13162   ac_status=$?
   13163   grep -v '^ *+' conftest.er1 >conftest.err
   13164   rm -f conftest.er1
   13165   cat conftest.err >&5
   13166   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13167   (exit $ac_status); } &&
   13168 	 { ac_try='test -z "$ac_c_werror_flag"
   13169 			 || test ! -s conftest.err'
   13170   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13171   (eval $ac_try) 2>&5
   13172   ac_status=$?
   13173   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13174   (exit $ac_status); }; } &&
   13175 	 { ac_try='test -s conftest.$ac_objext'
   13176   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13177   (eval $ac_try) 2>&5
   13178   ac_status=$?
   13179   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13180   (exit $ac_status); }; }; then
   13181   ac_hi=$ac_mid; break
   13182 else
   13183   echo "$as_me: failed program was:" >&5
   13184 sed 's/^/| /' conftest.$ac_ext >&5
   13185 
   13186 ac_lo=`expr $ac_mid + 1`
   13187 		    if test $ac_lo -le $ac_mid; then
   13188 		      ac_lo= ac_hi=
   13189 		      break
   13190 		    fi
   13191 		    ac_mid=`expr 2 '*' $ac_mid + 1`
   13192 fi
   13193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13194   done
   13195 else
   13196   echo "$as_me: failed program was:" >&5
   13197 sed 's/^/| /' conftest.$ac_ext >&5
   13198 
   13199 cat >conftest.$ac_ext <<_ACEOF
   13200 /* confdefs.h.  */
   13201 _ACEOF
   13202 cat confdefs.h >>conftest.$ac_ext
   13203 cat >>conftest.$ac_ext <<_ACEOF
   13204 /* end confdefs.h.  */
   13205 $ac_includes_default
   13206 int
   13207 main ()
   13208 {
   13209 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
   13210 test_array [0] = 0
   13211 
   13212   ;
   13213   return 0;
   13214 }
   13215 _ACEOF
   13216 rm -f conftest.$ac_objext
   13217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13218   (eval $ac_compile) 2>conftest.er1
   13219   ac_status=$?
   13220   grep -v '^ *+' conftest.er1 >conftest.err
   13221   rm -f conftest.er1
   13222   cat conftest.err >&5
   13223   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13224   (exit $ac_status); } &&
   13225 	 { ac_try='test -z "$ac_c_werror_flag"
   13226 			 || test ! -s conftest.err'
   13227   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13228   (eval $ac_try) 2>&5
   13229   ac_status=$?
   13230   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13231   (exit $ac_status); }; } &&
   13232 	 { ac_try='test -s conftest.$ac_objext'
   13233   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13234   (eval $ac_try) 2>&5
   13235   ac_status=$?
   13236   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13237   (exit $ac_status); }; }; then
   13238   ac_hi=-1 ac_mid=-1
   13239   while :; do
   13240     cat >conftest.$ac_ext <<_ACEOF
   13241 /* confdefs.h.  */
   13242 _ACEOF
   13243 cat confdefs.h >>conftest.$ac_ext
   13244 cat >>conftest.$ac_ext <<_ACEOF
   13245 /* end confdefs.h.  */
   13246 $ac_includes_default
   13247 int
   13248 main ()
   13249 {
   13250 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
   13251 test_array [0] = 0
   13252 
   13253   ;
   13254   return 0;
   13255 }
   13256 _ACEOF
   13257 rm -f conftest.$ac_objext
   13258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13259   (eval $ac_compile) 2>conftest.er1
   13260   ac_status=$?
   13261   grep -v '^ *+' conftest.er1 >conftest.err
   13262   rm -f conftest.er1
   13263   cat conftest.err >&5
   13264   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13265   (exit $ac_status); } &&
   13266 	 { ac_try='test -z "$ac_c_werror_flag"
   13267 			 || test ! -s conftest.err'
   13268   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13269   (eval $ac_try) 2>&5
   13270   ac_status=$?
   13271   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13272   (exit $ac_status); }; } &&
   13273 	 { ac_try='test -s conftest.$ac_objext'
   13274   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13275   (eval $ac_try) 2>&5
   13276   ac_status=$?
   13277   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13278   (exit $ac_status); }; }; then
   13279   ac_lo=$ac_mid; break
   13280 else
   13281   echo "$as_me: failed program was:" >&5
   13282 sed 's/^/| /' conftest.$ac_ext >&5
   13283 
   13284 ac_hi=`expr '(' $ac_mid ')' - 1`
   13285 		       if test $ac_mid -le $ac_hi; then
   13286 			 ac_lo= ac_hi=
   13287 			 break
   13288 		       fi
   13289 		       ac_mid=`expr 2 '*' $ac_mid`
   13290 fi
   13291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13292   done
   13293 else
   13294   echo "$as_me: failed program was:" >&5
   13295 sed 's/^/| /' conftest.$ac_ext >&5
   13296 
   13297 ac_lo= ac_hi=
   13298 fi
   13299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13300 fi
   13301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13302 # Binary search between lo and hi bounds.
   13303 while test "x$ac_lo" != "x$ac_hi"; do
   13304   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
   13305   cat >conftest.$ac_ext <<_ACEOF
   13306 /* confdefs.h.  */
   13307 _ACEOF
   13308 cat confdefs.h >>conftest.$ac_ext
   13309 cat >>conftest.$ac_ext <<_ACEOF
   13310 /* end confdefs.h.  */
   13311 $ac_includes_default
   13312 int
   13313 main ()
   13314 {
   13315 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
   13316 test_array [0] = 0
   13317 
   13318   ;
   13319   return 0;
   13320 }
   13321 _ACEOF
   13322 rm -f conftest.$ac_objext
   13323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
   13324   (eval $ac_compile) 2>conftest.er1
   13325   ac_status=$?
   13326   grep -v '^ *+' conftest.er1 >conftest.err
   13327   rm -f conftest.er1
   13328   cat conftest.err >&5
   13329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13330   (exit $ac_status); } &&
   13331 	 { ac_try='test -z "$ac_c_werror_flag"
   13332 			 || test ! -s conftest.err'
   13333   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13334   (eval $ac_try) 2>&5
   13335   ac_status=$?
   13336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13337   (exit $ac_status); }; } &&
   13338 	 { ac_try='test -s conftest.$ac_objext'
   13339   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13340   (eval $ac_try) 2>&5
   13341   ac_status=$?
   13342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13343   (exit $ac_status); }; }; then
   13344   ac_hi=$ac_mid
   13345 else
   13346   echo "$as_me: failed program was:" >&5
   13347 sed 's/^/| /' conftest.$ac_ext >&5
   13348 
   13349 ac_lo=`expr '(' $ac_mid ')' + 1`
   13350 fi
   13351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
   13352 done
   13353 case $ac_lo in
   13354 ?*) ac_cv_sizeof_long=$ac_lo;;
   13355 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   13356 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13357 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
   13358 See \`config.log' for more details." >&5
   13359 echo "$as_me: error: cannot compute sizeof (long), 77
   13360 See \`config.log' for more details." >&2;}
   13361    { (exit 1); exit 1; }; }; } ;;
   13362 esac
   13363 else
   13364   if test "$cross_compiling" = yes; then
   13365   { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   13366 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13367 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
   13368 See \`config.log' for more details." >&5
   13369 echo "$as_me: error: cannot run test program while cross compiling
   13370 See \`config.log' for more details." >&2;}
   13371    { (exit 1); exit 1; }; }; }
   13372 else
   13373   cat >conftest.$ac_ext <<_ACEOF
   13374 /* confdefs.h.  */
   13375 _ACEOF
   13376 cat confdefs.h >>conftest.$ac_ext
   13377 cat >>conftest.$ac_ext <<_ACEOF
   13378 /* end confdefs.h.  */
   13379 $ac_includes_default
   13380 long longval () { return (long) (sizeof (long)); }
   13381 unsigned long ulongval () { return (long) (sizeof (long)); }
   13382 #include <stdio.h>
   13383 #include <stdlib.h>
   13384 int
   13385 main ()
   13386 {
   13387 
   13388   FILE *f = fopen ("conftest.val", "w");
   13389   if (! f)
   13390     exit (1);
   13391   if (((long) (sizeof (long))) < 0)
   13392     {
   13393       long i = longval ();
   13394       if (i != ((long) (sizeof (long))))
   13395 	exit (1);
   13396       fprintf (f, "%ld\n", i);
   13397     }
   13398   else
   13399     {
   13400       unsigned long i = ulongval ();
   13401       if (i != ((long) (sizeof (long))))
   13402 	exit (1);
   13403       fprintf (f, "%lu\n", i);
   13404     }
   13405   exit (ferror (f) || fclose (f) != 0);
   13406 
   13407   ;
   13408   return 0;
   13409 }
   13410 _ACEOF
   13411 rm -f conftest$ac_exeext
   13412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
   13413   (eval $ac_link) 2>&5
   13414   ac_status=$?
   13415   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13416   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
   13417   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
   13418   (eval $ac_try) 2>&5
   13419   ac_status=$?
   13420   echo "$as_me:$LINENO: \$? = $ac_status" >&5
   13421   (exit $ac_status); }; }; then
   13422   ac_cv_sizeof_long=`cat conftest.val`
   13423 else
   13424   echo "$as_me: program exited with status $ac_status" >&5
   13425 echo "$as_me: failed program was:" >&5
   13426 sed 's/^/| /' conftest.$ac_ext >&5
   13427 
   13428 ( exit $ac_status )
   13429 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
   13430 echo "$as_me: error: in \`$ac_pwd':" >&2;}
   13431 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
   13432 See \`config.log' for more details." >&5
   13433 echo "$as_me: error: cannot compute sizeof (long), 77
   13434 See \`config.log' for more details." >&2;}
   13435    { (exit 1); exit 1; }; }; }
   13436 fi
   13437 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
   13438 fi
   13439 fi
   13440 rm -f conftest.val
   13441 else
   13442   ac_cv_sizeof_long=0
   13443 fi
   13444 fi
   13445 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
   13446 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
   13447 cat >>confdefs.h <<_ACEOF
   13448 #define SIZEOF_LONG $ac_cv_sizeof_long
   13449 _ACEOF
   13450 
   13451 
   13452     if test "x${ac_cv_sizeof_long}" = "x8"; then
   13453       want64=true
   13454     fi
   13455   fi
   13456   if test x${want64} = xtrue; then
   13457     EMULATION_OFILES='$(ALL_EMULATIONS) $(ALL_64_EMULATIONS)'
   13458   else
   13459     EMULATION_OFILES='$(ALL_EMULATIONS)'
   13460   fi
   13461   EMUL_EXTRA_OFILES='$(ALL_EMUL_EXTRA_OFILES)'
   13462 else
   13463   EMULATION_OFILES=$all_emuls
   13464   EMUL_EXTRA_OFILES=$all_emul_extras
   13465 fi
   13466 
   13467 
   13468 
   13469 
   13470 EMULATION_LIBPATH=$all_libpath
   13471 
   13472 
   13473 if test x${enable_static} = xno; then
   13474   TESTBFDLIB="--rpath ../bfd/.libs ../bfd/.libs/libbfd.so"
   13475 else
   13476   TESTBFDLIB="../bfd/.libs/libbfd.a"
   13477 fi
   13478 
   13479 
   13480 target_vendor=${target_vendor=$host_vendor}
   13481 case "$target_vendor" in
   13482   hp) EXTRA_SHLIB_EXTENSION=".sl" ;;
   13483   *)  EXTRA_SHLIB_EXTENSION= ;;
   13484 esac
   13485 
   13486 case "$target_os" in
   13487   lynxos) EXTRA_SHLIB_EXTENSION=".a" ;;
   13488 esac
   13489 
   13490 if test x${EXTRA_SHLIB_EXTENSION} != x ; then
   13491 
   13492 cat >>confdefs.h <<_ACEOF
   13493 #define EXTRA_SHLIB_EXTENSION "$EXTRA_SHLIB_EXTENSION"
   13494 _ACEOF
   13495 
   13496 fi
   13497 
   13498 
   13499 
   13500 
   13501 
   13502                     ac_config_files="$ac_config_files Makefile po/Makefile.in:po/Make-in"
   13503 
   13504 cat >confcache <<\_ACEOF
   13505 # This file is a shell script that caches the results of configure
   13506 # tests run on this system so they can be shared between configure
   13507 # scripts and configure runs, see configure's option --config-cache.
   13508 # It is not useful on other systems.  If it contains results you don't
   13509 # want to keep, you may remove or edit it.
   13510 #
   13511 # config.status only pays attention to the cache file if you give it
   13512 # the --recheck option to rerun configure.
   13513 #
   13514 # `ac_cv_env_foo' variables (set or unset) will be overridden when
   13515 # loading this file, other *unset* `ac_cv_foo' will be assigned the
   13516 # following values.
   13517 
   13518 _ACEOF
   13519 
   13520 # The following way of writing the cache mishandles newlines in values,
   13521 # but we know of no workaround that is simple, portable, and efficient.
   13522 # So, don't put newlines in cache variables' values.
   13523 # Ultrix sh set writes to stderr and can't be redirected directly,
   13524 # and sets the high bit in the cache file unless we assign to the vars.
   13525 {
   13526   (set) 2>&1 |
   13527     case `(ac_space=' '; set | grep ac_space) 2>&1` in
   13528     *ac_space=\ *)
   13529       # `set' does not quote correctly, so add quotes (double-quote
   13530       # substitution turns \\\\ into \\, and sed turns \\ into \).
   13531       sed -n \
   13532 	"s/'/'\\\\''/g;
   13533 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
   13534       ;;
   13535     *)
   13536       # `set' quotes correctly as required by POSIX, so do not add quotes.
   13537       sed -n \
   13538 	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
   13539       ;;
   13540     esac;
   13541 } |
   13542   sed '
   13543      t clear
   13544      : clear
   13545      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
   13546      t end
   13547      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
   13548      : end' >>confcache
   13549 if diff $cache_file confcache >/dev/null 2>&1; then :; else
   13550   if test -w $cache_file; then
   13551     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
   13552     cat confcache >$cache_file
   13553   else
   13554     echo "not updating unwritable cache $cache_file"
   13555   fi
   13556 fi
   13557 rm -f confcache
   13558 
   13559 test "x$prefix" = xNONE && prefix=$ac_default_prefix
   13560 # Let make expand exec_prefix.
   13561 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
   13562 
   13563 # VPATH may cause trouble with some makes, so we remove $(srcdir),
   13564 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
   13565 # trailing colons and then remove the whole line if VPATH becomes empty
   13566 # (actually we leave an empty line to preserve line numbers).
   13567 if test "x$srcdir" = x.; then
   13568   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
   13569 s/:*\$(srcdir):*/:/;
   13570 s/:*\${srcdir}:*/:/;
   13571 s/:*@srcdir@:*/:/;
   13572 s/^\([^=]*=[	 ]*\):*/\1/;
   13573 s/:*$//;
   13574 s/^[^=]*=[	 ]*$//;
   13575 }'
   13576 fi
   13577 
   13578 DEFS=-DHAVE_CONFIG_H
   13579 
   13580 ac_libobjs=
   13581 ac_ltlibobjs=
   13582 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
   13583   # 1. Remove the extension, and $U if already installed.
   13584   ac_i=`echo "$ac_i" |
   13585 	 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
   13586   # 2. Add them.
   13587   ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
   13588   ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
   13589 done
   13590 LIBOBJS=$ac_libobjs
   13591 
   13592 LTLIBOBJS=$ac_ltlibobjs
   13593 
   13594 
   13595 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
   13596   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
   13597 Usually this means the macro was only invoked conditionally." >&5
   13598 echo "$as_me: error: conditional \"AMDEP\" was never defined.
   13599 Usually this means the macro was only invoked conditionally." >&2;}
   13600    { (exit 1); exit 1; }; }
   13601 fi
   13602 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
   13603   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
   13604 Usually this means the macro was only invoked conditionally." >&5
   13605 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
   13606 Usually this means the macro was only invoked conditionally." >&2;}
   13607    { (exit 1); exit 1; }; }
   13608 fi
   13609 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
   13610   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
   13611 Usually this means the macro was only invoked conditionally." >&5
   13612 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
   13613 Usually this means the macro was only invoked conditionally." >&2;}
   13614    { (exit 1); exit 1; }; }
   13615 fi
   13616 if test -z "${GENINSRC_NEVER_TRUE}" && test -z "${GENINSRC_NEVER_FALSE}"; then
   13617   { { echo "$as_me:$LINENO: error: conditional \"GENINSRC_NEVER\" was never defined.
   13618 Usually this means the macro was only invoked conditionally." >&5
   13619 echo "$as_me: error: conditional \"GENINSRC_NEVER\" was never defined.
   13620 Usually this means the macro was only invoked conditionally." >&2;}
   13621    { (exit 1); exit 1; }; }
   13622 fi
   13623 
   13624 : ${CONFIG_STATUS=./config.status}
   13625 ac_clean_files_save=$ac_clean_files
   13626 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
   13627 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
   13628 echo "$as_me: creating $CONFIG_STATUS" >&6;}
   13629 cat >$CONFIG_STATUS <<_ACEOF
   13630 #! $SHELL
   13631 # Generated by $as_me.
   13632 # Run this file to recreate the current configuration.
   13633 # Compiler output produced by configure, useful for debugging
   13634 # configure, is in config.log if it exists.
   13635 
   13636 debug=false
   13637 ac_cs_recheck=false
   13638 ac_cs_silent=false
   13639 SHELL=\${CONFIG_SHELL-$SHELL}
   13640 _ACEOF
   13641 
   13642 cat >>$CONFIG_STATUS <<\_ACEOF
   13643 ## --------------------- ##
   13644 ## M4sh Initialization.  ##
   13645 ## --------------------- ##
   13646 
   13647 # Be Bourne compatible
   13648 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   13649   emulate sh
   13650   NULLCMD=:
   13651   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   13652   # is contrary to our usage.  Disable this feature.
   13653   alias -g '${1+"$@"}'='"$@"'
   13654 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
   13655   set -o posix
   13656 fi
   13657 DUALCASE=1; export DUALCASE # for MKS sh
   13658 
   13659 # Support unset when possible.
   13660 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
   13661   as_unset=unset
   13662 else
   13663   as_unset=false
   13664 fi
   13665 
   13666 
   13667 # Work around bugs in pre-3.0 UWIN ksh.
   13668 $as_unset ENV MAIL MAILPATH
   13669 PS1='$ '
   13670 PS2='> '
   13671 PS4='+ '
   13672 
   13673 # NLS nuisances.
   13674 for as_var in \
   13675   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   13676   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   13677   LC_TELEPHONE LC_TIME
   13678 do
   13679   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   13680     eval $as_var=C; export $as_var
   13681   else
   13682     $as_unset $as_var
   13683   fi
   13684 done
   13685 
   13686 # Required to use basename.
   13687 if expr a : '\(a\)' >/dev/null 2>&1; then
   13688   as_expr=expr
   13689 else
   13690   as_expr=false
   13691 fi
   13692 
   13693 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
   13694   as_basename=basename
   13695 else
   13696   as_basename=false
   13697 fi
   13698 
   13699 
   13700 # Name of the executable.
   13701 as_me=`$as_basename "$0" ||
   13702 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   13703 	 X"$0" : 'X\(//\)$' \| \
   13704 	 X"$0" : 'X\(/\)$' \| \
   13705 	 .     : '\(.\)' 2>/dev/null ||
   13706 echo X/"$0" |
   13707     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
   13708   	  /^X\/\(\/\/\)$/{ s//\1/; q; }
   13709   	  /^X\/\(\/\).*/{ s//\1/; q; }
   13710   	  s/.*/./; q'`
   13711 
   13712 
   13713 # PATH needs CR, and LINENO needs CR and PATH.
   13714 # Avoid depending upon Character Ranges.
   13715 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
   13716 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
   13717 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
   13718 as_cr_digits='0123456789'
   13719 as_cr_alnum=$as_cr_Letters$as_cr_digits
   13720 
   13721 # The user is always right.
   13722 if test "${PATH_SEPARATOR+set}" != set; then
   13723   echo "#! /bin/sh" >conf$$.sh
   13724   echo  "exit 0"   >>conf$$.sh
   13725   chmod +x conf$$.sh
   13726   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
   13727     PATH_SEPARATOR=';'
   13728   else
   13729     PATH_SEPARATOR=:
   13730   fi
   13731   rm -f conf$$.sh
   13732 fi
   13733 
   13734 
   13735   as_lineno_1=$LINENO
   13736   as_lineno_2=$LINENO
   13737   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   13738   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13739   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
   13740   # Find who we are.  Look in the path if we contain no path at all
   13741   # relative or not.
   13742   case $0 in
   13743     *[\\/]* ) as_myself=$0 ;;
   13744     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13745 for as_dir in $PATH
   13746 do
   13747   IFS=$as_save_IFS
   13748   test -z "$as_dir" && as_dir=.
   13749   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   13750 done
   13751 
   13752        ;;
   13753   esac
   13754   # We did not find ourselves, most probably we were run as `sh COMMAND'
   13755   # in which case we are not to be found in the path.
   13756   if test "x$as_myself" = x; then
   13757     as_myself=$0
   13758   fi
   13759   if test ! -f "$as_myself"; then
   13760     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
   13761 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
   13762    { (exit 1); exit 1; }; }
   13763   fi
   13764   case $CONFIG_SHELL in
   13765   '')
   13766     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   13767 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   13768 do
   13769   IFS=$as_save_IFS
   13770   test -z "$as_dir" && as_dir=.
   13771   for as_base in sh bash ksh sh5; do
   13772 	 case $as_dir in
   13773 	 /*)
   13774 	   if ("$as_dir/$as_base" -c '
   13775   as_lineno_1=$LINENO
   13776   as_lineno_2=$LINENO
   13777   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
   13778   test "x$as_lineno_1" != "x$as_lineno_2" &&
   13779   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
   13780 	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
   13781 	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
   13782 	     CONFIG_SHELL=$as_dir/$as_base
   13783 	     export CONFIG_SHELL
   13784 	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
   13785 	   fi;;
   13786 	 esac
   13787        done
   13788 done
   13789 ;;
   13790   esac
   13791 
   13792   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   13793   # uniformly replaced by the line number.  The first 'sed' inserts a
   13794   # line-number line before each line; the second 'sed' does the real
   13795   # work.  The second script uses 'N' to pair each line-number line
   13796   # with the numbered line, and appends trailing '-' during
   13797   # substitution so that $LINENO is not a special case at line end.
   13798   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   13799   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
   13800   sed '=' <$as_myself |
   13801     sed '
   13802       N
   13803       s,$,-,
   13804       : loop
   13805       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
   13806       t loop
   13807       s,-$,,
   13808       s,^['$as_cr_digits']*\n,,
   13809     ' >$as_me.lineno &&
   13810   chmod +x $as_me.lineno ||
   13811     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
   13812 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
   13813    { (exit 1); exit 1; }; }
   13814 
   13815   # Don't try to exec as it changes $[0], causing all sort of problems
   13816   # (the dirname of $[0] is not the place where we might find the
   13817   # original and so on.  Autoconf is especially sensible to this).
   13818   . ./$as_me.lineno
   13819   # Exit status is that of the last command.
   13820   exit
   13821 }
   13822 
   13823 
   13824 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
   13825   *c*,-n*) ECHO_N= ECHO_C='
   13826 ' ECHO_T='	' ;;
   13827   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
   13828   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
   13829 esac
   13830 
   13831 if expr a : '\(a\)' >/dev/null 2>&1; then
   13832   as_expr=expr
   13833 else
   13834   as_expr=false
   13835 fi
   13836 
   13837 rm -f conf$$ conf$$.exe conf$$.file
   13838 echo >conf$$.file
   13839 if ln -s conf$$.file conf$$ 2>/dev/null; then
   13840   # We could just check for DJGPP; but this test a) works b) is more generic
   13841   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
   13842   if test -f conf$$.exe; then
   13843     # Don't use ln at all; we don't have any links
   13844     as_ln_s='cp -p'
   13845   else
   13846     as_ln_s='ln -s'
   13847   fi
   13848 elif ln conf$$.file conf$$ 2>/dev/null; then
   13849   as_ln_s=ln
   13850 else
   13851   as_ln_s='cp -p'
   13852 fi
   13853 rm -f conf$$ conf$$.exe conf$$.file
   13854 
   13855 if mkdir -p . 2>/dev/null; then
   13856   as_mkdir_p=:
   13857 else
   13858   test -d ./-p && rmdir ./-p
   13859   as_mkdir_p=false
   13860 fi
   13861 
   13862 as_executable_p="test -f"
   13863 
   13864 # Sed expression to map a string onto a valid CPP name.
   13865 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   13866 
   13867 # Sed expression to map a string onto a valid variable name.
   13868 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   13869 
   13870 
   13871 # IFS
   13872 # We need space, tab and new line, in precisely that order.
   13873 as_nl='
   13874 '
   13875 IFS=" 	$as_nl"
   13876 
   13877 # CDPATH.
   13878 $as_unset CDPATH
   13879 
   13880 exec 6>&1
   13881 
   13882 # Open the log real soon, to keep \$[0] and so on meaningful, and to
   13883 # report actual input values of CONFIG_FILES etc. instead of their
   13884 # values after options handling.  Logging --version etc. is OK.
   13885 exec 5>>config.log
   13886 {
   13887   echo
   13888   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
   13889 ## Running $as_me. ##
   13890 _ASBOX
   13891 } >&5
   13892 cat >&5 <<_CSEOF
   13893 
   13894 This file was extended by $as_me, which was
   13895 generated by GNU Autoconf 2.59.  Invocation command line was
   13896 
   13897   CONFIG_FILES    = $CONFIG_FILES
   13898   CONFIG_HEADERS  = $CONFIG_HEADERS
   13899   CONFIG_LINKS    = $CONFIG_LINKS
   13900   CONFIG_COMMANDS = $CONFIG_COMMANDS
   13901   $ $0 $@
   13902 
   13903 _CSEOF
   13904 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
   13905 echo >&5
   13906 _ACEOF
   13907 
   13908 # Files that config.status was made for.
   13909 if test -n "$ac_config_files"; then
   13910   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
   13911 fi
   13912 
   13913 if test -n "$ac_config_headers"; then
   13914   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
   13915 fi
   13916 
   13917 if test -n "$ac_config_links"; then
   13918   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
   13919 fi
   13920 
   13921 if test -n "$ac_config_commands"; then
   13922   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
   13923 fi
   13924 
   13925 cat >>$CONFIG_STATUS <<\_ACEOF
   13926 
   13927 ac_cs_usage="\
   13928 \`$as_me' instantiates files from templates according to the
   13929 current configuration.
   13930 
   13931 Usage: $0 [OPTIONS] [FILE]...
   13932 
   13933   -h, --help       print this help, then exit
   13934   -V, --version    print version number, then exit
   13935   -q, --quiet      do not print progress messages
   13936   -d, --debug      don't remove temporary files
   13937       --recheck    update $as_me by reconfiguring in the same conditions
   13938   --file=FILE[:TEMPLATE]
   13939 		   instantiate the configuration file FILE
   13940   --header=FILE[:TEMPLATE]
   13941 		   instantiate the configuration header FILE
   13942 
   13943 Configuration files:
   13944 $config_files
   13945 
   13946 Configuration headers:
   13947 $config_headers
   13948 
   13949 Configuration commands:
   13950 $config_commands
   13951 
   13952 Report bugs to <bug-autoconf@gnu.org>."
   13953 _ACEOF
   13954 
   13955 cat >>$CONFIG_STATUS <<_ACEOF
   13956 ac_cs_version="\\
   13957 config.status
   13958 configured by $0, generated by GNU Autoconf 2.59,
   13959   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
   13960 
   13961 Copyright (C) 2003 Free Software Foundation, Inc.
   13962 This config.status script is free software; the Free Software Foundation
   13963 gives unlimited permission to copy, distribute and modify it."
   13964 srcdir=$srcdir
   13965 INSTALL="$INSTALL"
   13966 _ACEOF
   13967 
   13968 cat >>$CONFIG_STATUS <<\_ACEOF
   13969 # If no file are specified by the user, then we need to provide default
   13970 # value.  By we need to know if files were specified by the user.
   13971 ac_need_defaults=:
   13972 while test $# != 0
   13973 do
   13974   case $1 in
   13975   --*=*)
   13976     ac_option=`expr "x$1" : 'x\([^=]*\)='`
   13977     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
   13978     ac_shift=:
   13979     ;;
   13980   -*)
   13981     ac_option=$1
   13982     ac_optarg=$2
   13983     ac_shift=shift
   13984     ;;
   13985   *) # This is not an option, so the user has probably given explicit
   13986      # arguments.
   13987      ac_option=$1
   13988      ac_need_defaults=false;;
   13989   esac
   13990 
   13991   case $ac_option in
   13992   # Handling of the options.
   13993 _ACEOF
   13994 cat >>$CONFIG_STATUS <<\_ACEOF
   13995   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
   13996     ac_cs_recheck=: ;;
   13997   --version | --vers* | -V )
   13998     echo "$ac_cs_version"; exit 0 ;;
   13999   --he | --h)
   14000     # Conflict between --help and --header
   14001     { { echo "$as_me:$LINENO: error: ambiguous option: $1
   14002 Try \`$0 --help' for more information." >&5
   14003 echo "$as_me: error: ambiguous option: $1
   14004 Try \`$0 --help' for more information." >&2;}
   14005    { (exit 1); exit 1; }; };;
   14006   --help | --hel | -h )
   14007     echo "$ac_cs_usage"; exit 0 ;;
   14008   --debug | --d* | -d )
   14009     debug=: ;;
   14010   --file | --fil | --fi | --f )
   14011     $ac_shift
   14012     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
   14013     ac_need_defaults=false;;
   14014   --header | --heade | --head | --hea )
   14015     $ac_shift
   14016     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
   14017     ac_need_defaults=false;;
   14018   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
   14019   | -silent | --silent | --silen | --sile | --sil | --si | --s)
   14020     ac_cs_silent=: ;;
   14021 
   14022   # This is an error.
   14023   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
   14024 Try \`$0 --help' for more information." >&5
   14025 echo "$as_me: error: unrecognized option: $1
   14026 Try \`$0 --help' for more information." >&2;}
   14027    { (exit 1); exit 1; }; } ;;
   14028 
   14029   *) ac_config_targets="$ac_config_targets $1" ;;
   14030 
   14031   esac
   14032   shift
   14033 done
   14034 
   14035 ac_configure_extra_args=
   14036 
   14037 if $ac_cs_silent; then
   14038   exec 6>/dev/null
   14039   ac_configure_extra_args="$ac_configure_extra_args --silent"
   14040 fi
   14041 
   14042 _ACEOF
   14043 cat >>$CONFIG_STATUS <<_ACEOF
   14044 if \$ac_cs_recheck; then
   14045   echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
   14046   exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
   14047 fi
   14048 
   14049 _ACEOF
   14050 
   14051 cat >>$CONFIG_STATUS <<_ACEOF
   14052 #
   14053 # INIT-COMMANDS section.
   14054 #
   14055 
   14056 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
   14057 
   14058 
   14059 # The HP-UX ksh and POSIX shell print the target directory to stdout
   14060 # if CDPATH is set.
   14061 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
   14062 
   14063 sed_quote_subst='$sed_quote_subst'
   14064 double_quote_subst='$double_quote_subst'
   14065 delay_variable_subst='$delay_variable_subst'
   14066 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
   14067 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
   14068 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
   14069 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
   14070 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
   14071 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
   14072 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14073 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
   14074 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
   14075 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
   14076 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
   14077 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
   14078 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
   14079 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
   14080 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
   14081 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14082 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
   14083 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
   14084 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
   14085 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
   14086 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
   14087 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
   14088 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
   14089 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
   14090 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
   14091 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
   14092 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14093 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14094 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
   14095 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
   14096 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
   14097 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14098 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
   14099 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
   14100 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14101 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14102 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14103 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
   14104 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
   14105 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
   14106 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
   14107 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
   14108 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
   14109 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
   14110 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
   14111 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
   14112 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
   14113 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
   14114 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14115 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
   14116 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
   14117 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
   14118 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
   14119 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
   14120 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
   14121 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14122 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14123 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
   14124 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
   14125 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14126 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14127 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
   14128 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14129 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14130 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14131 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14132 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14133 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14134 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14135 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14136 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
   14137 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14138 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
   14139 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
   14140 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
   14141 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
   14142 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
   14143 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14144 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
   14145 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
   14146 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
   14147 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
   14148 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
   14149 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14150 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14151 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
   14152 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14153 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14154 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
   14155 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
   14156 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
   14157 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
   14158 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14159 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
   14160 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
   14161 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14162 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14163 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14164 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14165 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14166 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
   14167 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
   14168 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
   14169 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14170 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
   14171 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
   14172 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
   14173 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
   14174 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
   14175 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14176 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
   14177 
   14178 LTCC='$LTCC'
   14179 LTCFLAGS='$LTCFLAGS'
   14180 compiler='$compiler_DEFAULT'
   14181 
   14182 # Quote evaled strings.
   14183 for var in SED \
   14184 GREP \
   14185 EGREP \
   14186 FGREP \
   14187 LD \
   14188 NM \
   14189 LN_S \
   14190 lt_SP2NL \
   14191 lt_NL2SP \
   14192 reload_flag \
   14193 deplibs_check_method \
   14194 file_magic_cmd \
   14195 AR \
   14196 AR_FLAGS \
   14197 STRIP \
   14198 RANLIB \
   14199 CC \
   14200 CFLAGS \
   14201 compiler \
   14202 lt_cv_sys_global_symbol_pipe \
   14203 lt_cv_sys_global_symbol_to_cdecl \
   14204 lt_cv_sys_global_symbol_to_c_name_address \
   14205 SHELL \
   14206 ECHO \
   14207 lt_prog_compiler_no_builtin_flag \
   14208 lt_prog_compiler_wl \
   14209 lt_prog_compiler_pic \
   14210 lt_prog_compiler_static \
   14211 lt_cv_prog_compiler_c_o \
   14212 need_locks \
   14213 shrext_cmds \
   14214 export_dynamic_flag_spec \
   14215 whole_archive_flag_spec \
   14216 compiler_needs_object \
   14217 with_gnu_ld \
   14218 allow_undefined_flag \
   14219 no_undefined_flag \
   14220 hardcode_libdir_flag_spec \
   14221 hardcode_libdir_flag_spec_ld \
   14222 hardcode_libdir_separator \
   14223 fix_srcfile_path \
   14224 exclude_expsyms \
   14225 include_expsyms \
   14226 file_list_spec \
   14227 variables_saved_for_relink \
   14228 libname_spec \
   14229 library_names_spec \
   14230 soname_spec \
   14231 finish_eval \
   14232 old_striplib \
   14233 striplib; do
   14234     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14235     *[\\\\\\\`\\"\\\$]*)
   14236       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
   14237       ;;
   14238     *)
   14239       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14240       ;;
   14241     esac
   14242 done
   14243 
   14244 # Double-quote double-evaled strings.
   14245 for var in reload_cmds \
   14246 old_postinstall_cmds \
   14247 old_postuninstall_cmds \
   14248 old_archive_cmds \
   14249 extract_expsyms_cmds \
   14250 old_archive_from_new_cmds \
   14251 old_archive_from_expsyms_cmds \
   14252 archive_cmds \
   14253 archive_expsym_cmds \
   14254 module_cmds \
   14255 module_expsym_cmds \
   14256 export_symbols_cmds \
   14257 prelink_cmds \
   14258 postinstall_cmds \
   14259 postuninstall_cmds \
   14260 finish_cmds \
   14261 sys_lib_search_path_spec \
   14262 sys_lib_dlsearch_path_spec; do
   14263     case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
   14264     *[\\\\\\\`\\"\\\$]*)
   14265       eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
   14266       ;;
   14267     *)
   14268       eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
   14269       ;;
   14270     esac
   14271 done
   14272 
   14273 # Fix-up fallback echo if it was mangled by the above quoting rules.
   14274 case \$lt_ECHO in
   14275 *'\\\$0 --fallback-echo"')  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
   14276   ;;
   14277 esac
   14278 
   14279 ac_aux_dir='$ac_aux_dir'
   14280 xsi_shell='$xsi_shell'
   14281 lt_shell_append='$lt_shell_append'
   14282 
   14283 # See if we are running on zsh, and set the options which allow our
   14284 # commands through without removal of \ escapes INIT.
   14285 if test -n "\${ZSH_VERSION+set}" ; then
   14286    setopt NO_GLOB_SUBST
   14287 fi
   14288 
   14289 
   14290     PACKAGE='$PACKAGE'
   14291     VERSION='$VERSION'
   14292     TIMESTAMP='$TIMESTAMP'
   14293     RM='$RM'
   14294     ofile='$ofile'
   14295 
   14296 
   14297 
   14298 # Capture the value of obsolete ALL_LINGUAS because we need it to compute
   14299     # POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES, CATALOGS. But hide it
   14300     # from automake.
   14301     eval 'OBSOLETE_ALL_LINGUAS''="$ALL_LINGUAS"'
   14302     # Capture the value of LINGUAS because we need it to compute CATALOGS.
   14303     LINGUAS="${LINGUAS-%UNSET%}"
   14304 
   14305 
   14306 _ACEOF
   14307 
   14308 
   14309 
   14310 cat >>$CONFIG_STATUS <<\_ACEOF
   14311 for ac_config_target in $ac_config_targets
   14312 do
   14313   case "$ac_config_target" in
   14314   # Handling of arguments.
   14315   "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
   14316   "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in:po/Make-in" ;;
   14317   "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
   14318   "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
   14319   "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
   14320   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.in" ;;
   14321   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
   14322 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
   14323    { (exit 1); exit 1; }; };;
   14324   esac
   14325 done
   14326 
   14327 # If the user did not use the arguments to specify the items to instantiate,
   14328 # then the envvar interface is used.  Set only those that are not.
   14329 # We use the long form for the default assignment because of an extremely
   14330 # bizarre bug on SunOS 4.1.3.
   14331 if $ac_need_defaults; then
   14332   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
   14333   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
   14334   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
   14335 fi
   14336 
   14337 # Have a temporary directory for convenience.  Make it in the build tree
   14338 # simply because there is no reason to put it here, and in addition,
   14339 # creating and moving files from /tmp can sometimes cause problems.
   14340 # Create a temporary directory, and hook for its removal unless debugging.
   14341 $debug ||
   14342 {
   14343   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
   14344   trap '{ (exit 1); exit 1; }' 1 2 13 15
   14345 }
   14346 
   14347 # Create a (secure) tmp directory for tmp files.
   14348 
   14349 {
   14350   tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
   14351   test -n "$tmp" && test -d "$tmp"
   14352 }  ||
   14353 {
   14354   tmp=./confstat$$-$RANDOM
   14355   (umask 077 && mkdir $tmp)
   14356 } ||
   14357 {
   14358    echo "$me: cannot create a temporary directory in ." >&2
   14359    { (exit 1); exit 1; }
   14360 }
   14361 
   14362 _ACEOF
   14363 
   14364 cat >>$CONFIG_STATUS <<_ACEOF
   14365 
   14366 #
   14367 # CONFIG_FILES section.
   14368 #
   14369 
   14370 # No need to generate the scripts if there are no CONFIG_FILES.
   14371 # This happens for instance when ./config.status config.h
   14372 if test -n "\$CONFIG_FILES"; then
   14373   # Protect against being on the right side of a sed subst in config.status.
   14374   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
   14375    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
   14376 s,@SHELL@,$SHELL,;t t
   14377 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
   14378 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
   14379 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
   14380 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
   14381 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
   14382 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
   14383 s,@exec_prefix@,$exec_prefix,;t t
   14384 s,@prefix@,$prefix,;t t
   14385 s,@program_transform_name@,$program_transform_name,;t t
   14386 s,@bindir@,$bindir,;t t
   14387 s,@sbindir@,$sbindir,;t t
   14388 s,@libexecdir@,$libexecdir,;t t
   14389 s,@datadir@,$datadir,;t t
   14390 s,@sysconfdir@,$sysconfdir,;t t
   14391 s,@sharedstatedir@,$sharedstatedir,;t t
   14392 s,@localstatedir@,$localstatedir,;t t
   14393 s,@libdir@,$libdir,;t t
   14394 s,@includedir@,$includedir,;t t
   14395 s,@oldincludedir@,$oldincludedir,;t t
   14396 s,@infodir@,$infodir,;t t
   14397 s,@mandir@,$mandir,;t t
   14398 s,@build_alias@,$build_alias,;t t
   14399 s,@host_alias@,$host_alias,;t t
   14400 s,@target_alias@,$target_alias,;t t
   14401 s,@DEFS@,$DEFS,;t t
   14402 s,@ECHO_C@,$ECHO_C,;t t
   14403 s,@ECHO_N@,$ECHO_N,;t t
   14404 s,@ECHO_T@,$ECHO_T,;t t
   14405 s,@LIBS@,$LIBS,;t t
   14406 s,@build@,$build,;t t
   14407 s,@build_cpu@,$build_cpu,;t t
   14408 s,@build_vendor@,$build_vendor,;t t
   14409 s,@build_os@,$build_os,;t t
   14410 s,@host@,$host,;t t
   14411 s,@host_cpu@,$host_cpu,;t t
   14412 s,@host_vendor@,$host_vendor,;t t
   14413 s,@host_os@,$host_os,;t t
   14414 s,@target@,$target,;t t
   14415 s,@target_cpu@,$target_cpu,;t t
   14416 s,@target_vendor@,$target_vendor,;t t
   14417 s,@target_os@,$target_os,;t t
   14418 s,@CC@,$CC,;t t
   14419 s,@CFLAGS@,$CFLAGS,;t t
   14420 s,@LDFLAGS@,$LDFLAGS,;t t
   14421 s,@CPPFLAGS@,$CPPFLAGS,;t t
   14422 s,@ac_ct_CC@,$ac_ct_CC,;t t
   14423 s,@EXEEXT@,$EXEEXT,;t t
   14424 s,@OBJEXT@,$OBJEXT,;t t
   14425 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
   14426 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
   14427 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
   14428 s,@CYGPATH_W@,$CYGPATH_W,;t t
   14429 s,@PACKAGE@,$PACKAGE,;t t
   14430 s,@VERSION@,$VERSION,;t t
   14431 s,@ACLOCAL@,$ACLOCAL,;t t
   14432 s,@AUTOCONF@,$AUTOCONF,;t t
   14433 s,@AUTOMAKE@,$AUTOMAKE,;t t
   14434 s,@AUTOHEADER@,$AUTOHEADER,;t t
   14435 s,@MAKEINFO@,$MAKEINFO,;t t
   14436 s,@install_sh@,$install_sh,;t t
   14437 s,@STRIP@,$STRIP,;t t
   14438 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
   14439 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
   14440 s,@mkdir_p@,$mkdir_p,;t t
   14441 s,@AWK@,$AWK,;t t
   14442 s,@SET_MAKE@,$SET_MAKE,;t t
   14443 s,@am__leading_dot@,$am__leading_dot,;t t
   14444 s,@AMTAR@,$AMTAR,;t t
   14445 s,@am__tar@,$am__tar,;t t
   14446 s,@am__untar@,$am__untar,;t t
   14447 s,@DEPDIR@,$DEPDIR,;t t
   14448 s,@am__include@,$am__include,;t t
   14449 s,@am__quote@,$am__quote,;t t
   14450 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
   14451 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
   14452 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
   14453 s,@CCDEPMODE@,$CCDEPMODE,;t t
   14454 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
   14455 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
   14456 s,@use_sysroot@,$use_sysroot,;t t
   14457 s,@TARGET_SYSTEM_ROOT@,$TARGET_SYSTEM_ROOT,;t t
   14458 s,@TARGET_SYSTEM_ROOT_DEFINE@,$TARGET_SYSTEM_ROOT_DEFINE,;t t
   14459 s,@WARN_CFLAGS@,$WARN_CFLAGS,;t t
   14460 s,@NO_WERROR@,$NO_WERROR,;t t
   14461 s,@CPP@,$CPP,;t t
   14462 s,@EGREP@,$EGREP,;t t
   14463 s,@LIBTOOL@,$LIBTOOL,;t t
   14464 s,@SED@,$SED,;t t
   14465 s,@FGREP@,$FGREP,;t t
   14466 s,@GREP@,$GREP,;t t
   14467 s,@LD@,$LD,;t t
   14468 s,@DUMPBIN@,$DUMPBIN,;t t
   14469 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
   14470 s,@NM@,$NM,;t t
   14471 s,@LN_S@,$LN_S,;t t
   14472 s,@AR@,$AR,;t t
   14473 s,@ac_ct_AR@,$ac_ct_AR,;t t
   14474 s,@RANLIB@,$RANLIB,;t t
   14475 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
   14476 s,@lt_ECHO@,$lt_ECHO,;t t
   14477 s,@USE_NLS@,$USE_NLS,;t t
   14478 s,@LIBINTL@,$LIBINTL,;t t
   14479 s,@LIBINTL_DEP@,$LIBINTL_DEP,;t t
   14480 s,@INCINTL@,$INCINTL,;t t
   14481 s,@XGETTEXT@,$XGETTEXT,;t t
   14482 s,@GMSGFMT@,$GMSGFMT,;t t
   14483 s,@POSUB@,$POSUB,;t t
   14484 s,@CATALOGS@,$CATALOGS,;t t
   14485 s,@DATADIRNAME@,$DATADIRNAME,;t t
   14486 s,@INSTOBJEXT@,$INSTOBJEXT,;t t
   14487 s,@GENCAT@,$GENCAT,;t t
   14488 s,@CATOBJEXT@,$CATOBJEXT,;t t
   14489 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
   14490 s,@MSGFMT@,$MSGFMT,;t t
   14491 s,@MSGMERGE@,$MSGMERGE,;t t
   14492 s,@YACC@,$YACC,;t t
   14493 s,@LEX@,$LEX,;t t
   14494 s,@LEXLIB@,$LEXLIB,;t t
   14495 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
   14496 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
   14497 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
   14498 s,@MAINT@,$MAINT,;t t
   14499 s,@GENINSRC_NEVER_TRUE@,$GENINSRC_NEVER_TRUE,;t t
   14500 s,@GENINSRC_NEVER_FALSE@,$GENINSRC_NEVER_FALSE,;t t
   14501 s,@HDEFINES@,$HDEFINES,;t t
   14502 s,@HOSTING_CRT0@,$HOSTING_CRT0,;t t
   14503 s,@HOSTING_LIBS@,$HOSTING_LIBS,;t t
   14504 s,@NATIVE_LIB_DIRS@,$NATIVE_LIB_DIRS,;t t
   14505 s,@STRINGIFY@,$STRINGIFY,;t t
   14506 s,@EMUL@,$EMUL,;t t
   14507 s,@EMULATION_OFILES@,$EMULATION_OFILES,;t t
   14508 s,@EMUL_EXTRA_OFILES@,$EMUL_EXTRA_OFILES,;t t
   14509 s,@LIB_PATH@,$LIB_PATH,;t t
   14510 s,@EMULATION_LIBPATH@,$EMULATION_LIBPATH,;t t
   14511 s,@TESTBFDLIB@,$TESTBFDLIB,;t t
   14512 s,@datarootdir@,$datarootdir,;t t
   14513 s,@docdir@,$docdir,;t t
   14514 s,@htmldir@,$htmldir,;t t
   14515 s,@LIBOBJS@,$LIBOBJS,;t t
   14516 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
   14517 /@TDIRS@/r $TDIRS
   14518 s,@TDIRS@,,;t t
   14519 CEOF
   14520 
   14521 _ACEOF
   14522 
   14523   cat >>$CONFIG_STATUS <<\_ACEOF
   14524   # Split the substitutions into bite-sized pieces for seds with
   14525   # small command number limits, like on Digital OSF/1 and HP-UX.
   14526   ac_max_sed_lines=48
   14527   ac_sed_frag=1 # Number of current file.
   14528   ac_beg=1 # First line for current file.
   14529   ac_end=$ac_max_sed_lines # Line after last line for current file.
   14530   ac_more_lines=:
   14531   ac_sed_cmds=
   14532   while $ac_more_lines; do
   14533     if test $ac_beg -gt 1; then
   14534       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   14535     else
   14536       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
   14537     fi
   14538     if test ! -s $tmp/subs.frag; then
   14539       ac_more_lines=false
   14540     else
   14541       # The purpose of the label and of the branching condition is to
   14542       # speed up the sed processing (if there are no `@' at all, there
   14543       # is no need to browse any of the substitutions).
   14544       # These are the two extra sed commands mentioned above.
   14545       (echo ':t
   14546   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
   14547       if test -z "$ac_sed_cmds"; then
   14548 	ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
   14549       else
   14550 	ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
   14551       fi
   14552       ac_sed_frag=`expr $ac_sed_frag + 1`
   14553       ac_beg=$ac_end
   14554       ac_end=`expr $ac_end + $ac_max_sed_lines`
   14555     fi
   14556   done
   14557   if test -z "$ac_sed_cmds"; then
   14558     ac_sed_cmds=cat
   14559   fi
   14560 fi # test -n "$CONFIG_FILES"
   14561 
   14562 _ACEOF
   14563 cat >>$CONFIG_STATUS <<\_ACEOF
   14564 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
   14565   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   14566   case $ac_file in
   14567   - | *:- | *:-:* ) # input from stdin
   14568 	cat >$tmp/stdin
   14569 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14570 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14571   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14572 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14573   * )   ac_file_in=$ac_file.in ;;
   14574   esac
   14575 
   14576   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
   14577   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   14578 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14579 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14580 	 X"$ac_file" : 'X\(//\)$' \| \
   14581 	 X"$ac_file" : 'X\(/\)' \| \
   14582 	 .     : '\(.\)' 2>/dev/null ||
   14583 echo X"$ac_file" |
   14584     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14585   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14586   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14587   	  /^X\(\/\).*/{ s//\1/; q; }
   14588   	  s/.*/./; q'`
   14589   { if $as_mkdir_p; then
   14590     mkdir -p "$ac_dir"
   14591   else
   14592     as_dir="$ac_dir"
   14593     as_dirs=
   14594     while test ! -d "$as_dir"; do
   14595       as_dirs="$as_dir $as_dirs"
   14596       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   14597 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14598 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14599 	 X"$as_dir" : 'X\(//\)$' \| \
   14600 	 X"$as_dir" : 'X\(/\)' \| \
   14601 	 .     : '\(.\)' 2>/dev/null ||
   14602 echo X"$as_dir" |
   14603     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14604   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14605   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14606   	  /^X\(\/\).*/{ s//\1/; q; }
   14607   	  s/.*/./; q'`
   14608     done
   14609     test ! -n "$as_dirs" || mkdir $as_dirs
   14610   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   14611 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   14612    { (exit 1); exit 1; }; }; }
   14613 
   14614   ac_builddir=.
   14615 
   14616 if test "$ac_dir" != .; then
   14617   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   14618   # A "../" for each directory in $ac_dir_suffix.
   14619   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   14620 else
   14621   ac_dir_suffix= ac_top_builddir=
   14622 fi
   14623 
   14624 case $srcdir in
   14625   .)  # No --srcdir option.  We are building in place.
   14626     ac_srcdir=.
   14627     if test -z "$ac_top_builddir"; then
   14628        ac_top_srcdir=.
   14629     else
   14630        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   14631     fi ;;
   14632   [\\/]* | ?:[\\/]* )  # Absolute path.
   14633     ac_srcdir=$srcdir$ac_dir_suffix;
   14634     ac_top_srcdir=$srcdir ;;
   14635   *) # Relative path.
   14636     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   14637     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   14638 esac
   14639 
   14640 # Do not use `cd foo && pwd` to compute absolute paths, because
   14641 # the directories may not exist.
   14642 case `pwd` in
   14643 .) ac_abs_builddir="$ac_dir";;
   14644 *)
   14645   case "$ac_dir" in
   14646   .) ac_abs_builddir=`pwd`;;
   14647   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   14648   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   14649   esac;;
   14650 esac
   14651 case $ac_abs_builddir in
   14652 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   14653 *)
   14654   case ${ac_top_builddir}. in
   14655   .) ac_abs_top_builddir=$ac_abs_builddir;;
   14656   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   14657   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   14658   esac;;
   14659 esac
   14660 case $ac_abs_builddir in
   14661 .) ac_abs_srcdir=$ac_srcdir;;
   14662 *)
   14663   case $ac_srcdir in
   14664   .) ac_abs_srcdir=$ac_abs_builddir;;
   14665   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   14666   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   14667   esac;;
   14668 esac
   14669 case $ac_abs_builddir in
   14670 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   14671 *)
   14672   case $ac_top_srcdir in
   14673   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   14674   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   14675   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   14676   esac;;
   14677 esac
   14678 
   14679 
   14680   case $INSTALL in
   14681   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
   14682   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
   14683   esac
   14684 
   14685   if test x"$ac_file" != x-; then
   14686     { echo "$as_me:$LINENO: creating $ac_file" >&5
   14687 echo "$as_me: creating $ac_file" >&6;}
   14688     rm -f "$ac_file"
   14689   fi
   14690   # Let's still pretend it is `configure' which instantiates (i.e., don't
   14691   # use $as_me), people would be surprised to read:
   14692   #    /* config.h.  Generated by config.status.  */
   14693   if test x"$ac_file" = x-; then
   14694     configure_input=
   14695   else
   14696     configure_input="$ac_file.  "
   14697   fi
   14698   configure_input=$configure_input"Generated from `echo $ac_file_in |
   14699 				     sed 's,.*/,,'` by configure."
   14700 
   14701   # First look for the input files in the build tree, otherwise in the
   14702   # src tree.
   14703   ac_file_inputs=`IFS=:
   14704     for f in $ac_file_in; do
   14705       case $f in
   14706       -) echo $tmp/stdin ;;
   14707       [\\/$]*)
   14708 	 # Absolute (can't be DOS-style, as IFS=:)
   14709 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14710 echo "$as_me: error: cannot find input file: $f" >&2;}
   14711    { (exit 1); exit 1; }; }
   14712 	 echo "$f";;
   14713       *) # Relative
   14714 	 if test -f "$f"; then
   14715 	   # Build tree
   14716 	   echo "$f"
   14717 	 elif test -f "$srcdir/$f"; then
   14718 	   # Source tree
   14719 	   echo "$srcdir/$f"
   14720 	 else
   14721 	   # /dev/null tree
   14722 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14723 echo "$as_me: error: cannot find input file: $f" >&2;}
   14724    { (exit 1); exit 1; }; }
   14725 	 fi;;
   14726       esac
   14727     done` || { (exit 1); exit 1; }
   14728 _ACEOF
   14729 cat >>$CONFIG_STATUS <<_ACEOF
   14730   sed "$ac_vpsub
   14731 $extrasub
   14732 _ACEOF
   14733 cat >>$CONFIG_STATUS <<\_ACEOF
   14734 :t
   14735 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
   14736 s,@configure_input@,$configure_input,;t t
   14737 s,@srcdir@,$ac_srcdir,;t t
   14738 s,@abs_srcdir@,$ac_abs_srcdir,;t t
   14739 s,@top_srcdir@,$ac_top_srcdir,;t t
   14740 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
   14741 s,@builddir@,$ac_builddir,;t t
   14742 s,@abs_builddir@,$ac_abs_builddir,;t t
   14743 s,@top_builddir@,$ac_top_builddir,;t t
   14744 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
   14745 s,@INSTALL@,$ac_INSTALL,;t t
   14746 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
   14747   rm -f $tmp/stdin
   14748   if test x"$ac_file" != x-; then
   14749     mv $tmp/out $ac_file
   14750   else
   14751     cat $tmp/out
   14752     rm -f $tmp/out
   14753   fi
   14754 
   14755 done
   14756 _ACEOF
   14757 cat >>$CONFIG_STATUS <<\_ACEOF
   14758 
   14759 #
   14760 # CONFIG_HEADER section.
   14761 #
   14762 
   14763 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
   14764 # NAME is the cpp macro being defined and VALUE is the value it is being given.
   14765 #
   14766 # ac_d sets the value in "#define NAME VALUE" lines.
   14767 ac_dA='s,^\([	 ]*\)#\([	 ]*define[	 ][	 ]*\)'
   14768 ac_dB='[	 ].*$,\1#\2'
   14769 ac_dC=' '
   14770 ac_dD=',;t'
   14771 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
   14772 ac_uA='s,^\([	 ]*\)#\([	 ]*\)undef\([	 ][	 ]*\)'
   14773 ac_uB='$,\1#\2define\3'
   14774 ac_uC=' '
   14775 ac_uD=',;t'
   14776 
   14777 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
   14778   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
   14779   case $ac_file in
   14780   - | *:- | *:-:* ) # input from stdin
   14781 	cat >$tmp/stdin
   14782 	ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14783 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14784   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
   14785 	ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
   14786   * )   ac_file_in=$ac_file.in ;;
   14787   esac
   14788 
   14789   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
   14790 echo "$as_me: creating $ac_file" >&6;}
   14791 
   14792   # First look for the input files in the build tree, otherwise in the
   14793   # src tree.
   14794   ac_file_inputs=`IFS=:
   14795     for f in $ac_file_in; do
   14796       case $f in
   14797       -) echo $tmp/stdin ;;
   14798       [\\/$]*)
   14799 	 # Absolute (can't be DOS-style, as IFS=:)
   14800 	 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14801 echo "$as_me: error: cannot find input file: $f" >&2;}
   14802    { (exit 1); exit 1; }; }
   14803 	 # Do quote $f, to prevent DOS paths from being IFS'd.
   14804 	 echo "$f";;
   14805       *) # Relative
   14806 	 if test -f "$f"; then
   14807 	   # Build tree
   14808 	   echo "$f"
   14809 	 elif test -f "$srcdir/$f"; then
   14810 	   # Source tree
   14811 	   echo "$srcdir/$f"
   14812 	 else
   14813 	   # /dev/null tree
   14814 	   { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
   14815 echo "$as_me: error: cannot find input file: $f" >&2;}
   14816    { (exit 1); exit 1; }; }
   14817 	 fi;;
   14818       esac
   14819     done` || { (exit 1); exit 1; }
   14820   # Remove the trailing spaces.
   14821   sed 's/[	 ]*$//' $ac_file_inputs >$tmp/in
   14822 
   14823 _ACEOF
   14824 
   14825 # Transform confdefs.h into two sed scripts, `conftest.defines' and
   14826 # `conftest.undefs', that substitutes the proper values into
   14827 # config.h.in to produce config.h.  The first handles `#define'
   14828 # templates, and the second `#undef' templates.
   14829 # And first: Protect against being on the right side of a sed subst in
   14830 # config.status.  Protect against being in an unquoted here document
   14831 # in config.status.
   14832 rm -f conftest.defines conftest.undefs
   14833 # Using a here document instead of a string reduces the quoting nightmare.
   14834 # Putting comments in sed scripts is not portable.
   14835 #
   14836 # `end' is used to avoid that the second main sed command (meant for
   14837 # 0-ary CPP macros) applies to n-ary macro definitions.
   14838 # See the Autoconf documentation for `clear'.
   14839 cat >confdef2sed.sed <<\_ACEOF
   14840 s/[\\&,]/\\&/g
   14841 s,[\\$`],\\&,g
   14842 t clear
   14843 : clear
   14844 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 (][^	 (]*\)\(([^)]*)\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
   14845 t end
   14846 s,^[	 ]*#[	 ]*define[	 ][	 ]*\([^	 ][^	 ]*\)[	 ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
   14847 : end
   14848 _ACEOF
   14849 # If some macros were called several times there might be several times
   14850 # the same #defines, which is useless.  Nevertheless, we may not want to
   14851 # sort them, since we want the *last* AC-DEFINE to be honored.
   14852 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
   14853 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
   14854 rm -f confdef2sed.sed
   14855 
   14856 # This sed command replaces #undef with comments.  This is necessary, for
   14857 # example, in the case of _POSIX_SOURCE, which is predefined and required
   14858 # on some systems where configure will not decide to define it.
   14859 cat >>conftest.undefs <<\_ACEOF
   14860 s,^[	 ]*#[	 ]*undef[	 ][	 ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
   14861 _ACEOF
   14862 
   14863 # Break up conftest.defines because some shells have a limit on the size
   14864 # of here documents, and old seds have small limits too (100 cmds).
   14865 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
   14866 echo '  if grep "^[	 ]*#[	 ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
   14867 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
   14868 echo '  :' >>$CONFIG_STATUS
   14869 rm -f conftest.tail
   14870 while grep . conftest.defines >/dev/null
   14871 do
   14872   # Write a limited-size here document to $tmp/defines.sed.
   14873   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
   14874   # Speed up: don't consider the non `#define' lines.
   14875   echo '/^[	 ]*#[	 ]*define/!b' >>$CONFIG_STATUS
   14876   # Work around the forget-to-reset-the-flag bug.
   14877   echo 't clr' >>$CONFIG_STATUS
   14878   echo ': clr' >>$CONFIG_STATUS
   14879   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
   14880   echo 'CEOF
   14881   sed -f $tmp/defines.sed $tmp/in >$tmp/out
   14882   rm -f $tmp/in
   14883   mv $tmp/out $tmp/in
   14884 ' >>$CONFIG_STATUS
   14885   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
   14886   rm -f conftest.defines
   14887   mv conftest.tail conftest.defines
   14888 done
   14889 rm -f conftest.defines
   14890 echo '  fi # grep' >>$CONFIG_STATUS
   14891 echo >>$CONFIG_STATUS
   14892 
   14893 # Break up conftest.undefs because some shells have a limit on the size
   14894 # of here documents, and old seds have small limits too (100 cmds).
   14895 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
   14896 rm -f conftest.tail
   14897 while grep . conftest.undefs >/dev/null
   14898 do
   14899   # Write a limited-size here document to $tmp/undefs.sed.
   14900   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
   14901   # Speed up: don't consider the non `#undef'
   14902   echo '/^[	 ]*#[	 ]*undef/!b' >>$CONFIG_STATUS
   14903   # Work around the forget-to-reset-the-flag bug.
   14904   echo 't clr' >>$CONFIG_STATUS
   14905   echo ': clr' >>$CONFIG_STATUS
   14906   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
   14907   echo 'CEOF
   14908   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
   14909   rm -f $tmp/in
   14910   mv $tmp/out $tmp/in
   14911 ' >>$CONFIG_STATUS
   14912   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
   14913   rm -f conftest.undefs
   14914   mv conftest.tail conftest.undefs
   14915 done
   14916 rm -f conftest.undefs
   14917 
   14918 cat >>$CONFIG_STATUS <<\_ACEOF
   14919   # Let's still pretend it is `configure' which instantiates (i.e., don't
   14920   # use $as_me), people would be surprised to read:
   14921   #    /* config.h.  Generated by config.status.  */
   14922   if test x"$ac_file" = x-; then
   14923     echo "/* Generated by configure.  */" >$tmp/config.h
   14924   else
   14925     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
   14926   fi
   14927   cat $tmp/in >>$tmp/config.h
   14928   rm -f $tmp/in
   14929   if test x"$ac_file" != x-; then
   14930     if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
   14931       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
   14932 echo "$as_me: $ac_file is unchanged" >&6;}
   14933     else
   14934       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
   14935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14936 	 X"$ac_file" : 'X\(//\)[^/]' \| \
   14937 	 X"$ac_file" : 'X\(//\)$' \| \
   14938 	 X"$ac_file" : 'X\(/\)' \| \
   14939 	 .     : '\(.\)' 2>/dev/null ||
   14940 echo X"$ac_file" |
   14941     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14942   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14943   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14944   	  /^X\(\/\).*/{ s//\1/; q; }
   14945   	  s/.*/./; q'`
   14946       { if $as_mkdir_p; then
   14947     mkdir -p "$ac_dir"
   14948   else
   14949     as_dir="$ac_dir"
   14950     as_dirs=
   14951     while test ! -d "$as_dir"; do
   14952       as_dirs="$as_dir $as_dirs"
   14953       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   14954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14955 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   14956 	 X"$as_dir" : 'X\(//\)$' \| \
   14957 	 X"$as_dir" : 'X\(/\)' \| \
   14958 	 .     : '\(.\)' 2>/dev/null ||
   14959 echo X"$as_dir" |
   14960     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14961   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14962   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14963   	  /^X\(\/\).*/{ s//\1/; q; }
   14964   	  s/.*/./; q'`
   14965     done
   14966     test ! -n "$as_dirs" || mkdir $as_dirs
   14967   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   14968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   14969    { (exit 1); exit 1; }; }; }
   14970 
   14971       rm -f $ac_file
   14972       mv $tmp/config.h $ac_file
   14973     fi
   14974   else
   14975     cat $tmp/config.h
   14976     rm -f $tmp/config.h
   14977   fi
   14978 # Compute $ac_file's index in $config_headers.
   14979 _am_stamp_count=1
   14980 for _am_header in $config_headers :; do
   14981   case $_am_header in
   14982     $ac_file | $ac_file:* )
   14983       break ;;
   14984     * )
   14985       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
   14986   esac
   14987 done
   14988 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
   14989 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   14990 	 X$ac_file : 'X\(//\)[^/]' \| \
   14991 	 X$ac_file : 'X\(//\)$' \| \
   14992 	 X$ac_file : 'X\(/\)' \| \
   14993 	 .     : '\(.\)' 2>/dev/null ||
   14994 echo X$ac_file |
   14995     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   14996   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   14997   	  /^X\(\/\/\)$/{ s//\1/; q; }
   14998   	  /^X\(\/\).*/{ s//\1/; q; }
   14999   	  s/.*/./; q'`/stamp-h$_am_stamp_count
   15000 done
   15001 _ACEOF
   15002 cat >>$CONFIG_STATUS <<\_ACEOF
   15003 
   15004 #
   15005 # CONFIG_COMMANDS section.
   15006 #
   15007 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
   15008   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
   15009   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
   15010   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
   15011 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15012 	 X"$ac_dest" : 'X\(//\)[^/]' \| \
   15013 	 X"$ac_dest" : 'X\(//\)$' \| \
   15014 	 X"$ac_dest" : 'X\(/\)' \| \
   15015 	 .     : '\(.\)' 2>/dev/null ||
   15016 echo X"$ac_dest" |
   15017     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   15018   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   15019   	  /^X\(\/\/\)$/{ s//\1/; q; }
   15020   	  /^X\(\/\).*/{ s//\1/; q; }
   15021   	  s/.*/./; q'`
   15022   { if $as_mkdir_p; then
   15023     mkdir -p "$ac_dir"
   15024   else
   15025     as_dir="$ac_dir"
   15026     as_dirs=
   15027     while test ! -d "$as_dir"; do
   15028       as_dirs="$as_dir $as_dirs"
   15029       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   15030 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15031 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15032 	 X"$as_dir" : 'X\(//\)$' \| \
   15033 	 X"$as_dir" : 'X\(/\)' \| \
   15034 	 .     : '\(.\)' 2>/dev/null ||
   15035 echo X"$as_dir" |
   15036     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   15037   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   15038   	  /^X\(\/\/\)$/{ s//\1/; q; }
   15039   	  /^X\(\/\).*/{ s//\1/; q; }
   15040   	  s/.*/./; q'`
   15041     done
   15042     test ! -n "$as_dirs" || mkdir $as_dirs
   15043   fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
   15044 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
   15045    { (exit 1); exit 1; }; }; }
   15046 
   15047   ac_builddir=.
   15048 
   15049 if test "$ac_dir" != .; then
   15050   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
   15051   # A "../" for each directory in $ac_dir_suffix.
   15052   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
   15053 else
   15054   ac_dir_suffix= ac_top_builddir=
   15055 fi
   15056 
   15057 case $srcdir in
   15058   .)  # No --srcdir option.  We are building in place.
   15059     ac_srcdir=.
   15060     if test -z "$ac_top_builddir"; then
   15061        ac_top_srcdir=.
   15062     else
   15063        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
   15064     fi ;;
   15065   [\\/]* | ?:[\\/]* )  # Absolute path.
   15066     ac_srcdir=$srcdir$ac_dir_suffix;
   15067     ac_top_srcdir=$srcdir ;;
   15068   *) # Relative path.
   15069     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
   15070     ac_top_srcdir=$ac_top_builddir$srcdir ;;
   15071 esac
   15072 
   15073 # Do not use `cd foo && pwd` to compute absolute paths, because
   15074 # the directories may not exist.
   15075 case `pwd` in
   15076 .) ac_abs_builddir="$ac_dir";;
   15077 *)
   15078   case "$ac_dir" in
   15079   .) ac_abs_builddir=`pwd`;;
   15080   [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
   15081   *) ac_abs_builddir=`pwd`/"$ac_dir";;
   15082   esac;;
   15083 esac
   15084 case $ac_abs_builddir in
   15085 .) ac_abs_top_builddir=${ac_top_builddir}.;;
   15086 *)
   15087   case ${ac_top_builddir}. in
   15088   .) ac_abs_top_builddir=$ac_abs_builddir;;
   15089   [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
   15090   *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
   15091   esac;;
   15092 esac
   15093 case $ac_abs_builddir in
   15094 .) ac_abs_srcdir=$ac_srcdir;;
   15095 *)
   15096   case $ac_srcdir in
   15097   .) ac_abs_srcdir=$ac_abs_builddir;;
   15098   [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
   15099   *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
   15100   esac;;
   15101 esac
   15102 case $ac_abs_builddir in
   15103 .) ac_abs_top_srcdir=$ac_top_srcdir;;
   15104 *)
   15105   case $ac_top_srcdir in
   15106   .) ac_abs_top_srcdir=$ac_abs_builddir;;
   15107   [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
   15108   *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
   15109   esac;;
   15110 esac
   15111 
   15112 
   15113   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
   15114 echo "$as_me: executing $ac_dest commands" >&6;}
   15115   case $ac_dest in
   15116     depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
   15117   # Strip MF so we end up with the name of the file.
   15118   mf=`echo "$mf" | sed -e 's/:.*$//'`
   15119   # Check whether this is an Automake generated Makefile or not.
   15120   # We used to match only the files named `Makefile.in', but
   15121   # some people rename them; so instead we look at the file content.
   15122   # Grep'ing the first line is not enough: some people post-process
   15123   # each Makefile.in and add a new line on top of each file to say so.
   15124   # So let's grep whole file.
   15125   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
   15126     dirpart=`(dirname "$mf") 2>/dev/null ||
   15127 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15128 	 X"$mf" : 'X\(//\)[^/]' \| \
   15129 	 X"$mf" : 'X\(//\)$' \| \
   15130 	 X"$mf" : 'X\(/\)' \| \
   15131 	 .     : '\(.\)' 2>/dev/null ||
   15132 echo X"$mf" |
   15133     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   15134   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   15135   	  /^X\(\/\/\)$/{ s//\1/; q; }
   15136   	  /^X\(\/\).*/{ s//\1/; q; }
   15137   	  s/.*/./; q'`
   15138   else
   15139     continue
   15140   fi
   15141   # Extract the definition of DEPDIR, am__include, and am__quote
   15142   # from the Makefile without running `make'.
   15143   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
   15144   test -z "$DEPDIR" && continue
   15145   am__include=`sed -n 's/^am__include = //p' < "$mf"`
   15146   test -z "am__include" && continue
   15147   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
   15148   # When using ansi2knr, U may be empty or an underscore; expand it
   15149   U=`sed -n 's/^U = //p' < "$mf"`
   15150   # Find all dependency output files, they are included files with
   15151   # $(DEPDIR) in their names.  We invoke sed twice because it is the
   15152   # simplest approach to changing $(DEPDIR) to its actual value in the
   15153   # expansion.
   15154   for file in `sed -n "
   15155     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
   15156        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
   15157     # Make sure the directory exists.
   15158     test -f "$dirpart/$file" && continue
   15159     fdir=`(dirname "$file") 2>/dev/null ||
   15160 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15161 	 X"$file" : 'X\(//\)[^/]' \| \
   15162 	 X"$file" : 'X\(//\)$' \| \
   15163 	 X"$file" : 'X\(/\)' \| \
   15164 	 .     : '\(.\)' 2>/dev/null ||
   15165 echo X"$file" |
   15166     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   15167   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   15168   	  /^X\(\/\/\)$/{ s//\1/; q; }
   15169   	  /^X\(\/\).*/{ s//\1/; q; }
   15170   	  s/.*/./; q'`
   15171     { if $as_mkdir_p; then
   15172     mkdir -p $dirpart/$fdir
   15173   else
   15174     as_dir=$dirpart/$fdir
   15175     as_dirs=
   15176     while test ! -d "$as_dir"; do
   15177       as_dirs="$as_dir $as_dirs"
   15178       as_dir=`(dirname "$as_dir") 2>/dev/null ||
   15179 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
   15180 	 X"$as_dir" : 'X\(//\)[^/]' \| \
   15181 	 X"$as_dir" : 'X\(//\)$' \| \
   15182 	 X"$as_dir" : 'X\(/\)' \| \
   15183 	 .     : '\(.\)' 2>/dev/null ||
   15184 echo X"$as_dir" |
   15185     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
   15186   	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
   15187   	  /^X\(\/\/\)$/{ s//\1/; q; }
   15188   	  /^X\(\/\).*/{ s//\1/; q; }
   15189   	  s/.*/./; q'`
   15190     done
   15191     test ! -n "$as_dirs" || mkdir $as_dirs
   15192   fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
   15193 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
   15194    { (exit 1); exit 1; }; }; }
   15195 
   15196     # echo "creating $dirpart/$file"
   15197     echo '# dummy' > "$dirpart/$file"
   15198   done
   15199 done
   15200  ;;
   15201     libtool )
   15202 
   15203     # See if we are running on zsh, and set the options which allow our
   15204     # commands through without removal of \ escapes.
   15205     if test -n "${ZSH_VERSION+set}" ; then
   15206       setopt NO_GLOB_SUBST
   15207     fi
   15208 
   15209     cfgfile="${ofile}T"
   15210     trap "$RM \"$cfgfile\"; exit 1" 1 2 15
   15211     $RM "$cfgfile"
   15212 
   15213     cat <<_LT_EOF >> "$cfgfile"
   15214 #! $SHELL
   15215 
   15216 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
   15217 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
   15218 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
   15219 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
   15220 #
   15221 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
   15222 # 2006, 2007 Free Software Foundation, Inc.
   15223 #
   15224 # This file is part of GNU Libtool:
   15225 # Originally by Gordon Matzigkeit <gord (at] gnu.ai.mit.edu>, 1996
   15226 #
   15227 # This program is free software; you can redistribute it and/or modify
   15228 # it under the terms of the GNU General Public License as published by
   15229 # the Free Software Foundation; either version 2 of the License, or
   15230 # (at your option) any later version.
   15231 #
   15232 # This program is distributed in the hope that it will be useful, but
   15233 # WITHOUT ANY WARRANTY; without even the implied warranty of
   15234 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
   15235 # General Public License for more details.
   15236 #
   15237 # You should have received a copy of the GNU General Public License
   15238 # along with this program; if not, a copy can be downloaded from
   15239 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
   15240 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
   15241 # MA 02110-1301, USA.
   15242 #
   15243 # As a special exception to the GNU General Public License, if you
   15244 # distribute this file as part of a program that contains a
   15245 # configuration script generated by Autoconf, you may include it under
   15246 # the same distribution terms that you use for the rest of that program.
   15247 
   15248 
   15249 # The names of the tagged configurations supported by this script.
   15250 available_tags=""
   15251 
   15252 # ### BEGIN LIBTOOL CONFIG
   15253 
   15254 # Which release of libtool.m4 was used?
   15255 macro_version=$macro_version
   15256 macro_revision=$macro_revision
   15257 
   15258 # Whether or not to build shared libraries.
   15259 build_libtool_libs=$enable_shared
   15260 
   15261 # Whether or not to build static libraries.
   15262 build_old_libs=$enable_static
   15263 
   15264 # What type of objects to build.
   15265 pic_mode=$pic_mode
   15266 
   15267 # Whether or not to optimize for fast installation.
   15268 fast_install=$enable_fast_install
   15269 
   15270 # The host system.
   15271 host_alias=$host_alias
   15272 host=$host
   15273 host_os=$host_os
   15274 
   15275 # The build system.
   15276 build_alias=$build_alias
   15277 build=$build
   15278 build_os=$build_os
   15279 
   15280 # A sed program that does not truncate output.
   15281 SED=$lt_SED
   15282 
   15283 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
   15284 Xsed="\$SED -e 1s/^X//"
   15285 
   15286 # A grep program that handles long lines.
   15287 GREP=$lt_GREP
   15288 
   15289 # An ERE matcher.
   15290 EGREP=$lt_EGREP
   15291 
   15292 # A literal string matcher.
   15293 FGREP=$lt_FGREP
   15294 
   15295 # A BSD- or MS-compatible name lister.
   15296 NM=$lt_NM
   15297 
   15298 # Whether we need soft or hard links.
   15299 LN_S=$lt_LN_S
   15300 
   15301 # What is the maximum length of a command?
   15302 max_cmd_len=$max_cmd_len
   15303 
   15304 # Object file suffix (normally "o").
   15305 objext=$ac_objext
   15306 
   15307 # Executable file suffix (normally "").
   15308 exeext=$exeext
   15309 
   15310 # whether the shell understands "unset".
   15311 lt_unset=$lt_unset
   15312 
   15313 # turn spaces into newlines.
   15314 SP2NL=$lt_lt_SP2NL
   15315 
   15316 # turn newlines into spaces.
   15317 NL2SP=$lt_lt_NL2SP
   15318 
   15319 # How to create reloadable object files.
   15320 reload_flag=$lt_reload_flag
   15321 reload_cmds=$lt_reload_cmds
   15322 
   15323 # Method to check whether dependent libraries are shared objects.
   15324 deplibs_check_method=$lt_deplibs_check_method
   15325 
   15326 # Command to use when deplibs_check_method == "file_magic".
   15327 file_magic_cmd=$lt_file_magic_cmd
   15328 
   15329 # The archiver.
   15330 AR=$lt_AR
   15331 AR_FLAGS=$lt_AR_FLAGS
   15332 
   15333 # A symbol stripping program.
   15334 STRIP=$lt_STRIP
   15335 
   15336 # Commands used to install an old-style archive.
   15337 RANLIB=$lt_RANLIB
   15338 old_postinstall_cmds=$lt_old_postinstall_cmds
   15339 old_postuninstall_cmds=$lt_old_postuninstall_cmds
   15340 
   15341 # A C compiler.
   15342 LTCC=$lt_CC
   15343 
   15344 # LTCC compiler flags.
   15345 LTCFLAGS=$lt_CFLAGS
   15346 
   15347 # Take the output of nm and produce a listing of raw symbols and C names.
   15348 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
   15349 
   15350 # Transform the output of nm in a proper C declaration.
   15351 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
   15352 
   15353 # Transform the output of nm in a C name address pair.
   15354 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
   15355 
   15356 # The name of the directory that contains temporary libtool files.
   15357 objdir=$objdir
   15358 
   15359 # Shell to use when invoking shell scripts.
   15360 SHELL=$lt_SHELL
   15361 
   15362 # An echo program that does not interpret backslashes.
   15363 ECHO=$lt_ECHO
   15364 
   15365 # Used to examine libraries when file_magic_cmd begins with "file".
   15366 MAGIC_CMD=$MAGIC_CMD
   15367 
   15368 # Must we lock files when doing compilation?
   15369 need_locks=$lt_need_locks
   15370 
   15371 # Old archive suffix (normally "a").
   15372 libext=$libext
   15373 
   15374 # Shared library suffix (normally ".so").
   15375 shrext_cmds=$lt_shrext_cmds
   15376 
   15377 # The commands to extract the exported symbol list from a shared archive.
   15378 extract_expsyms_cmds=$lt_extract_expsyms_cmds
   15379 
   15380 # Variables whose values should be saved in libtool wrapper scripts and
   15381 # restored at link time.
   15382 variables_saved_for_relink=$lt_variables_saved_for_relink
   15383 
   15384 # Do we need the "lib" prefix for modules?
   15385 need_lib_prefix=$need_lib_prefix
   15386 
   15387 # Do we need a version for libraries?
   15388 need_version=$need_version
   15389 
   15390 # Library versioning type.
   15391 version_type=$version_type
   15392 
   15393 # Shared library runtime path variable.
   15394 runpath_var=$runpath_var
   15395 
   15396 # Shared library path variable.
   15397 shlibpath_var=$shlibpath_var
   15398 
   15399 # Is shlibpath searched before the hard-coded library search path?
   15400 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
   15401 
   15402 # Format of library name prefix.
   15403 libname_spec=$lt_libname_spec
   15404 
   15405 # List of archive names.  First name is the real one, the rest are links.
   15406 # The last name is the one that the linker finds with -lNAME
   15407 library_names_spec=$lt_library_names_spec
   15408 
   15409 # The coded name of the library, if different from the real name.
   15410 soname_spec=$lt_soname_spec
   15411 
   15412 # Command to use after installation of a shared archive.
   15413 postinstall_cmds=$lt_postinstall_cmds
   15414 
   15415 # Command to use after uninstallation of a shared archive.
   15416 postuninstall_cmds=$lt_postuninstall_cmds
   15417 
   15418 # Commands used to finish a libtool library installation in a directory.
   15419 finish_cmds=$lt_finish_cmds
   15420 
   15421 # As "finish_cmds", except a single script fragment to be evaled but
   15422 # not shown.
   15423 finish_eval=$lt_finish_eval
   15424 
   15425 # Whether we should hardcode library paths into libraries.
   15426 hardcode_into_libs=$hardcode_into_libs
   15427 
   15428 # Compile-time system search path for libraries.
   15429 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
   15430 
   15431 # Run-time system search path for libraries.
   15432 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
   15433 
   15434 # Whether dlopen is supported.
   15435 dlopen_support=$enable_dlopen
   15436 
   15437 # Whether dlopen of programs is supported.
   15438 dlopen_self=$enable_dlopen_self
   15439 
   15440 # Whether dlopen of statically linked programs is supported.
   15441 dlopen_self_static=$enable_dlopen_self_static
   15442 
   15443 # Commands to strip libraries.
   15444 old_striplib=$lt_old_striplib
   15445 striplib=$lt_striplib
   15446 
   15447 
   15448 # The linker used to build libraries.
   15449 LD=$lt_LD
   15450 
   15451 # Commands used to build an old-style archive.
   15452 old_archive_cmds=$lt_old_archive_cmds
   15453 
   15454 # A language specific compiler.
   15455 CC=$lt_compiler
   15456 
   15457 # Is the compiler the GNU compiler?
   15458 with_gcc=$GCC
   15459 
   15460 # Compiler flag to turn off builtin functions.
   15461 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
   15462 
   15463 # How to pass a linker flag through the compiler.
   15464 wl=$lt_lt_prog_compiler_wl
   15465 
   15466 # Additional compiler flags for building library objects.
   15467 pic_flag=$lt_lt_prog_compiler_pic
   15468 
   15469 # Compiler flag to prevent dynamic linking.
   15470 link_static_flag=$lt_lt_prog_compiler_static
   15471 
   15472 # Does compiler simultaneously support -c and -o options?
   15473 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
   15474 
   15475 # Whether or not to add -lc for building shared libraries.
   15476 build_libtool_need_lc=$archive_cmds_need_lc
   15477 
   15478 # Whether or not to disallow shared libs when runtime libs are static.
   15479 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
   15480 
   15481 # Compiler flag to allow reflexive dlopens.
   15482 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
   15483 
   15484 # Compiler flag to generate shared objects directly from archives.
   15485 whole_archive_flag_spec=$lt_whole_archive_flag_spec
   15486 
   15487 # Whether the compiler copes with passing no objects directly.
   15488 compiler_needs_object=$lt_compiler_needs_object
   15489 
   15490 # Create an old-style archive from a shared archive.
   15491 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
   15492 
   15493 # Create a temporary old-style archive to link instead of a shared archive.
   15494 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
   15495 
   15496 # Commands used to build a shared archive.
   15497 archive_cmds=$lt_archive_cmds
   15498 archive_expsym_cmds=$lt_archive_expsym_cmds
   15499 
   15500 # Commands used to build a loadable module if different from building
   15501 # a shared archive.
   15502 module_cmds=$lt_module_cmds
   15503 module_expsym_cmds=$lt_module_expsym_cmds
   15504 
   15505 # Whether we are building with GNU ld or not.
   15506 with_gnu_ld=$lt_with_gnu_ld
   15507 
   15508 # Flag that allows shared libraries with undefined symbols to be built.
   15509 allow_undefined_flag=$lt_allow_undefined_flag
   15510 
   15511 # Flag that enforces no undefined symbols.
   15512 no_undefined_flag=$lt_no_undefined_flag
   15513 
   15514 # Flag to hardcode \$libdir into a binary during linking.
   15515 # This must work even if \$libdir does not exist
   15516 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
   15517 
   15518 # If ld is used when linking, flag to hardcode \$libdir into a binary
   15519 # during linking.  This must work even if \$libdir does not exist.
   15520 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
   15521 
   15522 # Whether we need a single "-rpath" flag with a separated argument.
   15523 hardcode_libdir_separator=$lt_hardcode_libdir_separator
   15524 
   15525 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15526 # DIR into the resulting binary.
   15527 hardcode_direct=$hardcode_direct
   15528 
   15529 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
   15530 # DIR into the resulting binary and the resulting library dependency is
   15531 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
   15532 # library is relocated.
   15533 hardcode_direct_absolute=$hardcode_direct_absolute
   15534 
   15535 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
   15536 # into the resulting binary.
   15537 hardcode_minus_L=$hardcode_minus_L
   15538 
   15539 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
   15540 # into the resulting binary.
   15541 hardcode_shlibpath_var=$hardcode_shlibpath_var
   15542 
   15543 # Set to "yes" if building a shared library automatically hardcodes DIR
   15544 # into the library and all subsequent libraries and executables linked
   15545 # against it.
   15546 hardcode_automatic=$hardcode_automatic
   15547 
   15548 # Set to yes if linker adds runtime paths of dependent libraries
   15549 # to runtime path list.
   15550 inherit_rpath=$inherit_rpath
   15551 
   15552 # Whether libtool must link a program against all its dependency libraries.
   15553 link_all_deplibs=$link_all_deplibs
   15554 
   15555 # Fix the shell variable \$srcfile for the compiler.
   15556 fix_srcfile_path=$lt_fix_srcfile_path
   15557 
   15558 # Set to "yes" if exported symbols are required.
   15559 always_export_symbols=$always_export_symbols
   15560 
   15561 # The commands to list exported symbols.
   15562 export_symbols_cmds=$lt_export_symbols_cmds
   15563 
   15564 # Symbols that should not be listed in the preloaded symbols.
   15565 exclude_expsyms=$lt_exclude_expsyms
   15566 
   15567 # Symbols that must always be exported.
   15568 include_expsyms=$lt_include_expsyms
   15569 
   15570 # Commands necessary for linking programs (against libraries) with templates.
   15571 prelink_cmds=$lt_prelink_cmds
   15572 
   15573 # Specify filename containing input files.
   15574 file_list_spec=$lt_file_list_spec
   15575 
   15576 # How to hardcode a shared library path into an executable.
   15577 hardcode_action=$hardcode_action
   15578 
   15579 # ### END LIBTOOL CONFIG
   15580 
   15581 _LT_EOF
   15582 
   15583   case $host_os in
   15584   aix3*)
   15585     cat <<\_LT_EOF >> "$cfgfile"
   15586 # AIX sometimes has problems with the GCC collect2 program.  For some
   15587 # reason, if we set the COLLECT_NAMES environment variable, the problems
   15588 # vanish in a puff of smoke.
   15589 if test "X${COLLECT_NAMES+set}" != Xset; then
   15590   COLLECT_NAMES=
   15591   export COLLECT_NAMES
   15592 fi
   15593 _LT_EOF
   15594     ;;
   15595   esac
   15596 
   15597 
   15598 ltmain="$ac_aux_dir/ltmain.sh"
   15599 
   15600 
   15601   # We use sed instead of cat because bash on DJGPP gets confused if
   15602   # if finds mixed CR/LF and LF-only lines.  Since sed operates in
   15603   # text mode, it properly converts lines to CR/LF.  This bash problem
   15604   # is reportedly fixed, but why not run on old versions too?
   15605   sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
   15606     || (rm -f "$cfgfile"; exit 1)
   15607 
   15608   case $xsi_shell in
   15609   yes)
   15610     cat << \_LT_EOF >> "$cfgfile"
   15611 # func_dirname file append nondir_replacement
   15612 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15613 # otherwise set result to NONDIR_REPLACEMENT.
   15614 func_dirname ()
   15615 {
   15616   case ${1} in
   15617     */*) func_dirname_result="${1%/*}${2}" ;;
   15618     *  ) func_dirname_result="${3}" ;;
   15619   esac
   15620 }
   15621 
   15622 # func_basename file
   15623 func_basename ()
   15624 {
   15625   func_basename_result="${1##*/}"
   15626 }
   15627 
   15628 # func_stripname prefix suffix name
   15629 # strip PREFIX and SUFFIX off of NAME.
   15630 # PREFIX and SUFFIX must not contain globbing or regex special
   15631 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15632 # dot (in which case that matches only a dot).
   15633 func_stripname ()
   15634 {
   15635   # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
   15636   # positional parameters, so assign one to ordinary parameter first.
   15637   func_stripname_result=${3}
   15638   func_stripname_result=${func_stripname_result#"${1}"}
   15639   func_stripname_result=${func_stripname_result%"${2}"}
   15640 }
   15641 
   15642 # func_opt_split
   15643 func_opt_split ()
   15644 {
   15645   func_opt_split_opt=${1%%=*}
   15646   func_opt_split_arg=${1#*=}
   15647 }
   15648 
   15649 # func_lo2o object
   15650 func_lo2o ()
   15651 {
   15652   case ${1} in
   15653     *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
   15654     *)    func_lo2o_result=${1} ;;
   15655   esac
   15656 }
   15657 _LT_EOF
   15658     ;;
   15659   *) # Bourne compatible functions.
   15660     cat << \_LT_EOF >> "$cfgfile"
   15661 # func_dirname file append nondir_replacement
   15662 # Compute the dirname of FILE.  If nonempty, add APPEND to the result,
   15663 # otherwise set result to NONDIR_REPLACEMENT.
   15664 func_dirname ()
   15665 {
   15666   # Extract subdirectory from the argument.
   15667   func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
   15668   if test "X$func_dirname_result" = "X${1}"; then
   15669     func_dirname_result="${3}"
   15670   else
   15671     func_dirname_result="$func_dirname_result${2}"
   15672   fi
   15673 }
   15674 
   15675 # func_basename file
   15676 func_basename ()
   15677 {
   15678   func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
   15679 }
   15680 
   15681 # func_stripname prefix suffix name
   15682 # strip PREFIX and SUFFIX off of NAME.
   15683 # PREFIX and SUFFIX must not contain globbing or regex special
   15684 # characters, hashes, percent signs, but SUFFIX may contain a leading
   15685 # dot (in which case that matches only a dot).
   15686 # func_strip_suffix prefix name
   15687 func_stripname ()
   15688 {
   15689   case ${2} in
   15690     .*) func_stripname_result=`$ECHO "X${3}" \
   15691            | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
   15692     *)  func_stripname_result=`$ECHO "X${3}" \
   15693            | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
   15694   esac
   15695 }
   15696 
   15697 # sed scripts:
   15698 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
   15699 my_sed_long_arg='1s/^-[^=]*=//'
   15700 
   15701 # func_opt_split
   15702 func_opt_split ()
   15703 {
   15704   func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
   15705   func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
   15706 }
   15707 
   15708 # func_lo2o object
   15709 func_lo2o ()
   15710 {
   15711   func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
   15712 }
   15713 _LT_EOF
   15714 esac
   15715 
   15716 case $lt_shell_append in
   15717   yes)
   15718     cat << \_LT_EOF >> "$cfgfile"
   15719 
   15720 # func_append var value
   15721 # Append VALUE to the end of shell variable VAR.
   15722 func_append ()
   15723 {
   15724   eval "$1+=\$2"
   15725 }
   15726 _LT_EOF
   15727     ;;
   15728   *)
   15729     cat << \_LT_EOF >> "$cfgfile"
   15730 
   15731 # func_append var value
   15732 # Append VALUE to the end of shell variable VAR.
   15733 func_append ()
   15734 {
   15735   eval "$1=\$$1\$2"
   15736 }
   15737 _LT_EOF
   15738     ;;
   15739   esac
   15740 
   15741 
   15742   sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
   15743     || (rm -f "$cfgfile"; exit 1)
   15744 
   15745   mv -f "$cfgfile" "$ofile" ||
   15746     (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
   15747   chmod +x "$ofile"
   15748 
   15749  ;;
   15750     default-1 )
   15751     for ac_file in $CONFIG_FILES; do
   15752       # Support "outfile[:infile[:infile...]]"
   15753       case "$ac_file" in
   15754         *:*) ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
   15755       esac
   15756       # PO directories have a Makefile.in generated from Makefile.in.in.
   15757       case "$ac_file" in */Makefile.in)
   15758         # Adjust a relative srcdir.
   15759         ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
   15760         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
   15761         ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
   15762         # In autoconf-2.13 it is called $ac_given_srcdir.
   15763         # In autoconf-2.50 it is called $srcdir.
   15764         test -n "$ac_given_srcdir" || ac_given_srcdir="$srcdir"
   15765         case "$ac_given_srcdir" in
   15766           .)  top_srcdir=`echo $ac_dots|sed 's%/$%%'` ;;
   15767           /*) top_srcdir="$ac_given_srcdir" ;;
   15768           *)  top_srcdir="$ac_dots$ac_given_srcdir" ;;
   15769         esac
   15770         if test -f "$ac_given_srcdir/$ac_dir/POTFILES.in"; then
   15771           rm -f "$ac_dir/POTFILES"
   15772           test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
   15773           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[ 	]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
   15774           POMAKEFILEDEPS="POTFILES.in"
   15775           # ALL_LINGUAS, POFILES, GMOFILES, UPDATEPOFILES, DUMMYPOFILES depend
   15776           # on $ac_dir but don't depend on user-specified configuration
   15777           # parameters.
   15778           if test -f "$ac_given_srcdir/$ac_dir/LINGUAS"; then
   15779             # The LINGUAS file contains the set of available languages.
   15780             if test -n "$OBSOLETE_ALL_LINGUAS"; then
   15781               test -n "$as_me" && echo "$as_me: setting ALL_LINGUAS in configure.in is obsolete" || echo "setting ALL_LINGUAS in configure.in is obsolete"
   15782             fi
   15783             ALL_LINGUAS_=`sed -e "/^#/d" "$ac_given_srcdir/$ac_dir/LINGUAS"`
   15784             # Hide the ALL_LINGUAS assigment from automake.
   15785             eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
   15786             POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
   15787           else
   15788             # The set of available languages was given in configure.in.
   15789             eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
   15790           fi
   15791           case "$ac_given_srcdir" in
   15792             .) srcdirpre= ;;
   15793             *) srcdirpre='$(srcdir)/' ;;
   15794           esac
   15795           POFILES=
   15796           GMOFILES=
   15797           UPDATEPOFILES=
   15798           DUMMYPOFILES=
   15799           for lang in $ALL_LINGUAS; do
   15800             POFILES="$POFILES $srcdirpre$lang.po"
   15801             GMOFILES="$GMOFILES $srcdirpre$lang.gmo"
   15802             UPDATEPOFILES="$UPDATEPOFILES $lang.po-update"
   15803             DUMMYPOFILES="$DUMMYPOFILES $lang.nop"
   15804           done
   15805           # CATALOGS depends on both $ac_dir and the user's LINGUAS
   15806           # environment variable.
   15807           INST_LINGUAS=
   15808           if test -n "$ALL_LINGUAS"; then
   15809             for presentlang in $ALL_LINGUAS; do
   15810               useit=no
   15811               if test "%UNSET%" != "$LINGUAS"; then
   15812                 desiredlanguages="$LINGUAS"
   15813               else
   15814                 desiredlanguages="$ALL_LINGUAS"
   15815               fi
   15816               for desiredlang in $desiredlanguages; do
   15817                 # Use the presentlang catalog if desiredlang is
   15818                 #   a. equal to presentlang, or
   15819                 #   b. a variant of presentlang (because in this case,
   15820                 #      presentlang can be used as a fallback for messages
   15821                 #      which are not translated in the desiredlang catalog).
   15822                 case "$desiredlang" in
   15823                   "$presentlang"*) useit=yes;;
   15824                 esac
   15825               done
   15826               if test $useit = yes; then
   15827                 INST_LINGUAS="$INST_LINGUAS $presentlang"
   15828               fi
   15829             done
   15830           fi
   15831           CATALOGS=
   15832           if test -n "$INST_LINGUAS"; then
   15833             for lang in $INST_LINGUAS; do
   15834               CATALOGS="$CATALOGS $lang.gmo"
   15835             done
   15836           fi
   15837           test -n "$as_me" && echo "$as_me: creating $ac_dir/Makefile" || echo "creating $ac_dir/Makefile"
   15838           sed -e "/^POTFILES =/r $ac_dir/POTFILES" -e "/^# Makevars/r $ac_given_srcdir/$ac_dir/Makevars" -e "s|@POFILES@|$POFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@POMAKEFILEDEPS@|$POMAKEFILEDEPS|g" "$ac_dir/Makefile.in" > "$ac_dir/Makefile"
   15839           for f in "$ac_given_srcdir/$ac_dir"/Rules-*; do
   15840             if test -f "$f"; then
   15841               case "$f" in
   15842                 *.orig | *.bak | *~) ;;
   15843                 *) cat "$f" >> "$ac_dir/Makefile" ;;
   15844               esac
   15845             fi
   15846           done
   15847         fi
   15848         ;;
   15849       esac
   15850     done ;;
   15851   esac
   15852 done
   15853 _ACEOF
   15854 
   15855 cat >>$CONFIG_STATUS <<\_ACEOF
   15856 
   15857 { (exit 0); exit 0; }
   15858 _ACEOF
   15859 chmod +x $CONFIG_STATUS
   15860 ac_clean_files=$ac_clean_files_save
   15861 
   15862 
   15863 # configure is writing to config.log, and then calls config.status.
   15864 # config.status does its own redirection, appending to config.log.
   15865 # Unfortunately, on DOS this fails, as config.log is still kept open
   15866 # by configure, so config.status won't be able to write to it; its
   15867 # output is simply discarded.  So we exec the FD to /dev/null,
   15868 # effectively closing config.log, so it can be properly (re)opened and
   15869 # appended to by config.status.  When coming back to configure, we
   15870 # need to make the FD available again.
   15871 if test "$no_create" != yes; then
   15872   ac_cs_success=:
   15873   ac_config_status_args=
   15874   test "$silent" = yes &&
   15875     ac_config_status_args="$ac_config_status_args --quiet"
   15876   exec 5>/dev/null
   15877   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
   15878   exec 5>>config.log
   15879   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
   15880   # would make configure fail if this is the last instruction.
   15881   $ac_cs_success || { (exit 1); exit 1; }
   15882 fi
   15883 
   15884