171671b9obrien#! /bin/sh
271671b9obrien# Guess values for system-dependent variables and create Makefiles.
30acbbeedim# Generated by GNU Autoconf 2.59.
471671b9obrien#
50acbbeedim# Copyright (C) 2003 Free Software Foundation, Inc.
671671b9obrien# This configure script is free software; the Free Software Foundation
771671b9obrien# gives unlimited permission to copy, distribute and modify it.
80acbbeedim## --------------------- ##
90acbbeedim## M4sh Initialization.  ##
100acbbeedim## --------------------- ##
110acbbeedim
120acbbeedim# Be Bourne compatible
130acbbeedimif test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
140acbbeedim  emulate sh
150acbbeedim  NULLCMD=:
160acbbeedim  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
170acbbeedim  # is contrary to our usage.  Disable this feature.
180acbbeedim  alias -g '${1+"$@"}'='"$@"'
190acbbeedimelif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
200acbbeedim  set -o posix
210acbbeedimfi
220acbbeedimDUALCASE=1; export DUALCASE # for MKS sh
230acbbeedim
240acbbeedim# Support unset when possible.
250acbbeedimif ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
260acbbeedim  as_unset=unset
270acbbeedimelse
280acbbeedim  as_unset=false
290acbbeedimfi
300acbbeedim
310acbbeedim
320acbbeedim# Work around bugs in pre-3.0 UWIN ksh.
330acbbeedim$as_unset ENV MAIL MAILPATH
340acbbeedimPS1='$ '
350acbbeedimPS2='> '
360acbbeedimPS4='+ '
370acbbeedim
380acbbeedim# NLS nuisances.
390acbbeedimfor as_var in \
400acbbeedim  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
410acbbeedim  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
420acbbeedim  LC_TELEPHONE LC_TIME
430acbbeedimdo
440acbbeedim  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
450acbbeedim    eval $as_var=C; export $as_var
460acbbeedim  else
470acbbeedim    $as_unset $as_var
480acbbeedim  fi
490acbbeedimdone
500acbbeedim
510acbbeedim# Required to use basename.
520acbbeedimif expr a : '\(a\)' >/dev/null 2>&1; then
530acbbeedim  as_expr=expr
540acbbeedimelse
550acbbeedim  as_expr=false
560acbbeedimfi
570acbbeedim
580acbbeedimif (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
590acbbeedim  as_basename=basename
600acbbeedimelse
610acbbeedim  as_basename=false
620acbbeedimfi
630acbbeedim
640acbbeedim
650acbbeedim# Name of the executable.
660acbbeedimas_me=`$as_basename "$0" ||
670acbbeedim$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
680acbbeedim	 X"$0" : 'X\(//\)$' \| \
690acbbeedim	 X"$0" : 'X\(/\)$' \| \
700acbbeedim	 .     : '\(.\)' 2>/dev/null ||
710acbbeedimecho X/"$0" |
720acbbeedim    sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
730acbbeedim  	  /^X\/\(\/\/\)$/{ s//\1/; q; }
740acbbeedim  	  /^X\/\(\/\).*/{ s//\1/; q; }
750acbbeedim  	  s/.*/./; q'`
760acbbeedim
770acbbeedim
780acbbeedim# PATH needs CR, and LINENO needs CR and PATH.
790acbbeedim# Avoid depending upon Character Ranges.
800acbbeedimas_cr_letters='abcdefghijklmnopqrstuvwxyz'
810acbbeedimas_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
820acbbeedimas_cr_Letters=$as_cr_letters$as_cr_LETTERS
830acbbeedimas_cr_digits='0123456789'
840acbbeedimas_cr_alnum=$as_cr_Letters$as_cr_digits
850acbbeedim
860acbbeedim# The user is always right.
870acbbeedimif test "${PATH_SEPARATOR+set}" != set; then
880acbbeedim  echo "#! /bin/sh" >conf$$.sh
890acbbeedim  echo  "exit 0"   >>conf$$.sh
900acbbeedim  chmod +x conf$$.sh
910acbbeedim  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
920acbbeedim    PATH_SEPARATOR=';'
930acbbeedim  else
940acbbeedim    PATH_SEPARATOR=:
950acbbeedim  fi
960acbbeedim  rm -f conf$$.sh
970acbbeedimfi
980acbbeedim
990acbbeedim
1000acbbeedim  as_lineno_1=$LINENO
1010acbbeedim  as_lineno_2=$LINENO
1020acbbeedim  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1030acbbeedim  test "x$as_lineno_1" != "x$as_lineno_2" &&
1040acbbeedim  test "x$as_lineno_3"  = "x$as_lineno_2"  || {
1050acbbeedim  # Find who we are.  Look in the path if we contain no path at all
1060acbbeedim  # relative or not.
1070acbbeedim  case $0 in
1080acbbeedim    *[\\/]* ) as_myself=$0 ;;
1090acbbeedim    *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1100acbbeedimfor as_dir in $PATH
1110acbbeedimdo
1120acbbeedim  IFS=$as_save_IFS
1130acbbeedim  test -z "$as_dir" && as_dir=.
1140acbbeedim  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1150acbbeedimdone
1160acbbeedim
1170acbbeedim       ;;
1180acbbeedim  esac
1190acbbeedim  # We did not find ourselves, most probably we were run as `sh COMMAND'
1200acbbeedim  # in which case we are not to be found in the path.
1210acbbeedim  if test "x$as_myself" = x; then
1220acbbeedim    as_myself=$0
1230acbbeedim  fi
1240acbbeedim  if test ! -f "$as_myself"; then
1250acbbeedim    { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
1260acbbeedim   { (exit 1); exit 1; }; }
1270acbbeedim  fi
1280acbbeedim  case $CONFIG_SHELL in
1290acbbeedim  '')
1300acbbeedim    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1310acbbeedimfor as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1320acbbeedimdo
1330acbbeedim  IFS=$as_save_IFS
1340acbbeedim  test -z "$as_dir" && as_dir=.
1350acbbeedim  for as_base in sh bash ksh sh5; do
1360acbbeedim	 case $as_dir in
1370acbbeedim	 /*)
1380acbbeedim	   if ("$as_dir/$as_base" -c '
1390acbbeedim  as_lineno_1=$LINENO
1400acbbeedim  as_lineno_2=$LINENO
1410acbbeedim  as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1420acbbeedim  test "x$as_lineno_1" != "x$as_lineno_2" &&
1430acbbeedim  test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
1440acbbeedim	     $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1450acbbeedim	     $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1460acbbeedim	     CONFIG_SHELL=$as_dir/$as_base
1470acbbeedim	     export CONFIG_SHELL
1480acbbeedim	     exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1490acbbeedim	   fi;;
1500acbbeedim	 esac
1510acbbeedim       done
1520acbbeedimdone
1530acbbeedim;;
1540acbbeedim  esac
1550acbbeedim
1560acbbeedim  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1570acbbeedim  # uniformly replaced by the line number.  The first 'sed' inserts a
1580acbbeedim  # line-number line before each line; the second 'sed' does the real
1590acbbeedim  # work.  The second script uses 'N' to pair each line-number line
1600acbbeedim  # with the numbered line, and appends trailing '-' during
1610acbbeedim  # substitution so that $LINENO is not a special case at line end.
1620acbbeedim  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1630acbbeedim  # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
1640acbbeedim  sed '=' <$as_myself |
1650acbbeedim    sed '
1660acbbeedim      N
1670acbbeedim      s,$,-,
1680acbbeedim      : loop
1690acbbeedim      s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1700acbbeedim      t loop
1710acbbeedim      s,-$,,
1720acbbeedim      s,^['$as_cr_digits']*\n,,
1730acbbeedim    ' >$as_me.lineno &&
1740acbbeedim  chmod +x $as_me.lineno ||
1750acbbeedim    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1760acbbeedim   { (exit 1); exit 1; }; }
1770acbbeedim
1780acbbeedim  # Don't try to exec as it changes $[0], causing all sort of problems
1790acbbeedim  # (the dirname of $[0] is not the place where we might find the
1800acbbeedim  # original and so on.  Autoconf is especially sensible to this).
1810acbbeedim  . ./$as_me.lineno
1820acbbeedim  # Exit status is that of the last command.
1830acbbeedim  exit
1840acbbeedim}
1850acbbeedim
1860acbbeedim
1870acbbeedimcase `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1880acbbeedim  *c*,-n*) ECHO_N= ECHO_C='
1890acbbeedim' ECHO_T='	' ;;
1900acbbeedim  *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1910acbbeedim  *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
1920acbbeedimesac
1930acbbeedim
1940acbbeedimif expr a : '\(a\)' >/dev/null 2>&1; then
1950acbbeedim  as_expr=expr
1960acbbeedimelse
1970acbbeedim  as_expr=false
1980acbbeedimfi
1990acbbeedim
2000acbbeedimrm -f conf$$ conf$$.exe conf$$.file
2010acbbeedimecho >conf$$.file
2020acbbeedimif ln -s conf$$.file conf$$ 2>/dev/null; then
2030acbbeedim  # We could just check for DJGPP; but this test a) works b) is more generic
2040acbbeedim  # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2050acbbeedim  if test -f conf$$.exe; then
2060acbbeedim    # Don't use ln at all; we don't have any links
2070acbbeedim    as_ln_s='cp -p'
2080acbbeedim  else
2090acbbeedim    as_ln_s='ln -s'
2100acbbeedim  fi
2110acbbeedimelif ln conf$$.file conf$$ 2>/dev/null; then
2120acbbeedim  as_ln_s=ln
2130acbbeedimelse
2140acbbeedim  as_ln_s='cp -p'
2150acbbeedimfi
2160acbbeedimrm -f conf$$ conf$$.exe conf$$.file
2170acbbeedim
2180acbbeedimif mkdir -p . 2>/dev/null; then
2190acbbeedim  as_mkdir_p=:
2200acbbeedimelse
2210acbbeedim  test -d ./-p && rmdir ./-p
2220acbbeedim  as_mkdir_p=false
2230acbbeedimfi
2240acbbeedim
2250acbbeedimas_executable_p="test -f"
2260acbbeedim
2270acbbeedim# Sed expression to map a string onto a valid CPP name.
2280acbbeedimas_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2290acbbeedim
2300acbbeedim# Sed expression to map a string onto a valid variable name.
2310acbbeedimas_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2320acbbeedim
2330acbbeedim
2340acbbeedim# IFS
2350acbbeedim# We need space, tab and new line, in precisely that order.
2360acbbeedimas_nl='
2370acbbeedim'
2380acbbeedimIFS=" 	$as_nl"
2390acbbeedim
2400acbbeedim# CDPATH.
2410acbbeedim$as_unset CDPATH
2420acbbeedim
2430acbbeedim
244d0f678fdim
245d0f678fdim# Check that we are running under the correct shell.
246d0f678fdimSHELL=${CONFIG_SHELL-/bin/sh}
247d0f678fdim
248d0f678fdimcase X$lt_ECHO in
249d0f678fdimX*--fallback-echo)
250d0f678fdim  # Remove one level of quotation (which was required for Make).
251d0f678fdim  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
252d0f678fdim  ;;
253d0f678fdimesac
254d0f678fdim
255d0f678fdimECHO=${lt_ECHO-echo}
256d0f678fdimif test "X$1" = X--no-reexec; then
257d0f678fdim  # Discard the --no-reexec flag, and continue.
258d0f678fdim  shift
259d0f678fdimelif test "X$1" = X--fallback-echo; then
260d0f678fdim  # Avoid inline document here, it may be left over
261d0f678fdim  :
262d0f678fdimelif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
263d0f678fdim  # Yippee, $ECHO works!
264d0f678fdim  :
265d0f678fdimelse
266d0f678fdim  # Restart under the correct shell.
267d0f678fdim  exec $SHELL "$0" --no-reexec ${1+"$@"}
268d0f678fdimfi
269d0f678fdim
270d0f678fdimif test "X$1" = X--fallback-echo; then
271d0f678fdim  # used as fallback echo
272d0f678fdim  shift
273d0f678fdim  cat <<_LT_EOF
274d0f678fdim$*
275d0f678fdim_LT_EOF
276d0f678fdim  exit 0
277d0f678fdimfi
278d0f678fdim
279d0f678fdim# The HP-UX ksh and POSIX shell print the target directory to stdout
280d0f678fdim# if CDPATH is set.
281d0f678fdim(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
282d0f678fdim
283d0f678fdimif test -z "$lt_ECHO"; then
284d0f678fdim  if test "X${echo_test_string+set}" != Xset; then
285d0f678fdim    # find a string as large as possible, as long as the shell can cope with it
286d0f678fdim    for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
287d0f678fdim      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
288d0f678fdim      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
289d0f678fdim	 { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
290d0f678fdim      then
291d0f678fdim        break
292d0f678fdim      fi
293d0f678fdim    done
294d0f678fdim  fi
295d0f678fdim
296d0f678fdim  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
297d0f678fdim     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
298d0f678fdim     test "X$echo_testing_string" = "X$echo_test_string"; then
299d0f678fdim    :
300d0f678fdim  else
301d0f678fdim    # The Solaris, AIX, and Digital Unix default echo programs unquote
302d0f678fdim    # backslashes.  This makes it impossible to quote backslashes using
303d0f678fdim    #   echo "$something" | sed 's/\\/\\\\/g'
304d0f678fdim    #
305d0f678fdim    # So, first we look for a working echo in the user's PATH.
306d0f678fdim
307d0f678fdim    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
308d0f678fdim    for dir in $PATH /usr/ucb; do
309d0f678fdim      IFS="$lt_save_ifs"
310d0f678fdim      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
311d0f678fdim         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
312d0f678fdim         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
313d0f678fdim         test "X$echo_testing_string" = "X$echo_test_string"; then
314d0f678fdim        ECHO="$dir/echo"
315d0f678fdim        break
316d0f678fdim      fi
317d0f678fdim    done
318d0f678fdim    IFS="$lt_save_ifs"
319d0f678fdim
320d0f678fdim    if test "X$ECHO" = Xecho; then
321d0f678fdim      # We didn't find a better echo, so look for alternatives.
322d0f678fdim      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
323d0f678fdim         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
324d0f678fdim         test "X$echo_testing_string" = "X$echo_test_string"; then
325d0f678fdim        # This shell has a builtin print -r that does the trick.
326d0f678fdim        ECHO='print -r'
327d0f678fdim      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
328d0f678fdim	   test "X$CONFIG_SHELL" != X/bin/ksh; then
329d0f678fdim        # If we have ksh, try running configure again with it.
330d0f678fdim        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
331d0f678fdim        export ORIGINAL_CONFIG_SHELL
332d0f678fdim        CONFIG_SHELL=/bin/ksh
333d0f678fdim        export CONFIG_SHELL
334d0f678fdim        exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
335d0f678fdim      else
336d0f678fdim        # Try using printf.
337d0f678fdim        ECHO='printf %s\n'
338d0f678fdim        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
339d0f678fdim	   echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
340d0f678fdim	   test "X$echo_testing_string" = "X$echo_test_string"; then
341d0f678fdim	  # Cool, printf works
342d0f678fdim	  :
343d0f678fdim        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
344d0f678fdim	     test "X$echo_testing_string" = 'X\t' &&
345d0f678fdim	     echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
346d0f678fdim	     test "X$echo_testing_string" = "X$echo_test_string"; then
347d0f678fdim	  CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
348d0f678fdim	  export CONFIG_SHELL
349d0f678fdim	  SHELL="$CONFIG_SHELL"
350d0f678fdim	  export SHELL
351d0f678fdim	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
352d0f678fdim        elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
353d0f678fdim	     test "X$echo_testing_string" = 'X\t' &&
354d0f678fdim	     echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
355d0f678fdim	     test "X$echo_testing_string" = "X$echo_test_string"; then
356d0f678fdim	  ECHO="$CONFIG_SHELL $0 --fallback-echo"
357d0f678fdim        else
358d0f678fdim	  # maybe with a smaller string...
359d0f678fdim	  prev=:
360d0f678fdim
361d0f678fdim	  for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
362d0f678fdim	    if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
363d0f678fdim	    then
364d0f678fdim	      break
365d0f678fdim	    fi
366d0f678fdim	    prev="$cmd"
367d0f678fdim	  done
368d0f678fdim
369d0f678fdim	  if test "$prev" != 'sed 50q "$0"'; then
370d0f678fdim	    echo_test_string=`eval $prev`
371d0f678fdim	    export echo_test_string
372d0f678fdim	    exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
373d0f678fdim	  else
374d0f678fdim	    # Oops.  We lost completely, so just stick with echo.
375d0f678fdim	    ECHO=echo
376d0f678fdim	  fi
377d0f678fdim        fi
378d0f678fdim      fi
379d0f678fdim    fi
380d0f678fdim  fi
381d0f678fdimfi
382d0f678fdim
383d0f678fdim# Copy echo and quote the copy suitably for passing to libtool from
384d0f678fdim# the Makefile, instead of quoting the original, which is used later.
385d0f678fdimlt_ECHO=$ECHO
386d0f678fdimif test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
387d0f678fdim   lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
388d0f678fdimfi
389d0f678fdim
390d0f678fdim
391d0f678fdim
392d0f678fdim
3930acbbeedim# Name of the host.
3940acbbeedim# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
3950acbbeedim# so uname gets run too.
3960acbbeedimac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
39771671b9obrien
3980acbbeedimexec 6>&1
3990acbbeedim
4000acbbeedim#
4010acbbeedim# Initializations.
4020acbbeedim#
40371671b9obrienac_default_prefix=/usr/local
4040acbbeedimac_config_libobj_dir=.
4050acbbeedimcross_compiling=no
4060acbbeedimsubdirs=
4070acbbeedimMFLAGS=
4080acbbeedimMAKEFLAGS=
4090acbbeedimSHELL=${CONFIG_SHELL-/bin/sh}
4100acbbeedim
4110acbbeedim# Maximum number of lines to put in a shell here document.
4120acbbeedim# This variable seems obsolete.  It should probably be removed, and
4130acbbeedim# only ac_max_sed_lines should be used.
4140acbbeedim: ${ac_max_here_lines=38}
4150acbbeedim
4160acbbeedim# Identity of this package.
4170acbbeedimPACKAGE_NAME=
4180acbbeedimPACKAGE_TARNAME=
4190acbbeedimPACKAGE_VERSION=
4200acbbeedimPACKAGE_STRING=
4210acbbeedimPACKAGE_BUGREPORT=
4220acbbeedim
4230acbbeedimac_unique_file="ar.c"
4240acbbeedim# Factoring default headers for most tests.
4250acbbeedimac_includes_default="\
4260acbbeedim#include <stdio.h>
4270acbbeedim#if HAVE_SYS_TYPES_H
4280acbbeedim# include <sys/types.h>
4290acbbeedim#endif
4300acbbeedim#if HAVE_SYS_STAT_H
4310acbbeedim# include <sys/stat.h>
4320acbbeedim#endif
4330acbbeedim#if STDC_HEADERS
4340acbbeedim# include <stdlib.h>
4350acbbeedim# include <stddef.h>
4360acbbeedim#else
4370acbbeedim# if HAVE_STDLIB_H
4380acbbeedim#  include <stdlib.h>
4390acbbeedim# endif
4400acbbeedim#endif
4410acbbeedim#if HAVE_STRING_H
4420acbbeedim# if !STDC_HEADERS && HAVE_MEMORY_H
4430acbbeedim#  include <memory.h>
4440acbbeedim# endif
4450acbbeedim# include <string.h>
4460acbbeedim#endif
4470acbbeedim#if HAVE_STRINGS_H
4480acbbeedim# include <strings.h>
4490acbbeedim#endif
4500acbbeedim#if HAVE_INTTYPES_H
4510acbbeedim# include <inttypes.h>
4520acbbeedim#else
4530acbbeedim# if HAVE_STDINT_H
4540acbbeedim#  include <stdint.h>
4550acbbeedim# endif
4560acbbeedim#endif
4570acbbeedim#if HAVE_UNISTD_H
4580acbbeedim# include <unistd.h>
4590acbbeedim#endif"
4600acbbeedim
461d0f678fdimac_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 LIBTOOL SED EGREP FGREP GREP LD DUMPBIN ac_ct_DUMPBIN NM LN_S AR ac_ct_AR RANLIB ac_ct_RANLIB lt_ECHO CPP WARN_CFLAGS NO_WERROR YACC LEX LEXLIB LEX_OUTPUT_ROOT USE_NLS LIBINTL LIBINTL_DEP INCINTL XGETTEXT GMSGFMT POSUB CATALOGS DATADIRNAME INSTOBJEXT GENCAT CATOBJEXT MKINSTALLDIRS MSGFMT MSGMERGE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT GENINSRC_NEVER_TRUE GENINSRC_NEVER_FALSE HDEFINES CC_FOR_BUILD EXEEXT_FOR_BUILD DEMANGLER_NAME ALLOCA LIBICONV LTLIBICONV NLMCONV_DEFS BUILD_NLMCONV BUILD_SRCONV BUILD_DLLTOOL DLLTOOL_DEFS BUILD_WINDRES BUILD_WINDMC BUILD_DLLWRAP BUILD_MISC BUILD_INSTALL_MISC OBJDUMP_DEFS EMULATION EMULATION_VECTOR datarootdir docdir htmldir LIBOBJS LTLIBOBJS'
4620acbbeedimac_subst_files=''
46371671b9obrien
46471671b9obrien# Initialize some variables set by options.
4650acbbeedimac_init_help=
4660acbbeedimac_init_version=false
46771671b9obrien# The variables have the same names as the options, with
46871671b9obrien# dashes changed to underlines.
4690acbbeedimcache_file=/dev/null
47071671b9obrienexec_prefix=NONE
47171671b9obrienno_create=
47271671b9obrienno_recursion=
47371671b9obrienprefix=NONE
47471671b9obrienprogram_prefix=NONE
47571671b9obrienprogram_suffix=NONE
47671671b9obrienprogram_transform_name=s,x,x,
47771671b9obriensilent=
47871671b9obriensite=
47971671b9obriensrcdir=
48071671b9obrienverbose=
48171671b9obrienx_includes=NONE
48271671b9obrienx_libraries=NONE
4830acbbeedim
4840acbbeedim# Installation directory options.
4850acbbeedim# These are left unexpanded so users can "make install exec_prefix=/foo"
4860acbbeedim# and all the variables that are supposed to be based on exec_prefix
4870acbbeedim# by default will actually change.
4880acbbeedim# Use braces instead of parens because sh, perl, etc. also accept them.
48971671b9obrienbindir='${exec_prefix}/bin'
49071671b9obriensbindir='${exec_prefix}/sbin'
49171671b9obrienlibexecdir='${exec_prefix}/libexec'
49271671b9obriendatadir='${prefix}/share'
49371671b9obriensysconfdir='${prefix}/etc'
49471671b9obriensharedstatedir='${prefix}/com'
49571671b9obrienlocalstatedir='${prefix}/var'
49671671b9obrienlibdir='${exec_prefix}/lib'
49771671b9obrienincludedir='${prefix}/include'
49871671b9obrienoldincludedir='/usr/include'
49971671b9obrieninfodir='${prefix}/info'
50071671b9obrienmandir='${prefix}/man'
50171671b9obrien
50271671b9obrienac_prev=
50371671b9obrienfor ac_option
50471671b9obriendo
50571671b9obrien  # If the previous option needs an argument, assign it.
50671671b9obrien  if test -n "$ac_prev"; then
50771671b9obrien    eval "$ac_prev=\$ac_option"
50871671b9obrien    ac_prev=
50971671b9obrien    continue
51071671b9obrien  fi
51171671b9obrien
5120acbbeedim  ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
51371671b9obrien
51471671b9obrien  # Accept the important Cygnus configure options, so we can diagnose typos.
51571671b9obrien
5160acbbeedim  case $ac_option in
51771671b9obrien
51871671b9obrien  -bindir | --bindir | --bindi | --bind | --bin | --bi)
51971671b9obrien    ac_prev=bindir ;;
52071671b9obrien  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
5210acbbeedim    bindir=$ac_optarg ;;
52271671b9obrien
52371671b9obrien  -build | --build | --buil | --bui | --bu)
5240acbbeedim    ac_prev=build_alias ;;
52571671b9obrien  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
5260acbbeedim    build_alias=$ac_optarg ;;
52771671b9obrien
52871671b9obrien  -cache-file | --cache-file | --cache-fil | --cache-fi \
52971671b9obrien  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
53071671b9obrien    ac_prev=cache_file ;;
53171671b9obrien  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
53271671b9obrien  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
5330acbbeedim    cache_file=$ac_optarg ;;
5340acbbeedim
5350acbbeedim  --config-cache | -C)
5360acbbeedim    cache_file=config.cache ;;
53771671b9obrien
53871671b9obrien  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
53971671b9obrien    ac_prev=datadir ;;
54071671b9obrien  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
54171671b9obrien  | --da=*)
5420acbbeedim    datadir=$ac_optarg ;;
54371671b9obrien
54471671b9obrien  -disable-* | --disable-*)
5450acbbeedim    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
54671671b9obrien    # Reject names that are not valid shell variable names.
5470acbbeedim    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5480acbbeedim      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
5490acbbeedim   { (exit 1); exit 1; }; }
5500acbbeedim    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
5510acbbeedim    eval "enable_$ac_feature=no" ;;
55271671b9obrien
55371671b9obrien  -enable-* | --enable-*)
5540acbbeedim    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
55571671b9obrien    # Reject names that are not valid shell variable names.
5560acbbeedim    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
5570acbbeedim      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
5580acbbeedim   { (exit 1); exit 1; }; }
5590acbbeedim    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
5600acbbeedim    case $ac_option in
5610acbbeedim      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
56271671b9obrien      *) ac_optarg=yes ;;
56371671b9obrien    esac
5640acbbeedim    eval "enable_$ac_feature='$ac_optarg'" ;;
56571671b9obrien
56671671b9obrien  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
56771671b9obrien  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
56871671b9obrien  | --exec | --exe | --ex)
56971671b9obrien    ac_prev=exec_prefix ;;
57071671b9obrien  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
57171671b9obrien  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
57271671b9obrien  | --exec=* | --exe=* | --ex=*)
5730acbbeedim    exec_prefix=$ac_optarg ;;
57471671b9obrien
57571671b9obrien  -gas | --gas | --ga | --g)
57671671b9obrien    # Obsolete; use --with-gas.
57771671b9obrien    with_gas=yes ;;
57871671b9obrien
5790acbbeedim  -help | --help | --hel | --he | -h)
5800acbbeedim    ac_init_help=long ;;
5810acbbeedim  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
5820acbbeedim    ac_init_help=recursive ;;
5830acbbeedim  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
5840acbbeedim    ac_init_help=short ;;
58571671b9obrien
58671671b9obrien  -host | --host | --hos | --ho)
5870acbbeedim    ac_prev=host_alias ;;
58871671b9obrien  -host=* | --host=* | --hos=* | --ho=*)
5890acbbeedim    host_alias=$ac_optarg ;;
59071671b9obrien
59171671b9obrien  -includedir | --includedir | --includedi | --included | --include \
59271671b9obrien  | --includ | --inclu | --incl | --inc)
59371671b9obrien    ac_prev=includedir ;;
59471671b9obrien  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
59571671b9obrien  | --includ=* | --inclu=* | --incl=* | --inc=*)
5960acbbeedim    includedir=$ac_optarg ;;
59771671b9obrien
59871671b9obrien  -infodir | --infodir | --infodi | --infod | --info | --inf)
59971671b9obrien    ac_prev=infodir ;;
60071671b9obrien  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
6010acbbeedim    infodir=$ac_optarg ;;
60271671b9obrien
60371671b9obrien  -libdir | --libdir | --libdi | --libd)
60471671b9obrien    ac_prev=libdir ;;
60571671b9obrien  -libdir=* | --libdir=* | --libdi=* | --libd=*)
6060acbbeedim    libdir=$ac_optarg ;;
60771671b9obrien
60871671b9obrien  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
60971671b9obrien  | --libexe | --libex | --libe)
61071671b9obrien    ac_prev=libexecdir ;;
61171671b9obrien  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
61271671b9obrien  | --libexe=* | --libex=* | --libe=*)
6130acbbeedim    libexecdir=$ac_optarg ;;
61471671b9obrien
61571671b9obrien  -localstatedir | --localstatedir | --localstatedi | --localstated \
61671671b9obrien  | --localstate | --localstat | --localsta | --localst \
61771671b9obrien  | --locals | --local | --loca | --loc | --lo)
61871671b9obrien    ac_prev=localstatedir ;;
61971671b9obrien  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
62071671b9obrien  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
62171671b9obrien  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
6220acbbeedim    localstatedir=$ac_optarg ;;
62371671b9obrien
62471671b9obrien  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
62571671b9obrien    ac_prev=mandir ;;
62671671b9obrien  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
6270acbbeedim    mandir=$ac_optarg ;;
62871671b9obrien
62971671b9obrien  -nfp | --nfp | --nf)
63071671b9obrien    # Obsolete; use --without-fp.
63171671b9obrien    with_fp=no ;;
63271671b9obrien
63371671b9obrien  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
6340acbbeedim  | --no-cr | --no-c | -n)
63571671b9obrien    no_create=yes ;;
63671671b9obrien
63771671b9obrien  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
63871671b9obrien  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
63971671b9obrien    no_recursion=yes ;;
64071671b9obrien
64171671b9obrien  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
64271671b9obrien  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
64371671b9obrien  | --oldin | --oldi | --old | --ol | --o)
64471671b9obrien    ac_prev=oldincludedir ;;
64571671b9obrien  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
64671671b9obrien  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
64771671b9obrien  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
6480acbbeedim    oldincludedir=$ac_optarg ;;
64971671b9obrien
65071671b9obrien  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
65171671b9obrien    ac_prev=prefix ;;
65271671b9obrien  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6530acbbeedim    prefix=$ac_optarg ;;
65471671b9obrien
65571671b9obrien  -program-prefix | --program-prefix | --program-prefi | --program-pref \
65671671b9obrien  | --program-pre | --program-pr | --program-p)
65771671b9obrien    ac_prev=program_prefix ;;
65871671b9obrien  -program-prefix=* | --program-prefix=* | --program-prefi=* \
65971671b9obrien  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
6600acbbeedim    program_prefix=$ac_optarg ;;
66171671b9obrien
66271671b9obrien  -program-suffix | --program-suffix | --program-suffi | --program-suff \
66371671b9obrien  | --program-suf | --program-su | --program-s)
66471671b9obrien    ac_prev=program_suffix ;;
66571671b9obrien  -program-suffix=* | --program-suffix=* | --program-suffi=* \
66671671b9obrien  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
6670acbbeedim    program_suffix=$ac_optarg ;;
66871671b9obrien
66971671b9obrien  -program-transform-name | --program-transform-name \
67071671b9obrien  | --program-transform-nam | --program-transform-na \
67171671b9obrien  | --program-transform-n | --program-transform- \
67271671b9obrien  | --program-transform | --program-transfor \
67371671b9obrien  | --program-transfo | --program-transf \
67471671b9obrien  | --program-trans | --program-tran \
67571671b9obrien  | --progr-tra | --program-tr | --program-t)
67671671b9obrien    ac_prev=program_transform_name ;;
67771671b9obrien  -program-transform-name=* | --program-transform-name=* \
67871671b9obrien  | --program-transform-nam=* | --program-transform-na=* \
67971671b9obrien  | --program-transform-n=* | --program-transform-=* \
68071671b9obrien  | --program-transform=* | --program-transfor=* \
68171671b9obrien  | --program-transfo=* | --program-transf=* \
68271671b9obrien  | --program-trans=* | --program-tran=* \
68371671b9obrien  | --progr-tra=* | --program-tr=* | --program-t=*)
6840acbbeedim    program_transform_name=$ac_optarg ;;
68571671b9obrien
68671671b9obrien  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
68771671b9obrien  | -silent | --silent | --silen | --sile | --sil)
68871671b9obrien    silent=yes ;;
68971671b9obrien
69071671b9obrien  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
69171671b9obrien    ac_prev=sbindir ;;
69271671b9obrien  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
69371671b9obrien  | --sbi=* | --sb=*)
6940acbbeedim    sbindir=$ac_optarg ;;
69571671b9obrien
69671671b9obrien  -sharedstatedir | --sharedstatedir | --sharedstatedi \
69771671b9obrien  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
69871671b9obrien  | --sharedst | --shareds | --shared | --share | --shar \
69971671b9obrien  | --sha | --sh)
70071671b9obrien    ac_prev=sharedstatedir ;;
70171671b9obrien  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
70271671b9obrien  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
70371671b9obrien  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
70471671b9obrien  | --sha=* | --sh=*)
7050acbbeedim    sharedstatedir=$ac_optarg ;;
70671671b9obrien
70771671b9obrien  -site | --site | --sit)
70871671b9obrien    ac_prev=site ;;
70971671b9obrien  -site=* | --site=* | --sit=*)
7100acbbeedim    site=$ac_optarg ;;
71171671b9obrien
71271671b9obrien  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
71371671b9obrien    ac_prev=srcdir ;;
71471671b9obrien  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
7150acbbeedim    srcdir=$ac_optarg ;;
71671671b9obrien
71771671b9obrien  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
71871671b9obrien  | --syscon | --sysco | --sysc | --sys | --sy)
71971671b9obrien    ac_prev=sysconfdir ;;
72071671b9obrien  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
72171671b9obrien  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
7220acbbeedim    sysconfdir=$ac_optarg ;;
72371671b9obrien
72471671b9obrien  -target | --target | --targe | --targ | --tar | --ta | --t)
7250acbbeedim    ac_prev=target_alias ;;
72671671b9obrien  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
7270acbbeedim    target_alias=$ac_optarg ;;
72871671b9obrien
72971671b9obrien  -v | -verbose | --verbose | --verbos | --verbo | --verb)
73071671b9obrien    verbose=yes ;;
73171671b9obrien
7320acbbeedim  -version | --version | --versio | --versi | --vers | -V)
7330acbbeedim    ac_init_version=: ;;
73471671b9obrien
73571671b9obrien  -with-* | --with-*)
7360acbbeedim    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
73771671b9obrien    # Reject names that are not valid shell variable names.
7380acbbeedim    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
7390acbbeedim      { echo "$as_me: error: invalid package name: $ac_package" >&2
7400acbbeedim   { (exit 1); exit 1; }; }
74171671b9obrien    ac_package=`echo $ac_package| sed 's/-/_/g'`
7420acbbeedim    case $ac_option in
7430acbbeedim      *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
74471671b9obrien      *) ac_optarg=yes ;;
74571671b9obrien    esac
7460acbbeedim    eval "with_$ac_package='$ac_optarg'" ;;
74771671b9obrien
74871671b9obrien  -without-* | --without-*)
7490acbbeedim    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
75071671b9obrien    # Reject names that are not valid shell variable names.
7510acbbeedim    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
7520acbbeedim      { echo "$as_me: error: invalid package name: $ac_package" >&2
7530acbbeedim   { (exit 1); exit 1; }; }
7540acbbeedim    ac_package=`echo $ac_package | sed 's/-/_/g'`
7550acbbeedim    eval "with_$ac_package=no" ;;
75671671b9obrien
75771671b9obrien  --x)
75871671b9obrien    # Obsolete; use --with-x.
75971671b9obrien    with_x=yes ;;
76071671b9obrien
76171671b9obrien  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
76271671b9obrien  | --x-incl | --x-inc | --x-in | --x-i)
76371671b9obrien    ac_prev=x_includes ;;
76471671b9obrien  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
76571671b9obrien  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
7660acbbeedim    x_includes=$ac_optarg ;;
76771671b9obrien
76871671b9obrien  -x-libraries | --x-libraries | --x-librarie | --x-librari \
76971671b9obrien  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
77071671b9obrien    ac_prev=x_libraries ;;
77171671b9obrien  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
77271671b9obrien  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
7730acbbeedim    x_libraries=$ac_optarg ;;
77471671b9obrien
7750acbbeedim  -*) { echo "$as_me: error: unrecognized option: $ac_option
7760acbbeedimTry \`$0 --help' for more information." >&2
7770acbbeedim   { (exit 1); exit 1; }; }
77871671b9obrien    ;;
77971671b9obrien
7800acbbeedim  *=*)
7810acbbeedim    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
7820acbbeedim    # Reject names that are not valid shell variable names.
7830acbbeedim    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
7840acbbeedim      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
7850acbbeedim   { (exit 1); exit 1; }; }
7860acbbeedim    ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
7870acbbeedim    eval "$ac_envvar='$ac_optarg'"
7880acbbeedim    export $ac_envvar ;;
7890acbbeedim
79071671b9obrien  *)
7910acbbeedim    # FIXME: should be removed in autoconf 3.0.
7920acbbeedim    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
7930acbbeedim    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
7940acbbeedim      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
7950acbbeedim    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
79671671b9obrien    ;;
79771671b9obrien
79871671b9obrien  esac
79971671b9obriendone
80071671b9obrien
80171671b9obrienif test -n "$ac_prev"; then
8020acbbeedim  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
8030acbbeedim  { echo "$as_me: error: missing argument to $ac_option" >&2
8040acbbeedim   { (exit 1); exit 1; }; }
80571671b9obrienfi
80671671b9obrien
8070acbbeedim# Be sure to have absolute paths.
8080acbbeedimfor ac_var in exec_prefix prefix
8090acbbeedimdo
8100acbbeedim  eval ac_val=$`echo $ac_var`
8110acbbeedim  case $ac_val in
8120acbbeedim    [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
8130acbbeedim    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
8140acbbeedim   { (exit 1); exit 1; }; };;
8150acbbeedim  esac
8160acbbeedimdone
81771671b9obrien
8180acbbeedim# Be sure to have absolute paths.
8190acbbeedimfor ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
8200acbbeedim	      localstatedir libdir includedir oldincludedir infodir mandir
82171671b9obriendo
8220acbbeedim  eval ac_val=$`echo $ac_var`
8230acbbeedim  case $ac_val in
8240acbbeedim    [\\/$]* | ?:[\\/]* ) ;;
8250acbbeedim    *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
8260acbbeedim   { (exit 1); exit 1; }; };;
82771671b9obrien  esac
82871671b9obriendone
82971671b9obrien
8300acbbeedim# There might be people who depend on the old broken behavior: `$host'
8310acbbeedim# used to hold the argument of --host etc.
8320acbbeedim# FIXME: To remove some day.
8330acbbeedimbuild=$build_alias
8340acbbeedimhost=$host_alias
8350acbbeedimtarget=$target_alias
8360acbbeedim
8370acbbeedim# FIXME: To remove some day.
8380acbbeedimif test "x$host_alias" != x; then
8390acbbeedim  if test "x$build_alias" = x; then
8400acbbeedim    cross_compiling=maybe
8410acbbeedim    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
8420acbbeedim    If a cross compiler is detected then cross compile mode will be used." >&2
8430acbbeedim  elif test "x$build_alias" != "x$host_alias"; then
8440acbbeedim    cross_compiling=yes
8450acbbeedim  fi
8460acbbeedimfi
84771671b9obrien
8480acbbeedimac_tool_prefix=
8490acbbeedimtest -n "$host_alias" && ac_tool_prefix=$host_alias-
8500acbbeedim
8510acbbeedimtest "$silent" = yes && exec 6>/dev/null
85271671b9obrien
85371671b9obrien
85471671b9obrien# Find the source files, if location was not specified.
85571671b9obrienif test -z "$srcdir"; then
85671671b9obrien  ac_srcdir_defaulted=yes
85771671b9obrien  # Try the directory containing this script, then its parent.
8580acbbeedim  ac_confdir=`(dirname "$0") 2>/dev/null ||
8590acbbeedim$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8600acbbeedim	 X"$0" : 'X\(//\)[^/]' \| \
8610acbbeedim	 X"$0" : 'X\(//\)$' \| \
8620acbbeedim	 X"$0" : 'X\(/\)' \| \
8630acbbeedim	 .     : '\(.\)' 2>/dev/null ||
8640acbbeedimecho X"$0" |
8650acbbeedim    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8660acbbeedim  	  /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8670acbbeedim  	  /^X\(\/\/\)$/{ s//\1/; q; }
8680acbbeedim  	  /^X\(\/\).*/{ s//\1/; q; }
8690acbbeedim  	  s/.*/./; q'`
87071671b9obrien  srcdir=$ac_confdir
87171671b9obrien  if test ! -r $srcdir/$ac_unique_file; then
87271671b9obrien    srcdir=..
87371671b9obrien  fi
87471671b9obrienelse
87571671b9obrien  ac_srcdir_defaulted=no
87671671b9obrienfi
87771671b9obrienif test ! -r $srcdir/$ac_unique_file; then
87871671b9obrien  if test "$ac_srcdir_defaulted" = yes; then
8790acbbeedim    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
8800acbbeedim   { (exit 1); exit 1; }; }
88171671b9obrien  else
8820acbbeedim    { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
8830acbbeedim   { (exit 1); exit 1; }; }
88471671b9obrien  fi
88571671b9obrienfi
8860acbbeedim(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
8870acbbeedim  { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
8880acbbeedim   { (exit 1); exit 1; }; }
8890acbbeedimsrcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
8900acbbeedimac_env_build_alias_set=${build_alias+set}
8910acbbeedimac_env_build_alias_value=$build_alias
8920acbbeedimac_cv_env_build_alias_set=${build_alias+set}
8930acbbeedimac_cv_env_build_alias_value=$build_alias
8940acbbeedimac_env_host_alias_set=${host_alias+set}
8950acbbeedimac_env_host_alias_value=$host_alias
8960acbbeedimac_cv_env_host_alias_set=${host_alias+set}
8970acbbeedimac_cv_env_host_alias_value=$host_alias
8980acbbeedimac_env_target_alias_set=${target_alias+set}
8990acbbeedimac_env_target_alias_value=$target_alias
9000acbbeedimac_cv_env_target_alias_set=${target_alias+set}
9010acbbeedimac_cv_env_target_alias_value=$target_alias
9020acbbeedimac_env_CC_set=${CC+set}
9030acbbeedimac_env_CC_value=$CC
9040acbbeedimac_cv_env_CC_set=${CC+set}
9050acbbeedimac_cv_env_CC_value=$CC
9060acbbeedimac_env_CFLAGS_set=${CFLAGS+set}
9070acbbeedimac_env_CFLAGS_value=$CFLAGS
9080acbbeedimac_cv_env_CFLAGS_set=${CFLAGS+set}
9090acbbeedimac_cv_env_CFLAGS_value=$CFLAGS
9100acbbeedimac_env_LDFLAGS_set=${LDFLAGS+set}
9110acbbeedimac_env_LDFLAGS_value=$LDFLAGS
9120acbbeedimac_cv_env_LDFLAGS_set=${LDFLAGS+set}
9130acbbeedimac_cv_env_LDFLAGS_value=$LDFLAGS
9140acbbeedimac_env_CPPFLAGS_set=${CPPFLAGS+set}
9150acbbeedimac_env_CPPFLAGS_value=$CPPFLAGS
9160acbbeedimac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
9170acbbeedimac_cv_env_CPPFLAGS_value=$CPPFLAGS
9180acbbeedimac_env_CPP_set=${CPP+set}
9190acbbeedimac_env_CPP_value=$CPP
9200acbbeedimac_cv_env_CPP_set=${CPP+set}
9210acbbeedimac_cv_env_CPP_value=$CPP
92271671b9obrien
9230acbbeedim#
9240acbbeedim# Report the --help message.
9250acbbeedim#
9260acbbeedimif test "$ac_init_help" = "long"; then
9270acbbeedim  # Omit some internal or obsolete options to make the list less imposing.
9280acbbeedim  # This message is too long to be a string in the A/UX 3.1 sh.
9290acbbeedim  cat <<_ACEOF
9300acbbeedim\`configure' configures this package to adapt to many kinds of systems.
93171671b9obrien
9320acbbeedimUsage: $0 [OPTION]... [VAR=VALUE]...
93371671b9obrien
9340acbbeedimTo assign environment variables (e.g., CC, CFLAGS...), specify them as
9350acbbeedimVAR=VALUE.  See below for descriptions of some of the useful variables.
93671671b9obrien
9370acbbeedimDefaults for the options are specified in brackets.
93871671b9obrien
9390acbbeedimConfiguration:
9400acbbeedim  -h, --help              display this help and exit
9410acbbeedim      --help=short        display options specific to this package
9420acbbeedim      --help=recursive    display the short help of all the included packages
9430acbbeedim  -V, --version           display version information and exit
9440acbbeedim  -q, --quiet, --silent   do not print \`checking...' messages
9450acbbeedim      --cache-file=FILE   cache test results in FILE [disabled]
9460acbbeedim  -C, --config-cache      alias for \`--cache-file=config.cache'
9470acbbeedim  -n, --no-create         do not create output files
9480acbbeedim      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
9490acbbeedim
9500acbbeedim_ACEOF
9510acbbeedim
9520acbbeedim  cat <<_ACEOF
9530acbbeedimInstallation directories:
9540acbbeedim  --prefix=PREFIX         install architecture-independent files in PREFIX
9550acbbeedim			  [$ac_default_prefix]
9560acbbeedim  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
9570acbbeedim			  [PREFIX]
95871671b9obrien
9590acbbeedimBy default, \`make install' will install all the files in
9600acbbeedim\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
9610acbbeediman installation prefix other than \`$ac_default_prefix' using \`--prefix',
9620acbbeedimfor instance \`--prefix=\$HOME'.
96371671b9obrien
9640acbbeedimFor better control, use the options below.
96571671b9obrien
9660acbbeedimFine tuning of the installation directories:
9670acbbeedim  --bindir=DIR           user executables [EPREFIX/bin]
9680acbbeedim  --sbindir=DIR          system admin executables [EPREFIX/sbin]
9690acbbeedim  --libexecdir=DIR       program executables [EPREFIX/libexec]
9700acbbeedim  --datadir=DIR          read-only architecture-independent data [PREFIX/share]
9710acbbeedim  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
9720acbbeedim  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
9730acbbeedim  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
9740acbbeedim  --libdir=DIR           object code libraries [EPREFIX/lib]
9750acbbeedim  --includedir=DIR       C header files [PREFIX/include]
9760acbbeedim  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
9770acbbeedim  --infodir=DIR          info documentation [PREFIX/info]
9780acbbeedim  --mandir=DIR           man documentation [PREFIX/man]
9790acbbeedim_ACEOF
98071671b9obrien
9810acbbeedim  cat <<\_ACEOF
98271671b9obrien
9830acbbeedimProgram names:
9840acbbeedim  --program-prefix=PREFIX            prepend PREFIX to installed program names
9850acbbeedim  --program-suffix=SUFFIX            append SUFFIX to installed program names
9860acbbeedim  --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
98771671b9obrien
9880acbbeedimSystem types:
9890acbbeedim  --build=BUILD     configure for building on BUILD [guessed]
9900acbbeedim  --host=HOST       cross-compile to build programs to run on HOST [BUILD]
9910acbbeedim  --target=TARGET   configure for building compilers for TARGET [HOST]
9920acbbeedim_ACEOF
99371671b9obrienfi
99471671b9obrien
9950acbbeedimif test -n "$ac_init_help"; then
99671671b9obrien
9970acbbeedim  cat <<\_ACEOF
99871671b9obrien
9990acbbeedimOptional Features:
10000acbbeedim  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
10010acbbeedim  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
10020acbbeedim  --disable-dependency-tracking  speeds up one-time build
10030acbbeedim  --enable-dependency-tracking   do not reject slow dependency extractors
1004d0f678fdim  --enable-shared[=PKGS]
1005d0f678fdim                          build shared libraries [default=yes]
1006d0f678fdim  --enable-static[=PKGS]
1007d0f678fdim                          build static libraries [default=yes]
1008d0f678fdim  --enable-fast-install[=PKGS]
1009d0f678fdim                          optimize for fast installation [default=yes]
10100acbbeedim  --disable-libtool-lock  avoid locking (might break parallel builds)
10110acbbeedim  --enable-targets        alternative target configurations
10120acbbeedim  --enable-commonbfdlib   build shared BFD/opcodes/libiberty library
1013d0f678fdim  --enable-werror         treat compile warnings as errors
1014d0f678fdim  --enable-build-warnings enable build-time compiler warnings
10150acbbeedim  --disable-nls           do not use Native Language Support
10160acbbeedim  --enable-maintainer-mode  enable make rules and dependencies not useful
10170acbbeedim			  (and sometimes confusing) to the casual installer
1018d0f678fdim  --disable-rpath         do not hardcode runtime library paths
10190acbbeedim
10200acbbeedimOptional Packages:
10210acbbeedim  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
10220acbbeedim  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1023d0f678fdim  --with-pic              try to use only PIC/non-PIC objects [default=use
1024d0f678fdim                          both]
1025d0f678fdim  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
10260acbbeedim  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1027d0f678fdim  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
1028d0f678fdim  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
102971671b9obrien
10300acbbeedimSome influential environment variables:
10310acbbeedim  CC          C compiler command
10320acbbeedim  CFLAGS      C compiler flags
10330acbbeedim  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
10340acbbeedim              nonstandard directory <lib dir>
10350acbbeedim  CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
10360acbbeedim              headers in a nonstandard directory <include dir>
10370acbbeedim  CPP         C preprocessor
103871671b9obrien
10390acbbeedimUse these variables to override the choices made by `configure' or to help
10400acbbeedimit to find libraries and programs with nonstandard names/locations.
10410acbbeedim
10420acbbeedim_ACEOF
104371671b9obrienfi
104471671b9obrien
10450acbbeedimif test "$ac_init_help" = "recursive"; then
10460acbbeedim  # If there are subdirs, report their specific --help.
10470acbbeedim  ac_popdir=`pwd`
10480acbbeedim  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
10490acbbeedim    test -d $ac_dir || continue
10500acbbeedim    ac_builddir=.
10510acbbeedim
10520acbbeedimif test "$ac_dir" != .; then
10530acbbeedim  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
10540acbbeedim  # A "../" for each directory in $ac_dir_suffix.
10550acbbeedim  ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
10560acbbeedimelse
10570acbbeedim  ac_dir_suffix= ac_top_builddir=
10580acbbeedimfi
105971671b9obrien
10600acbbeedimcase $srcdir in
10610acbbeedim  .)  # No --srcdir option.  We are building in place.
10620acbbeedim    ac_srcdir=.
10630acbbeedim    if test -z "$ac_top_builddir"; then
10640acbbeedim       ac_top_srcdir=.
10650acbbeedim    else
10660acbbeedim       ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
106771671b9obrien    fi ;;
10680acbbeedim  [\\/]* | ?:[\\/]* )  # Absolute path.
10690acbbeedim    ac_srcdir=$srcdir$ac_dir_suffix;
10700acbbeedim    ac_top_srcdir=$srcdir ;;
10710acbbeedim  *) # Relative path.
10720acbbeedim    ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
10730acbbeedim    ac_top_srcdir=$ac_top_builddir$srcdir ;;
107471671b9obrienesac
107571671b9obrien
10760acbbeedim# Do not use `cd foo && pwd` to compute absolute paths, because
10770acbbeedim# the directories may not exist.
10780acbbeedimcase `pwd` in
10790acbbeedim.) ac_abs_builddir="$ac_dir";;
10800acbbeedim*)
10810acbbeedim  case "$ac_dir" in
10820acbbeedim  .) ac_abs_builddir=`pwd`;;
10830acbbeedim  [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
10840acbbeedim  *) ac_abs_builddir=`pwd`/"$ac_dir";;
10850acbbeedim  esac;;
108671671b9obrienesac
10870acbbeedimcase $ac_abs_builddir in
10880acbbeedim.) ac_abs_top_builddir=${ac_top_builddir}.;;
10890acbbeedim*)
10900acbbeedim  case ${ac_top_builddir}. in
10910acbbeedim  .) ac_abs_top_builddir=$ac_abs_builddir;;
10920acbbeedim  [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
10930acbbeedim  *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
10940acbbeedim  esac;;
10950acbbeedimesac
10960acbbeedimcase $ac_abs_builddir in
10970acbbeedim.) ac_abs_srcdir=$ac_srcdir;;
10980acbbeedim*)
10990acbbeedim  case $ac_srcdir in
11000acbbeedim  .) ac_abs_srcdir=$ac_abs_builddir;;
11010acbbeedim  [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
11020acbbeedim  *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
11030acbbeedim  esac;;
11040acbbeedimesac
11050acbbeedimcase $ac_abs_builddir in
11060acbbeedim.) ac_abs_top_srcdir=$ac_top_srcdir;;
11070acbbeedim*)
11080acbbeedim  case $ac_top_srcdir in
11090acbbeedim  .) ac_abs_top_srcdir=$ac_abs_builddir;;
11100acbbeedim  [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
11110acbbeedim  *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
11120acbbeedim  esac;;
111371671b9obrienesac
111471671b9obrien
11150acbbeedim    cd $ac_dir
11160acbbeedim    # Check for guested configure; otherwise get Cygnus style configure.
11170acbbeedim    if test -f $ac_srcdir/configure.gnu; then
11180acbbeedim      echo
11190acbbeedim      $SHELL $ac_srcdir/configure.gnu  --help=recursive
11200acbbeedim    elif test -f $ac_srcdir/configure; then
11210acbbeedim      echo
11220acbbeedim      $SHELL $ac_srcdir/configure  --help=recursive
11230acbbeedim    elif test -f $ac_srcdir/configure.ac ||
11240acbbeedim	   test -f $ac_srcdir/configure.in; then
11250acbbeedim      echo
11260acbbeedim      $ac_configure --help
11270acbbeedim    else
11280acbbeedim      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
11290acbbeedim    fi
11300acbbeedim    cd $ac_popdir
11310acbbeedim  done
11320acbbeedimfi
113371671b9obrien
11340acbbeedimtest -n "$ac_init_help" && exit 0
11350acbbeedimif $ac_init_version; then
11360acbbeedim  cat <<\_ACEOF
113771671b9obrien
11380acbbeedimCopyright (C) 2003 Free Software Foundation, Inc.
11390acbbeedimThis configure script is free software; the Free Software Foundation
11400acbbeedimgives unlimited permission to copy, distribute and modify it.
11410acbbeedim_ACEOF
11420acbbeedim  exit 0
11430acbbeedimfi
11440acbbeedimexec 5>config.log
11450acbbeedimcat >&5 <<_ACEOF
11460acbbeedimThis file contains any messages produced by compilers while
11470acbbeedimrunning configure, to aid debugging if configure makes a mistake.
114871671b9obrien
11490acbbeedimIt was created by $as_me, which was
11500acbbeedimgenerated by GNU Autoconf 2.59.  Invocation command line was
115171671b9obrien
11520acbbeedim  $ $0 $@
115371671b9obrien
11540acbbeedim_ACEOF
11550acbbeedim{
11560acbbeedimcat <<_ASUNAME
11570acbbeedim## --------- ##
11580acbbeedim## Platform. ##
11590acbbeedim## --------- ##
11600acbbeedim
11610acbbeedimhostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
11620acbbeedimuname -m = `(uname -m) 2>/dev/null || echo unknown`
11630acbbeedimuname -r = `(uname -r) 2>/dev/null || echo unknown`
11640acbbeedimuname -s = `(uname -s) 2>/dev/null || echo unknown`
11650acbbeedimuname -v = `(uname -v) 2>/dev/null || echo unknown`
11660acbbeedim
11670acbbeedim/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
11680acbbeedim/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
11690acbbeedim
11700acbbeedim/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
11710acbbeedim/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
11720acbbeedim/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
11730acbbeedimhostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
11740acbbeedim/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
11750acbbeedim/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
11760acbbeedim/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
11770acbbeedim
11780acbbeedim_ASUNAME
11790acbbeedim
11800acbbeedimas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11810acbbeedimfor as_dir in $PATH
11820acbbeedimdo
11830acbbeedim  IFS=$as_save_IFS
11840acbbeedim  test -z "$as_dir" && as_dir=.
11850acbbeedim  echo "PATH: $as_dir"
11860acbbeedimdone
118771671b9obrien
11880acbbeedim} >&5
118971671b9obrien
11900acbbeedimcat >&5 <<_ACEOF
119171671b9obrien
11920acbbeedim
11930acbbeedim## ----------- ##
11940acbbeedim## Core tests. ##
11950acbbeedim## ----------- ##
11960acbbeedim
11970acbbeedim_ACEOF
11980acbbeedim
11990acbbeedim
12000acbbeedim# Keep a trace of the command line.
12010acbbeedim# Strip out --no-create and --no-recursion so they do not pile up.
12020acbbeedim# Strip out --silent because we don't want to record it for future runs.
12030acbbeedim# Also quote any args containing shell meta-characters.
12040acbbeedim# Make two passes to allow for proper duplicate-argument suppression.
12050acbbeedimac_configure_args=
12060acbbeedimac_configure_args0=
12070acbbeedimac_configure_args1=
12080acbbeedimac_sep=
12090acbbeedimac_must_keep_next=false
12100acbbeedimfor ac_pass in 1 2
12110acbbeedimdo
12120acbbeedim  for ac_arg
12130acbbeedim  do
12140acbbeedim    case $ac_arg in
12150acbbeedim    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
12160acbbeedim    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12170acbbeedim    | -silent | --silent | --silen | --sile | --sil)
12180acbbeedim      continue ;;
12190acbbeedim    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
12200acbbeedim      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
12210acbbeedim    esac
12220acbbeedim    case $ac_pass in
12230acbbeedim    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
12240acbbeedim    2)
12250acbbeedim      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
12260acbbeedim      if test $ac_must_keep_next = true; then
12270acbbeedim	ac_must_keep_next=false # Got value, back to normal.
12280acbbeedim      else
12290acbbeedim	case $ac_arg in
12300acbbeedim	  *=* | --config-cache | -C | -disable-* | --disable-* \
12310acbbeedim	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
12320acbbeedim	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
12330acbbeedim	  | -with-* | --with-* | -without-* | --without-* | --x)
12340acbbeedim	    case "$ac_configure_args0 " in
12350acbbeedim	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
12360acbbeedim	    esac
12370acbbeedim	    ;;
12380acbbeedim	  -* ) ac_must_keep_next=true ;;
12390acbbeedim	esac
12400acbbeedim      fi
12410acbbeedim      ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
12420acbbeedim      # Get rid of the leading space.
12430acbbeedim      ac_sep=" "
12440acbbeedim      ;;
12450acbbeedim    esac
12460acbbeedim  done
12470acbbeedimdone
12480acbbeedim$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
12490acbbeedim$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
12500acbbeedim
12510acbbeedim# When interrupted or exit'd, cleanup temporary files, and complete
12520acbbeedim# config.log.  We remove comments because anyway the quotes in there
12530acbbeedim# would cause problems or look ugly.
12540acbbeedim# WARNING: Be sure not to use single quotes in there, as some shells,
12550acbbeedim# such as our DU 5.0 friend, will then `close' the trap.
12560acbbeedimtrap 'exit_status=$?
12570acbbeedim  # Save into config.log some information that might help in debugging.
12580acbbeedim  {
12590acbbeedim    echo
12600acbbeedim
12610acbbeedim    cat <<\_ASBOX
12620acbbeedim## ---------------- ##
12630acbbeedim## Cache variables. ##
12640acbbeedim## ---------------- ##
12650acbbeedim_ASBOX
12660acbbeedim    echo
12670acbbeedim    # The following way of writing the cache mishandles newlines in values,
12680acbbeedim{
12690acbbeedim  (set) 2>&1 |
12700acbbeedim    case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
12710acbbeedim    *ac_space=\ *)
12720acbbeedim      sed -n \
12730acbbeedim	"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
12740acbbeedim	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
12750acbbeedim      ;;
12760acbbeedim    *)
12770acbbeedim      sed -n \
12780acbbeedim	"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
12790acbbeedim      ;;
12800acbbeedim    esac;
12810acbbeedim}
12820acbbeedim    echo
12830acbbeedim
12840acbbeedim    cat <<\_ASBOX
12850acbbeedim## ----------------- ##
12860acbbeedim## Output variables. ##
12870acbbeedim## ----------------- ##
12880acbbeedim_ASBOX
12890acbbeedim    echo
12900acbbeedim    for ac_var in $ac_subst_vars
12910acbbeedim    do
12920acbbeedim      eval ac_val=$`echo $ac_var`
12930acbbeedim      echo "$ac_var='"'"'$ac_val'"'"'"
12940acbbeedim    done | sort
12950acbbeedim    echo
12960acbbeedim
12970acbbeedim    if test -n "$ac_subst_files"; then
12980acbbeedim      cat <<\_ASBOX
12990acbbeedim## ------------- ##
13000acbbeedim## Output files. ##
13010acbbeedim## ------------- ##
13020acbbeedim_ASBOX
13030acbbeedim      echo
13040acbbeedim      for ac_var in $ac_subst_files
13050acbbeedim      do
13060acbbeedim	eval ac_val=$`echo $ac_var`
13070acbbeedim	echo "$ac_var='"'"'$ac_val'"'"'"
13080acbbeedim      done | sort
13090acbbeedim      echo
13100acbbeedim    fi
13110acbbeedim
13120acbbeedim    if test -s confdefs.h; then
13130acbbeedim      cat <<\_ASBOX
13140acbbeedim## ----------- ##
13150acbbeedim## confdefs.h. ##
13160acbbeedim## ----------- ##
13170acbbeedim_ASBOX
13180acbbeedim      echo
13190acbbeedim      sed "/^$/d" confdefs.h | sort
13200acbbeedim      echo
13210acbbeedim    fi
13220acbbeedim    test "$ac_signal" != 0 &&
13230acbbeedim      echo "$as_me: caught signal $ac_signal"
13240acbbeedim    echo "$as_me: exit $exit_status"
13250acbbeedim  } >&5
13260acbbeedim  rm -f core *.core &&
13270acbbeedim  rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
13280acbbeedim    exit $exit_status
13290acbbeedim     ' 0
13300acbbeedimfor ac_signal in 1 2 13 15; do
13310acbbeedim  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
13320acbbeedimdone
13330acbbeedimac_signal=0
13340acbbeedim
13350acbbeedim# confdefs.h avoids OS command line length limits that DEFS can exceed.
13360acbbeedimrm -rf conftest* confdefs.h
13370acbbeedim# AIX cpp loses on an empty file, so make sure it contains at least a newline.
13380acbbeedimecho >confdefs.h
13390acbbeedim
13400acbbeedim# Predefined preprocessor variables.
13410acbbeedim
13420acbbeedimcat >>confdefs.h <<_ACEOF
13430acbbeedim#define PACKAGE_NAME "$PACKAGE_NAME"
13440acbbeedim_ACEOF
13450acbbeedim
13460acbbeedim
13470acbbeedimcat >>confdefs.h <<_ACEOF
13480acbbeedim#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
13490acbbeedim_ACEOF
13500acbbeedim
13510acbbeedim
13520acbbeedimcat >>confdefs.h <<_ACEOF
13530acbbeedim#define PACKAGE_VERSION "$PACKAGE_VERSION"
13540acbbeedim_ACEOF
13550acbbeedim
13560acbbeedim
13570acbbeedimcat >>confdefs.h <<_ACEOF
13580acbbeedim#define PACKAGE_STRING "$PACKAGE_STRING"
13590acbbeedim_ACEOF
13600acbbeedim
13610acbbeedim
13620acbbeedimcat >>confdefs.h <<_ACEOF
13630acbbeedim#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
13640acbbeedim_ACEOF
13650acbbeedim
13660acbbeedim
13670acbbeedim# Let the site file select an alternate cache file if it wants to.
13680acbbeedim# Prefer explicitly selected file to automatically selected ones.
13690acbbeedimif test -z "$CONFIG_SITE"; then
13700acbbeedim  if test "x$prefix" != xNONE; then
13710acbbeedim    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
13720acbbeedim  else
13730acbbeedim    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
13740acbbeedim  fi
13750acbbeedimfi
13760acbbeedimfor ac_site_file in $CONFIG_SITE; do
13770acbbeedim  if test -r "$ac_site_file"; then
13780acbbeedim    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
13790acbbeedimecho "$as_me: loading site script $ac_site_file" >&6;}
13800acbbeedim    sed 's/^/| /' "$ac_site_file" >&5
13810acbbeedim    . "$ac_site_file"
13820acbbeedim  fi
13830acbbeedimdone
13840acbbeedim
13850acbbeedimif test -r "$cache_file"; then
13860acbbeedim  # Some versions of bash will fail to source /dev/null (special
13870acbbeedim  # files actually), so we avoid doing that.
13880acbbeedim  if test -f "$cache_file"; then
13890acbbeedim    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
13900acbbeedimecho "$as_me: loading cache $cache_file" >&6;}
13910acbbeedim    case $cache_file in
13920acbbeedim      [\\/]* | ?:[\\/]* ) . $cache_file;;
13930acbbeedim      *)                      . ./$cache_file;;
13940acbbeedim    esac
13950acbbeedim  fi
13960acbbeedimelse
13970acbbeedim  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
13980acbbeedimecho "$as_me: creating cache $cache_file" >&6;}
13990acbbeedim  >$cache_file
14000acbbeedimfi
14010acbbeedim
14020acbbeedim# Check that the precious variables saved in the cache have kept the same
14030acbbeedim# value.
14040acbbeedimac_cache_corrupted=false
14050acbbeedimfor ac_var in `(set) 2>&1 |
14060acbbeedim	       sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
14070acbbeedim  eval ac_old_set=\$ac_cv_env_${ac_var}_set
14080acbbeedim  eval ac_new_set=\$ac_env_${ac_var}_set
14090acbbeedim  eval ac_old_val="\$ac_cv_env_${ac_var}_value"
14100acbbeedim  eval ac_new_val="\$ac_env_${ac_var}_value"
14110acbbeedim  case $ac_old_set,$ac_new_set in
14120acbbeedim    set,)
14130acbbeedim      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
14140acbbeedimecho "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
14150acbbeedim      ac_cache_corrupted=: ;;
14160acbbeedim    ,set)
14170acbbeedim      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
14180acbbeedimecho "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
14190acbbeedim      ac_cache_corrupted=: ;;
14200acbbeedim    ,);;
14210acbbeedim    *)
14220acbbeedim      if test "x$ac_old_val" != "x$ac_new_val"; then
14230acbbeedim	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
14240acbbeedimecho "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
14250acbbeedim	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
14260acbbeedimecho "$as_me:   former value:  $ac_old_val" >&2;}
14270acbbeedim	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
14280acbbeedimecho "$as_me:   current value: $ac_new_val" >&2;}
14290acbbeedim	ac_cache_corrupted=:
14300acbbeedim      fi;;
14310acbbeedim  esac
14320acbbeedim  # Pass precious variables to config.status.
14330acbbeedim  if test "$ac_new_set" = set; then
14340acbbeedim    case $ac_new_val in
14350acbbeedim    *" "*|*"	"*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
14360acbbeedim      ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
14370acbbeedim    *) ac_arg=$ac_var=$ac_new_val ;;
14380acbbeedim    esac
14390acbbeedim    case " $ac_configure_args " in
14400acbbeedim      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
14410acbbeedim      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
14420acbbeedim    esac
14430acbbeedim  fi
14440acbbeedimdone
14450acbbeedimif $ac_cache_corrupted; then
14460acbbeedim  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
14470acbbeedimecho "$as_me: error: changes in the environment can compromise the build" >&2;}
14480acbbeedim  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
14490acbbeedimecho "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
14500acbbeedim   { (exit 1); exit 1; }; }
14510acbbeedimfi
14520acbbeedim
14530acbbeedimac_ext=c
14540acbbeedimac_cpp='$CPP $CPPFLAGS'
14550acbbeedimac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14560acbbeedimac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14570acbbeedimac_compiler_gnu=$ac_cv_c_compiler_gnu
14580acbbeedim
14590acbbeedim
14600acbbeedim
14610acbbeedim
14620acbbeedim
14630acbbeedim
14640acbbeedim
14650acbbeedim
14660acbbeedim
14670acbbeedim
14680acbbeedim
14690acbbeedim
14700acbbeedim
14710acbbeedim
14720acbbeedim
14730acbbeedim
14740acbbeedim
14750acbbeedim
14760acbbeedim
14770acbbeedim
14780acbbeedimac_aux_dir=
14790acbbeedimfor ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
14800acbbeedim  if test -f $ac_dir/install-sh; then
14810acbbeedim    ac_aux_dir=$ac_dir
14820acbbeedim    ac_install_sh="$ac_aux_dir/install-sh -c"
14830acbbeedim    break
14840acbbeedim  elif test -f $ac_dir/install.sh; then
14850acbbeedim    ac_aux_dir=$ac_dir
14860acbbeedim    ac_install_sh="$ac_aux_dir/install.sh -c"
14870acbbeedim    break
14880acbbeedim  elif test -f $ac_dir/shtool; then
14890acbbeedim    ac_aux_dir=$ac_dir
14900acbbeedim    ac_install_sh="$ac_aux_dir/shtool install -c"
14910acbbeedim    break
14920acbbeedim  fi
14930acbbeedimdone
14940acbbeedimif test -z "$ac_aux_dir"; then
14950acbbeedim  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
14960acbbeedimecho "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
14970acbbeedim   { (exit 1); exit 1; }; }
14980acbbeedimfi
14990acbbeedimac_config_guess="$SHELL $ac_aux_dir/config.guess"
15000acbbeedimac_config_sub="$SHELL $ac_aux_dir/config.sub"
15010acbbeedimac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
15020acbbeedim
15030acbbeedim# Make sure we can run config.sub.
15040acbbeedim$ac_config_sub sun4 >/dev/null 2>&1 ||
15050acbbeedim  { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
15060acbbeedimecho "$as_me: error: cannot run $ac_config_sub" >&2;}
15070acbbeedim   { (exit 1); exit 1; }; }
15080acbbeedim
15090acbbeedimecho "$as_me:$LINENO: checking build system type" >&5
15100acbbeedimecho $ECHO_N "checking build system type... $ECHO_C" >&6
15110acbbeedimif test "${ac_cv_build+set}" = set; then
15120acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
15130acbbeedimelse
15140acbbeedim  ac_cv_build_alias=$build_alias
15150acbbeedimtest -z "$ac_cv_build_alias" &&
15160acbbeedim  ac_cv_build_alias=`$ac_config_guess`
15170acbbeedimtest -z "$ac_cv_build_alias" &&
15180acbbeedim  { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
15190acbbeedimecho "$as_me: error: cannot guess build type; you must specify one" >&2;}
15200acbbeedim   { (exit 1); exit 1; }; }
15210acbbeedimac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
15220acbbeedim  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
15230acbbeedimecho "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
15240acbbeedim   { (exit 1); exit 1; }; }
15250acbbeedim
15260acbbeedimfi
15270acbbeedimecho "$as_me:$LINENO: result: $ac_cv_build" >&5
15280acbbeedimecho "${ECHO_T}$ac_cv_build" >&6
15290acbbeedimbuild=$ac_cv_build
15300acbbeedimbuild_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
15310acbbeedimbuild_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
15320acbbeedimbuild_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
15330acbbeedim
15340acbbeedim
15350acbbeedimecho "$as_me:$LINENO: checking host system type" >&5
15360acbbeedimecho $ECHO_N "checking host system type... $ECHO_C" >&6
15370acbbeedimif test "${ac_cv_host+set}" = set; then
15380acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
15390acbbeedimelse
15400acbbeedim  ac_cv_host_alias=$host_alias
15410acbbeedimtest -z "$ac_cv_host_alias" &&
15420acbbeedim  ac_cv_host_alias=$ac_cv_build_alias
15430acbbeedimac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
15440acbbeedim  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
15450acbbeedimecho "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
15460acbbeedim   { (exit 1); exit 1; }; }
15470acbbeedim
15480acbbeedimfi
15490acbbeedimecho "$as_me:$LINENO: result: $ac_cv_host" >&5
15500acbbeedimecho "${ECHO_T}$ac_cv_host" >&6
15510acbbeedimhost=$ac_cv_host
15520acbbeedimhost_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
15530acbbeedimhost_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
15540acbbeedimhost_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
15550acbbeedim
15560acbbeedim
15570acbbeedimecho "$as_me:$LINENO: checking target system type" >&5
15580acbbeedimecho $ECHO_N "checking target system type... $ECHO_C" >&6
15590acbbeedimif test "${ac_cv_target+set}" = set; then
15600acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
15610acbbeedimelse
15620acbbeedim  ac_cv_target_alias=$target_alias
15630acbbeedimtest "x$ac_cv_target_alias" = "x" &&
15640acbbeedim  ac_cv_target_alias=$ac_cv_host_alias
15650acbbeedimac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
15660acbbeedim  { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
15670acbbeedimecho "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
15680acbbeedim   { (exit 1); exit 1; }; }
15690acbbeedim
15700acbbeedimfi
15710acbbeedimecho "$as_me:$LINENO: result: $ac_cv_target" >&5
15720acbbeedimecho "${ECHO_T}$ac_cv_target" >&6
15730acbbeedimtarget=$ac_cv_target
15740acbbeedimtarget_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
15750acbbeedimtarget_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
15760acbbeedimtarget_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
15770acbbeedim
15780acbbeedim
15790acbbeedim# The aliases save the names the user supplied, while $host etc.
15800acbbeedim# will get canonicalized.
15810acbbeedimtest -n "$target_alias" &&
15820acbbeedim  test "$program_prefix$program_suffix$program_transform_name" = \
15830acbbeedim    NONENONEs,x,x, &&
15840acbbeedim  program_prefix=${target_alias}-
15850acbbeedimac_ext=c
15860acbbeedimac_cpp='$CPP $CPPFLAGS'
15870acbbeedimac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15880acbbeedimac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15890acbbeedimac_compiler_gnu=$ac_cv_c_compiler_gnu
15900acbbeedimif test -n "$ac_tool_prefix"; then
15910acbbeedim  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
15920acbbeedimset dummy ${ac_tool_prefix}gcc; ac_word=$2
15930acbbeedimecho "$as_me:$LINENO: checking for $ac_word" >&5
15940acbbeedimecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15950acbbeedimif test "${ac_cv_prog_CC+set}" = set; then
15960acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
15970acbbeedimelse
15980acbbeedim  if test -n "$CC"; then
15990acbbeedim  ac_cv_prog_CC="$CC" # Let the user override the test.
16000acbbeedimelse
16010acbbeedimas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16020acbbeedimfor as_dir in $PATH
16030acbbeedimdo
16040acbbeedim  IFS=$as_save_IFS
16050acbbeedim  test -z "$as_dir" && as_dir=.
16060acbbeedim  for ac_exec_ext in '' $ac_executable_extensions; do
16070acbbeedim  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16080acbbeedim    ac_cv_prog_CC="${ac_tool_prefix}gcc"
16090acbbeedim    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16100acbbeedim    break 2
16110acbbeedim  fi
16120acbbeedimdone
16130acbbeedimdone
16140acbbeedim
16150acbbeedimfi
16160acbbeedimfi
16170acbbeedimCC=$ac_cv_prog_CC
16180acbbeedimif test -n "$CC"; then
16190acbbeedim  echo "$as_me:$LINENO: result: $CC" >&5
16200acbbeedimecho "${ECHO_T}$CC" >&6
16210acbbeedimelse
16220acbbeedim  echo "$as_me:$LINENO: result: no" >&5
16230acbbeedimecho "${ECHO_T}no" >&6
16240acbbeedimfi
16250acbbeedim
16260acbbeedimfi
16270acbbeedimif test -z "$ac_cv_prog_CC"; then
16280acbbeedim  ac_ct_CC=$CC
16290acbbeedim  # Extract the first word of "gcc", so it can be a program name with args.
16300acbbeedimset dummy gcc; ac_word=$2
16310acbbeedimecho "$as_me:$LINENO: checking for $ac_word" >&5
16320acbbeedimecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16330acbbeedimif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
16340acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
16350acbbeedimelse
16360acbbeedim  if test -n "$ac_ct_CC"; then
16370acbbeedim  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
16380acbbeedimelse
16390acbbeedimas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16400acbbeedimfor as_dir in $PATH
16410acbbeedimdo
16420acbbeedim  IFS=$as_save_IFS
16430acbbeedim  test -z "$as_dir" && as_dir=.
16440acbbeedim  for ac_exec_ext in '' $ac_executable_extensions; do
16450acbbeedim  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16460acbbeedim    ac_cv_prog_ac_ct_CC="gcc"
16470acbbeedim    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16480acbbeedim    break 2
16490acbbeedim  fi
16500acbbeedimdone
16510acbbeedimdone
16520acbbeedim
16530acbbeedimfi
16540acbbeedimfi
16550acbbeedimac_ct_CC=$ac_cv_prog_ac_ct_CC
16560acbbeedimif test -n "$ac_ct_CC"; then
16570acbbeedim  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
16580acbbeedimecho "${ECHO_T}$ac_ct_CC" >&6
16590acbbeedimelse
16600acbbeedim  echo "$as_me:$LINENO: result: no" >&5
16610acbbeedimecho "${ECHO_T}no" >&6
16620acbbeedimfi
16630acbbeedim
16640acbbeedim  CC=$ac_ct_CC
16650acbbeedimelse
16660acbbeedim  CC="$ac_cv_prog_CC"
16670acbbeedimfi
16680acbbeedim
16690acbbeedimif test -z "$CC"; then
16700acbbeedim  if test -n "$ac_tool_prefix"; then
16710acbbeedim  # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
16720acbbeedimset dummy ${ac_tool_prefix}cc; ac_word=$2
16730acbbeedimecho "$as_me:$LINENO: checking for $ac_word" >&5
16740acbbeedimecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
16750acbbeedimif test "${ac_cv_prog_CC+set}" = set; then
16760acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
16770acbbeedimelse
16780acbbeedim  if test -n "$CC"; then
16790acbbeedim  ac_cv_prog_CC="$CC" # Let the user override the test.
16800acbbeedimelse
16810acbbeedimas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16820acbbeedimfor as_dir in $PATH
16830acbbeedimdo
16840acbbeedim  IFS=$as_save_IFS
16850acbbeedim  test -z "$as_dir" && as_dir=.
16860acbbeedim  for ac_exec_ext in '' $ac_executable_extensions; do
16870acbbeedim  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16880acbbeedim    ac_cv_prog_CC="${ac_tool_prefix}cc"
16890acbbeedim    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16900acbbeedim    break 2
16910acbbeedim  fi
16920acbbeedimdone
16930acbbeedimdone
16940acbbeedim
16950acbbeedimfi
16960acbbeedimfi
16970acbbeedimCC=$ac_cv_prog_CC
16980acbbeedimif test -n "$CC"; then
16990acbbeedim  echo "$as_me:$LINENO: result: $CC" >&5
17000acbbeedimecho "${ECHO_T}$CC" >&6
17010acbbeedimelse
17020acbbeedim  echo "$as_me:$LINENO: result: no" >&5
17030acbbeedimecho "${ECHO_T}no" >&6
17040acbbeedimfi
17050acbbeedim
17060acbbeedimfi
17070acbbeedimif test -z "$ac_cv_prog_CC"; then
17080acbbeedim  ac_ct_CC=$CC
17090acbbeedim  # Extract the first word of "cc", so it can be a program name with args.
17100acbbeedimset dummy cc; ac_word=$2
17110acbbeedimecho "$as_me:$LINENO: checking for $ac_word" >&5
17120acbbeedimecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17130acbbeedimif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
17140acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
17150acbbeedimelse
17160acbbeedim  if test -n "$ac_ct_CC"; then
17170acbbeedim  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
17180acbbeedimelse
17190acbbeedimas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17200acbbeedimfor as_dir in $PATH
17210acbbeedimdo
17220acbbeedim  IFS=$as_save_IFS
17230acbbeedim  test -z "$as_dir" && as_dir=.
17240acbbeedim  for ac_exec_ext in '' $ac_executable_extensions; do
17250acbbeedim  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17260acbbeedim    ac_cv_prog_ac_ct_CC="cc"
17270acbbeedim    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17280acbbeedim    break 2
17290acbbeedim  fi
17300acbbeedimdone
17310acbbeedimdone
17320acbbeedim
17330acbbeedimfi
17340acbbeedimfi
17350acbbeedimac_ct_CC=$ac_cv_prog_ac_ct_CC
17360acbbeedimif test -n "$ac_ct_CC"; then
17370acbbeedim  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
17380acbbeedimecho "${ECHO_T}$ac_ct_CC" >&6
17390acbbeedimelse
17400acbbeedim  echo "$as_me:$LINENO: result: no" >&5
17410acbbeedimecho "${ECHO_T}no" >&6
17420acbbeedimfi
17430acbbeedim
17440acbbeedim  CC=$ac_ct_CC
17450acbbeedimelse
17460acbbeedim  CC="$ac_cv_prog_CC"
17470acbbeedimfi
17480acbbeedim
17490acbbeedimfi
17500acbbeedimif test -z "$CC"; then
17510acbbeedim  # Extract the first word of "cc", so it can be a program name with args.
17520acbbeedimset dummy cc; ac_word=$2
17530acbbeedimecho "$as_me:$LINENO: checking for $ac_word" >&5
17540acbbeedimecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
17550acbbeedimif test "${ac_cv_prog_CC+set}" = set; then
17560acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
17570acbbeedimelse
17580acbbeedim  if test -n "$CC"; then
17590acbbeedim  ac_cv_prog_CC="$CC" # Let the user override the test.
17600acbbeedimelse
17610acbbeedim  ac_prog_rejected=no
17620acbbeedimas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17630acbbeedimfor as_dir in $PATH
17640acbbeedimdo
17650acbbeedim  IFS=$as_save_IFS
17660acbbeedim  test -z "$as_dir" && as_dir=.
17670acbbeedim  for ac_exec_ext in '' $ac_executable_extensions; do
17680acbbeedim  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17690acbbeedim    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
17700acbbeedim       ac_prog_rejected=yes
17710acbbeedim       continue
17720acbbeedim     fi
17730acbbeedim    ac_cv_prog_CC="cc"
17740acbbeedim    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17750acbbeedim    break 2
17760acbbeedim  fi
17770acbbeedimdone
17780acbbeedimdone
17790acbbeedim
17800acbbeedimif test $ac_prog_rejected = yes; then
17810acbbeedim  # We found a bogon in the path, so make sure we never use it.
17820acbbeedim  set dummy $ac_cv_prog_CC
17830acbbeedim  shift
17840acbbeedim  if test $# != 0; then
17850acbbeedim    # We chose a different compiler from the bogus one.
17860acbbeedim    # However, it has the same basename, so the bogon will be chosen
17870acbbeedim    # first if we set CC to just the basename; use the full file name.
17880acbbeedim    shift
17890acbbeedim    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
17900acbbeedim  fi
17910acbbeedimfi
17920acbbeedimfi
17930acbbeedimfi
17940acbbeedimCC=$ac_cv_prog_CC
17950acbbeedimif test -n "$CC"; then
17960acbbeedim  echo "$as_me:$LINENO: result: $CC" >&5
17970acbbeedimecho "${ECHO_T}$CC" >&6
17980acbbeedimelse
17990acbbeedim  echo "$as_me:$LINENO: result: no" >&5
18000acbbeedimecho "${ECHO_T}no" >&6
18010acbbeedimfi
18020acbbeedim
18030acbbeedimfi
18040acbbeedimif test -z "$CC"; then
18050acbbeedim  if test -n "$ac_tool_prefix"; then
18060acbbeedim  for ac_prog in cl
18070acbbeedim  do
18080acbbeedim    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
18090acbbeedimset dummy $ac_tool_prefix$ac_prog; ac_word=$2
18100acbbeedimecho "$as_me:$LINENO: checking for $ac_word" >&5
18110acbbeedimecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18120acbbeedimif test "${ac_cv_prog_CC+set}" = set; then
18130acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
18140acbbeedimelse
18150acbbeedim  if test -n "$CC"; then
18160acbbeedim  ac_cv_prog_CC="$CC" # Let the user override the test.
18170acbbeedimelse
18180acbbeedimas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18190acbbeedimfor as_dir in $PATH
18200acbbeedimdo
18210acbbeedim  IFS=$as_save_IFS
18220acbbeedim  test -z "$as_dir" && as_dir=.
18230acbbeedim  for ac_exec_ext in '' $ac_executable_extensions; do
18240acbbeedim  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18250acbbeedim    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
18260acbbeedim    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18270acbbeedim    break 2
18280acbbeedim  fi
18290acbbeedimdone
18300acbbeedimdone
18310acbbeedim
18320acbbeedimfi
18330acbbeedimfi
18340acbbeedimCC=$ac_cv_prog_CC
18350acbbeedimif test -n "$CC"; then
18360acbbeedim  echo "$as_me:$LINENO: result: $CC" >&5
18370acbbeedimecho "${ECHO_T}$CC" >&6
18380acbbeedimelse
18390acbbeedim  echo "$as_me:$LINENO: result: no" >&5
18400acbbeedimecho "${ECHO_T}no" >&6
18410acbbeedimfi
18420acbbeedim
18430acbbeedim    test -n "$CC" && break
18440acbbeedim  done
18450acbbeedimfi
18460acbbeedimif test -z "$CC"; then
18470acbbeedim  ac_ct_CC=$CC
18480acbbeedim  for ac_prog in cl
18490acbbeedimdo
18500acbbeedim  # Extract the first word of "$ac_prog", so it can be a program name with args.
18510acbbeedimset dummy $ac_prog; ac_word=$2
18520acbbeedimecho "$as_me:$LINENO: checking for $ac_word" >&5
18530acbbeedimecho $ECHO_N "checking for $ac_word... $ECHO_C" >&6
18540acbbeedimif test "${ac_cv_prog_ac_ct_CC+set}" = set; then
18550acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
18560acbbeedimelse
18570acbbeedim  if test -n "$ac_ct_CC"; then
18580acbbeedim  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
18590acbbeedimelse
18600acbbeedimas_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18610acbbeedimfor as_dir in $PATH
18620acbbeedimdo
18630acbbeedim  IFS=$as_save_IFS
18640acbbeedim  test -z "$as_dir" && as_dir=.
18650acbbeedim  for ac_exec_ext in '' $ac_executable_extensions; do
18660acbbeedim  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18670acbbeedim    ac_cv_prog_ac_ct_CC="$ac_prog"
18680acbbeedim    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
18690acbbeedim    break 2
18700acbbeedim  fi
18710acbbeedimdone
18720acbbeedimdone
18730acbbeedim
18740acbbeedimfi
18750acbbeedimfi
18760acbbeedimac_ct_CC=$ac_cv_prog_ac_ct_CC
18770acbbeedimif test -n "$ac_ct_CC"; then
18780acbbeedim  echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
18790acbbeedimecho "${ECHO_T}$ac_ct_CC" >&6
18800acbbeedimelse
18810acbbeedim  echo "$as_me:$LINENO: result: no" >&5
18820acbbeedimecho "${ECHO_T}no" >&6
18830acbbeedimfi
18840acbbeedim
18850acbbeedim  test -n "$ac_ct_CC" && break
18860acbbeedimdone
18870acbbeedim
18880acbbeedim  CC=$ac_ct_CC
18890acbbeedimfi
18900acbbeedim
18910acbbeedimfi
18920acbbeedim
18930acbbeedim
18940acbbeedimtest -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
18950acbbeedimSee \`config.log' for more details." >&5
18960acbbeedimecho "$as_me: error: no acceptable C compiler found in \$PATH
18970acbbeedimSee \`config.log' for more details." >&2;}
18980acbbeedim   { (exit 1); exit 1; }; }
18990acbbeedim
19000acbbeedim# Provide some information about the compiler.
19010acbbeedimecho "$as_me:$LINENO:" \
19020acbbeedim     "checking for C compiler version" >&5
19030acbbeedimac_compiler=`set X $ac_compile; echo $2`
19040acbbeedim{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
19050acbbeedim  (eval $ac_compiler --version </dev/null >&5) 2>&5
19060acbbeedim  ac_status=$?
19070acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080acbbeedim  (exit $ac_status); }
19090acbbeedim{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
19100acbbeedim  (eval $ac_compiler -v </dev/null >&5) 2>&5
19110acbbeedim  ac_status=$?
19120acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19130acbbeedim  (exit $ac_status); }
19140acbbeedim{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
19150acbbeedim  (eval $ac_compiler -V </dev/null >&5) 2>&5
19160acbbeedim  ac_status=$?
19170acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180acbbeedim  (exit $ac_status); }
19190acbbeedim
19200acbbeedimcat >conftest.$ac_ext <<_ACEOF
19210acbbeedim/* confdefs.h.  */
19220acbbeedim_ACEOF
19230acbbeedimcat confdefs.h >>conftest.$ac_ext
19240acbbeedimcat >>conftest.$ac_ext <<_ACEOF
19250acbbeedim/* end confdefs.h.  */
19260acbbeedim
19270acbbeedimint
19280acbbeedimmain ()
19290acbbeedim{
19300acbbeedim
19310acbbeedim  ;
19320acbbeedim  return 0;
19330acbbeedim}
19340acbbeedim_ACEOF
19350acbbeedimac_clean_files_save=$ac_clean_files
19360acbbeedimac_clean_files="$ac_clean_files a.out a.exe b.out"
19370acbbeedim# Try to create an executable without -o first, disregard a.out.
19380acbbeedim# It will help us diagnose broken compilers, and finding out an intuition
19390acbbeedim# of exeext.
19400acbbeedimecho "$as_me:$LINENO: checking for C compiler default output file name" >&5
19410acbbeedimecho $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
19420acbbeedimac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
19430acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
19440acbbeedim  (eval $ac_link_default) 2>&5
19450acbbeedim  ac_status=$?
19460acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470acbbeedim  (exit $ac_status); }; then
19480acbbeedim  # Find the output, starting from the most likely.  This scheme is
19490acbbeedim# not robust to junk in `.', hence go to wildcards (a.*) only as a last
19500acbbeedim# resort.
19510acbbeedim
19520acbbeedim# Be careful to initialize this variable, since it used to be cached.
19530acbbeedim# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
19540acbbeedimac_cv_exeext=
19550acbbeedim# b.out is created by i960 compilers.
19560acbbeedimfor ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
19570acbbeedimdo
19580acbbeedim  test -f "$ac_file" || continue
19590acbbeedim  case $ac_file in
19600acbbeedim    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
19610acbbeedim	;;
19620acbbeedim    conftest.$ac_ext )
19630acbbeedim	# This is the source file.
19640acbbeedim	;;
19650acbbeedim    [ab].out )
19660acbbeedim	# We found the default executable, but exeext='' is most
19670acbbeedim	# certainly right.
19680acbbeedim	break;;
19690acbbeedim    *.* )
19700acbbeedim	ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
19710acbbeedim	# FIXME: I believe we export ac_cv_exeext for Libtool,
19720acbbeedim	# but it would be cool to find out if it's true.  Does anybody
19730acbbeedim	# maintain Libtool? --akim.
19740acbbeedim	export ac_cv_exeext
19750acbbeedim	break;;
19760acbbeedim    * )
19770acbbeedim	break;;
19780acbbeedim  esac
19790acbbeedimdone
19800acbbeedimelse
19810acbbeedim  echo "$as_me: failed program was:" >&5
19820acbbeedimsed 's/^/| /' conftest.$ac_ext >&5
19830acbbeedim
19840acbbeedim{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
19850acbbeedimSee \`config.log' for more details." >&5
19860acbbeedimecho "$as_me: error: C compiler cannot create executables
19870acbbeedimSee \`config.log' for more details." >&2;}
19880acbbeedim   { (exit 77); exit 77; }; }
19890acbbeedimfi
19900acbbeedim
19910acbbeedimac_exeext=$ac_cv_exeext
19920acbbeedimecho "$as_me:$LINENO: result: $ac_file" >&5
19930acbbeedimecho "${ECHO_T}$ac_file" >&6
19940acbbeedim
19950acbbeedim# Check the compiler produces executables we can run.  If not, either
19960acbbeedim# the compiler is broken, or we cross compile.
19970acbbeedimecho "$as_me:$LINENO: checking whether the C compiler works" >&5
19980acbbeedimecho $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
19990acbbeedim# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
20000acbbeedim# If not cross compiling, check that we can run a simple program.
20010acbbeedimif test "$cross_compiling" != yes; then
20020acbbeedim  if { ac_try='./$ac_file'
20030acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20040acbbeedim  (eval $ac_try) 2>&5
20050acbbeedim  ac_status=$?
20060acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070acbbeedim  (exit $ac_status); }; }; then
20080acbbeedim    cross_compiling=no
20090acbbeedim  else
20100acbbeedim    if test "$cross_compiling" = maybe; then
20110acbbeedim	cross_compiling=yes
20120acbbeedim    else
20130acbbeedim	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
20140acbbeedimIf you meant to cross compile, use \`--host'.
20150acbbeedimSee \`config.log' for more details." >&5
20160acbbeedimecho "$as_me: error: cannot run C compiled programs.
20170acbbeedimIf you meant to cross compile, use \`--host'.
20180acbbeedimSee \`config.log' for more details." >&2;}
20190acbbeedim   { (exit 1); exit 1; }; }
20200acbbeedim    fi
20210acbbeedim  fi
20220acbbeedimfi
20230acbbeedimecho "$as_me:$LINENO: result: yes" >&5
20240acbbeedimecho "${ECHO_T}yes" >&6
20250acbbeedim
20260acbbeedimrm -f a.out a.exe conftest$ac_cv_exeext b.out
20270acbbeedimac_clean_files=$ac_clean_files_save
20280acbbeedim# Check the compiler produces executables we can run.  If not, either
20290acbbeedim# the compiler is broken, or we cross compile.
20300acbbeedimecho "$as_me:$LINENO: checking whether we are cross compiling" >&5
20310acbbeedimecho $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
20320acbbeedimecho "$as_me:$LINENO: result: $cross_compiling" >&5
20330acbbeedimecho "${ECHO_T}$cross_compiling" >&6
20340acbbeedim
20350acbbeedimecho "$as_me:$LINENO: checking for suffix of executables" >&5
20360acbbeedimecho $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
20370acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20380acbbeedim  (eval $ac_link) 2>&5
20390acbbeedim  ac_status=$?
20400acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410acbbeedim  (exit $ac_status); }; then
20420acbbeedim  # If both `conftest.exe' and `conftest' are `present' (well, observable)
20430acbbeedim# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
20440acbbeedim# work properly (i.e., refer to `conftest.exe'), while it won't with
20450acbbeedim# `rm'.
20460acbbeedimfor ac_file in conftest.exe conftest conftest.*; do
20470acbbeedim  test -f "$ac_file" || continue
20480acbbeedim  case $ac_file in
20490acbbeedim    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
20500acbbeedim    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
20510acbbeedim	  export ac_cv_exeext
20520acbbeedim	  break;;
20530acbbeedim    * ) break;;
20540acbbeedim  esac
20550acbbeedimdone
20560acbbeedimelse
20570acbbeedim  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
20580acbbeedimSee \`config.log' for more details." >&5
20590acbbeedimecho "$as_me: error: cannot compute suffix of executables: cannot compile and link
20600acbbeedimSee \`config.log' for more details." >&2;}
20610acbbeedim   { (exit 1); exit 1; }; }
20620acbbeedimfi
20630acbbeedim
20640acbbeedimrm -f conftest$ac_cv_exeext
20650acbbeedimecho "$as_me:$LINENO: result: $ac_cv_exeext" >&5
20660acbbeedimecho "${ECHO_T}$ac_cv_exeext" >&6
20670acbbeedim
20680acbbeedimrm -f conftest.$ac_ext
20690acbbeedimEXEEXT=$ac_cv_exeext
20700acbbeedimac_exeext=$EXEEXT
20710acbbeedimecho "$as_me:$LINENO: checking for suffix of object files" >&5
20720acbbeedimecho $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
20730acbbeedimif test "${ac_cv_objext+set}" = set; then
20740acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
20750acbbeedimelse
20760acbbeedim  cat >conftest.$ac_ext <<_ACEOF
20770acbbeedim/* confdefs.h.  */
20780acbbeedim_ACEOF
20790acbbeedimcat confdefs.h >>conftest.$ac_ext
20800acbbeedimcat >>conftest.$ac_ext <<_ACEOF
20810acbbeedim/* end confdefs.h.  */
20820acbbeedim
20830acbbeedimint
20840acbbeedimmain ()
20850acbbeedim{
20860acbbeedim
20870acbbeedim  ;
20880acbbeedim  return 0;
20890acbbeedim}
20900acbbeedim_ACEOF
20910acbbeedimrm -f conftest.o conftest.obj
20920acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20930acbbeedim  (eval $ac_compile) 2>&5
20940acbbeedim  ac_status=$?
20950acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20960acbbeedim  (exit $ac_status); }; then
20970acbbeedim  for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
20980acbbeedim  case $ac_file in
20990acbbeedim    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
21000acbbeedim    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
21010acbbeedim       break;;
21020acbbeedim  esac
21030acbbeedimdone
21040acbbeedimelse
21050acbbeedim  echo "$as_me: failed program was:" >&5
21060acbbeedimsed 's/^/| /' conftest.$ac_ext >&5
21070acbbeedim
21080acbbeedim{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
21090acbbeedimSee \`config.log' for more details." >&5
21100acbbeedimecho "$as_me: error: cannot compute suffix of object files: cannot compile
21110acbbeedimSee \`config.log' for more details." >&2;}
21120acbbeedim   { (exit 1); exit 1; }; }
21130acbbeedimfi
21140acbbeedim
21150acbbeedimrm -f conftest.$ac_cv_objext conftest.$ac_ext
21160acbbeedimfi
21170acbbeedimecho "$as_me:$LINENO: result: $ac_cv_objext" >&5
21180acbbeedimecho "${ECHO_T}$ac_cv_objext" >&6
21190acbbeedimOBJEXT=$ac_cv_objext
21200acbbeedimac_objext=$OBJEXT
21210acbbeedimecho "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
21220acbbeedimecho $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
21230acbbeedimif test "${ac_cv_c_compiler_gnu+set}" = set; then
21240acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
21250acbbeedimelse
21260acbbeedim  cat >conftest.$ac_ext <<_ACEOF
21270acbbeedim/* confdefs.h.  */
21280acbbeedim_ACEOF
21290acbbeedimcat confdefs.h >>conftest.$ac_ext
21300acbbeedimcat >>conftest.$ac_ext <<_ACEOF
21310acbbeedim/* end confdefs.h.  */
21320acbbeedim
21330acbbeedimint
21340acbbeedimmain ()
21350acbbeedim{
21360acbbeedim#ifndef __GNUC__
21370acbbeedim       choke me
21380acbbeedim#endif
21390acbbeedim
21400acbbeedim  ;
21410acbbeedim  return 0;
21420acbbeedim}
21430acbbeedim_ACEOF
21440acbbeedimrm -f conftest.$ac_objext
21450acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21460acbbeedim  (eval $ac_compile) 2>conftest.er1
21470acbbeedim  ac_status=$?
21480acbbeedim  grep -v '^ *+' conftest.er1 >conftest.err
21490acbbeedim  rm -f conftest.er1
21500acbbeedim  cat conftest.err >&5
21510acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520acbbeedim  (exit $ac_status); } &&
21530acbbeedim	 { ac_try='test -z "$ac_c_werror_flag"
21540acbbeedim			 || test ! -s conftest.err'
21550acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21560acbbeedim  (eval $ac_try) 2>&5
21570acbbeedim  ac_status=$?
21580acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21590acbbeedim  (exit $ac_status); }; } &&
21600acbbeedim	 { ac_try='test -s conftest.$ac_objext'
21610acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21620acbbeedim  (eval $ac_try) 2>&5
21630acbbeedim  ac_status=$?
21640acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650acbbeedim  (exit $ac_status); }; }; then
21660acbbeedim  ac_compiler_gnu=yes
21670acbbeedimelse
21680acbbeedim  echo "$as_me: failed program was:" >&5
21690acbbeedimsed 's/^/| /' conftest.$ac_ext >&5
21700acbbeedim
21710acbbeedimac_compiler_gnu=no
21720acbbeedimfi
21730acbbeedimrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21740acbbeedimac_cv_c_compiler_gnu=$ac_compiler_gnu
21750acbbeedim
21760acbbeedimfi
21770acbbeedimecho "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
21780acbbeedimecho "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
21790acbbeedimGCC=`test $ac_compiler_gnu = yes && echo yes`
21800acbbeedimac_test_CFLAGS=${CFLAGS+set}
21810acbbeedimac_save_CFLAGS=$CFLAGS
21820acbbeedimCFLAGS="-g"
21830acbbeedimecho "$as_me:$LINENO: checking whether $CC accepts -g" >&5
21840acbbeedimecho $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
21850acbbeedimif test "${ac_cv_prog_cc_g+set}" = set; then
21860acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
21870acbbeedimelse
21880acbbeedim  cat >conftest.$ac_ext <<_ACEOF
21890acbbeedim/* confdefs.h.  */
21900acbbeedim_ACEOF
21910acbbeedimcat confdefs.h >>conftest.$ac_ext
21920acbbeedimcat >>conftest.$ac_ext <<_ACEOF
21930acbbeedim/* end confdefs.h.  */
21940acbbeedim
21950acbbeedimint
21960acbbeedimmain ()
21970acbbeedim{
21980acbbeedim
21990acbbeedim  ;
22000acbbeedim  return 0;
22010acbbeedim}
22020acbbeedim_ACEOF
22030acbbeedimrm -f conftest.$ac_objext
22040acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22050acbbeedim  (eval $ac_compile) 2>conftest.er1
22060acbbeedim  ac_status=$?
22070acbbeedim  grep -v '^ *+' conftest.er1 >conftest.err
22080acbbeedim  rm -f conftest.er1
22090acbbeedim  cat conftest.err >&5
22100acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22110acbbeedim  (exit $ac_status); } &&
22120acbbeedim	 { ac_try='test -z "$ac_c_werror_flag"
22130acbbeedim			 || test ! -s conftest.err'
22140acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150acbbeedim  (eval $ac_try) 2>&5
22160acbbeedim  ac_status=$?
22170acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22180acbbeedim  (exit $ac_status); }; } &&
22190acbbeedim	 { ac_try='test -s conftest.$ac_objext'
22200acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22210acbbeedim  (eval $ac_try) 2>&5
22220acbbeedim  ac_status=$?
22230acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
22240acbbeedim  (exit $ac_status); }; }; then
22250acbbeedim  ac_cv_prog_cc_g=yes
22260acbbeedimelse
22270acbbeedim  echo "$as_me: failed program was:" >&5
22280acbbeedimsed 's/^/| /' conftest.$ac_ext >&5
22290acbbeedim
22300acbbeedimac_cv_prog_cc_g=no
22310acbbeedimfi
22320acbbeedimrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22330acbbeedimfi
22340acbbeedimecho "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
22350acbbeedimecho "${ECHO_T}$ac_cv_prog_cc_g" >&6
22360acbbeedimif test "$ac_test_CFLAGS" = set; then
22370acbbeedim  CFLAGS=$ac_save_CFLAGS
22380acbbeedimelif test $ac_cv_prog_cc_g = yes; then
22390acbbeedim  if test "$GCC" = yes; then
22400acbbeedim    CFLAGS="-g -O2"
22410acbbeedim  else
22420acbbeedim    CFLAGS="-g"
22430acbbeedim  fi
22440acbbeedimelse
22450acbbeedim  if test "$GCC" = yes; then
22460acbbeedim    CFLAGS="-O2"
22470acbbeedim  else
22480acbbeedim    CFLAGS=
22490acbbeedim  fi
22500acbbeedimfi
22510acbbeedimecho "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
22520acbbeedimecho $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
22530acbbeedimif test "${ac_cv_prog_cc_stdc+set}" = set; then
22540acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
22550acbbeedimelse
22560acbbeedim  ac_cv_prog_cc_stdc=no
22570acbbeedimac_save_CC=$CC
22580acbbeedimcat >conftest.$ac_ext <<_ACEOF
22590acbbeedim/* confdefs.h.  */
22600acbbeedim_ACEOF
22610acbbeedimcat confdefs.h >>conftest.$ac_ext
22620acbbeedimcat >>conftest.$ac_ext <<_ACEOF
22630acbbeedim/* end confdefs.h.  */
22640acbbeedim#include <stdarg.h>
22650acbbeedim#include <stdio.h>
22660acbbeedim#include <sys/types.h>
22670acbbeedim#include <sys/stat.h>
22680acbbeedim/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
22690acbbeedimstruct buf { int x; };
22700acbbeedimFILE * (*rcsopen) (struct buf *, struct stat *, int);
22710acbbeedimstatic char *e (p, i)
22720acbbeedim     char **p;
22730acbbeedim     int i;
22740acbbeedim{
22750acbbeedim  return p[i];
22760acbbeedim}
22770acbbeedimstatic char *f (char * (*g) (char **, int), char **p, ...)
22780acbbeedim{
22790acbbeedim  char *s;
22800acbbeedim  va_list v;
22810acbbeedim  va_start (v,p);
22820acbbeedim  s = g (p, va_arg (v,int));
22830acbbeedim  va_end (v);
22840acbbeedim  return s;
22850acbbeedim}
22860acbbeedim
22870acbbeedim/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
22880acbbeedim   function prototypes and stuff, but not '\xHH' hex character constants.
22890acbbeedim   These don't provoke an error unfortunately, instead are silently treated
22900acbbeedim   as 'x'.  The following induces an error, until -std1 is added to get
22910acbbeedim   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
22920acbbeedim   array size at least.  It's necessary to write '\x00'==0 to get something
22930acbbeedim   that's true only with -std1.  */
22940acbbeedimint osf4_cc_array ['\x00' == 0 ? 1 : -1];
22950acbbeedim
22960acbbeedimint test (int i, double x);
22970acbbeedimstruct s1 {int (*f) (int a);};
22980acbbeedimstruct s2 {int (*f) (double a);};
22990acbbeedimint pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
23000acbbeedimint argc;
23010acbbeedimchar **argv;
23020acbbeedimint
23030acbbeedimmain ()
23040acbbeedim{
23050acbbeedimreturn f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
23060acbbeedim  ;
23070acbbeedim  return 0;
23080acbbeedim}
23090acbbeedim_ACEOF
23100acbbeedim# Don't try gcc -ansi; that turns off useful extensions and
23110acbbeedim# breaks some systems' header files.
23120acbbeedim# AIX			-qlanglvl=ansi
23130acbbeedim# Ultrix and OSF/1	-std1
23140acbbeedim# HP-UX 10.20 and later	-Ae
23150acbbeedim# HP-UX older versions	-Aa -D_HPUX_SOURCE
23160acbbeedim# SVR4			-Xc -D__EXTENSIONS__
23170acbbeedimfor ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
23180acbbeedimdo
23190acbbeedim  CC="$ac_save_CC $ac_arg"
23200acbbeedim  rm -f conftest.$ac_objext
23210acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23220acbbeedim  (eval $ac_compile) 2>conftest.er1
23230acbbeedim  ac_status=$?
23240acbbeedim  grep -v '^ *+' conftest.er1 >conftest.err
23250acbbeedim  rm -f conftest.er1
23260acbbeedim  cat conftest.err >&5
23270acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280acbbeedim  (exit $ac_status); } &&
23290acbbeedim	 { ac_try='test -z "$ac_c_werror_flag"
23300acbbeedim			 || test ! -s conftest.err'
23310acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23320acbbeedim  (eval $ac_try) 2>&5
23330acbbeedim  ac_status=$?
23340acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350acbbeedim  (exit $ac_status); }; } &&
23360acbbeedim	 { ac_try='test -s conftest.$ac_objext'
23370acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23380acbbeedim  (eval $ac_try) 2>&5
23390acbbeedim  ac_status=$?
23400acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23410acbbeedim  (exit $ac_status); }; }; then
23420acbbeedim  ac_cv_prog_cc_stdc=$ac_arg
23430acbbeedimbreak
23440acbbeedimelse
23450acbbeedim  echo "$as_me: failed program was:" >&5
23460acbbeedimsed 's/^/| /' conftest.$ac_ext >&5
23470acbbeedim
23480acbbeedimfi
23490acbbeedimrm -f conftest.err conftest.$ac_objext
23500acbbeedimdone
23510acbbeedimrm -f conftest.$ac_ext conftest.$ac_objext
23520acbbeedimCC=$ac_save_CC
23530acbbeedim
23540acbbeedimfi
23550acbbeedim
23560acbbeedimcase "x$ac_cv_prog_cc_stdc" in
23570acbbeedim  x|xno)
23580acbbeedim    echo "$as_me:$LINENO: result: none needed" >&5
23590acbbeedimecho "${ECHO_T}none needed" >&6 ;;
23600acbbeedim  *)
23610acbbeedim    echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
23620acbbeedimecho "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
23630acbbeedim    CC="$CC $ac_cv_prog_cc_stdc" ;;
23640acbbeedimesac
23650acbbeedim
23660acbbeedim# Some people use a C++ compiler to compile C.  Since we use `exit',
23670acbbeedim# in C++ we need to declare it.  In case someone uses the same compiler
23680acbbeedim# for both compiling C and C++ we need to have the C++ compiler decide
23690acbbeedim# the declaration of exit, since it's the most demanding environment.
23700acbbeedimcat >conftest.$ac_ext <<_ACEOF
23710acbbeedim#ifndef __cplusplus
23720acbbeedim  choke me
23730acbbeedim#endif
23740acbbeedim_ACEOF
23750acbbeedimrm -f conftest.$ac_objext
23760acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23770acbbeedim  (eval $ac_compile) 2>conftest.er1
23780acbbeedim  ac_status=$?
23790acbbeedim  grep -v '^ *+' conftest.er1 >conftest.err
23800acbbeedim  rm -f conftest.er1
23810acbbeedim  cat conftest.err >&5
23820acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23830acbbeedim  (exit $ac_status); } &&
23840acbbeedim	 { ac_try='test -z "$ac_c_werror_flag"
23850acbbeedim			 || test ! -s conftest.err'
23860acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23870acbbeedim  (eval $ac_try) 2>&5
23880acbbeedim  ac_status=$?
23890acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23900acbbeedim  (exit $ac_status); }; } &&
23910acbbeedim	 { ac_try='test -s conftest.$ac_objext'
23920acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23930acbbeedim  (eval $ac_try) 2>&5
23940acbbeedim  ac_status=$?
23950acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960acbbeedim  (exit $ac_status); }; }; then
23970acbbeedim  for ac_declaration in \
23980acbbeedim   '' \
23990acbbeedim   'extern "C" void std::exit (int) throw (); using std::exit;' \
24000acbbeedim   'extern "C" void std::exit (int); using std::exit;' \
24010acbbeedim   'extern "C" void exit (int) throw ();' \
24020acbbeedim   'extern "C" void exit (int);' \
24030acbbeedim   'void exit (int);'
24040acbbeedimdo
24050acbbeedim  cat >conftest.$ac_ext <<_ACEOF
24060acbbeedim/* confdefs.h.  */
24070acbbeedim_ACEOF
24080acbbeedimcat confdefs.h >>conftest.$ac_ext
24090acbbeedimcat >>conftest.$ac_ext <<_ACEOF
24100acbbeedim/* end confdefs.h.  */
24110acbbeedim$ac_declaration
24120acbbeedim#include <stdlib.h>
24130acbbeedimint
24140acbbeedimmain ()
24150acbbeedim{
24160acbbeedimexit (42);
24170acbbeedim  ;
24180acbbeedim  return 0;
24190acbbeedim}
24200acbbeedim_ACEOF
24210acbbeedimrm -f conftest.$ac_objext
24220acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24230acbbeedim  (eval $ac_compile) 2>conftest.er1
24240acbbeedim  ac_status=$?
24250acbbeedim  grep -v '^ *+' conftest.er1 >conftest.err
24260acbbeedim  rm -f conftest.er1
24270acbbeedim  cat conftest.err >&5
24280acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24290acbbeedim  (exit $ac_status); } &&
24300acbbeedim	 { ac_try='test -z "$ac_c_werror_flag"
24310acbbeedim			 || test ! -s conftest.err'
24320acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24330acbbeedim  (eval $ac_try) 2>&5
24340acbbeedim  ac_status=$?
24350acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24360acbbeedim  (exit $ac_status); }; } &&
24370acbbeedim	 { ac_try='test -s conftest.$ac_objext'
24380acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24390acbbeedim  (eval $ac_try) 2>&5
24400acbbeedim  ac_status=$?
24410acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24420acbbeedim  (exit $ac_status); }; }; then
24430acbbeedim  :
24440acbbeedimelse
24450acbbeedim  echo "$as_me: failed program was:" >&5
24460acbbeedimsed 's/^/| /' conftest.$ac_ext >&5
24470acbbeedim
24480acbbeedimcontinue
24490acbbeedimfi
24500acbbeedimrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24510acbbeedim  cat >conftest.$ac_ext <<_ACEOF
24520acbbeedim/* confdefs.h.  */
24530acbbeedim_ACEOF
24540acbbeedimcat confdefs.h >>conftest.$ac_ext
24550acbbeedimcat >>conftest.$ac_ext <<_ACEOF
24560acbbeedim/* end confdefs.h.  */
24570acbbeedim$ac_declaration
24580acbbeedimint
24590acbbeedimmain ()
24600acbbeedim{
24610acbbeedimexit (42);
24620acbbeedim  ;
24630acbbeedim  return 0;
24640acbbeedim}
24650acbbeedim_ACEOF
24660acbbeedimrm -f conftest.$ac_objext
24670acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24680acbbeedim  (eval $ac_compile) 2>conftest.er1
24690acbbeedim  ac_status=$?
24700acbbeedim  grep -v '^ *+' conftest.er1 >conftest.err
24710acbbeedim  rm -f conftest.er1
24720acbbeedim  cat conftest.err >&5
24730acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24740acbbeedim  (exit $ac_status); } &&
24750acbbeedim	 { ac_try='test -z "$ac_c_werror_flag"
24760acbbeedim			 || test ! -s conftest.err'
24770acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24780acbbeedim  (eval $ac_try) 2>&5
24790acbbeedim  ac_status=$?
24800acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24810acbbeedim  (exit $ac_status); }; } &&
24820acbbeedim	 { ac_try='test -s conftest.$ac_objext'
24830acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24840acbbeedim  (eval $ac_try) 2>&5
24850acbbeedim  ac_status=$?
24860acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
24870acbbeedim  (exit $ac_status); }; }; then
24880acbbeedim  break
24890acbbeedimelse
24900acbbeedim  echo "$as_me: failed program was:" >&5
24910acbbeedimsed 's/^/| /' conftest.$ac_ext >&5
24920acbbeedim
24930acbbeedimfi
24940acbbeedimrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24950acbbeedimdone
24960acbbeedimrm -f conftest*
24970acbbeedimif test -n "$ac_declaration"; then
24980acbbeedim  echo '#ifdef __cplusplus' >>confdefs.h
24990acbbeedim  echo $ac_declaration      >>confdefs.h
25000acbbeedim  echo '#endif'             >>confdefs.h
25010acbbeedimfi
25020acbbeedim
25030acbbeedimelse
25040acbbeedim  echo "$as_me: failed program was:" >&5
25050acbbeedimsed 's/^/| /' conftest.$ac_ext >&5
25060acbbeedim
25070acbbeedimfi
25080acbbeedimrm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25090acbbeedimac_ext=c
25100acbbeedimac_cpp='$CPP $CPPFLAGS'
25110acbbeedimac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25120acbbeedimac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25130acbbeedimac_compiler_gnu=$ac_cv_c_compiler_gnu
25140acbbeedim
25150acbbeedim
25160acbbeedimecho "$as_me:$LINENO: checking for library containing strerror" >&5
25170acbbeedimecho $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
25180acbbeedimif test "${ac_cv_search_strerror+set}" = set; then
25190acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
25200acbbeedimelse
25210acbbeedim  ac_func_search_save_LIBS=$LIBS
25220acbbeedimac_cv_search_strerror=no
25230acbbeedimcat >conftest.$ac_ext <<_ACEOF
25240acbbeedim/* confdefs.h.  */
25250acbbeedim_ACEOF
25260acbbeedimcat confdefs.h >>conftest.$ac_ext
25270acbbeedimcat >>conftest.$ac_ext <<_ACEOF
25280acbbeedim/* end confdefs.h.  */
25290acbbeedim
25300acbbeedim/* Override any gcc2 internal prototype to avoid an error.  */
25310acbbeedim#ifdef __cplusplus
25320acbbeedimextern "C"
25330acbbeedim#endif
25340acbbeedim/* We use char because int might match the return type of a gcc2
25350acbbeedim   builtin and then its argument prototype would still apply.  */
25360acbbeedimchar strerror ();
25370acbbeedimint
25380acbbeedimmain ()
25390acbbeedim{
25400acbbeedimstrerror ();
25410acbbeedim  ;
25420acbbeedim  return 0;
25430acbbeedim}
25440acbbeedim_ACEOF
25450acbbeedimrm -f conftest.$ac_objext conftest$ac_exeext
25460acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25470acbbeedim  (eval $ac_link) 2>conftest.er1
25480acbbeedim  ac_status=$?
25490acbbeedim  grep -v '^ *+' conftest.er1 >conftest.err
25500acbbeedim  rm -f conftest.er1
25510acbbeedim  cat conftest.err >&5
25520acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25530acbbeedim  (exit $ac_status); } &&
25540acbbeedim	 { ac_try='test -z "$ac_c_werror_flag"
25550acbbeedim			 || test ! -s conftest.err'
25560acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25570acbbeedim  (eval $ac_try) 2>&5
25580acbbeedim  ac_status=$?
25590acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600acbbeedim  (exit $ac_status); }; } &&
25610acbbeedim	 { ac_try='test -s conftest$ac_exeext'
25620acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25630acbbeedim  (eval $ac_try) 2>&5
25640acbbeedim  ac_status=$?
25650acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
25660acbbeedim  (exit $ac_status); }; }; then
25670acbbeedim  ac_cv_search_strerror="none required"
25680acbbeedimelse
25690acbbeedim  echo "$as_me: failed program was:" >&5
25700acbbeedimsed 's/^/| /' conftest.$ac_ext >&5
25710acbbeedim
25720acbbeedimfi
25730acbbeedimrm -f conftest.err conftest.$ac_objext \
25740acbbeedim      conftest$ac_exeext conftest.$ac_ext
25750acbbeedimif test "$ac_cv_search_strerror" = no; then
25760acbbeedim  for ac_lib in cposix; do
25770acbbeedim    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
25780acbbeedim    cat >conftest.$ac_ext <<_ACEOF
25790acbbeedim/* confdefs.h.  */
25800acbbeedim_ACEOF
25810acbbeedimcat confdefs.h >>conftest.$ac_ext
25820acbbeedimcat >>conftest.$ac_ext <<_ACEOF
25830acbbeedim/* end confdefs.h.  */
25840acbbeedim
25850acbbeedim/* Override any gcc2 internal prototype to avoid an error.  */
25860acbbeedim#ifdef __cplusplus
25870acbbeedimextern "C"
25880acbbeedim#endif
25890acbbeedim/* We use char because int might match the return type of a gcc2
25900acbbeedim   builtin and then its argument prototype would still apply.  */
25910acbbeedimchar strerror ();
25920acbbeedimint
25930acbbeedimmain ()
25940acbbeedim{
25950acbbeedimstrerror ();
25960acbbeedim  ;
25970acbbeedim  return 0;
25980acbbeedim}
25990acbbeedim_ACEOF
26000acbbeedimrm -f conftest.$ac_objext conftest$ac_exeext
26010acbbeedimif { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26020acbbeedim  (eval $ac_link) 2>conftest.er1
26030acbbeedim  ac_status=$?
26040acbbeedim  grep -v '^ *+' conftest.er1 >conftest.err
26050acbbeedim  rm -f conftest.er1
26060acbbeedim  cat conftest.err >&5
26070acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080acbbeedim  (exit $ac_status); } &&
26090acbbeedim	 { ac_try='test -z "$ac_c_werror_flag"
26100acbbeedim			 || test ! -s conftest.err'
26110acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26120acbbeedim  (eval $ac_try) 2>&5
26130acbbeedim  ac_status=$?
26140acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150acbbeedim  (exit $ac_status); }; } &&
26160acbbeedim	 { ac_try='test -s conftest$ac_exeext'
26170acbbeedim  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26180acbbeedim  (eval $ac_try) 2>&5
26190acbbeedim  ac_status=$?
26200acbbeedim  echo "$as_me:$LINENO: \$? = $ac_status" >&5
26210acbbeedim  (exit $ac_status); }; }; then
26220acbbeedim  ac_cv_search_strerror="-l$ac_lib"
26230acbbeedimbreak
26240acbbeedimelse
26250acbbeedim  echo "$as_me: failed program was:" >&5
26260acbbeedimsed 's/^/| /' conftest.$ac_ext >&5
26270acbbeedim
26280acbbeedimfi
26290acbbeedimrm -f conftest.err conftest.$ac_objext \
26300acbbeedim      conftest$ac_exeext conftest.$ac_ext
26310acbbeedim  done
26320acbbeedimfi
26330acbbeedimLIBS=$ac_func_search_save_LIBS
26340acbbeedimfi
26350acbbeedimecho "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
26360acbbeedimecho "${ECHO_T}$ac_cv_search_strerror" >&6
26370acbbeedimif test "$ac_cv_search_strerror" != no; then
26380acbbeedim  test "$ac_cv_search_strerror" = "none required" || LIBS="$ac_cv_search_strerror $LIBS"
26390acbbeedim
26400acbbeedimfi
26410acbbeedim
26420acbbeedim
26430acbbeedimBFD_VERSION=`sed -n -e 's/^.._INIT_AUTOMAKE.*,[ 	]*\([^ 	]*\)[ 	]*).*/\1/p' < ${srcdir}/../bfd/configure.in`
26440acbbeedimam__api_version="1.9"
26450acbbeedim# Find a good install program.  We prefer a C program (faster),
26460acbbeedim# so one script is as good as another.  But avoid the broken or
26470acbbeedim# incompatible versions:
26480acbbeedim# SysV /etc/install, /usr/sbin/install
26490acbbeedim# SunOS /usr/etc/install
26500acbbeedim# IRIX /sbin/install
26510acbbeedim# AIX /bin/install
26520acbbeedim# AmigaOS /C/install, which installs bootblocks on floppy discs
26530acbbeedim# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
26540acbbeedim# AFS /usr/afsws/bin/install, which mishandles nonexistent args
26550acbbeedim# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
26560acbbeedim# OS/2's system install, which has a completely different semantic
26570acbbeedim# ./install, which can be erroneously created by make from ./install.sh.
26580acbbeedimecho "$as_me:$LINENO: checking for a BSD-compatible install" >&5
26590acbbeedimecho $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
26600acbbeedimif test -z "$INSTALL"; then
26610acbbeedimif test "${ac_cv_path_install+set}" = set; then
26620acbbeedim  echo $ECHO_N "(cached) $ECHO_C" >&6
26630acbbeedimelse
26640acbbeedim  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26650acbbeedimfor as_dir in $PATH
26660acbbeedimdo
26670acbbeedim  IFS=$as_save_IFS
26680acbbeedim  test -z "$as_dir" && as_dir=.
26690acbbeedim  # Account for people who put trailing slashes in PATH elements.
26700acbbeedimcase $as_dir/ in
26710acbbeedim  ./ | .// | /cC/* | \
26720acbbeedim  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
26730acbbeedim  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
26740acbbeedim  /usr/ucb/* ) ;;
26750acbbee