Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 675:b97020f9af1c
prev671:a530ea88eebd
next681:1755a126b109
author nkeynes
date Sun Jun 01 00:46:15 2008 +0000 (11 years ago)
permissions -rwxr-xr-x
last change Build tests as part of make check, not make all
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.61.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    27 fi
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
    40 # The user is always right.
    41 if test "${PATH_SEPARATOR+set}" != set; then
    42   echo "#! /bin/sh" >conf$$.sh
    43   echo  "exit 0"   >>conf$$.sh
    44   chmod +x conf$$.sh
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    46     PATH_SEPARATOR=';'
    47   else
    48     PATH_SEPARATOR=:
    49   fi
    50   rm -f conf$$.sh
    51 fi
    53 # Support unset when possible.
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    55   as_unset=unset
    56 else
    57   as_unset=false
    58 fi
    61 # IFS
    62 # We need space, tab and new line, in precisely that order.  Quoting is
    63 # there to prevent editors from complaining about space-tab.
    64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    65 # splitting by setting IFS to empty value.)
    66 as_nl='
    67 '
    68 IFS=" ""	$as_nl"
    70 # Find who we are.  Look in the path if we contain no directory separator.
    71 case $0 in
    72   *[\\/]* ) as_myself=$0 ;;
    73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    74 for as_dir in $PATH
    75 do
    76   IFS=$as_save_IFS
    77   test -z "$as_dir" && as_dir=.
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79 done
    80 IFS=$as_save_IFS
    82      ;;
    83 esac
    84 # We did not find ourselves, most probably we were run as `sh COMMAND'
    85 # in which case we are not to be found in the path.
    86 if test "x$as_myself" = x; then
    87   as_myself=$0
    88 fi
    89 if test ! -f "$as_myself"; then
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    91   { (exit 1); exit 1; }
    92 fi
    94 # Work around bugs in pre-3.0 UWIN ksh.
    95 for as_var in ENV MAIL MAILPATH
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    97 done
    98 PS1='$ '
    99 PS2='> '
   100 PS4='+ '
   102 # NLS nuisances.
   103 for as_var in \
   104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   106   LC_TELEPHONE LC_TIME
   107 do
   108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   109     eval $as_var=C; export $as_var
   110   else
   111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   112   fi
   113 done
   115 # Required to use basename.
   116 if expr a : '\(a\)' >/dev/null 2>&1 &&
   117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   118   as_expr=expr
   119 else
   120   as_expr=false
   121 fi
   123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   124   as_basename=basename
   125 else
   126   as_basename=false
   127 fi
   130 # Name of the executable.
   131 as_me=`$as_basename -- "$0" ||
   132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   133 	 X"$0" : 'X\(//\)$' \| \
   134 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   135 echo X/"$0" |
   136     sed '/^.*\/\([^/][^/]*\)\/*$/{
   137 	    s//\1/
   138 	    q
   139 	  }
   140 	  /^X\/\(\/\/\)$/{
   141 	    s//\1/
   142 	    q
   143 	  }
   144 	  /^X\/\(\/\).*/{
   145 	    s//\1/
   146 	    q
   147 	  }
   148 	  s/.*/./; q'`
   150 # CDPATH.
   151 $as_unset CDPATH
   154 if test "x$CONFIG_SHELL" = x; then
   155   if (eval ":") 2>/dev/null; then
   156   as_have_required=yes
   157 else
   158   as_have_required=no
   159 fi
   161   if test $as_have_required = yes && 	 (eval ":
   162 (as_func_return () {
   163   (exit \$1)
   164 }
   165 as_func_success () {
   166   as_func_return 0
   167 }
   168 as_func_failure () {
   169   as_func_return 1
   170 }
   171 as_func_ret_success () {
   172   return 0
   173 }
   174 as_func_ret_failure () {
   175   return 1
   176 }
   178 exitcode=0
   179 if as_func_success; then
   180   :
   181 else
   182   exitcode=1
   183   echo as_func_success failed.
   184 fi
   186 if as_func_failure; then
   187   exitcode=1
   188   echo as_func_failure succeeded.
   189 fi
   191 if as_func_ret_success; then
   192   :
   193 else
   194   exitcode=1
   195   echo as_func_ret_success failed.
   196 fi
   198 if as_func_ret_failure; then
   199   exitcode=1
   200   echo as_func_ret_failure succeeded.
   201 fi
   203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   204   :
   205 else
   206   exitcode=1
   207   echo positional parameters were not saved.
   208 fi
   210 test \$exitcode = 0) || { (exit 1); exit 1; }
   212 (
   213   as_lineno_1=\$LINENO
   214   as_lineno_2=\$LINENO
   215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   217 ") 2> /dev/null; then
   218   :
   219 else
   220   as_candidate_shells=
   221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   223 do
   224   IFS=$as_save_IFS
   225   test -z "$as_dir" && as_dir=.
   226   case $as_dir in
   227 	 /*)
   228 	   for as_base in sh bash ksh sh5; do
   229 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   230 	   done;;
   231        esac
   232 done
   233 IFS=$as_save_IFS
   236       for as_shell in $as_candidate_shells $SHELL; do
   237 	 # Try only shells that exist, to save several forks.
   238 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   239 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   241   emulate sh
   242   NULLCMD=:
   243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   244   # is contrary to our usage.  Disable this feature.
   245   alias -g '${1+"$@"}'='"$@"'
   246   setopt NO_GLOB_SUBST
   247 else
   248   case `(set -o) 2>/dev/null` in
   249   *posix*) set -o posix ;;
   250 esac
   252 fi
   255 :
   256 _ASEOF
   257 }; then
   258   CONFIG_SHELL=$as_shell
   259 	       as_have_required=yes
   260 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   262   emulate sh
   263   NULLCMD=:
   264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   265   # is contrary to our usage.  Disable this feature.
   266   alias -g '${1+"$@"}'='"$@"'
   267   setopt NO_GLOB_SUBST
   268 else
   269   case `(set -o) 2>/dev/null` in
   270   *posix*) set -o posix ;;
   271 esac
   273 fi
   276 :
   277 (as_func_return () {
   278   (exit $1)
   279 }
   280 as_func_success () {
   281   as_func_return 0
   282 }
   283 as_func_failure () {
   284   as_func_return 1
   285 }
   286 as_func_ret_success () {
   287   return 0
   288 }
   289 as_func_ret_failure () {
   290   return 1
   291 }
   293 exitcode=0
   294 if as_func_success; then
   295   :
   296 else
   297   exitcode=1
   298   echo as_func_success failed.
   299 fi
   301 if as_func_failure; then
   302   exitcode=1
   303   echo as_func_failure succeeded.
   304 fi
   306 if as_func_ret_success; then
   307   :
   308 else
   309   exitcode=1
   310   echo as_func_ret_success failed.
   311 fi
   313 if as_func_ret_failure; then
   314   exitcode=1
   315   echo as_func_ret_failure succeeded.
   316 fi
   318 if ( set x; as_func_ret_success y && test x = "$1" ); then
   319   :
   320 else
   321   exitcode=1
   322   echo positional parameters were not saved.
   323 fi
   325 test $exitcode = 0) || { (exit 1); exit 1; }
   327 (
   328   as_lineno_1=$LINENO
   329   as_lineno_2=$LINENO
   330   test "x$as_lineno_1" != "x$as_lineno_2" &&
   331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   333 _ASEOF
   334 }; then
   335   break
   336 fi
   338 fi
   340       done
   342       if test "x$CONFIG_SHELL" != x; then
   343   for as_var in BASH_ENV ENV
   344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   345         done
   346         export CONFIG_SHELL
   347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   348 fi
   351     if test $as_have_required = no; then
   352   echo This script requires a shell more modern than all the
   353       echo shells that I found on your system.  Please install a
   354       echo modern shell, or manually run the script under such a
   355       echo shell if you do have one.
   356       { (exit 1); exit 1; }
   357 fi
   360 fi
   362 fi
   366 (eval "as_func_return () {
   367   (exit \$1)
   368 }
   369 as_func_success () {
   370   as_func_return 0
   371 }
   372 as_func_failure () {
   373   as_func_return 1
   374 }
   375 as_func_ret_success () {
   376   return 0
   377 }
   378 as_func_ret_failure () {
   379   return 1
   380 }
   382 exitcode=0
   383 if as_func_success; then
   384   :
   385 else
   386   exitcode=1
   387   echo as_func_success failed.
   388 fi
   390 if as_func_failure; then
   391   exitcode=1
   392   echo as_func_failure succeeded.
   393 fi
   395 if as_func_ret_success; then
   396   :
   397 else
   398   exitcode=1
   399   echo as_func_ret_success failed.
   400 fi
   402 if as_func_ret_failure; then
   403   exitcode=1
   404   echo as_func_ret_failure succeeded.
   405 fi
   407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   408   :
   409 else
   410   exitcode=1
   411   echo positional parameters were not saved.
   412 fi
   414 test \$exitcode = 0") || {
   415   echo No shell found that supports shell functions.
   416   echo Please tell autoconf@gnu.org about your system,
   417   echo including any error possibly output before this
   418   echo message
   419 }
   423   as_lineno_1=$LINENO
   424   as_lineno_2=$LINENO
   425   test "x$as_lineno_1" != "x$as_lineno_2" &&
   426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   429   # uniformly replaced by the line number.  The first 'sed' inserts a
   430   # line-number line after each line using $LINENO; the second 'sed'
   431   # does the real work.  The second script uses 'N' to pair each
   432   # line-number line with the line containing $LINENO, and appends
   433   # trailing '-' during substitution so that $LINENO is not a special
   434   # case at line end.
   435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   437   # E. McMahon (1931-1989) for sed's syntax.  :-)
   438   sed -n '
   439     p
   440     /[$]LINENO/=
   441   ' <$as_myself |
   442     sed '
   443       s/[$]LINENO.*/&-/
   444       t lineno
   445       b
   446       :lineno
   447       N
   448       :loop
   449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   450       t loop
   451       s/-\n.*//
   452     ' >$as_me.lineno &&
   453   chmod +x "$as_me.lineno" ||
   454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   455    { (exit 1); exit 1; }; }
   457   # Don't try to exec as it changes $[0], causing all sort of problems
   458   # (the dirname of $[0] is not the place where we might find the
   459   # original and so on.  Autoconf is especially sensitive to this).
   460   . "./$as_me.lineno"
   461   # Exit status is that of the last command.
   462   exit
   463 }
   466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   467   as_dirname=dirname
   468 else
   469   as_dirname=false
   470 fi
   472 ECHO_C= ECHO_N= ECHO_T=
   473 case `echo -n x` in
   474 -n*)
   475   case `echo 'x\c'` in
   476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   477   *)   ECHO_C='\c';;
   478   esac;;
   479 *)
   480   ECHO_N='-n';;
   481 esac
   483 if expr a : '\(a\)' >/dev/null 2>&1 &&
   484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   485   as_expr=expr
   486 else
   487   as_expr=false
   488 fi
   490 rm -f conf$$ conf$$.exe conf$$.file
   491 if test -d conf$$.dir; then
   492   rm -f conf$$.dir/conf$$.file
   493 else
   494   rm -f conf$$.dir
   495   mkdir conf$$.dir
   496 fi
   497 echo >conf$$.file
   498 if ln -s conf$$.file conf$$ 2>/dev/null; then
   499   as_ln_s='ln -s'
   500   # ... but there are two gotchas:
   501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   503   # In both cases, we have to default to `cp -p'.
   504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   505     as_ln_s='cp -p'
   506 elif ln conf$$.file conf$$ 2>/dev/null; then
   507   as_ln_s=ln
   508 else
   509   as_ln_s='cp -p'
   510 fi
   511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   512 rmdir conf$$.dir 2>/dev/null
   514 if mkdir -p . 2>/dev/null; then
   515   as_mkdir_p=:
   516 else
   517   test -d ./-p && rmdir ./-p
   518   as_mkdir_p=false
   519 fi
   521 if test -x / >/dev/null 2>&1; then
   522   as_test_x='test -x'
   523 else
   524   if ls -dL / >/dev/null 2>&1; then
   525     as_ls_L_option=L
   526   else
   527     as_ls_L_option=
   528   fi
   529   as_test_x='
   530     eval sh -c '\''
   531       if test -d "$1"; then
   532         test -d "$1/.";
   533       else
   534 	case $1 in
   535         -*)set "./$1";;
   536 	esac;
   537 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   538 	???[sx]*):;;*)false;;esac;fi
   539     '\'' sh
   540   '
   541 fi
   542 as_executable_p=$as_test_x
   544 # Sed expression to map a string onto a valid CPP name.
   545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   547 # Sed expression to map a string onto a valid variable name.
   548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   552 exec 7<&0 </dev/null 6>&1
   554 # Name of the host.
   555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   556 # so uname gets run too.
   557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   559 #
   560 # Initializations.
   561 #
   562 ac_default_prefix=/usr/local
   563 ac_clean_files=
   564 ac_config_libobj_dir=.
   565 LIBOBJS=
   566 cross_compiling=no
   567 subdirs=
   568 MFLAGS=
   569 MAKEFLAGS=
   570 SHELL=${CONFIG_SHELL-/bin/sh}
   572 # Identity of this package.
   573 PACKAGE_NAME=
   574 PACKAGE_TARNAME=
   575 PACKAGE_VERSION=
   576 PACKAGE_STRING=
   577 PACKAGE_BUGREPORT=
   579 ac_unique_file="configure.in"
   580 # Factoring default headers for most tests.
   581 ac_includes_default="\
   582 #include <stdio.h>
   583 #ifdef HAVE_SYS_TYPES_H
   584 # include <sys/types.h>
   585 #endif
   586 #ifdef HAVE_SYS_STAT_H
   587 # include <sys/stat.h>
   588 #endif
   589 #ifdef STDC_HEADERS
   590 # include <stdlib.h>
   591 # include <stddef.h>
   592 #else
   593 # ifdef HAVE_STDLIB_H
   594 #  include <stdlib.h>
   595 # endif
   596 #endif
   597 #ifdef HAVE_STRING_H
   598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   599 #  include <memory.h>
   600 # endif
   601 # include <string.h>
   602 #endif
   603 #ifdef HAVE_STRINGS_H
   604 # include <strings.h>
   605 #endif
   606 #ifdef HAVE_INTTYPES_H
   607 # include <inttypes.h>
   608 #endif
   609 #ifdef HAVE_STDINT_H
   610 # include <stdint.h>
   611 #endif
   612 #ifdef HAVE_UNISTD_H
   613 # include <unistd.h>
   614 #endif"
   616 ac_subst_vars='SHELL
   617 PATH_SEPARATOR
   618 PACKAGE_NAME
   619 PACKAGE_TARNAME
   620 PACKAGE_VERSION
   621 PACKAGE_STRING
   622 PACKAGE_BUGREPORT
   623 exec_prefix
   624 prefix
   625 program_transform_name
   626 bindir
   627 sbindir
   628 libexecdir
   629 datarootdir
   630 datadir
   631 sysconfdir
   632 sharedstatedir
   633 localstatedir
   634 includedir
   635 oldincludedir
   636 docdir
   637 infodir
   638 htmldir
   639 dvidir
   640 pdfdir
   641 psdir
   642 libdir
   643 localedir
   644 mandir
   645 DEFS
   646 ECHO_C
   647 ECHO_N
   648 ECHO_T
   649 LIBS
   650 build_alias
   651 host_alias
   652 target_alias
   653 INSTALL_PROGRAM
   654 INSTALL_SCRIPT
   655 INSTALL_DATA
   656 CYGPATH_W
   657 PACKAGE
   658 VERSION
   659 ACLOCAL
   660 AUTOCONF
   661 AUTOMAKE
   662 AUTOHEADER
   663 MAKEINFO
   664 install_sh
   665 STRIP
   666 INSTALL_STRIP_PROGRAM
   667 mkdir_p
   668 AWK
   669 SET_MAKE
   670 am__leading_dot
   671 AMTAR
   672 am__tar
   673 am__untar
   674 MAINTAINER_MODE_TRUE
   675 MAINTAINER_MODE_FALSE
   676 MAINT
   677 CC
   678 CFLAGS
   679 LDFLAGS
   680 CPPFLAGS
   681 ac_ct_CC
   682 EXEEXT
   683 OBJEXT
   684 DEPDIR
   685 am__include
   686 am__quote
   687 AMDEP_TRUE
   688 AMDEP_FALSE
   689 AMDEPBACKSLASH
   690 CCDEPMODE
   691 am__fastdepCC_TRUE
   692 am__fastdepCC_FALSE
   693 CCAS
   694 CCASFLAGS
   695 CPP
   696 GREP
   697 EGREP
   698 build
   699 build_cpu
   700 build_vendor
   701 build_os
   702 host
   703 host_cpu
   704 host_vendor
   705 host_os
   706 GUI_COCOA_TRUE
   707 GUI_COCOA_FALSE
   708 PKG_CONFIG
   709 LIBPNG_CFLAGS
   710 LIBPNG_LIBS
   711 GTK_CFLAGS
   712 GTK_LIBS
   713 GUI_GTK_TRUE
   714 GUI_GTK_FALSE
   715 VIDEO_OSMESA_TRUE
   716 VIDEO_OSMESA_FALSE
   717 VIDEO_GLX_TRUE
   718 VIDEO_GLX_FALSE
   719 VIDEO_NSGL_TRUE
   720 VIDEO_NSGL_FALSE
   721 BUILD_SH4X86_TRUE
   722 BUILD_SH4X86_FALSE
   723 BUILD_X86_64_TRUE
   724 BUILD_X86_64_FALSE
   725 PULSE_CFLAGS
   726 PULSE_LIBS
   727 AUDIO_PULSE_TRUE
   728 AUDIO_PULSE_FALSE
   729 ESOUND_CFLAGS
   730 ESOUND_LIBS
   731 AUDIO_ESOUND_TRUE
   732 AUDIO_ESOUND_FALSE
   733 ALSA_CFLAGS
   734 ALSA_LIBS
   735 AUDIO_ALSA_TRUE
   736 AUDIO_ALSA_FALSE
   737 CDROM_LINUX_TRUE
   738 CDROM_LINUX_FALSE
   739 JOY_LINUX_TRUE
   740 JOY_LINUX_FALSE
   741 SHCC
   742 SHLD
   743 SHOBJCOPY
   744 ARMCC
   745 ARMLD
   746 ARMOBJCOPY
   747 BUILD_SYSTEST_TRUE
   748 BUILD_SYSTEST_FALSE
   749 BUILD_ARMTEST_TRUE
   750 BUILD_ARMTEST_FALSE
   751 GETTEXT_PACKAGE
   752 USE_NLS
   753 MSGFMT
   754 MSGFMT_OPTS
   755 GMSGFMT
   756 XGETTEXT
   757 CATALOGS
   758 CATOBJEXT
   759 DATADIRNAME
   760 GMOFILES
   761 INSTOBJEXT
   762 INTLLIBS
   763 PO_IN_DATADIR_TRUE
   764 PO_IN_DATADIR_FALSE
   765 POFILES
   766 POSUB
   767 MKINSTALLDIRS
   768 LIBOBJS
   769 LTLIBOBJS'
   770 ac_subst_files=''
   771       ac_precious_vars='build_alias
   772 host_alias
   773 target_alias
   774 CC
   775 CFLAGS
   776 LDFLAGS
   777 LIBS
   778 CPPFLAGS
   779 CCAS
   780 CCASFLAGS
   781 CPP
   782 PKG_CONFIG
   783 LIBPNG_CFLAGS
   784 LIBPNG_LIBS
   785 GTK_CFLAGS
   786 GTK_LIBS
   787 PULSE_CFLAGS
   788 PULSE_LIBS
   789 ESOUND_CFLAGS
   790 ESOUND_LIBS
   791 ALSA_CFLAGS
   792 ALSA_LIBS'
   795 # Initialize some variables set by options.
   796 ac_init_help=
   797 ac_init_version=false
   798 # The variables have the same names as the options, with
   799 # dashes changed to underlines.
   800 cache_file=/dev/null
   801 exec_prefix=NONE
   802 no_create=
   803 no_recursion=
   804 prefix=NONE
   805 program_prefix=NONE
   806 program_suffix=NONE
   807 program_transform_name=s,x,x,
   808 silent=
   809 site=
   810 srcdir=
   811 verbose=
   812 x_includes=NONE
   813 x_libraries=NONE
   815 # Installation directory options.
   816 # These are left unexpanded so users can "make install exec_prefix=/foo"
   817 # and all the variables that are supposed to be based on exec_prefix
   818 # by default will actually change.
   819 # Use braces instead of parens because sh, perl, etc. also accept them.
   820 # (The list follows the same order as the GNU Coding Standards.)
   821 bindir='${exec_prefix}/bin'
   822 sbindir='${exec_prefix}/sbin'
   823 libexecdir='${exec_prefix}/libexec'
   824 datarootdir='${prefix}/share'
   825 datadir='${datarootdir}'
   826 sysconfdir='${prefix}/etc'
   827 sharedstatedir='${prefix}/com'
   828 localstatedir='${prefix}/var'
   829 includedir='${prefix}/include'
   830 oldincludedir='/usr/include'
   831 docdir='${datarootdir}/doc/${PACKAGE}'
   832 infodir='${datarootdir}/info'
   833 htmldir='${docdir}'
   834 dvidir='${docdir}'
   835 pdfdir='${docdir}'
   836 psdir='${docdir}'
   837 libdir='${exec_prefix}/lib'
   838 localedir='${datarootdir}/locale'
   839 mandir='${datarootdir}/man'
   841 ac_prev=
   842 ac_dashdash=
   843 for ac_option
   844 do
   845   # If the previous option needs an argument, assign it.
   846   if test -n "$ac_prev"; then
   847     eval $ac_prev=\$ac_option
   848     ac_prev=
   849     continue
   850   fi
   852   case $ac_option in
   853   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   854   *)	ac_optarg=yes ;;
   855   esac
   857   # Accept the important Cygnus configure options, so we can diagnose typos.
   859   case $ac_dashdash$ac_option in
   860   --)
   861     ac_dashdash=yes ;;
   863   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   864     ac_prev=bindir ;;
   865   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   866     bindir=$ac_optarg ;;
   868   -build | --build | --buil | --bui | --bu)
   869     ac_prev=build_alias ;;
   870   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   871     build_alias=$ac_optarg ;;
   873   -cache-file | --cache-file | --cache-fil | --cache-fi \
   874   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   875     ac_prev=cache_file ;;
   876   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   877   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   878     cache_file=$ac_optarg ;;
   880   --config-cache | -C)
   881     cache_file=config.cache ;;
   883   -datadir | --datadir | --datadi | --datad)
   884     ac_prev=datadir ;;
   885   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   886     datadir=$ac_optarg ;;
   888   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   889   | --dataroo | --dataro | --datar)
   890     ac_prev=datarootdir ;;
   891   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   892   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   893     datarootdir=$ac_optarg ;;
   895   -disable-* | --disable-*)
   896     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   897     # Reject names that are not valid shell variable names.
   898     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   899       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   900    { (exit 1); exit 1; }; }
   901     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   902     eval enable_$ac_feature=no ;;
   904   -docdir | --docdir | --docdi | --doc | --do)
   905     ac_prev=docdir ;;
   906   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   907     docdir=$ac_optarg ;;
   909   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   910     ac_prev=dvidir ;;
   911   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   912     dvidir=$ac_optarg ;;
   914   -enable-* | --enable-*)
   915     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   916     # Reject names that are not valid shell variable names.
   917     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   918       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   919    { (exit 1); exit 1; }; }
   920     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   921     eval enable_$ac_feature=\$ac_optarg ;;
   923   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   924   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   925   | --exec | --exe | --ex)
   926     ac_prev=exec_prefix ;;
   927   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   928   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   929   | --exec=* | --exe=* | --ex=*)
   930     exec_prefix=$ac_optarg ;;
   932   -gas | --gas | --ga | --g)
   933     # Obsolete; use --with-gas.
   934     with_gas=yes ;;
   936   -help | --help | --hel | --he | -h)
   937     ac_init_help=long ;;
   938   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   939     ac_init_help=recursive ;;
   940   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   941     ac_init_help=short ;;
   943   -host | --host | --hos | --ho)
   944     ac_prev=host_alias ;;
   945   -host=* | --host=* | --hos=* | --ho=*)
   946     host_alias=$ac_optarg ;;
   948   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
   949     ac_prev=htmldir ;;
   950   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
   951   | --ht=*)
   952     htmldir=$ac_optarg ;;
   954   -includedir | --includedir | --includedi | --included | --include \
   955   | --includ | --inclu | --incl | --inc)
   956     ac_prev=includedir ;;
   957   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
   958   | --includ=* | --inclu=* | --incl=* | --inc=*)
   959     includedir=$ac_optarg ;;
   961   -infodir | --infodir | --infodi | --infod | --info | --inf)
   962     ac_prev=infodir ;;
   963   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
   964     infodir=$ac_optarg ;;
   966   -libdir | --libdir | --libdi | --libd)
   967     ac_prev=libdir ;;
   968   -libdir=* | --libdir=* | --libdi=* | --libd=*)
   969     libdir=$ac_optarg ;;
   971   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
   972   | --libexe | --libex | --libe)
   973     ac_prev=libexecdir ;;
   974   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
   975   | --libexe=* | --libex=* | --libe=*)
   976     libexecdir=$ac_optarg ;;
   978   -localedir | --localedir | --localedi | --localed | --locale)
   979     ac_prev=localedir ;;
   980   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
   981     localedir=$ac_optarg ;;
   983   -localstatedir | --localstatedir | --localstatedi | --localstated \
   984   | --localstate | --localstat | --localsta | --localst | --locals)
   985     ac_prev=localstatedir ;;
   986   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
   987   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
   988     localstatedir=$ac_optarg ;;
   990   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
   991     ac_prev=mandir ;;
   992   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
   993     mandir=$ac_optarg ;;
   995   -nfp | --nfp | --nf)
   996     # Obsolete; use --without-fp.
   997     with_fp=no ;;
   999   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1000   | --no-cr | --no-c | -n)
  1001     no_create=yes ;;
  1003   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1004   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1005     no_recursion=yes ;;
  1007   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1008   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1009   | --oldin | --oldi | --old | --ol | --o)
  1010     ac_prev=oldincludedir ;;
  1011   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1012   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1013   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1014     oldincludedir=$ac_optarg ;;
  1016   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1017     ac_prev=prefix ;;
  1018   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1019     prefix=$ac_optarg ;;
  1021   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1022   | --program-pre | --program-pr | --program-p)
  1023     ac_prev=program_prefix ;;
  1024   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1025   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1026     program_prefix=$ac_optarg ;;
  1028   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1029   | --program-suf | --program-su | --program-s)
  1030     ac_prev=program_suffix ;;
  1031   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1032   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1033     program_suffix=$ac_optarg ;;
  1035   -program-transform-name | --program-transform-name \
  1036   | --program-transform-nam | --program-transform-na \
  1037   | --program-transform-n | --program-transform- \
  1038   | --program-transform | --program-transfor \
  1039   | --program-transfo | --program-transf \
  1040   | --program-trans | --program-tran \
  1041   | --progr-tra | --program-tr | --program-t)
  1042     ac_prev=program_transform_name ;;
  1043   -program-transform-name=* | --program-transform-name=* \
  1044   | --program-transform-nam=* | --program-transform-na=* \
  1045   | --program-transform-n=* | --program-transform-=* \
  1046   | --program-transform=* | --program-transfor=* \
  1047   | --program-transfo=* | --program-transf=* \
  1048   | --program-trans=* | --program-tran=* \
  1049   | --progr-tra=* | --program-tr=* | --program-t=*)
  1050     program_transform_name=$ac_optarg ;;
  1052   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1053     ac_prev=pdfdir ;;
  1054   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1055     pdfdir=$ac_optarg ;;
  1057   -psdir | --psdir | --psdi | --psd | --ps)
  1058     ac_prev=psdir ;;
  1059   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1060     psdir=$ac_optarg ;;
  1062   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1063   | -silent | --silent | --silen | --sile | --sil)
  1064     silent=yes ;;
  1066   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1067     ac_prev=sbindir ;;
  1068   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1069   | --sbi=* | --sb=*)
  1070     sbindir=$ac_optarg ;;
  1072   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1073   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1074   | --sharedst | --shareds | --shared | --share | --shar \
  1075   | --sha | --sh)
  1076     ac_prev=sharedstatedir ;;
  1077   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1078   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1079   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1080   | --sha=* | --sh=*)
  1081     sharedstatedir=$ac_optarg ;;
  1083   -site | --site | --sit)
  1084     ac_prev=site ;;
  1085   -site=* | --site=* | --sit=*)
  1086     site=$ac_optarg ;;
  1088   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1089     ac_prev=srcdir ;;
  1090   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1091     srcdir=$ac_optarg ;;
  1093   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1094   | --syscon | --sysco | --sysc | --sys | --sy)
  1095     ac_prev=sysconfdir ;;
  1096   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1097   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1098     sysconfdir=$ac_optarg ;;
  1100   -target | --target | --targe | --targ | --tar | --ta | --t)
  1101     ac_prev=target_alias ;;
  1102   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1103     target_alias=$ac_optarg ;;
  1105   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1106     verbose=yes ;;
  1108   -version | --version | --versio | --versi | --vers | -V)
  1109     ac_init_version=: ;;
  1111   -with-* | --with-*)
  1112     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1113     # Reject names that are not valid shell variable names.
  1114     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1115       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1116    { (exit 1); exit 1; }; }
  1117     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1118     eval with_$ac_package=\$ac_optarg ;;
  1120   -without-* | --without-*)
  1121     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1122     # Reject names that are not valid shell variable names.
  1123     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1124       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1125    { (exit 1); exit 1; }; }
  1126     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1127     eval with_$ac_package=no ;;
  1129   --x)
  1130     # Obsolete; use --with-x.
  1131     with_x=yes ;;
  1133   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1134   | --x-incl | --x-inc | --x-in | --x-i)
  1135     ac_prev=x_includes ;;
  1136   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1137   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1138     x_includes=$ac_optarg ;;
  1140   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1141   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1142     ac_prev=x_libraries ;;
  1143   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1144   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1145     x_libraries=$ac_optarg ;;
  1147   -*) { echo "$as_me: error: unrecognized option: $ac_option
  1148 Try \`$0 --help' for more information." >&2
  1149    { (exit 1); exit 1; }; }
  1150     ;;
  1152   *=*)
  1153     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1154     # Reject names that are not valid shell variable names.
  1155     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1156       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1157    { (exit 1); exit 1; }; }
  1158     eval $ac_envvar=\$ac_optarg
  1159     export $ac_envvar ;;
  1161   *)
  1162     # FIXME: should be removed in autoconf 3.0.
  1163     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1164     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1165       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1166     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1167     ;;
  1169   esac
  1170 done
  1172 if test -n "$ac_prev"; then
  1173   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1174   { echo "$as_me: error: missing argument to $ac_option" >&2
  1175    { (exit 1); exit 1; }; }
  1176 fi
  1178 # Be sure to have absolute directory names.
  1179 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1180 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1181 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1182 		libdir localedir mandir
  1183 do
  1184   eval ac_val=\$$ac_var
  1185   case $ac_val in
  1186     [\\/$]* | ?:[\\/]* )  continue;;
  1187     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1188   esac
  1189   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1190    { (exit 1); exit 1; }; }
  1191 done
  1193 # There might be people who depend on the old broken behavior: `$host'
  1194 # used to hold the argument of --host etc.
  1195 # FIXME: To remove some day.
  1196 build=$build_alias
  1197 host=$host_alias
  1198 target=$target_alias
  1200 # FIXME: To remove some day.
  1201 if test "x$host_alias" != x; then
  1202   if test "x$build_alias" = x; then
  1203     cross_compiling=maybe
  1204     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1205     If a cross compiler is detected then cross compile mode will be used." >&2
  1206   elif test "x$build_alias" != "x$host_alias"; then
  1207     cross_compiling=yes
  1208   fi
  1209 fi
  1211 ac_tool_prefix=
  1212 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1214 test "$silent" = yes && exec 6>/dev/null
  1217 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1218 ac_ls_di=`ls -di .` &&
  1219 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1220   { echo "$as_me: error: Working directory cannot be determined" >&2
  1221    { (exit 1); exit 1; }; }
  1222 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1223   { echo "$as_me: error: pwd does not report name of working directory" >&2
  1224    { (exit 1); exit 1; }; }
  1227 # Find the source files, if location was not specified.
  1228 if test -z "$srcdir"; then
  1229   ac_srcdir_defaulted=yes
  1230   # Try the directory containing this script, then the parent directory.
  1231   ac_confdir=`$as_dirname -- "$0" ||
  1232 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1233 	 X"$0" : 'X\(//\)[^/]' \| \
  1234 	 X"$0" : 'X\(//\)$' \| \
  1235 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1236 echo X"$0" |
  1237     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1238 	    s//\1/
  1241 	  /^X\(\/\/\)[^/].*/{
  1242 	    s//\1/
  1245 	  /^X\(\/\/\)$/{
  1246 	    s//\1/
  1249 	  /^X\(\/\).*/{
  1250 	    s//\1/
  1253 	  s/.*/./; q'`
  1254   srcdir=$ac_confdir
  1255   if test ! -r "$srcdir/$ac_unique_file"; then
  1256     srcdir=..
  1257   fi
  1258 else
  1259   ac_srcdir_defaulted=no
  1260 fi
  1261 if test ! -r "$srcdir/$ac_unique_file"; then
  1262   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1263   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1264    { (exit 1); exit 1; }; }
  1265 fi
  1266 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1267 ac_abs_confdir=`(
  1268 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1269    { (exit 1); exit 1; }; }
  1270 	pwd)`
  1271 # When building in place, set srcdir=.
  1272 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1273   srcdir=.
  1274 fi
  1275 # Remove unnecessary trailing slashes from srcdir.
  1276 # Double slashes in file names in object file debugging info
  1277 # mess up M-x gdb in Emacs.
  1278 case $srcdir in
  1279 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1280 esac
  1281 for ac_var in $ac_precious_vars; do
  1282   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1283   eval ac_env_${ac_var}_value=\$${ac_var}
  1284   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1285   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1286 done
  1289 # Report the --help message.
  1291 if test "$ac_init_help" = "long"; then
  1292   # Omit some internal or obsolete options to make the list less imposing.
  1293   # This message is too long to be a string in the A/UX 3.1 sh.
  1294   cat <<_ACEOF
  1295 \`configure' configures this package to adapt to many kinds of systems.
  1297 Usage: $0 [OPTION]... [VAR=VALUE]...
  1299 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1300 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1302 Defaults for the options are specified in brackets.
  1304 Configuration:
  1305   -h, --help              display this help and exit
  1306       --help=short        display options specific to this package
  1307       --help=recursive    display the short help of all the included packages
  1308   -V, --version           display version information and exit
  1309   -q, --quiet, --silent   do not print \`checking...' messages
  1310       --cache-file=FILE   cache test results in FILE [disabled]
  1311   -C, --config-cache      alias for \`--cache-file=config.cache'
  1312   -n, --no-create         do not create output files
  1313       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1315 Installation directories:
  1316   --prefix=PREFIX         install architecture-independent files in PREFIX
  1317 			  [$ac_default_prefix]
  1318   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1319 			  [PREFIX]
  1321 By default, \`make install' will install all the files in
  1322 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1323 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1324 for instance \`--prefix=\$HOME'.
  1326 For better control, use the options below.
  1328 Fine tuning of the installation directories:
  1329   --bindir=DIR           user executables [EPREFIX/bin]
  1330   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1331   --libexecdir=DIR       program executables [EPREFIX/libexec]
  1332   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1333   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1334   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1335   --libdir=DIR           object code libraries [EPREFIX/lib]
  1336   --includedir=DIR       C header files [PREFIX/include]
  1337   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1338   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1339   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1340   --infodir=DIR          info documentation [DATAROOTDIR/info]
  1341   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1342   --mandir=DIR           man documentation [DATAROOTDIR/man]
  1343   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1344   --htmldir=DIR          html documentation [DOCDIR]
  1345   --dvidir=DIR           dvi documentation [DOCDIR]
  1346   --pdfdir=DIR           pdf documentation [DOCDIR]
  1347   --psdir=DIR            ps documentation [DOCDIR]
  1348 _ACEOF
  1350   cat <<\_ACEOF
  1352 Program names:
  1353   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1354   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1355   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1357 System types:
  1358   --build=BUILD     configure for building on BUILD [guessed]
  1359   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1360 _ACEOF
  1361 fi
  1363 if test -n "$ac_init_help"; then
  1365   cat <<\_ACEOF
  1367 Optional Features:
  1368   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1369   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1370   --enable-maintainer-mode  enable make rules and dependencies not useful
  1371 			  (and sometimes confusing) to the casual installer
  1372   --disable-dependency-tracking  speeds up one-time build
  1373   --enable-dependency-tracking   do not reject slow dependency extractors
  1374   --enable-trace          Enable generation of IO traces (warning: hurts
  1375                           performance)
  1376   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1377                           performance)
  1378   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1380 Optional Packages:
  1381   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1382   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1383   --with-osmesa           Build with the osmesa GL library (software
  1384                           rendering)
  1386 Some influential environment variables:
  1387   CC          C compiler command
  1388   CFLAGS      C compiler flags
  1389   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1390               nonstandard directory <lib dir>
  1391   LIBS        libraries to pass to the linker, e.g. -l<library>
  1392   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1393               you have headers in a nonstandard directory <include dir>
  1394   CCAS        assembler compiler command (defaults to CC)
  1395   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1396   CPP         C preprocessor
  1397   PKG_CONFIG  path to pkg-config utility
  1398   LIBPNG_CFLAGS
  1399               C compiler flags for LIBPNG, overriding pkg-config
  1400   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1401   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1402   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1403   PULSE_CFLAGS
  1404               C compiler flags for PULSE, overriding pkg-config
  1405   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1406   ESOUND_CFLAGS
  1407               C compiler flags for ESOUND, overriding pkg-config
  1408   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1409   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1410   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1412 Use these variables to override the choices made by `configure' or to help
  1413 it to find libraries and programs with nonstandard names/locations.
  1415 _ACEOF
  1416 ac_status=$?
  1417 fi
  1419 if test "$ac_init_help" = "recursive"; then
  1420   # If there are subdirs, report their specific --help.
  1421   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1422     test -d "$ac_dir" || continue
  1423     ac_builddir=.
  1425 case "$ac_dir" in
  1426 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1427 *)
  1428   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1429   # A ".." for each directory in $ac_dir_suffix.
  1430   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1431   case $ac_top_builddir_sub in
  1432   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1433   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1434   esac ;;
  1435 esac
  1436 ac_abs_top_builddir=$ac_pwd
  1437 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1438 # for backward compatibility:
  1439 ac_top_builddir=$ac_top_build_prefix
  1441 case $srcdir in
  1442   .)  # We are building in place.
  1443     ac_srcdir=.
  1444     ac_top_srcdir=$ac_top_builddir_sub
  1445     ac_abs_top_srcdir=$ac_pwd ;;
  1446   [\\/]* | ?:[\\/]* )  # Absolute name.
  1447     ac_srcdir=$srcdir$ac_dir_suffix;
  1448     ac_top_srcdir=$srcdir
  1449     ac_abs_top_srcdir=$srcdir ;;
  1450   *) # Relative name.
  1451     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1452     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1453     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1454 esac
  1455 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1457     cd "$ac_dir" || { ac_status=$?; continue; }
  1458     # Check for guested configure.
  1459     if test -f "$ac_srcdir/configure.gnu"; then
  1460       echo &&
  1461       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1462     elif test -f "$ac_srcdir/configure"; then
  1463       echo &&
  1464       $SHELL "$ac_srcdir/configure" --help=recursive
  1465     else
  1466       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1467     fi || ac_status=$?
  1468     cd "$ac_pwd" || { ac_status=$?; break; }
  1469   done
  1470 fi
  1472 test -n "$ac_init_help" && exit $ac_status
  1473 if $ac_init_version; then
  1474   cat <<\_ACEOF
  1475 configure
  1476 generated by GNU Autoconf 2.61
  1478 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1479 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1480 This configure script is free software; the Free Software Foundation
  1481 gives unlimited permission to copy, distribute and modify it.
  1482 _ACEOF
  1483   exit
  1484 fi
  1485 cat >config.log <<_ACEOF
  1486 This file contains any messages produced by compilers while
  1487 running configure, to aid debugging if configure makes a mistake.
  1489 It was created by $as_me, which was
  1490 generated by GNU Autoconf 2.61.  Invocation command line was
  1492   $ $0 $@
  1494 _ACEOF
  1495 exec 5>>config.log
  1497 cat <<_ASUNAME
  1498 ## --------- ##
  1499 ## Platform. ##
  1500 ## --------- ##
  1502 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1503 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1504 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1505 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1506 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1508 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1509 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1511 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1512 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1513 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1514 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1515 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1516 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1517 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1519 _ASUNAME
  1521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1522 for as_dir in $PATH
  1523 do
  1524   IFS=$as_save_IFS
  1525   test -z "$as_dir" && as_dir=.
  1526   echo "PATH: $as_dir"
  1527 done
  1528 IFS=$as_save_IFS
  1530 } >&5
  1532 cat >&5 <<_ACEOF
  1535 ## ----------- ##
  1536 ## Core tests. ##
  1537 ## ----------- ##
  1539 _ACEOF
  1542 # Keep a trace of the command line.
  1543 # Strip out --no-create and --no-recursion so they do not pile up.
  1544 # Strip out --silent because we don't want to record it for future runs.
  1545 # Also quote any args containing shell meta-characters.
  1546 # Make two passes to allow for proper duplicate-argument suppression.
  1547 ac_configure_args=
  1548 ac_configure_args0=
  1549 ac_configure_args1=
  1550 ac_must_keep_next=false
  1551 for ac_pass in 1 2
  1552 do
  1553   for ac_arg
  1554   do
  1555     case $ac_arg in
  1556     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1557     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1558     | -silent | --silent | --silen | --sile | --sil)
  1559       continue ;;
  1560     *\'*)
  1561       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1562     esac
  1563     case $ac_pass in
  1564     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1565     2)
  1566       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1567       if test $ac_must_keep_next = true; then
  1568 	ac_must_keep_next=false # Got value, back to normal.
  1569       else
  1570 	case $ac_arg in
  1571 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1572 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1573 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1574 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1575 	    case "$ac_configure_args0 " in
  1576 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1577 	    esac
  1578 	    ;;
  1579 	  -* ) ac_must_keep_next=true ;;
  1580 	esac
  1581       fi
  1582       ac_configure_args="$ac_configure_args '$ac_arg'"
  1583       ;;
  1584     esac
  1585   done
  1586 done
  1587 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1588 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1590 # When interrupted or exit'd, cleanup temporary files, and complete
  1591 # config.log.  We remove comments because anyway the quotes in there
  1592 # would cause problems or look ugly.
  1593 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1594 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1595 trap 'exit_status=$?
  1596   # Save into config.log some information that might help in debugging.
  1598     echo
  1600     cat <<\_ASBOX
  1601 ## ---------------- ##
  1602 ## Cache variables. ##
  1603 ## ---------------- ##
  1604 _ASBOX
  1605     echo
  1606     # The following way of writing the cache mishandles newlines in values,
  1608   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1609     eval ac_val=\$$ac_var
  1610     case $ac_val in #(
  1611     *${as_nl}*)
  1612       case $ac_var in #(
  1613       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1614 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1615       esac
  1616       case $ac_var in #(
  1617       _ | IFS | as_nl) ;; #(
  1618       *) $as_unset $ac_var ;;
  1619       esac ;;
  1620     esac
  1621   done
  1622   (set) 2>&1 |
  1623     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1624     *${as_nl}ac_space=\ *)
  1625       sed -n \
  1626 	"s/'\''/'\''\\\\'\'''\''/g;
  1627 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1628       ;; #(
  1629     *)
  1630       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1631       ;;
  1632     esac |
  1633     sort
  1635     echo
  1637     cat <<\_ASBOX
  1638 ## ----------------- ##
  1639 ## Output variables. ##
  1640 ## ----------------- ##
  1641 _ASBOX
  1642     echo
  1643     for ac_var in $ac_subst_vars
  1644     do
  1645       eval ac_val=\$$ac_var
  1646       case $ac_val in
  1647       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1648       esac
  1649       echo "$ac_var='\''$ac_val'\''"
  1650     done | sort
  1651     echo
  1653     if test -n "$ac_subst_files"; then
  1654       cat <<\_ASBOX
  1655 ## ------------------- ##
  1656 ## File substitutions. ##
  1657 ## ------------------- ##
  1658 _ASBOX
  1659       echo
  1660       for ac_var in $ac_subst_files
  1661       do
  1662 	eval ac_val=\$$ac_var
  1663 	case $ac_val in
  1664 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1665 	esac
  1666 	echo "$ac_var='\''$ac_val'\''"
  1667       done | sort
  1668       echo
  1669     fi
  1671     if test -s confdefs.h; then
  1672       cat <<\_ASBOX
  1673 ## ----------- ##
  1674 ## confdefs.h. ##
  1675 ## ----------- ##
  1676 _ASBOX
  1677       echo
  1678       cat confdefs.h
  1679       echo
  1680     fi
  1681     test "$ac_signal" != 0 &&
  1682       echo "$as_me: caught signal $ac_signal"
  1683     echo "$as_me: exit $exit_status"
  1684   } >&5
  1685   rm -f core *.core core.conftest.* &&
  1686     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1687     exit $exit_status
  1688 ' 0
  1689 for ac_signal in 1 2 13 15; do
  1690   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1691 done
  1692 ac_signal=0
  1694 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1695 rm -f -r conftest* confdefs.h
  1697 # Predefined preprocessor variables.
  1699 cat >>confdefs.h <<_ACEOF
  1700 #define PACKAGE_NAME "$PACKAGE_NAME"
  1701 _ACEOF
  1704 cat >>confdefs.h <<_ACEOF
  1705 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1706 _ACEOF
  1709 cat >>confdefs.h <<_ACEOF
  1710 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1711 _ACEOF
  1714 cat >>confdefs.h <<_ACEOF
  1715 #define PACKAGE_STRING "$PACKAGE_STRING"
  1716 _ACEOF
  1719 cat >>confdefs.h <<_ACEOF
  1720 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1721 _ACEOF
  1724 # Let the site file select an alternate cache file if it wants to.
  1725 # Prefer explicitly selected file to automatically selected ones.
  1726 if test -n "$CONFIG_SITE"; then
  1727   set x "$CONFIG_SITE"
  1728 elif test "x$prefix" != xNONE; then
  1729   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1730 else
  1731   set x "$ac_default_prefix/share/config.site" \
  1732 	"$ac_default_prefix/etc/config.site"
  1733 fi
  1734 shift
  1735 for ac_site_file
  1736 do
  1737   if test -r "$ac_site_file"; then
  1738     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1739 echo "$as_me: loading site script $ac_site_file" >&6;}
  1740     sed 's/^/| /' "$ac_site_file" >&5
  1741     . "$ac_site_file"
  1742   fi
  1743 done
  1745 if test -r "$cache_file"; then
  1746   # Some versions of bash will fail to source /dev/null (special
  1747   # files actually), so we avoid doing that.
  1748   if test -f "$cache_file"; then
  1749     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1750 echo "$as_me: loading cache $cache_file" >&6;}
  1751     case $cache_file in
  1752       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1753       *)                      . "./$cache_file";;
  1754     esac
  1755   fi
  1756 else
  1757   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1758 echo "$as_me: creating cache $cache_file" >&6;}
  1759   >$cache_file
  1760 fi
  1762 # Check that the precious variables saved in the cache have kept the same
  1763 # value.
  1764 ac_cache_corrupted=false
  1765 for ac_var in $ac_precious_vars; do
  1766   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1767   eval ac_new_set=\$ac_env_${ac_var}_set
  1768   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1769   eval ac_new_val=\$ac_env_${ac_var}_value
  1770   case $ac_old_set,$ac_new_set in
  1771     set,)
  1772       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1773 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1774       ac_cache_corrupted=: ;;
  1775     ,set)
  1776       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1777 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1778       ac_cache_corrupted=: ;;
  1779     ,);;
  1780     *)
  1781       if test "x$ac_old_val" != "x$ac_new_val"; then
  1782 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1783 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1784 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1785 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1786 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1787 echo "$as_me:   current value: $ac_new_val" >&2;}
  1788 	ac_cache_corrupted=:
  1789       fi;;
  1790   esac
  1791   # Pass precious variables to config.status.
  1792   if test "$ac_new_set" = set; then
  1793     case $ac_new_val in
  1794     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1795     *) ac_arg=$ac_var=$ac_new_val ;;
  1796     esac
  1797     case " $ac_configure_args " in
  1798       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1799       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1800     esac
  1801   fi
  1802 done
  1803 if $ac_cache_corrupted; then
  1804   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1805 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1806   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1807 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1808    { (exit 1); exit 1; }; }
  1809 fi
  1827 ac_ext=c
  1828 ac_cpp='$CPP $CPPFLAGS'
  1829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1834 am__api_version="1.9"
  1835 ac_aux_dir=
  1836 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1837   if test -f "$ac_dir/install-sh"; then
  1838     ac_aux_dir=$ac_dir
  1839     ac_install_sh="$ac_aux_dir/install-sh -c"
  1840     break
  1841   elif test -f "$ac_dir/install.sh"; then
  1842     ac_aux_dir=$ac_dir
  1843     ac_install_sh="$ac_aux_dir/install.sh -c"
  1844     break
  1845   elif test -f "$ac_dir/shtool"; then
  1846     ac_aux_dir=$ac_dir
  1847     ac_install_sh="$ac_aux_dir/shtool install -c"
  1848     break
  1849   fi
  1850 done
  1851 if test -z "$ac_aux_dir"; then
  1852   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1853 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1854    { (exit 1); exit 1; }; }
  1855 fi
  1857 # These three variables are undocumented and unsupported,
  1858 # and are intended to be withdrawn in a future Autoconf release.
  1859 # They can cause serious problems if a builder's source tree is in a directory
  1860 # whose full name contains unusual characters.
  1861 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1862 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1863 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1866 # Find a good install program.  We prefer a C program (faster),
  1867 # so one script is as good as another.  But avoid the broken or
  1868 # incompatible versions:
  1869 # SysV /etc/install, /usr/sbin/install
  1870 # SunOS /usr/etc/install
  1871 # IRIX /sbin/install
  1872 # AIX /bin/install
  1873 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1874 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1875 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1876 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1877 # OS/2's system install, which has a completely different semantic
  1878 # ./install, which can be erroneously created by make from ./install.sh.
  1879 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1880 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1881 if test -z "$INSTALL"; then
  1882 if test "${ac_cv_path_install+set}" = set; then
  1883   echo $ECHO_N "(cached) $ECHO_C" >&6
  1884 else
  1885   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1886 for as_dir in $PATH
  1887 do
  1888   IFS=$as_save_IFS
  1889   test -z "$as_dir" && as_dir=.
  1890   # Account for people who put trailing slashes in PATH elements.
  1891 case $as_dir/ in
  1892   ./ | .// | /cC/* | \
  1893   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1894   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1895   /usr/ucb/* ) ;;
  1896   *)
  1897     # OSF1 and SCO ODT 3.0 have their own names for install.
  1898     # Don't use installbsd from OSF since it installs stuff as root
  1899     # by default.
  1900     for ac_prog in ginstall scoinst install; do
  1901       for ac_exec_ext in '' $ac_executable_extensions; do
  1902 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1903 	  if test $ac_prog = install &&
  1904 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1905 	    # AIX install.  It has an incompatible calling convention.
  1907 	  elif test $ac_prog = install &&
  1908 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1909 	    # program-specific install script used by HP pwplus--don't use.
  1911 	  else
  1912 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1913 	    break 3
  1914 	  fi
  1915 	fi
  1916       done
  1917     done
  1918     ;;
  1919 esac
  1920 done
  1921 IFS=$as_save_IFS
  1924 fi
  1925   if test "${ac_cv_path_install+set}" = set; then
  1926     INSTALL=$ac_cv_path_install
  1927   else
  1928     # As a last resort, use the slow shell script.  Don't cache a
  1929     # value for INSTALL within a source directory, because that will
  1930     # break other packages using the cache if that directory is
  1931     # removed, or if the value is a relative name.
  1932     INSTALL=$ac_install_sh
  1933   fi
  1934 fi
  1935 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  1936 echo "${ECHO_T}$INSTALL" >&6; }
  1938 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1939 # It thinks the first close brace ends the variable substitution.
  1940 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1942 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1944 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1946 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1947 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1948 # Just in case
  1949 sleep 1
  1950 echo timestamp > conftest.file
  1951 # Do `set' in a subshell so we don't clobber the current shell's
  1952 # arguments.  Must try -L first in case configure is actually a
  1953 # symlink; some systems play weird games with the mod time of symlinks
  1954 # (eg FreeBSD returns the mod time of the symlink's containing
  1955 # directory).
  1956 if (
  1957    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1958    if test "$*" = "X"; then
  1959       # -L didn't work.
  1960       set X `ls -t $srcdir/configure conftest.file`
  1961    fi
  1962    rm -f conftest.file
  1963    if test "$*" != "X $srcdir/configure conftest.file" \
  1964       && test "$*" != "X conftest.file $srcdir/configure"; then
  1966       # If neither matched, then we have a broken ls.  This can happen
  1967       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1968       # broken ls alias from the environment.  This has actually
  1969       # happened.  Such a system could not be considered "sane".
  1970       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1971 alias in your environment" >&5
  1972 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1973 alias in your environment" >&2;}
  1974    { (exit 1); exit 1; }; }
  1975    fi
  1977    test "$2" = conftest.file
  1979 then
  1980    # Ok.
  1982 else
  1983    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1984 Check your system clock" >&5
  1985 echo "$as_me: error: newly created file is older than distributed files!
  1986 Check your system clock" >&2;}
  1987    { (exit 1); exit 1; }; }
  1988 fi
  1989 { echo "$as_me:$LINENO: result: yes" >&5
  1990 echo "${ECHO_T}yes" >&6; }
  1991 test "$program_prefix" != NONE &&
  1992   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1993 # Use a double $ so make ignores it.
  1994 test "$program_suffix" != NONE &&
  1995   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1996 # Double any \ or $.  echo might interpret backslashes.
  1997 # By default was `s,x,x', remove it if useless.
  1998 cat <<\_ACEOF >conftest.sed
  1999 s/[\\$]/&&/g;s/;s,x,x,$//
  2000 _ACEOF
  2001 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  2002 rm -f conftest.sed
  2004 # expand $ac_aux_dir to an absolute path
  2005 am_aux_dir=`cd $ac_aux_dir && pwd`
  2007 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2008 # Use eval to expand $SHELL
  2009 if eval "$MISSING --run true"; then
  2010   am_missing_run="$MISSING --run "
  2011 else
  2012   am_missing_run=
  2013   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2014 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2015 fi
  2017 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2018   # We used to keeping the `.' as first argument, in order to
  2019   # allow $(mkdir_p) to be used without argument.  As in
  2020   #   $(mkdir_p) $(somedir)
  2021   # where $(somedir) is conditionally defined.  However this is wrong
  2022   # for two reasons:
  2023   #  1. if the package is installed by a user who cannot write `.'
  2024   #     make install will fail,
  2025   #  2. the above comment should most certainly read
  2026   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2027   #     so it does not work when $(somedir) is undefined and
  2028   #     $(DESTDIR) is not.
  2029   #  To support the latter case, we have to write
  2030   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2031   #  so the `.' trick is pointless.
  2032   mkdir_p='mkdir -p --'
  2033 else
  2034   # On NextStep and OpenStep, the `mkdir' command does not
  2035   # recognize any option.  It will interpret all options as
  2036   # directories to create, and then abort because `.' already
  2037   # exists.
  2038   for d in ./-p ./--version;
  2039   do
  2040     test -d $d && rmdir $d
  2041   done
  2042   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2043   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2044     mkdir_p='$(mkinstalldirs)'
  2045   else
  2046     mkdir_p='$(install_sh) -d'
  2047   fi
  2048 fi
  2050 for ac_prog in gawk mawk nawk awk
  2051 do
  2052   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2053 set dummy $ac_prog; ac_word=$2
  2054 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2055 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2056 if test "${ac_cv_prog_AWK+set}" = set; then
  2057   echo $ECHO_N "(cached) $ECHO_C" >&6
  2058 else
  2059   if test -n "$AWK"; then
  2060   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2061 else
  2062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2063 for as_dir in $PATH
  2064 do
  2065   IFS=$as_save_IFS
  2066   test -z "$as_dir" && as_dir=.
  2067   for ac_exec_ext in '' $ac_executable_extensions; do
  2068   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2069     ac_cv_prog_AWK="$ac_prog"
  2070     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2071     break 2
  2072   fi
  2073 done
  2074 done
  2075 IFS=$as_save_IFS
  2077 fi
  2078 fi
  2079 AWK=$ac_cv_prog_AWK
  2080 if test -n "$AWK"; then
  2081   { echo "$as_me:$LINENO: result: $AWK" >&5
  2082 echo "${ECHO_T}$AWK" >&6; }
  2083 else
  2084   { echo "$as_me:$LINENO: result: no" >&5
  2085 echo "${ECHO_T}no" >&6; }
  2086 fi
  2089   test -n "$AWK" && break
  2090 done
  2092 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2093 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2094 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2095 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2096   echo $ECHO_N "(cached) $ECHO_C" >&6
  2097 else
  2098   cat >conftest.make <<\_ACEOF
  2099 SHELL = /bin/sh
  2100 all:
  2101 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2102 _ACEOF
  2103 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2104 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2105   *@@@%%%=?*=@@@%%%*)
  2106     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2107   *)
  2108     eval ac_cv_prog_make_${ac_make}_set=no;;
  2109 esac
  2110 rm -f conftest.make
  2111 fi
  2112 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2113   { echo "$as_me:$LINENO: result: yes" >&5
  2114 echo "${ECHO_T}yes" >&6; }
  2115   SET_MAKE=
  2116 else
  2117   { echo "$as_me:$LINENO: result: no" >&5
  2118 echo "${ECHO_T}no" >&6; }
  2119   SET_MAKE="MAKE=${MAKE-make}"
  2120 fi
  2122 rm -rf .tst 2>/dev/null
  2123 mkdir .tst 2>/dev/null
  2124 if test -d .tst; then
  2125   am__leading_dot=.
  2126 else
  2127   am__leading_dot=_
  2128 fi
  2129 rmdir .tst 2>/dev/null
  2131 # test to see if srcdir already configured
  2132 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2133    test -f $srcdir/config.status; then
  2134   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2135 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2136    { (exit 1); exit 1; }; }
  2137 fi
  2139 # test whether we have cygpath
  2140 if test -z "$CYGPATH_W"; then
  2141   if (cygpath --version) >/dev/null 2>/dev/null; then
  2142     CYGPATH_W='cygpath -w'
  2143   else
  2144     CYGPATH_W=echo
  2145   fi
  2146 fi
  2149 # Define the identity of the package.
  2150  PACKAGE=lxdream
  2151  VERSION=0.8.1
  2154 cat >>confdefs.h <<_ACEOF
  2155 #define PACKAGE "$PACKAGE"
  2156 _ACEOF
  2159 cat >>confdefs.h <<_ACEOF
  2160 #define VERSION "$VERSION"
  2161 _ACEOF
  2163 # Some tools Automake needs.
  2165 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2168 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2171 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2174 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2177 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2179 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2181 # Installed binaries are usually stripped using `strip' when the user
  2182 # run `make install-strip'.  However `strip' might not be the right
  2183 # tool to use in cross-compilation environments, therefore Automake
  2184 # will honor the `STRIP' environment variable to overrule this program.
  2185 if test "$cross_compiling" != no; then
  2186   if test -n "$ac_tool_prefix"; then
  2187   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2188 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2189 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2190 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2191 if test "${ac_cv_prog_STRIP+set}" = set; then
  2192   echo $ECHO_N "(cached) $ECHO_C" >&6
  2193 else
  2194   if test -n "$STRIP"; then
  2195   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2196 else
  2197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2198 for as_dir in $PATH
  2199 do
  2200   IFS=$as_save_IFS
  2201   test -z "$as_dir" && as_dir=.
  2202   for ac_exec_ext in '' $ac_executable_extensions; do
  2203   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2204     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2205     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2206     break 2
  2207   fi
  2208 done
  2209 done
  2210 IFS=$as_save_IFS
  2212 fi
  2213 fi
  2214 STRIP=$ac_cv_prog_STRIP
  2215 if test -n "$STRIP"; then
  2216   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2217 echo "${ECHO_T}$STRIP" >&6; }
  2218 else
  2219   { echo "$as_me:$LINENO: result: no" >&5
  2220 echo "${ECHO_T}no" >&6; }
  2221 fi
  2224 fi
  2225 if test -z "$ac_cv_prog_STRIP"; then
  2226   ac_ct_STRIP=$STRIP
  2227   # Extract the first word of "strip", so it can be a program name with args.
  2228 set dummy strip; ac_word=$2
  2229 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2230 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2231 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2232   echo $ECHO_N "(cached) $ECHO_C" >&6
  2233 else
  2234   if test -n "$ac_ct_STRIP"; then
  2235   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2236 else
  2237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2238 for as_dir in $PATH
  2239 do
  2240   IFS=$as_save_IFS
  2241   test -z "$as_dir" && as_dir=.
  2242   for ac_exec_ext in '' $ac_executable_extensions; do
  2243   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2244     ac_cv_prog_ac_ct_STRIP="strip"
  2245     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2246     break 2
  2247   fi
  2248 done
  2249 done
  2250 IFS=$as_save_IFS
  2252 fi
  2253 fi
  2254 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2255 if test -n "$ac_ct_STRIP"; then
  2256   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2257 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2258 else
  2259   { echo "$as_me:$LINENO: result: no" >&5
  2260 echo "${ECHO_T}no" >&6; }
  2261 fi
  2263   if test "x$ac_ct_STRIP" = x; then
  2264     STRIP=":"
  2265   else
  2266     case $cross_compiling:$ac_tool_warned in
  2267 yes:)
  2268 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2269 whose name does not start with the host triplet.  If you think this
  2270 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2271 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2272 whose name does not start with the host triplet.  If you think this
  2273 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2274 ac_tool_warned=yes ;;
  2275 esac
  2276     STRIP=$ac_ct_STRIP
  2277   fi
  2278 else
  2279   STRIP="$ac_cv_prog_STRIP"
  2280 fi
  2282 fi
  2283 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2285 # We need awk for the "check" target.  The system "awk" is bad on
  2286 # some platforms.
  2287 # Always define AMTAR for backward compatibility.
  2289 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2291 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2297 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2298 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2299     # Check whether --enable-maintainer-mode was given.
  2300 if test "${enable_maintainer_mode+set}" = set; then
  2301   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2302 else
  2303   USE_MAINTAINER_MODE=no
  2304 fi
  2306   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2307 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2310 if test $USE_MAINTAINER_MODE = yes; then
  2311   MAINTAINER_MODE_TRUE=
  2312   MAINTAINER_MODE_FALSE='#'
  2313 else
  2314   MAINTAINER_MODE_TRUE='#'
  2315   MAINTAINER_MODE_FALSE=
  2316 fi
  2318   MAINT=$MAINTAINER_MODE_TRUE
  2321 ac_config_headers="$ac_config_headers config.h"
  2324 DEPDIR="${am__leading_dot}deps"
  2326 ac_config_commands="$ac_config_commands depfiles"
  2329 am_make=${MAKE-make}
  2330 cat > confinc << 'END'
  2331 am__doit:
  2332 	@echo done
  2333 .PHONY: am__doit
  2334 END
  2335 # If we don't find an include directive, just comment out the code.
  2336 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2337 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2338 am__include="#"
  2339 am__quote=
  2340 _am_result=none
  2341 # First try GNU make style include.
  2342 echo "include confinc" > confmf
  2343 # We grep out `Entering directory' and `Leaving directory'
  2344 # messages which can occur if `w' ends up in MAKEFLAGS.
  2345 # In particular we don't look at `^make:' because GNU make might
  2346 # be invoked under some other name (usually "gmake"), in which
  2347 # case it prints its new name instead of `make'.
  2348 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2349    am__include=include
  2350    am__quote=
  2351    _am_result=GNU
  2352 fi
  2353 # Now try BSD make style include.
  2354 if test "$am__include" = "#"; then
  2355    echo '.include "confinc"' > confmf
  2356    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2357       am__include=.include
  2358       am__quote="\""
  2359       _am_result=BSD
  2360    fi
  2361 fi
  2364 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2365 echo "${ECHO_T}$_am_result" >&6; }
  2366 rm -f confinc confmf
  2368 # Check whether --enable-dependency-tracking was given.
  2369 if test "${enable_dependency_tracking+set}" = set; then
  2370   enableval=$enable_dependency_tracking;
  2371 fi
  2373 if test "x$enable_dependency_tracking" != xno; then
  2374   am_depcomp="$ac_aux_dir/depcomp"
  2375   AMDEPBACKSLASH='\'
  2376 fi
  2379 if test "x$enable_dependency_tracking" != xno; then
  2380   AMDEP_TRUE=
  2381   AMDEP_FALSE='#'
  2382 else
  2383   AMDEP_TRUE='#'
  2384   AMDEP_FALSE=
  2385 fi
  2389 ac_ext=c
  2390 ac_cpp='$CPP $CPPFLAGS'
  2391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2394 if test -n "$ac_tool_prefix"; then
  2395   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2396 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2397 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2398 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2399 if test "${ac_cv_prog_CC+set}" = set; then
  2400   echo $ECHO_N "(cached) $ECHO_C" >&6
  2401 else
  2402   if test -n "$CC"; then
  2403   ac_cv_prog_CC="$CC" # Let the user override the test.
  2404 else
  2405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2406 for as_dir in $PATH
  2407 do
  2408   IFS=$as_save_IFS
  2409   test -z "$as_dir" && as_dir=.
  2410   for ac_exec_ext in '' $ac_executable_extensions; do
  2411   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2412     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2413     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2414     break 2
  2415   fi
  2416 done
  2417 done
  2418 IFS=$as_save_IFS
  2420 fi
  2421 fi
  2422 CC=$ac_cv_prog_CC
  2423 if test -n "$CC"; then
  2424   { echo "$as_me:$LINENO: result: $CC" >&5
  2425 echo "${ECHO_T}$CC" >&6; }
  2426 else
  2427   { echo "$as_me:$LINENO: result: no" >&5
  2428 echo "${ECHO_T}no" >&6; }
  2429 fi
  2432 fi
  2433 if test -z "$ac_cv_prog_CC"; then
  2434   ac_ct_CC=$CC
  2435   # Extract the first word of "gcc", so it can be a program name with args.
  2436 set dummy gcc; ac_word=$2
  2437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2439 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2440   echo $ECHO_N "(cached) $ECHO_C" >&6
  2441 else
  2442   if test -n "$ac_ct_CC"; then
  2443   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2444 else
  2445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2446 for as_dir in $PATH
  2447 do
  2448   IFS=$as_save_IFS
  2449   test -z "$as_dir" && as_dir=.
  2450   for ac_exec_ext in '' $ac_executable_extensions; do
  2451   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2452     ac_cv_prog_ac_ct_CC="gcc"
  2453     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2454     break 2
  2455   fi
  2456 done
  2457 done
  2458 IFS=$as_save_IFS
  2460 fi
  2461 fi
  2462 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2463 if test -n "$ac_ct_CC"; then
  2464   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2465 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2466 else
  2467   { echo "$as_me:$LINENO: result: no" >&5
  2468 echo "${ECHO_T}no" >&6; }
  2469 fi
  2471   if test "x$ac_ct_CC" = x; then
  2472     CC=""
  2473   else
  2474     case $cross_compiling:$ac_tool_warned in
  2475 yes:)
  2476 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2477 whose name does not start with the host triplet.  If you think this
  2478 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2479 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2480 whose name does not start with the host triplet.  If you think this
  2481 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2482 ac_tool_warned=yes ;;
  2483 esac
  2484     CC=$ac_ct_CC
  2485   fi
  2486 else
  2487   CC="$ac_cv_prog_CC"
  2488 fi
  2490 if test -z "$CC"; then
  2491           if test -n "$ac_tool_prefix"; then
  2492     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2493 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2496 if test "${ac_cv_prog_CC+set}" = set; then
  2497   echo $ECHO_N "(cached) $ECHO_C" >&6
  2498 else
  2499   if test -n "$CC"; then
  2500   ac_cv_prog_CC="$CC" # Let the user override the test.
  2501 else
  2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2503 for as_dir in $PATH
  2504 do
  2505   IFS=$as_save_IFS
  2506   test -z "$as_dir" && as_dir=.
  2507   for ac_exec_ext in '' $ac_executable_extensions; do
  2508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2509     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2510     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2511     break 2
  2512   fi
  2513 done
  2514 done
  2515 IFS=$as_save_IFS
  2517 fi
  2518 fi
  2519 CC=$ac_cv_prog_CC
  2520 if test -n "$CC"; then
  2521   { echo "$as_me:$LINENO: result: $CC" >&5
  2522 echo "${ECHO_T}$CC" >&6; }
  2523 else
  2524   { echo "$as_me:$LINENO: result: no" >&5
  2525 echo "${ECHO_T}no" >&6; }
  2526 fi
  2529   fi
  2530 fi
  2531 if test -z "$CC"; then
  2532   # Extract the first word of "cc", so it can be a program name with args.
  2533 set dummy cc; ac_word=$2
  2534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2536 if test "${ac_cv_prog_CC+set}" = set; then
  2537   echo $ECHO_N "(cached) $ECHO_C" >&6
  2538 else
  2539   if test -n "$CC"; then
  2540   ac_cv_prog_CC="$CC" # Let the user override the test.
  2541 else
  2542   ac_prog_rejected=no
  2543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2544 for as_dir in $PATH
  2545 do
  2546   IFS=$as_save_IFS
  2547   test -z "$as_dir" && as_dir=.
  2548   for ac_exec_ext in '' $ac_executable_extensions; do
  2549   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2550     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2551        ac_prog_rejected=yes
  2552        continue
  2553      fi
  2554     ac_cv_prog_CC="cc"
  2555     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2556     break 2
  2557   fi
  2558 done
  2559 done
  2560 IFS=$as_save_IFS
  2562 if test $ac_prog_rejected = yes; then
  2563   # We found a bogon in the path, so make sure we never use it.
  2564   set dummy $ac_cv_prog_CC
  2565   shift
  2566   if test $# != 0; then
  2567     # We chose a different compiler from the bogus one.
  2568     # However, it has the same basename, so the bogon will be chosen
  2569     # first if we set CC to just the basename; use the full file name.
  2570     shift
  2571     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2572   fi
  2573 fi
  2574 fi
  2575 fi
  2576 CC=$ac_cv_prog_CC
  2577 if test -n "$CC"; then
  2578   { echo "$as_me:$LINENO: result: $CC" >&5
  2579 echo "${ECHO_T}$CC" >&6; }
  2580 else
  2581   { echo "$as_me:$LINENO: result: no" >&5
  2582 echo "${ECHO_T}no" >&6; }
  2583 fi
  2586 fi
  2587 if test -z "$CC"; then
  2588   if test -n "$ac_tool_prefix"; then
  2589   for ac_prog in cl.exe
  2590   do
  2591     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2592 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2593 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2595 if test "${ac_cv_prog_CC+set}" = set; then
  2596   echo $ECHO_N "(cached) $ECHO_C" >&6
  2597 else
  2598   if test -n "$CC"; then
  2599   ac_cv_prog_CC="$CC" # Let the user override the test.
  2600 else
  2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2602 for as_dir in $PATH
  2603 do
  2604   IFS=$as_save_IFS
  2605   test -z "$as_dir" && as_dir=.
  2606   for ac_exec_ext in '' $ac_executable_extensions; do
  2607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2608     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2609     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2610     break 2
  2611   fi
  2612 done
  2613 done
  2614 IFS=$as_save_IFS
  2616 fi
  2617 fi
  2618 CC=$ac_cv_prog_CC
  2619 if test -n "$CC"; then
  2620   { echo "$as_me:$LINENO: result: $CC" >&5
  2621 echo "${ECHO_T}$CC" >&6; }
  2622 else
  2623   { echo "$as_me:$LINENO: result: no" >&5
  2624 echo "${ECHO_T}no" >&6; }
  2625 fi
  2628     test -n "$CC" && break
  2629   done
  2630 fi
  2631 if test -z "$CC"; then
  2632   ac_ct_CC=$CC
  2633   for ac_prog in cl.exe
  2634 do
  2635   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2636 set dummy $ac_prog; ac_word=$2
  2637 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2638 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2639 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2640   echo $ECHO_N "(cached) $ECHO_C" >&6
  2641 else
  2642   if test -n "$ac_ct_CC"; then
  2643   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2644 else
  2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2646 for as_dir in $PATH
  2647 do
  2648   IFS=$as_save_IFS
  2649   test -z "$as_dir" && as_dir=.
  2650   for ac_exec_ext in '' $ac_executable_extensions; do
  2651   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2652     ac_cv_prog_ac_ct_CC="$ac_prog"
  2653     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2654     break 2
  2655   fi
  2656 done
  2657 done
  2658 IFS=$as_save_IFS
  2660 fi
  2661 fi
  2662 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2663 if test -n "$ac_ct_CC"; then
  2664   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2665 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2666 else
  2667   { echo "$as_me:$LINENO: result: no" >&5
  2668 echo "${ECHO_T}no" >&6; }
  2669 fi
  2672   test -n "$ac_ct_CC" && break
  2673 done
  2675   if test "x$ac_ct_CC" = x; then
  2676     CC=""
  2677   else
  2678     case $cross_compiling:$ac_tool_warned in
  2679 yes:)
  2680 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2681 whose name does not start with the host triplet.  If you think this
  2682 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2683 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2684 whose name does not start with the host triplet.  If you think this
  2685 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2686 ac_tool_warned=yes ;;
  2687 esac
  2688     CC=$ac_ct_CC
  2689   fi
  2690 fi
  2692 fi
  2695 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2696 See \`config.log' for more details." >&5
  2697 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2698 See \`config.log' for more details." >&2;}
  2699    { (exit 1); exit 1; }; }
  2701 # Provide some information about the compiler.
  2702 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2703 ac_compiler=`set X $ac_compile; echo $2`
  2704 { (ac_try="$ac_compiler --version >&5"
  2705 case "(($ac_try" in
  2706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2707   *) ac_try_echo=$ac_try;;
  2708 esac
  2709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2710   (eval "$ac_compiler --version >&5") 2>&5
  2711   ac_status=$?
  2712   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2713   (exit $ac_status); }
  2714 { (ac_try="$ac_compiler -v >&5"
  2715 case "(($ac_try" in
  2716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2717   *) ac_try_echo=$ac_try;;
  2718 esac
  2719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2720   (eval "$ac_compiler -v >&5") 2>&5
  2721   ac_status=$?
  2722   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2723   (exit $ac_status); }
  2724 { (ac_try="$ac_compiler -V >&5"
  2725 case "(($ac_try" in
  2726   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2727   *) ac_try_echo=$ac_try;;
  2728 esac
  2729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2730   (eval "$ac_compiler -V >&5") 2>&5
  2731   ac_status=$?
  2732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2733   (exit $ac_status); }
  2735 cat >conftest.$ac_ext <<_ACEOF
  2736 /* confdefs.h.  */
  2737 _ACEOF
  2738 cat confdefs.h >>conftest.$ac_ext
  2739 cat >>conftest.$ac_ext <<_ACEOF
  2740 /* end confdefs.h.  */
  2742 int
  2743 main ()
  2747   return 0;
  2749 _ACEOF
  2750 ac_clean_files_save=$ac_clean_files
  2751 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2752 # Try to create an executable without -o first, disregard a.out.
  2753 # It will help us diagnose broken compilers, and finding out an intuition
  2754 # of exeext.
  2755 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2756 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2757 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2759 # List of possible output files, starting from the most likely.
  2760 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2761 # only as a last resort.  b.out is created by i960 compilers.
  2762 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2764 # The IRIX 6 linker writes into existing files which may not be
  2765 # executable, retaining their permissions.  Remove them first so a
  2766 # subsequent execution test works.
  2767 ac_rmfiles=
  2768 for ac_file in $ac_files
  2769 do
  2770   case $ac_file in
  2771     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2772     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2773   esac
  2774 done
  2775 rm -f $ac_rmfiles
  2777 if { (ac_try="$ac_link_default"
  2778 case "(($ac_try" in
  2779   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2780   *) ac_try_echo=$ac_try;;
  2781 esac
  2782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2783   (eval "$ac_link_default") 2>&5
  2784   ac_status=$?
  2785   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2786   (exit $ac_status); }; then
  2787   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2788 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2789 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2790 # so that the user can short-circuit this test for compilers unknown to
  2791 # Autoconf.
  2792 for ac_file in $ac_files ''
  2793 do
  2794   test -f "$ac_file" || continue
  2795   case $ac_file in
  2796     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2797 	;;
  2798     [ab].out )
  2799 	# We found the default executable, but exeext='' is most
  2800 	# certainly right.
  2801 	break;;
  2802     *.* )
  2803         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2804 	then :; else
  2805 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2806 	fi
  2807 	# We set ac_cv_exeext here because the later test for it is not
  2808 	# safe: cross compilers may not add the suffix if given an `-o'
  2809 	# argument, so we may need to know it at that point already.
  2810 	# Even if this section looks crufty: it has the advantage of
  2811 	# actually working.
  2812 	break;;
  2813     * )
  2814 	break;;
  2815   esac
  2816 done
  2817 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2819 else
  2820   ac_file=''
  2821 fi
  2823 { echo "$as_me:$LINENO: result: $ac_file" >&5
  2824 echo "${ECHO_T}$ac_file" >&6; }
  2825 if test -z "$ac_file"; then
  2826   echo "$as_me: failed program was:" >&5
  2827 sed 's/^/| /' conftest.$ac_ext >&5
  2829 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2830 See \`config.log' for more details." >&5
  2831 echo "$as_me: error: C compiler cannot create executables
  2832 See \`config.log' for more details." >&2;}
  2833    { (exit 77); exit 77; }; }
  2834 fi
  2836 ac_exeext=$ac_cv_exeext
  2838 # Check that the compiler produces executables we can run.  If not, either
  2839 # the compiler is broken, or we cross compile.
  2840 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2841 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2842 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2843 # If not cross compiling, check that we can run a simple program.
  2844 if test "$cross_compiling" != yes; then
  2845   if { ac_try='./$ac_file'
  2846   { (case "(($ac_try" in
  2847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2848   *) ac_try_echo=$ac_try;;
  2849 esac
  2850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2851   (eval "$ac_try") 2>&5
  2852   ac_status=$?
  2853   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2854   (exit $ac_status); }; }; then
  2855     cross_compiling=no
  2856   else
  2857     if test "$cross_compiling" = maybe; then
  2858 	cross_compiling=yes
  2859     else
  2860 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2861 If you meant to cross compile, use \`--host'.
  2862 See \`config.log' for more details." >&5
  2863 echo "$as_me: error: cannot run C compiled programs.
  2864 If you meant to cross compile, use \`--host'.
  2865 See \`config.log' for more details." >&2;}
  2866    { (exit 1); exit 1; }; }
  2867     fi
  2868   fi
  2869 fi
  2870 { echo "$as_me:$LINENO: result: yes" >&5
  2871 echo "${ECHO_T}yes" >&6; }
  2873 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2874 ac_clean_files=$ac_clean_files_save
  2875 # Check that the compiler produces executables we can run.  If not, either
  2876 # the compiler is broken, or we cross compile.
  2877 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2878 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2879 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2880 echo "${ECHO_T}$cross_compiling" >&6; }
  2882 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2883 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2884 if { (ac_try="$ac_link"
  2885 case "(($ac_try" in
  2886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2887   *) ac_try_echo=$ac_try;;
  2888 esac
  2889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2890   (eval "$ac_link") 2>&5
  2891   ac_status=$?
  2892   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2893   (exit $ac_status); }; then
  2894   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2895 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2896 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2897 # `rm'.
  2898 for ac_file in conftest.exe conftest conftest.*; do
  2899   test -f "$ac_file" || continue
  2900   case $ac_file in
  2901     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2902     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2903 	  break;;
  2904     * ) break;;
  2905   esac
  2906 done
  2907 else
  2908   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2909 See \`config.log' for more details." >&5
  2910 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2911 See \`config.log' for more details." >&2;}
  2912    { (exit 1); exit 1; }; }
  2913 fi
  2915 rm -f conftest$ac_cv_exeext
  2916 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2917 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2919 rm -f conftest.$ac_ext
  2920 EXEEXT=$ac_cv_exeext
  2921 ac_exeext=$EXEEXT
  2922 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2923 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2924 if test "${ac_cv_objext+set}" = set; then
  2925   echo $ECHO_N "(cached) $ECHO_C" >&6
  2926 else
  2927   cat >conftest.$ac_ext <<_ACEOF
  2928 /* confdefs.h.  */
  2929 _ACEOF
  2930 cat confdefs.h >>conftest.$ac_ext
  2931 cat >>conftest.$ac_ext <<_ACEOF
  2932 /* end confdefs.h.  */
  2934 int
  2935 main ()
  2939   return 0;
  2941 _ACEOF
  2942 rm -f conftest.o conftest.obj
  2943 if { (ac_try="$ac_compile"
  2944 case "(($ac_try" in
  2945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2946   *) ac_try_echo=$ac_try;;
  2947 esac
  2948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2949   (eval "$ac_compile") 2>&5
  2950   ac_status=$?
  2951   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2952   (exit $ac_status); }; then
  2953   for ac_file in conftest.o conftest.obj conftest.*; do
  2954   test -f "$ac_file" || continue;
  2955   case $ac_file in
  2956     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2957     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2958        break;;
  2959   esac
  2960 done
  2961 else
  2962   echo "$as_me: failed program was:" >&5
  2963 sed 's/^/| /' conftest.$ac_ext >&5
  2965 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2966 See \`config.log' for more details." >&5
  2967 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2968 See \`config.log' for more details." >&2;}
  2969    { (exit 1); exit 1; }; }
  2970 fi
  2972 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2973 fi
  2974 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2975 echo "${ECHO_T}$ac_cv_objext" >&6; }
  2976 OBJEXT=$ac_cv_objext
  2977 ac_objext=$OBJEXT
  2978 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2979 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2980 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2981   echo $ECHO_N "(cached) $ECHO_C" >&6
  2982 else
  2983   cat >conftest.$ac_ext <<_ACEOF
  2984 /* confdefs.h.  */
  2985 _ACEOF
  2986 cat confdefs.h >>conftest.$ac_ext
  2987 cat >>conftest.$ac_ext <<_ACEOF
  2988 /* end confdefs.h.  */
  2990 int
  2991 main ()
  2993 #ifndef __GNUC__
  2994        choke me
  2995 #endif
  2998   return 0;
  3000 _ACEOF
  3001 rm -f conftest.$ac_objext
  3002 if { (ac_try="$ac_compile"
  3003 case "(($ac_try" in
  3004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3005   *) ac_try_echo=$ac_try;;
  3006 esac
  3007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3008   (eval "$ac_compile") 2>conftest.er1
  3009   ac_status=$?
  3010   grep -v '^ *+' conftest.er1 >conftest.err
  3011   rm -f conftest.er1
  3012   cat conftest.err >&5
  3013   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3014   (exit $ac_status); } && {
  3015 	 test -z "$ac_c_werror_flag" ||
  3016 	 test ! -s conftest.err
  3017        } && test -s conftest.$ac_objext; then
  3018   ac_compiler_gnu=yes
  3019 else
  3020   echo "$as_me: failed program was:" >&5
  3021 sed 's/^/| /' conftest.$ac_ext >&5
  3023 	ac_compiler_gnu=no
  3024 fi
  3026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3027 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3029 fi
  3030 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3031 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3032 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3033 ac_test_CFLAGS=${CFLAGS+set}
  3034 ac_save_CFLAGS=$CFLAGS
  3035 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3036 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3037 if test "${ac_cv_prog_cc_g+set}" = set; then
  3038   echo $ECHO_N "(cached) $ECHO_C" >&6
  3039 else
  3040   ac_save_c_werror_flag=$ac_c_werror_flag
  3041    ac_c_werror_flag=yes
  3042    ac_cv_prog_cc_g=no
  3043    CFLAGS="-g"
  3044    cat >conftest.$ac_ext <<_ACEOF
  3045 /* confdefs.h.  */
  3046 _ACEOF
  3047 cat confdefs.h >>conftest.$ac_ext
  3048 cat >>conftest.$ac_ext <<_ACEOF
  3049 /* end confdefs.h.  */
  3051 int
  3052 main ()
  3056   return 0;
  3058 _ACEOF
  3059 rm -f conftest.$ac_objext
  3060 if { (ac_try="$ac_compile"
  3061 case "(($ac_try" in
  3062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3063   *) ac_try_echo=$ac_try;;
  3064 esac
  3065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3066   (eval "$ac_compile") 2>conftest.er1
  3067   ac_status=$?
  3068   grep -v '^ *+' conftest.er1 >conftest.err
  3069   rm -f conftest.er1
  3070   cat conftest.err >&5
  3071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3072   (exit $ac_status); } && {
  3073 	 test -z "$ac_c_werror_flag" ||
  3074 	 test ! -s conftest.err
  3075        } && test -s conftest.$ac_objext; then
  3076   ac_cv_prog_cc_g=yes
  3077 else
  3078   echo "$as_me: failed program was:" >&5
  3079 sed 's/^/| /' conftest.$ac_ext >&5
  3081 	CFLAGS=""
  3082       cat >conftest.$ac_ext <<_ACEOF
  3083 /* confdefs.h.  */
  3084 _ACEOF
  3085 cat confdefs.h >>conftest.$ac_ext
  3086 cat >>conftest.$ac_ext <<_ACEOF
  3087 /* end confdefs.h.  */
  3089 int
  3090 main ()
  3094   return 0;
  3096 _ACEOF
  3097 rm -f conftest.$ac_objext
  3098 if { (ac_try="$ac_compile"
  3099 case "(($ac_try" in
  3100   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3101   *) ac_try_echo=$ac_try;;
  3102 esac
  3103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3104   (eval "$ac_compile") 2>conftest.er1
  3105   ac_status=$?
  3106   grep -v '^ *+' conftest.er1 >conftest.err
  3107   rm -f conftest.er1
  3108   cat conftest.err >&5
  3109   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3110   (exit $ac_status); } && {
  3111 	 test -z "$ac_c_werror_flag" ||
  3112 	 test ! -s conftest.err
  3113        } && test -s conftest.$ac_objext; then
  3115 else
  3116   echo "$as_me: failed program was:" >&5
  3117 sed 's/^/| /' conftest.$ac_ext >&5
  3119 	ac_c_werror_flag=$ac_save_c_werror_flag
  3120 	 CFLAGS="-g"
  3121 	 cat >conftest.$ac_ext <<_ACEOF
  3122 /* confdefs.h.  */
  3123 _ACEOF
  3124 cat confdefs.h >>conftest.$ac_ext
  3125 cat >>conftest.$ac_ext <<_ACEOF
  3126 /* end confdefs.h.  */
  3128 int
  3129 main ()
  3133   return 0;
  3135 _ACEOF
  3136 rm -f conftest.$ac_objext
  3137 if { (ac_try="$ac_compile"
  3138 case "(($ac_try" in
  3139   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3140   *) ac_try_echo=$ac_try;;
  3141 esac
  3142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3143   (eval "$ac_compile") 2>conftest.er1
  3144   ac_status=$?
  3145   grep -v '^ *+' conftest.er1 >conftest.err
  3146   rm -f conftest.er1
  3147   cat conftest.err >&5
  3148   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3149   (exit $ac_status); } && {
  3150 	 test -z "$ac_c_werror_flag" ||
  3151 	 test ! -s conftest.err
  3152        } && test -s conftest.$ac_objext; then
  3153   ac_cv_prog_cc_g=yes
  3154 else
  3155   echo "$as_me: failed program was:" >&5
  3156 sed 's/^/| /' conftest.$ac_ext >&5
  3159 fi
  3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3162 fi
  3164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3165 fi
  3167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3168    ac_c_werror_flag=$ac_save_c_werror_flag
  3169 fi
  3170 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3171 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3172 if test "$ac_test_CFLAGS" = set; then
  3173   CFLAGS=$ac_save_CFLAGS
  3174 elif test $ac_cv_prog_cc_g = yes; then
  3175   if test "$GCC" = yes; then
  3176     CFLAGS="-g -O2"
  3177   else
  3178     CFLAGS="-g"
  3179   fi
  3180 else
  3181   if test "$GCC" = yes; then
  3182     CFLAGS="-O2"
  3183   else
  3184     CFLAGS=
  3185   fi
  3186 fi
  3187 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3188 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3189 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3190   echo $ECHO_N "(cached) $ECHO_C" >&6
  3191 else
  3192   ac_cv_prog_cc_c89=no
  3193 ac_save_CC=$CC
  3194 cat >conftest.$ac_ext <<_ACEOF
  3195 /* confdefs.h.  */
  3196 _ACEOF
  3197 cat confdefs.h >>conftest.$ac_ext
  3198 cat >>conftest.$ac_ext <<_ACEOF
  3199 /* end confdefs.h.  */
  3200 #include <stdarg.h>
  3201 #include <stdio.h>
  3202 #include <sys/types.h>
  3203 #include <sys/stat.h>
  3204 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3205 struct buf { int x; };
  3206 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3207 static char *e (p, i)
  3208      char **p;
  3209      int i;
  3211   return p[i];
  3213 static char *f (char * (*g) (char **, int), char **p, ...)
  3215   char *s;
  3216   va_list v;
  3217   va_start (v,p);
  3218   s = g (p, va_arg (v,int));
  3219   va_end (v);
  3220   return s;
  3223 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3224    function prototypes and stuff, but not '\xHH' hex character constants.
  3225    These don't provoke an error unfortunately, instead are silently treated
  3226    as 'x'.  The following induces an error, until -std is added to get
  3227    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3228    array size at least.  It's necessary to write '\x00'==0 to get something
  3229    that's true only with -std.  */
  3230 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3232 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3233    inside strings and character constants.  */
  3234 #define FOO(x) 'x'
  3235 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3237 int test (int i, double x);
  3238 struct s1 {int (*f) (int a);};
  3239 struct s2 {int (*f) (double a);};
  3240 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3241 int argc;
  3242 char **argv;
  3243 int
  3244 main ()
  3246 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3248   return 0;
  3250 _ACEOF
  3251 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3252 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3253 do
  3254   CC="$ac_save_CC $ac_arg"
  3255   rm -f conftest.$ac_objext
  3256 if { (ac_try="$ac_compile"
  3257 case "(($ac_try" in
  3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3259   *) ac_try_echo=$ac_try;;
  3260 esac
  3261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3262   (eval "$ac_compile") 2>conftest.er1
  3263   ac_status=$?
  3264   grep -v '^ *+' conftest.er1 >conftest.err
  3265   rm -f conftest.er1
  3266   cat conftest.err >&5
  3267   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3268   (exit $ac_status); } && {
  3269 	 test -z "$ac_c_werror_flag" ||
  3270 	 test ! -s conftest.err
  3271        } && test -s conftest.$ac_objext; then
  3272   ac_cv_prog_cc_c89=$ac_arg
  3273 else
  3274   echo "$as_me: failed program was:" >&5
  3275 sed 's/^/| /' conftest.$ac_ext >&5
  3278 fi
  3280 rm -f core conftest.err conftest.$ac_objext
  3281   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3282 done
  3283 rm -f conftest.$ac_ext
  3284 CC=$ac_save_CC
  3286 fi
  3287 # AC_CACHE_VAL
  3288 case "x$ac_cv_prog_cc_c89" in
  3289   x)
  3290     { echo "$as_me:$LINENO: result: none needed" >&5
  3291 echo "${ECHO_T}none needed" >&6; } ;;
  3292   xno)
  3293     { echo "$as_me:$LINENO: result: unsupported" >&5
  3294 echo "${ECHO_T}unsupported" >&6; } ;;
  3295   *)
  3296     CC="$CC $ac_cv_prog_cc_c89"
  3297     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3298 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3299 esac
  3302 ac_ext=c
  3303 ac_cpp='$CPP $CPPFLAGS'
  3304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3308 depcc="$CC"   am_compiler_list=
  3310 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3311 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3312 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3313   echo $ECHO_N "(cached) $ECHO_C" >&6
  3314 else
  3315   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3316   # We make a subdir and do the tests there.  Otherwise we can end up
  3317   # making bogus files that we don't know about and never remove.  For
  3318   # instance it was reported that on HP-UX the gcc test will end up
  3319   # making a dummy file named `D' -- because `-MD' means `put the output
  3320   # in D'.
  3321   mkdir conftest.dir
  3322   # Copy depcomp to subdir because otherwise we won't find it if we're
  3323   # using a relative directory.
  3324   cp "$am_depcomp" conftest.dir
  3325   cd conftest.dir
  3326   # We will build objects and dependencies in a subdirectory because
  3327   # it helps to detect inapplicable dependency modes.  For instance
  3328   # both Tru64's cc and ICC support -MD to output dependencies as a
  3329   # side effect of compilation, but ICC will put the dependencies in
  3330   # the current directory while Tru64 will put them in the object
  3331   # directory.
  3332   mkdir sub
  3334   am_cv_CC_dependencies_compiler_type=none
  3335   if test "$am_compiler_list" = ""; then
  3336      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3337   fi
  3338   for depmode in $am_compiler_list; do
  3339     # Setup a source with many dependencies, because some compilers
  3340     # like to wrap large dependency lists on column 80 (with \), and
  3341     # we should not choose a depcomp mode which is confused by this.
  3343     # We need to recreate these files for each test, as the compiler may
  3344     # overwrite some of them when testing with obscure command lines.
  3345     # This happens at least with the AIX C compiler.
  3346     : > sub/conftest.c
  3347     for i in 1 2 3 4 5 6; do
  3348       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3349       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3350       # Solaris 8's {/usr,}/bin/sh.
  3351       touch sub/conftst$i.h
  3352     done
  3353     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3355     case $depmode in
  3356     nosideeffect)
  3357       # after this tag, mechanisms are not by side-effect, so they'll
  3358       # only be used when explicitly requested
  3359       if test "x$enable_dependency_tracking" = xyes; then
  3360 	continue
  3361       else
  3362 	break
  3363       fi
  3364       ;;
  3365     none) break ;;
  3366     esac
  3367     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3368     # mode.  It turns out that the SunPro C++ compiler does not properly
  3369     # handle `-M -o', and we need to detect this.
  3370     if depmode=$depmode \
  3371        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3372        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3373        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3374          >/dev/null 2>conftest.err &&
  3375        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3376        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3377        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3378       # icc doesn't choke on unknown options, it will just issue warnings
  3379       # or remarks (even with -Werror).  So we grep stderr for any message
  3380       # that says an option was ignored or not supported.
  3381       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3382       #   icc: Command line warning: ignoring option '-M'; no argument required
  3383       # The diagnosis changed in icc 8.0:
  3384       #   icc: Command line remark: option '-MP' not supported
  3385       if (grep 'ignoring option' conftest.err ||
  3386           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3387         am_cv_CC_dependencies_compiler_type=$depmode
  3388         break
  3389       fi
  3390     fi
  3391   done
  3393   cd ..
  3394   rm -rf conftest.dir
  3395 else
  3396   am_cv_CC_dependencies_compiler_type=none
  3397 fi
  3399 fi
  3400 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3401 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3402 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3406 if
  3407   test "x$enable_dependency_tracking" != xno \
  3408   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3409   am__fastdepCC_TRUE=
  3410   am__fastdepCC_FALSE='#'
  3411 else
  3412   am__fastdepCC_TRUE='#'
  3413   am__fastdepCC_FALSE=
  3414 fi
  3419         { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3420 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
  3421 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3422   echo $ECHO_N "(cached) $ECHO_C" >&6
  3423 else
  3424   ac_check_lib_save_LIBS=$LIBS
  3425 LIBS="-lcposix  $LIBS"
  3426 cat >conftest.$ac_ext <<_ACEOF
  3427 /* confdefs.h.  */
  3428 _ACEOF
  3429 cat confdefs.h >>conftest.$ac_ext
  3430 cat >>conftest.$ac_ext <<_ACEOF
  3431 /* end confdefs.h.  */
  3433 /* Override any GCC internal prototype to avoid an error.
  3434    Use char because int might match the return type of a GCC
  3435    builtin and then its argument prototype would still apply.  */
  3436 #ifdef __cplusplus
  3437 extern "C"
  3438 #endif
  3439 char strerror ();
  3440 int
  3441 main ()
  3443 return strerror ();
  3445   return 0;
  3447 _ACEOF
  3448 rm -f conftest.$ac_objext conftest$ac_exeext
  3449 if { (ac_try="$ac_link"
  3450 case "(($ac_try" in
  3451   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3452   *) ac_try_echo=$ac_try;;
  3453 esac
  3454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3455   (eval "$ac_link") 2>conftest.er1
  3456   ac_status=$?
  3457   grep -v '^ *+' conftest.er1 >conftest.err
  3458   rm -f conftest.er1
  3459   cat conftest.err >&5
  3460   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3461   (exit $ac_status); } && {
  3462 	 test -z "$ac_c_werror_flag" ||
  3463 	 test ! -s conftest.err
  3464        } && test -s conftest$ac_exeext &&
  3465        $as_test_x conftest$ac_exeext; then
  3466   ac_cv_lib_cposix_strerror=yes
  3467 else
  3468   echo "$as_me: failed program was:" >&5
  3469 sed 's/^/| /' conftest.$ac_ext >&5
  3471 	ac_cv_lib_cposix_strerror=no
  3472 fi
  3474 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3475       conftest$ac_exeext conftest.$ac_ext
  3476 LIBS=$ac_check_lib_save_LIBS
  3477 fi
  3478 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3479 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
  3480 if test $ac_cv_lib_cposix_strerror = yes; then
  3481   LIBS="$LIBS -lcposix"
  3482 fi
  3486 ac_ext=c
  3487 ac_cpp='$CPP $CPPFLAGS'
  3488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3491 if test -n "$ac_tool_prefix"; then
  3492   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3493 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3494 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3495 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3496 if test "${ac_cv_prog_CC+set}" = set; then
  3497   echo $ECHO_N "(cached) $ECHO_C" >&6
  3498 else
  3499   if test -n "$CC"; then
  3500   ac_cv_prog_CC="$CC" # Let the user override the test.
  3501 else
  3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3503 for as_dir in $PATH
  3504 do
  3505   IFS=$as_save_IFS
  3506   test -z "$as_dir" && as_dir=.
  3507   for ac_exec_ext in '' $ac_executable_extensions; do
  3508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3509     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3510     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3511     break 2
  3512   fi
  3513 done
  3514 done
  3515 IFS=$as_save_IFS
  3517 fi
  3518 fi
  3519 CC=$ac_cv_prog_CC
  3520 if test -n "$CC"; then
  3521   { echo "$as_me:$LINENO: result: $CC" >&5
  3522 echo "${ECHO_T}$CC" >&6; }
  3523 else
  3524   { echo "$as_me:$LINENO: result: no" >&5
  3525 echo "${ECHO_T}no" >&6; }
  3526 fi
  3529 fi
  3530 if test -z "$ac_cv_prog_CC"; then
  3531   ac_ct_CC=$CC
  3532   # Extract the first word of "gcc", so it can be a program name with args.
  3533 set dummy gcc; ac_word=$2
  3534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3536 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3537   echo $ECHO_N "(cached) $ECHO_C" >&6
  3538 else
  3539   if test -n "$ac_ct_CC"; then
  3540   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3541 else
  3542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3543 for as_dir in $PATH
  3544 do
  3545   IFS=$as_save_IFS
  3546   test -z "$as_dir" && as_dir=.
  3547   for ac_exec_ext in '' $ac_executable_extensions; do
  3548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3549     ac_cv_prog_ac_ct_CC="gcc"
  3550     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3551     break 2
  3552   fi
  3553 done
  3554 done
  3555 IFS=$as_save_IFS
  3557 fi
  3558 fi
  3559 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3560 if test -n "$ac_ct_CC"; then
  3561   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3562 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3563 else
  3564   { echo "$as_me:$LINENO: result: no" >&5
  3565 echo "${ECHO_T}no" >&6; }
  3566 fi
  3568   if test "x$ac_ct_CC" = x; then
  3569     CC=""
  3570   else
  3571     case $cross_compiling:$ac_tool_warned in
  3572 yes:)
  3573 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3574 whose name does not start with the host triplet.  If you think this
  3575 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3576 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3577 whose name does not start with the host triplet.  If you think this
  3578 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3579 ac_tool_warned=yes ;;
  3580 esac
  3581     CC=$ac_ct_CC
  3582   fi
  3583 else
  3584   CC="$ac_cv_prog_CC"
  3585 fi
  3587 if test -z "$CC"; then
  3588           if test -n "$ac_tool_prefix"; then
  3589     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3590 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3591 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3592 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3593 if test "${ac_cv_prog_CC+set}" = set; then
  3594   echo $ECHO_N "(cached) $ECHO_C" >&6
  3595 else
  3596   if test -n "$CC"; then
  3597   ac_cv_prog_CC="$CC" # Let the user override the test.
  3598 else
  3599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3600 for as_dir in $PATH
  3601 do
  3602   IFS=$as_save_IFS
  3603   test -z "$as_dir" && as_dir=.
  3604   for ac_exec_ext in '' $ac_executable_extensions; do
  3605   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3606     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3607     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3608     break 2
  3609   fi
  3610 done
  3611 done
  3612 IFS=$as_save_IFS
  3614 fi
  3615 fi
  3616 CC=$ac_cv_prog_CC
  3617 if test -n "$CC"; then
  3618   { echo "$as_me:$LINENO: result: $CC" >&5
  3619 echo "${ECHO_T}$CC" >&6; }
  3620 else
  3621   { echo "$as_me:$LINENO: result: no" >&5
  3622 echo "${ECHO_T}no" >&6; }
  3623 fi
  3626   fi
  3627 fi
  3628 if test -z "$CC"; then
  3629   # Extract the first word of "cc", so it can be a program name with args.
  3630 set dummy cc; ac_word=$2
  3631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3633 if test "${ac_cv_prog_CC+set}" = set; then
  3634   echo $ECHO_N "(cached) $ECHO_C" >&6
  3635 else
  3636   if test -n "$CC"; then
  3637   ac_cv_prog_CC="$CC" # Let the user override the test.
  3638 else
  3639   ac_prog_rejected=no
  3640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3641 for as_dir in $PATH
  3642 do
  3643   IFS=$as_save_IFS
  3644   test -z "$as_dir" && as_dir=.
  3645   for ac_exec_ext in '' $ac_executable_extensions; do
  3646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3647     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3648        ac_prog_rejected=yes
  3649        continue
  3650      fi
  3651     ac_cv_prog_CC="cc"
  3652     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3653     break 2
  3654   fi
  3655 done
  3656 done
  3657 IFS=$as_save_IFS
  3659 if test $ac_prog_rejected = yes; then
  3660   # We found a bogon in the path, so make sure we never use it.
  3661   set dummy $ac_cv_prog_CC
  3662   shift
  3663   if test $# != 0; then
  3664     # We chose a different compiler from the bogus one.
  3665     # However, it has the same basename, so the bogon will be chosen
  3666     # first if we set CC to just the basename; use the full file name.
  3667     shift
  3668     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3669   fi
  3670 fi
  3671 fi
  3672 fi
  3673 CC=$ac_cv_prog_CC
  3674 if test -n "$CC"; then
  3675   { echo "$as_me:$LINENO: result: $CC" >&5
  3676 echo "${ECHO_T}$CC" >&6; }
  3677 else
  3678   { echo "$as_me:$LINENO: result: no" >&5
  3679 echo "${ECHO_T}no" >&6; }
  3680 fi
  3683 fi
  3684 if test -z "$CC"; then
  3685   if test -n "$ac_tool_prefix"; then
  3686   for ac_prog in cl.exe
  3687   do
  3688     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3689 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3690 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3691 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3692 if test "${ac_cv_prog_CC+set}" = set; then
  3693   echo $ECHO_N "(cached) $ECHO_C" >&6
  3694 else
  3695   if test -n "$CC"; then
  3696   ac_cv_prog_CC="$CC" # Let the user override the test.
  3697 else
  3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3699 for as_dir in $PATH
  3700 do
  3701   IFS=$as_save_IFS
  3702   test -z "$as_dir" && as_dir=.
  3703   for ac_exec_ext in '' $ac_executable_extensions; do
  3704   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3705     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3706     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3707     break 2
  3708   fi
  3709 done
  3710 done
  3711 IFS=$as_save_IFS
  3713 fi
  3714 fi
  3715 CC=$ac_cv_prog_CC
  3716 if test -n "$CC"; then
  3717   { echo "$as_me:$LINENO: result: $CC" >&5
  3718 echo "${ECHO_T}$CC" >&6; }
  3719 else
  3720   { echo "$as_me:$LINENO: result: no" >&5
  3721 echo "${ECHO_T}no" >&6; }
  3722 fi
  3725     test -n "$CC" && break
  3726   done
  3727 fi
  3728 if test -z "$CC"; then
  3729   ac_ct_CC=$CC
  3730   for ac_prog in cl.exe
  3731 do
  3732   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3733 set dummy $ac_prog; ac_word=$2
  3734 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3735 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3736 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3737   echo $ECHO_N "(cached) $ECHO_C" >&6
  3738 else
  3739   if test -n "$ac_ct_CC"; then
  3740   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3741 else
  3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3743 for as_dir in $PATH
  3744 do
  3745   IFS=$as_save_IFS
  3746   test -z "$as_dir" && as_dir=.
  3747   for ac_exec_ext in '' $ac_executable_extensions; do
  3748   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3749     ac_cv_prog_ac_ct_CC="$ac_prog"
  3750     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3751     break 2
  3752   fi
  3753 done
  3754 done
  3755 IFS=$as_save_IFS
  3757 fi
  3758 fi
  3759 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3760 if test -n "$ac_ct_CC"; then
  3761   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3762 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3763 else
  3764   { echo "$as_me:$LINENO: result: no" >&5
  3765 echo "${ECHO_T}no" >&6; }
  3766 fi
  3769   test -n "$ac_ct_CC" && break
  3770 done
  3772   if test "x$ac_ct_CC" = x; then
  3773     CC=""
  3774   else
  3775     case $cross_compiling:$ac_tool_warned in
  3776 yes:)
  3777 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3778 whose name does not start with the host triplet.  If you think this
  3779 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3780 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3781 whose name does not start with the host triplet.  If you think this
  3782 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3783 ac_tool_warned=yes ;;
  3784 esac
  3785     CC=$ac_ct_CC
  3786   fi
  3787 fi
  3789 fi
  3792 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3793 See \`config.log' for more details." >&5
  3794 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3795 See \`config.log' for more details." >&2;}
  3796    { (exit 1); exit 1; }; }
  3798 # Provide some information about the compiler.
  3799 echo "$as_me:$LINENO: checking for C compiler version" >&5
  3800 ac_compiler=`set X $ac_compile; echo $2`
  3801 { (ac_try="$ac_compiler --version >&5"
  3802 case "(($ac_try" in
  3803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3804   *) ac_try_echo=$ac_try;;
  3805 esac
  3806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3807   (eval "$ac_compiler --version >&5") 2>&5
  3808   ac_status=$?
  3809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3810   (exit $ac_status); }
  3811 { (ac_try="$ac_compiler -v >&5"
  3812 case "(($ac_try" in
  3813   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3814   *) ac_try_echo=$ac_try;;
  3815 esac
  3816 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3817   (eval "$ac_compiler -v >&5") 2>&5
  3818   ac_status=$?
  3819   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3820   (exit $ac_status); }
  3821 { (ac_try="$ac_compiler -V >&5"
  3822 case "(($ac_try" in
  3823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3824   *) ac_try_echo=$ac_try;;
  3825 esac
  3826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3827   (eval "$ac_compiler -V >&5") 2>&5
  3828   ac_status=$?
  3829   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3830   (exit $ac_status); }
  3832 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3833 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3834 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3835   echo $ECHO_N "(cached) $ECHO_C" >&6
  3836 else
  3837   cat >conftest.$ac_ext <<_ACEOF
  3838 /* confdefs.h.  */
  3839 _ACEOF
  3840 cat confdefs.h >>conftest.$ac_ext
  3841 cat >>conftest.$ac_ext <<_ACEOF
  3842 /* end confdefs.h.  */
  3844 int
  3845 main ()
  3847 #ifndef __GNUC__
  3848        choke me
  3849 #endif
  3852   return 0;
  3854 _ACEOF
  3855 rm -f conftest.$ac_objext
  3856 if { (ac_try="$ac_compile"
  3857 case "(($ac_try" in
  3858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3859   *) ac_try_echo=$ac_try;;
  3860 esac
  3861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3862   (eval "$ac_compile") 2>conftest.er1
  3863   ac_status=$?
  3864   grep -v '^ *+' conftest.er1 >conftest.err
  3865   rm -f conftest.er1
  3866   cat conftest.err >&5
  3867   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3868   (exit $ac_status); } && {
  3869 	 test -z "$ac_c_werror_flag" ||
  3870 	 test ! -s conftest.err
  3871        } && test -s conftest.$ac_objext; then
  3872   ac_compiler_gnu=yes
  3873 else
  3874   echo "$as_me: failed program was:" >&5
  3875 sed 's/^/| /' conftest.$ac_ext >&5
  3877 	ac_compiler_gnu=no
  3878 fi
  3880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3883 fi
  3884 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3885 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3886 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3887 ac_test_CFLAGS=${CFLAGS+set}
  3888 ac_save_CFLAGS=$CFLAGS
  3889 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3891 if test "${ac_cv_prog_cc_g+set}" = set; then
  3892   echo $ECHO_N "(cached) $ECHO_C" >&6
  3893 else
  3894   ac_save_c_werror_flag=$ac_c_werror_flag
  3895    ac_c_werror_flag=yes
  3896    ac_cv_prog_cc_g=no
  3897    CFLAGS="-g"
  3898    cat >conftest.$ac_ext <<_ACEOF
  3899 /* confdefs.h.  */
  3900 _ACEOF
  3901 cat confdefs.h >>conftest.$ac_ext
  3902 cat >>conftest.$ac_ext <<_ACEOF
  3903 /* end confdefs.h.  */
  3905 int
  3906 main ()
  3910   return 0;
  3912 _ACEOF
  3913 rm -f conftest.$ac_objext
  3914 if { (ac_try="$ac_compile"
  3915 case "(($ac_try" in
  3916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3917   *) ac_try_echo=$ac_try;;
  3918 esac
  3919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3920   (eval "$ac_compile") 2>conftest.er1
  3921   ac_status=$?
  3922   grep -v '^ *+' conftest.er1 >conftest.err
  3923   rm -f conftest.er1
  3924   cat conftest.err >&5
  3925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3926   (exit $ac_status); } && {
  3927 	 test -z "$ac_c_werror_flag" ||
  3928 	 test ! -s conftest.err
  3929        } && test -s conftest.$ac_objext; then
  3930   ac_cv_prog_cc_g=yes
  3931 else
  3932   echo "$as_me: failed program was:" >&5
  3933 sed 's/^/| /' conftest.$ac_ext >&5
  3935 	CFLAGS=""
  3936       cat >conftest.$ac_ext <<_ACEOF
  3937 /* confdefs.h.  */
  3938 _ACEOF
  3939 cat confdefs.h >>conftest.$ac_ext
  3940 cat >>conftest.$ac_ext <<_ACEOF
  3941 /* end confdefs.h.  */
  3943 int
  3944 main ()
  3948   return 0;
  3950 _ACEOF
  3951 rm -f conftest.$ac_objext
  3952 if { (ac_try="$ac_compile"
  3953 case "(($ac_try" in
  3954   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3955   *) ac_try_echo=$ac_try;;
  3956 esac
  3957 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3958   (eval "$ac_compile") 2>conftest.er1
  3959   ac_status=$?
  3960   grep -v '^ *+' conftest.er1 >conftest.err
  3961   rm -f conftest.er1
  3962   cat conftest.err >&5
  3963   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3964   (exit $ac_status); } && {
  3965 	 test -z "$ac_c_werror_flag" ||
  3966 	 test ! -s conftest.err
  3967        } && test -s conftest.$ac_objext; then
  3969 else
  3970   echo "$as_me: failed program was:" >&5
  3971 sed 's/^/| /' conftest.$ac_ext >&5
  3973 	ac_c_werror_flag=$ac_save_c_werror_flag
  3974 	 CFLAGS="-g"
  3975 	 cat >conftest.$ac_ext <<_ACEOF
  3976 /* confdefs.h.  */
  3977 _ACEOF
  3978 cat confdefs.h >>conftest.$ac_ext
  3979 cat >>conftest.$ac_ext <<_ACEOF
  3980 /* end confdefs.h.  */
  3982 int
  3983 main ()
  3987   return 0;
  3989 _ACEOF
  3990 rm -f conftest.$ac_objext
  3991 if { (ac_try="$ac_compile"
  3992 case "(($ac_try" in
  3993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3994   *) ac_try_echo=$ac_try;;
  3995 esac
  3996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3997   (eval "$ac_compile") 2>conftest.er1
  3998   ac_status=$?
  3999   grep -v '^ *+' conftest.er1 >conftest.err
  4000   rm -f conftest.er1
  4001   cat conftest.err >&5
  4002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4003   (exit $ac_status); } && {
  4004 	 test -z "$ac_c_werror_flag" ||
  4005 	 test ! -s conftest.err
  4006        } && test -s conftest.$ac_objext; then
  4007   ac_cv_prog_cc_g=yes
  4008 else
  4009   echo "$as_me: failed program was:" >&5
  4010 sed 's/^/| /' conftest.$ac_ext >&5
  4013 fi
  4015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4016 fi
  4018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4019 fi
  4021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4022    ac_c_werror_flag=$ac_save_c_werror_flag
  4023 fi
  4024 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4025 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4026 if test "$ac_test_CFLAGS" = set; then
  4027   CFLAGS=$ac_save_CFLAGS
  4028 elif test $ac_cv_prog_cc_g = yes; then
  4029   if test "$GCC" = yes; then
  4030     CFLAGS="-g -O2"
  4031   else
  4032     CFLAGS="-g"
  4033   fi
  4034 else
  4035   if test "$GCC" = yes; then
  4036     CFLAGS="-O2"
  4037   else
  4038     CFLAGS=
  4039   fi
  4040 fi
  4041 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4042 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  4043 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4044   echo $ECHO_N "(cached) $ECHO_C" >&6
  4045 else
  4046   ac_cv_prog_cc_c89=no
  4047 ac_save_CC=$CC
  4048 cat >conftest.$ac_ext <<_ACEOF
  4049 /* confdefs.h.  */
  4050 _ACEOF
  4051 cat confdefs.h >>conftest.$ac_ext
  4052 cat >>conftest.$ac_ext <<_ACEOF
  4053 /* end confdefs.h.  */
  4054 #include <stdarg.h>
  4055 #include <stdio.h>
  4056 #include <sys/types.h>
  4057 #include <sys/stat.h>
  4058 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4059 struct buf { int x; };
  4060 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4061 static char *e (p, i)
  4062      char **p;
  4063      int i;
  4065   return p[i];
  4067 static char *f (char * (*g) (char **, int), char **p, ...)
  4069   char *s;
  4070   va_list v;
  4071   va_start (v,p);
  4072   s = g (p, va_arg (v,int));
  4073   va_end (v);
  4074   return s;
  4077 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4078    function prototypes and stuff, but not '\xHH' hex character constants.
  4079    These don't provoke an error unfortunately, instead are silently treated
  4080    as 'x'.  The following induces an error, until -std is added to get
  4081    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4082    array size at least.  It's necessary to write '\x00'==0 to get something
  4083    that's true only with -std.  */
  4084 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4086 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4087    inside strings and character constants.  */
  4088 #define FOO(x) 'x'
  4089 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4091 int test (int i, double x);
  4092 struct s1 {int (*f) (int a);};
  4093 struct s2 {int (*f) (double a);};
  4094 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4095 int argc;
  4096 char **argv;
  4097 int
  4098 main ()
  4100 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4102   return 0;
  4104 _ACEOF
  4105 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4106 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4107 do
  4108   CC="$ac_save_CC $ac_arg"
  4109   rm -f conftest.$ac_objext
  4110 if { (ac_try="$ac_compile"
  4111 case "(($ac_try" in
  4112   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4113   *) ac_try_echo=$ac_try;;
  4114 esac
  4115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4116   (eval "$ac_compile") 2>conftest.er1
  4117   ac_status=$?
  4118   grep -v '^ *+' conftest.er1 >conftest.err
  4119   rm -f conftest.er1
  4120   cat conftest.err >&5
  4121   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4122   (exit $ac_status); } && {
  4123 	 test -z "$ac_c_werror_flag" ||
  4124 	 test ! -s conftest.err
  4125        } && test -s conftest.$ac_objext; then
  4126   ac_cv_prog_cc_c89=$ac_arg
  4127 else
  4128   echo "$as_me: failed program was:" >&5
  4129 sed 's/^/| /' conftest.$ac_ext >&5
  4132 fi
  4134 rm -f core conftest.err conftest.$ac_objext
  4135   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4136 done
  4137 rm -f conftest.$ac_ext
  4138 CC=$ac_save_CC
  4140 fi
  4141 # AC_CACHE_VAL
  4142 case "x$ac_cv_prog_cc_c89" in
  4143   x)
  4144     { echo "$as_me:$LINENO: result: none needed" >&5
  4145 echo "${ECHO_T}none needed" >&6; } ;;
  4146   xno)
  4147     { echo "$as_me:$LINENO: result: unsupported" >&5
  4148 echo "${ECHO_T}unsupported" >&6; } ;;
  4149   *)
  4150     CC="$CC $ac_cv_prog_cc_c89"
  4151     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4152 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4153 esac
  4156 ac_ext=c
  4157 ac_cpp='$CPP $CPPFLAGS'
  4158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4162 depcc="$CC"   am_compiler_list=
  4164 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4165 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4166 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4167   echo $ECHO_N "(cached) $ECHO_C" >&6
  4168 else
  4169   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4170   # We make a subdir and do the tests there.  Otherwise we can end up
  4171   # making bogus files that we don't know about and never remove.  For
  4172   # instance it was reported that on HP-UX the gcc test will end up
  4173   # making a dummy file named `D' -- because `-MD' means `put the output
  4174   # in D'.
  4175   mkdir conftest.dir
  4176   # Copy depcomp to subdir because otherwise we won't find it if we're
  4177   # using a relative directory.
  4178   cp "$am_depcomp" conftest.dir
  4179   cd conftest.dir
  4180   # We will build objects and dependencies in a subdirectory because
  4181   # it helps to detect inapplicable dependency modes.  For instance
  4182   # both Tru64's cc and ICC support -MD to output dependencies as a
  4183   # side effect of compilation, but ICC will put the dependencies in
  4184   # the current directory while Tru64 will put them in the object
  4185   # directory.
  4186   mkdir sub
  4188   am_cv_CC_dependencies_compiler_type=none
  4189   if test "$am_compiler_list" = ""; then
  4190      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4191   fi
  4192   for depmode in $am_compiler_list; do
  4193     # Setup a source with many dependencies, because some compilers
  4194     # like to wrap large dependency lists on column 80 (with \), and
  4195     # we should not choose a depcomp mode which is confused by this.
  4197     # We need to recreate these files for each test, as the compiler may
  4198     # overwrite some of them when testing with obscure command lines.
  4199     # This happens at least with the AIX C compiler.
  4200     : > sub/conftest.c
  4201     for i in 1 2 3 4 5 6; do
  4202       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4203       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4204       # Solaris 8's {/usr,}/bin/sh.
  4205       touch sub/conftst$i.h
  4206     done
  4207     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4209     case $depmode in
  4210     nosideeffect)
  4211       # after this tag, mechanisms are not by side-effect, so they'll
  4212       # only be used when explicitly requested
  4213       if test "x$enable_dependency_tracking" = xyes; then
  4214 	continue
  4215       else
  4216 	break
  4217       fi
  4218       ;;
  4219     none) break ;;
  4220     esac
  4221     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4222     # mode.  It turns out that the SunPro C++ compiler does not properly
  4223     # handle `-M -o', and we need to detect this.
  4224     if depmode=$depmode \
  4225        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4226        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4227        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4228          >/dev/null 2>conftest.err &&
  4229        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4230        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4231        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4232       # icc doesn't choke on unknown options, it will just issue warnings
  4233       # or remarks (even with -Werror).  So we grep stderr for any message
  4234       # that says an option was ignored or not supported.
  4235       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4236       #   icc: Command line warning: ignoring option '-M'; no argument required
  4237       # The diagnosis changed in icc 8.0:
  4238       #   icc: Command line remark: option '-MP' not supported
  4239       if (grep 'ignoring option' conftest.err ||
  4240           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4241         am_cv_CC_dependencies_compiler_type=$depmode
  4242         break
  4243       fi
  4244     fi
  4245   done
  4247   cd ..
  4248   rm -rf conftest.dir
  4249 else
  4250   am_cv_CC_dependencies_compiler_type=none
  4251 fi
  4253 fi
  4254 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4255 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4256 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4260 if
  4261   test "x$enable_dependency_tracking" != xno \
  4262   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4263   am__fastdepCC_TRUE=
  4264   am__fastdepCC_FALSE='#'
  4265 else
  4266   am__fastdepCC_TRUE='#'
  4267   am__fastdepCC_FALSE=
  4268 fi
  4271 ac_ext=c
  4272 ac_cpp='$CPP $CPPFLAGS'
  4273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4276 if test -n "$ac_tool_prefix"; then
  4277   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4278 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4281 if test "${ac_cv_prog_CC+set}" = set; then
  4282   echo $ECHO_N "(cached) $ECHO_C" >&6
  4283 else
  4284   if test -n "$CC"; then
  4285   ac_cv_prog_CC="$CC" # Let the user override the test.
  4286 else
  4287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4288 for as_dir in $PATH
  4289 do
  4290   IFS=$as_save_IFS
  4291   test -z "$as_dir" && as_dir=.
  4292   for ac_exec_ext in '' $ac_executable_extensions; do
  4293   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4294     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4295     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4296     break 2
  4297   fi
  4298 done
  4299 done
  4300 IFS=$as_save_IFS
  4302 fi
  4303 fi
  4304 CC=$ac_cv_prog_CC
  4305 if test -n "$CC"; then
  4306   { echo "$as_me:$LINENO: result: $CC" >&5
  4307 echo "${ECHO_T}$CC" >&6; }
  4308 else
  4309   { echo "$as_me:$LINENO: result: no" >&5
  4310 echo "${ECHO_T}no" >&6; }
  4311 fi
  4314 fi
  4315 if test -z "$ac_cv_prog_CC"; then
  4316   ac_ct_CC=$CC
  4317   # Extract the first word of "gcc", so it can be a program name with args.
  4318 set dummy gcc; ac_word=$2
  4319 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4320 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4321 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4322   echo $ECHO_N "(cached) $ECHO_C" >&6
  4323 else
  4324   if test -n "$ac_ct_CC"; then
  4325   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4326 else
  4327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4328 for as_dir in $PATH
  4329 do
  4330   IFS=$as_save_IFS
  4331   test -z "$as_dir" && as_dir=.
  4332   for ac_exec_ext in '' $ac_executable_extensions; do
  4333   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4334     ac_cv_prog_ac_ct_CC="gcc"
  4335     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4336     break 2
  4337   fi
  4338 done
  4339 done
  4340 IFS=$as_save_IFS
  4342 fi
  4343 fi
  4344 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4345 if test -n "$ac_ct_CC"; then
  4346   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4347 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4348 else
  4349   { echo "$as_me:$LINENO: result: no" >&5
  4350 echo "${ECHO_T}no" >&6; }
  4351 fi
  4353   if test "x$ac_ct_CC" = x; then
  4354     CC=""
  4355   else
  4356     case $cross_compiling:$ac_tool_warned in
  4357 yes:)
  4358 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4359 whose name does not start with the host triplet.  If you think this
  4360 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4361 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4362 whose name does not start with the host triplet.  If you think this
  4363 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4364 ac_tool_warned=yes ;;
  4365 esac
  4366     CC=$ac_ct_CC
  4367   fi
  4368 else
  4369   CC="$ac_cv_prog_CC"
  4370 fi
  4372 if test -z "$CC"; then
  4373           if test -n "$ac_tool_prefix"; then
  4374     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4375 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4376 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4377 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4378 if test "${ac_cv_prog_CC+set}" = set; then
  4379   echo $ECHO_N "(cached) $ECHO_C" >&6
  4380 else
  4381   if test -n "$CC"; then
  4382   ac_cv_prog_CC="$CC" # Let the user override the test.
  4383 else
  4384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4385 for as_dir in $PATH
  4386 do
  4387   IFS=$as_save_IFS
  4388   test -z "$as_dir" && as_dir=.
  4389   for ac_exec_ext in '' $ac_executable_extensions; do
  4390   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4391     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4392     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4393     break 2
  4394   fi
  4395 done
  4396 done
  4397 IFS=$as_save_IFS
  4399 fi
  4400 fi
  4401 CC=$ac_cv_prog_CC
  4402 if test -n "$CC"; then
  4403   { echo "$as_me:$LINENO: result: $CC" >&5
  4404 echo "${ECHO_T}$CC" >&6; }
  4405 else
  4406   { echo "$as_me:$LINENO: result: no" >&5
  4407 echo "${ECHO_T}no" >&6; }
  4408 fi
  4411   fi
  4412 fi
  4413 if test -z "$CC"; then
  4414   # Extract the first word of "cc", so it can be a program name with args.
  4415 set dummy cc; ac_word=$2
  4416 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4418 if test "${ac_cv_prog_CC+set}" = set; then
  4419   echo $ECHO_N "(cached) $ECHO_C" >&6
  4420 else
  4421   if test -n "$CC"; then
  4422   ac_cv_prog_CC="$CC" # Let the user override the test.
  4423 else
  4424   ac_prog_rejected=no
  4425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4426 for as_dir in $PATH
  4427 do
  4428   IFS=$as_save_IFS
  4429   test -z "$as_dir" && as_dir=.
  4430   for ac_exec_ext in '' $ac_executable_extensions; do
  4431   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4432     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4433        ac_prog_rejected=yes
  4434        continue
  4435      fi
  4436     ac_cv_prog_CC="cc"
  4437     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4438     break 2
  4439   fi
  4440 done
  4441 done
  4442 IFS=$as_save_IFS
  4444 if test $ac_prog_rejected = yes; then
  4445   # We found a bogon in the path, so make sure we never use it.
  4446   set dummy $ac_cv_prog_CC
  4447   shift
  4448   if test $# != 0; then
  4449     # We chose a different compiler from the bogus one.
  4450     # However, it has the same basename, so the bogon will be chosen
  4451     # first if we set CC to just the basename; use the full file name.
  4452     shift
  4453     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4454   fi
  4455 fi
  4456 fi
  4457 fi
  4458 CC=$ac_cv_prog_CC
  4459 if test -n "$CC"; then
  4460   { echo "$as_me:$LINENO: result: $CC" >&5
  4461 echo "${ECHO_T}$CC" >&6; }
  4462 else
  4463   { echo "$as_me:$LINENO: result: no" >&5
  4464 echo "${ECHO_T}no" >&6; }
  4465 fi
  4468 fi
  4469 if test -z "$CC"; then
  4470   if test -n "$ac_tool_prefix"; then
  4471   for ac_prog in cl.exe
  4472   do
  4473     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4474 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4475 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4476 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4477 if test "${ac_cv_prog_CC+set}" = set; then
  4478   echo $ECHO_N "(cached) $ECHO_C" >&6
  4479 else
  4480   if test -n "$CC"; then
  4481   ac_cv_prog_CC="$CC" # Let the user override the test.
  4482 else
  4483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4484 for as_dir in $PATH
  4485 do
  4486   IFS=$as_save_IFS
  4487   test -z "$as_dir" && as_dir=.
  4488   for ac_exec_ext in '' $ac_executable_extensions; do
  4489   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4490     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4491     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4492     break 2
  4493   fi
  4494 done
  4495 done
  4496 IFS=$as_save_IFS
  4498 fi
  4499 fi
  4500 CC=$ac_cv_prog_CC
  4501 if test -n "$CC"; then
  4502   { echo "$as_me:$LINENO: result: $CC" >&5
  4503 echo "${ECHO_T}$CC" >&6; }
  4504 else
  4505   { echo "$as_me:$LINENO: result: no" >&5
  4506 echo "${ECHO_T}no" >&6; }
  4507 fi
  4510     test -n "$CC" && break
  4511   done
  4512 fi
  4513 if test -z "$CC"; then
  4514   ac_ct_CC=$CC
  4515   for ac_prog in cl.exe
  4516 do
  4517   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4518 set dummy $ac_prog; ac_word=$2
  4519 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4520 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4521 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4522   echo $ECHO_N "(cached) $ECHO_C" >&6
  4523 else
  4524   if test -n "$ac_ct_CC"; then
  4525   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4526 else
  4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4528 for as_dir in $PATH
  4529 do
  4530   IFS=$as_save_IFS
  4531   test -z "$as_dir" && as_dir=.
  4532   for ac_exec_ext in '' $ac_executable_extensions; do
  4533   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4534     ac_cv_prog_ac_ct_CC="$ac_prog"
  4535     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4536     break 2
  4537   fi
  4538 done
  4539 done
  4540 IFS=$as_save_IFS
  4542 fi
  4543 fi
  4544 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4545 if test -n "$ac_ct_CC"; then
  4546   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4547 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4548 else
  4549   { echo "$as_me:$LINENO: result: no" >&5
  4550 echo "${ECHO_T}no" >&6; }
  4551 fi
  4554   test -n "$ac_ct_CC" && break
  4555 done
  4557   if test "x$ac_ct_CC" = x; then
  4558     CC=""
  4559   else
  4560     case $cross_compiling:$ac_tool_warned in
  4561 yes:)
  4562 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4563 whose name does not start with the host triplet.  If you think this
  4564 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4565 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4566 whose name does not start with the host triplet.  If you think this
  4567 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4568 ac_tool_warned=yes ;;
  4569 esac
  4570     CC=$ac_ct_CC
  4571   fi
  4572 fi
  4574 fi
  4577 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4578 See \`config.log' for more details." >&5
  4579 echo "$as_me: error: no acceptable C compiler found in \$PATH
  4580 See \`config.log' for more details." >&2;}
  4581    { (exit 1); exit 1; }; }
  4583 # Provide some information about the compiler.
  4584 echo "$as_me:$LINENO: checking for C compiler version" >&5
  4585 ac_compiler=`set X $ac_compile; echo $2`
  4586 { (ac_try="$ac_compiler --version >&5"
  4587 case "(($ac_try" in
  4588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4589   *) ac_try_echo=$ac_try;;
  4590 esac
  4591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4592   (eval "$ac_compiler --version >&5") 2>&5
  4593   ac_status=$?
  4594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4595   (exit $ac_status); }
  4596 { (ac_try="$ac_compiler -v >&5"
  4597 case "(($ac_try" in
  4598   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4599   *) ac_try_echo=$ac_try;;
  4600 esac
  4601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4602   (eval "$ac_compiler -v >&5") 2>&5
  4603   ac_status=$?
  4604   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4605   (exit $ac_status); }
  4606 { (ac_try="$ac_compiler -V >&5"
  4607 case "(($ac_try" in
  4608   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4609   *) ac_try_echo=$ac_try;;
  4610 esac
  4611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4612   (eval "$ac_compiler -V >&5") 2>&5
  4613   ac_status=$?
  4614   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4615   (exit $ac_status); }
  4617 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4618 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4619 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4620   echo $ECHO_N "(cached) $ECHO_C" >&6
  4621 else
  4622   cat >conftest.$ac_ext <<_ACEOF
  4623 /* confdefs.h.  */
  4624 _ACEOF
  4625 cat confdefs.h >>conftest.$ac_ext
  4626 cat >>conftest.$ac_ext <<_ACEOF
  4627 /* end confdefs.h.  */
  4629 int
  4630 main ()
  4632 #ifndef __GNUC__
  4633        choke me
  4634 #endif
  4637   return 0;
  4639 _ACEOF
  4640 rm -f conftest.$ac_objext
  4641 if { (ac_try="$ac_compile"
  4642 case "(($ac_try" in
  4643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4644   *) ac_try_echo=$ac_try;;
  4645 esac
  4646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4647   (eval "$ac_compile") 2>conftest.er1
  4648   ac_status=$?
  4649   grep -v '^ *+' conftest.er1 >conftest.err
  4650   rm -f conftest.er1
  4651   cat conftest.err >&5
  4652   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4653   (exit $ac_status); } && {
  4654 	 test -z "$ac_c_werror_flag" ||
  4655 	 test ! -s conftest.err
  4656        } && test -s conftest.$ac_objext; then
  4657   ac_compiler_gnu=yes
  4658 else
  4659   echo "$as_me: failed program was:" >&5
  4660 sed 's/^/| /' conftest.$ac_ext >&5
  4662 	ac_compiler_gnu=no
  4663 fi
  4665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4666 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4668 fi
  4669 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4670 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4671 GCC=`test $ac_compiler_gnu = yes && echo yes`
  4672 ac_test_CFLAGS=${CFLAGS+set}
  4673 ac_save_CFLAGS=$CFLAGS
  4674 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4675 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4676 if test "${ac_cv_prog_cc_g+set}" = set; then
  4677   echo $ECHO_N "(cached) $ECHO_C" >&6
  4678 else
  4679   ac_save_c_werror_flag=$ac_c_werror_flag
  4680    ac_c_werror_flag=yes
  4681    ac_cv_prog_cc_g=no
  4682    CFLAGS="-g"
  4683    cat >conftest.$ac_ext <<_ACEOF
  4684 /* confdefs.h.  */
  4685 _ACEOF
  4686 cat confdefs.h >>conftest.$ac_ext
  4687 cat >>conftest.$ac_ext <<_ACEOF
  4688 /* end confdefs.h.  */
  4690 int
  4691 main ()
  4695   return 0;
  4697 _ACEOF
  4698 rm -f conftest.$ac_objext
  4699 if { (ac_try="$ac_compile"
  4700 case "(($ac_try" in
  4701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4702   *) ac_try_echo=$ac_try;;
  4703 esac
  4704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4705   (eval "$ac_compile") 2>conftest.er1
  4706   ac_status=$?
  4707   grep -v '^ *+' conftest.er1 >conftest.err
  4708   rm -f conftest.er1
  4709   cat conftest.err >&5
  4710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4711   (exit $ac_status); } && {
  4712 	 test -z "$ac_c_werror_flag" ||
  4713 	 test ! -s conftest.err
  4714        } && test -s conftest.$ac_objext; then
  4715   ac_cv_prog_cc_g=yes
  4716 else
  4717   echo "$as_me: failed program was:" >&5
  4718 sed 's/^/| /' conftest.$ac_ext >&5
  4720 	CFLAGS=""
  4721       cat >conftest.$ac_ext <<_ACEOF
  4722 /* confdefs.h.  */
  4723 _ACEOF
  4724 cat confdefs.h >>conftest.$ac_ext
  4725 cat >>conftest.$ac_ext <<_ACEOF
  4726 /* end confdefs.h.  */
  4728 int
  4729 main ()
  4733   return 0;
  4735 _ACEOF
  4736 rm -f conftest.$ac_objext
  4737 if { (ac_try="$ac_compile"
  4738 case "(($ac_try" in
  4739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4740   *) ac_try_echo=$ac_try;;
  4741 esac
  4742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4743   (eval "$ac_compile") 2>conftest.er1
  4744   ac_status=$?
  4745   grep -v '^ *+' conftest.er1 >conftest.err
  4746   rm -f conftest.er1
  4747   cat conftest.err >&5
  4748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4749   (exit $ac_status); } && {
  4750 	 test -z "$ac_c_werror_flag" ||
  4751 	 test ! -s conftest.err
  4752        } && test -s conftest.$ac_objext; then
  4754 else
  4755   echo "$as_me: failed program was:" >&5
  4756 sed 's/^/| /' conftest.$ac_ext >&5
  4758 	ac_c_werror_flag=$ac_save_c_werror_flag
  4759 	 CFLAGS="-g"
  4760 	 cat >conftest.$ac_ext <<_ACEOF
  4761 /* confdefs.h.  */
  4762 _ACEOF
  4763 cat confdefs.h >>conftest.$ac_ext
  4764 cat >>conftest.$ac_ext <<_ACEOF
  4765 /* end confdefs.h.  */
  4767 int
  4768 main ()
  4772   return 0;
  4774 _ACEOF
  4775 rm -f conftest.$ac_objext
  4776 if { (ac_try="$ac_compile"
  4777 case "(($ac_try" in
  4778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4779   *) ac_try_echo=$ac_try;;
  4780 esac
  4781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4782   (eval "$ac_compile") 2>conftest.er1
  4783   ac_status=$?
  4784   grep -v '^ *+' conftest.er1 >conftest.err
  4785   rm -f conftest.er1
  4786   cat conftest.err >&5
  4787   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4788   (exit $ac_status); } && {
  4789 	 test -z "$ac_c_werror_flag" ||
  4790 	 test ! -s conftest.err
  4791        } && test -s conftest.$ac_objext; then
  4792   ac_cv_prog_cc_g=yes
  4793 else
  4794   echo "$as_me: failed program was:" >&5
  4795 sed 's/^/| /' conftest.$ac_ext >&5
  4798 fi
  4800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4801 fi
  4803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4804 fi
  4806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4807    ac_c_werror_flag=$ac_save_c_werror_flag
  4808 fi
  4809 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4810 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4811 if test "$ac_test_CFLAGS" = set; then
  4812   CFLAGS=$ac_save_CFLAGS
  4813 elif test $ac_cv_prog_cc_g = yes; then
  4814   if test "$GCC" = yes; then
  4815     CFLAGS="-g -O2"
  4816   else
  4817     CFLAGS="-g"
  4818   fi
  4819 else
  4820   if test "$GCC" = yes; then
  4821     CFLAGS="-O2"
  4822   else
  4823     CFLAGS=
  4824   fi
  4825 fi
  4826 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4827 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  4828 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4829   echo $ECHO_N "(cached) $ECHO_C" >&6
  4830 else
  4831   ac_cv_prog_cc_c89=no
  4832 ac_save_CC=$CC
  4833 cat >conftest.$ac_ext <<_ACEOF
  4834 /* confdefs.h.  */
  4835 _ACEOF
  4836 cat confdefs.h >>conftest.$ac_ext
  4837 cat >>conftest.$ac_ext <<_ACEOF
  4838 /* end confdefs.h.  */
  4839 #include <stdarg.h>
  4840 #include <stdio.h>
  4841 #include <sys/types.h>
  4842 #include <sys/stat.h>
  4843 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4844 struct buf { int x; };
  4845 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4846 static char *e (p, i)
  4847      char **p;
  4848      int i;
  4850   return p[i];
  4852 static char *f (char * (*g) (char **, int), char **p, ...)
  4854   char *s;
  4855   va_list v;
  4856   va_start (v,p);
  4857   s = g (p, va_arg (v,int));
  4858   va_end (v);
  4859   return s;
  4862 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4863    function prototypes and stuff, but not '\xHH' hex character constants.
  4864    These don't provoke an error unfortunately, instead are silently treated
  4865    as 'x'.  The following induces an error, until -std is added to get
  4866    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4867    array size at least.  It's necessary to write '\x00'==0 to get something
  4868    that's true only with -std.  */
  4869 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4871 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4872    inside strings and character constants.  */
  4873 #define FOO(x) 'x'
  4874 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4876 int test (int i, double x);
  4877 struct s1 {int (*f) (int a);};
  4878 struct s2 {int (*f) (double a);};
  4879 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4880 int argc;
  4881 char **argv;
  4882 int
  4883 main ()
  4885 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4887   return 0;
  4889 _ACEOF
  4890 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4891 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4892 do
  4893   CC="$ac_save_CC $ac_arg"
  4894   rm -f conftest.$ac_objext
  4895 if { (ac_try="$ac_compile"
  4896 case "(($ac_try" in
  4897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4898   *) ac_try_echo=$ac_try;;
  4899 esac
  4900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4901   (eval "$ac_compile") 2>conftest.er1
  4902   ac_status=$?
  4903   grep -v '^ *+' conftest.er1 >conftest.err
  4904   rm -f conftest.er1
  4905   cat conftest.err >&5
  4906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4907   (exit $ac_status); } && {
  4908 	 test -z "$ac_c_werror_flag" ||
  4909 	 test ! -s conftest.err
  4910        } && test -s conftest.$ac_objext; then
  4911   ac_cv_prog_cc_c89=$ac_arg
  4912 else
  4913   echo "$as_me: failed program was:" >&5
  4914 sed 's/^/| /' conftest.$ac_ext >&5
  4917 fi
  4919 rm -f core conftest.err conftest.$ac_objext
  4920   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4921 done
  4922 rm -f conftest.$ac_ext
  4923 CC=$ac_save_CC
  4925 fi
  4926 # AC_CACHE_VAL
  4927 case "x$ac_cv_prog_cc_c89" in
  4928   x)
  4929     { echo "$as_me:$LINENO: result: none needed" >&5
  4930 echo "${ECHO_T}none needed" >&6; } ;;
  4931   xno)
  4932     { echo "$as_me:$LINENO: result: unsupported" >&5
  4933 echo "${ECHO_T}unsupported" >&6; } ;;
  4934   *)
  4935     CC="$CC $ac_cv_prog_cc_c89"
  4936     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4937 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4938 esac
  4941 ac_ext=c
  4942 ac_cpp='$CPP $CPPFLAGS'
  4943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4947 depcc="$CC"   am_compiler_list=
  4949 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4950 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4951 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4952   echo $ECHO_N "(cached) $ECHO_C" >&6
  4953 else
  4954   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4955   # We make a subdir and do the tests there.  Otherwise we can end up
  4956   # making bogus files that we don't know about and never remove.  For
  4957   # instance it was reported that on HP-UX the gcc test will end up
  4958   # making a dummy file named `D' -- because `-MD' means `put the output
  4959   # in D'.
  4960   mkdir conftest.dir
  4961   # Copy depcomp to subdir because otherwise we won't find it if we're
  4962   # using a relative directory.
  4963   cp "$am_depcomp" conftest.dir
  4964   cd conftest.dir
  4965   # We will build objects and dependencies in a subdirectory because
  4966   # it helps to detect inapplicable dependency modes.  For instance
  4967   # both Tru64's cc and ICC support -MD to output dependencies as a
  4968   # side effect of compilation, but ICC will put the dependencies in
  4969   # the current directory while Tru64 will put them in the object
  4970   # directory.
  4971   mkdir sub
  4973   am_cv_CC_dependencies_compiler_type=none
  4974   if test "$am_compiler_list" = ""; then
  4975      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4976   fi
  4977   for depmode in $am_compiler_list; do
  4978     # Setup a source with many dependencies, because some compilers
  4979     # like to wrap large dependency lists on column 80 (with \), and
  4980     # we should not choose a depcomp mode which is confused by this.
  4982     # We need to recreate these files for each test, as the compiler may
  4983     # overwrite some of them when testing with obscure command lines.
  4984     # This happens at least with the AIX C compiler.
  4985     : > sub/conftest.c
  4986     for i in 1 2 3 4 5 6; do
  4987       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4988       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4989       # Solaris 8's {/usr,}/bin/sh.
  4990       touch sub/conftst$i.h
  4991     done
  4992     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4994     case $depmode in
  4995     nosideeffect)
  4996       # after this tag, mechanisms are not by side-effect, so they'll
  4997       # only be used when explicitly requested
  4998       if test "x$enable_dependency_tracking" = xyes; then
  4999 	continue
  5000       else
  5001 	break
  5002       fi
  5003       ;;
  5004     none) break ;;
  5005     esac
  5006     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5007     # mode.  It turns out that the SunPro C++ compiler does not properly
  5008     # handle `-M -o', and we need to detect this.
  5009     if depmode=$depmode \
  5010        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5011        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5012        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5013          >/dev/null 2>conftest.err &&
  5014        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5015        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5016        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5017       # icc doesn't choke on unknown options, it will just issue warnings
  5018       # or remarks (even with -Werror).  So we grep stderr for any message
  5019       # that says an option was ignored or not supported.
  5020       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5021       #   icc: Command line warning: ignoring option '-M'; no argument required
  5022       # The diagnosis changed in icc 8.0:
  5023       #   icc: Command line remark: option '-MP' not supported
  5024       if (grep 'ignoring option' conftest.err ||
  5025           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5026         am_cv_CC_dependencies_compiler_type=$depmode
  5027         break
  5028       fi
  5029     fi
  5030   done
  5032   cd ..
  5033   rm -rf conftest.dir
  5034 else
  5035   am_cv_CC_dependencies_compiler_type=none
  5036 fi
  5038 fi
  5039 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5040 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  5041 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5045 if
  5046   test "x$enable_dependency_tracking" != xno \
  5047   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5048   am__fastdepCC_TRUE=
  5049   am__fastdepCC_FALSE='#'
  5050 else
  5051   am__fastdepCC_TRUE='#'
  5052   am__fastdepCC_FALSE=
  5053 fi
  5057 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5059 # By default we simply use the C compiler to build assembly code.
  5061 test "${CCAS+set}" = set || CCAS=$CC
  5062 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  5066 ac_ext=c
  5067 ac_cpp='$CPP $CPPFLAGS'
  5068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5071 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5072 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  5073 # On Suns, sometimes $CPP names a directory.
  5074 if test -n "$CPP" && test -d "$CPP"; then
  5075   CPP=
  5076 fi
  5077 if test -z "$CPP"; then
  5078   if test "${ac_cv_prog_CPP+set}" = set; then
  5079   echo $ECHO_N "(cached) $ECHO_C" >&6
  5080 else
  5081       # Double quotes because CPP needs to be expanded
  5082     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5083     do
  5084       ac_preproc_ok=false
  5085 for ac_c_preproc_warn_flag in '' yes
  5086 do
  5087   # Use a header file that comes with gcc, so configuring glibc
  5088   # with a fresh cross-compiler works.
  5089   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5090   # <limits.h> exists even on freestanding compilers.
  5091   # On the NeXT, cc -E runs the code through the compiler's parser,
  5092   # not just through cpp. "Syntax error" is here to catch this case.
  5093   cat >conftest.$ac_ext <<_ACEOF
  5094 /* confdefs.h.  */
  5095 _ACEOF
  5096 cat confdefs.h >>conftest.$ac_ext
  5097 cat >>conftest.$ac_ext <<_ACEOF
  5098 /* end confdefs.h.  */
  5099 #ifdef __STDC__
  5100 # include <limits.h>
  5101 #else
  5102 # include <assert.h>
  5103 #endif
  5104 		     Syntax error
  5105 _ACEOF
  5106 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5107 case "(($ac_try" in
  5108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5109   *) ac_try_echo=$ac_try;;
  5110 esac
  5111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5112   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5113   ac_status=$?
  5114   grep -v '^ *+' conftest.er1 >conftest.err
  5115   rm -f conftest.er1
  5116   cat conftest.err >&5
  5117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5118   (exit $ac_status); } >/dev/null && {
  5119 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5120 	 test ! -s conftest.err
  5121        }; then
  5123 else
  5124   echo "$as_me: failed program was:" >&5
  5125 sed 's/^/| /' conftest.$ac_ext >&5
  5127   # Broken: fails on valid input.
  5128 continue
  5129 fi
  5131 rm -f conftest.err conftest.$ac_ext
  5133   # OK, works on sane cases.  Now check whether nonexistent headers
  5134   # can be detected and how.
  5135   cat >conftest.$ac_ext <<_ACEOF
  5136 /* confdefs.h.  */
  5137 _ACEOF
  5138 cat confdefs.h >>conftest.$ac_ext
  5139 cat >>conftest.$ac_ext <<_ACEOF
  5140 /* end confdefs.h.  */
  5141 #include <ac_nonexistent.h>
  5142 _ACEOF
  5143 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5144 case "(($ac_try" in
  5145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5146   *) ac_try_echo=$ac_try;;
  5147 esac
  5148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5149   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5150   ac_status=$?
  5151   grep -v '^ *+' conftest.er1 >conftest.err
  5152   rm -f conftest.er1
  5153   cat conftest.err >&5
  5154   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5155   (exit $ac_status); } >/dev/null && {
  5156 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5157 	 test ! -s conftest.err
  5158        }; then
  5159   # Broken: success on invalid input.
  5160 continue
  5161 else
  5162   echo "$as_me: failed program was:" >&5
  5163 sed 's/^/| /' conftest.$ac_ext >&5
  5165   # Passes both tests.
  5166 ac_preproc_ok=:
  5167 break
  5168 fi
  5170 rm -f conftest.err conftest.$ac_ext
  5172 done
  5173 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5174 rm -f conftest.err conftest.$ac_ext
  5175 if $ac_preproc_ok; then
  5176   break
  5177 fi
  5179     done
  5180     ac_cv_prog_CPP=$CPP
  5182 fi
  5183   CPP=$ac_cv_prog_CPP
  5184 else
  5185   ac_cv_prog_CPP=$CPP
  5186 fi
  5187 { echo "$as_me:$LINENO: result: $CPP" >&5
  5188 echo "${ECHO_T}$CPP" >&6; }
  5189 ac_preproc_ok=false
  5190 for ac_c_preproc_warn_flag in '' yes
  5191 do
  5192   # Use a header file that comes with gcc, so configuring glibc
  5193   # with a fresh cross-compiler works.
  5194   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5195   # <limits.h> exists even on freestanding compilers.
  5196   # On the NeXT, cc -E runs the code through the compiler's parser,
  5197   # not just through cpp. "Syntax error" is here to catch this case.
  5198   cat >conftest.$ac_ext <<_ACEOF
  5199 /* confdefs.h.  */
  5200 _ACEOF
  5201 cat confdefs.h >>conftest.$ac_ext
  5202 cat >>conftest.$ac_ext <<_ACEOF
  5203 /* end confdefs.h.  */
  5204 #ifdef __STDC__
  5205 # include <limits.h>
  5206 #else
  5207 # include <assert.h>
  5208 #endif
  5209 		     Syntax error
  5210 _ACEOF
  5211 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5212 case "(($ac_try" in
  5213   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5214   *) ac_try_echo=$ac_try;;
  5215 esac
  5216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5217   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5218   ac_status=$?
  5219   grep -v '^ *+' conftest.er1 >conftest.err
  5220   rm -f conftest.er1
  5221   cat conftest.err >&5
  5222   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5223   (exit $ac_status); } >/dev/null && {
  5224 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5225 	 test ! -s conftest.err
  5226        }; then
  5228 else
  5229   echo "$as_me: failed program was:" >&5
  5230 sed 's/^/| /' conftest.$ac_ext >&5
  5232   # Broken: fails on valid input.
  5233 continue
  5234 fi
  5236 rm -f conftest.err conftest.$ac_ext
  5238   # OK, works on sane cases.  Now check whether nonexistent headers
  5239   # can be detected and how.
  5240   cat >conftest.$ac_ext <<_ACEOF
  5241 /* confdefs.h.  */
  5242 _ACEOF
  5243 cat confdefs.h >>conftest.$ac_ext
  5244 cat >>conftest.$ac_ext <<_ACEOF
  5245 /* end confdefs.h.  */
  5246 #include <ac_nonexistent.h>
  5247 _ACEOF
  5248 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5249 case "(($ac_try" in
  5250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5251   *) ac_try_echo=$ac_try;;
  5252 esac
  5253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5254   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5255   ac_status=$?
  5256   grep -v '^ *+' conftest.er1 >conftest.err
  5257   rm -f conftest.er1
  5258   cat conftest.err >&5
  5259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5260   (exit $ac_status); } >/dev/null && {
  5261 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5262 	 test ! -s conftest.err
  5263        }; then
  5264   # Broken: success on invalid input.
  5265 continue
  5266 else
  5267   echo "$as_me: failed program was:" >&5
  5268 sed 's/^/| /' conftest.$ac_ext >&5
  5270   # Passes both tests.
  5271 ac_preproc_ok=:
  5272 break
  5273 fi
  5275 rm -f conftest.err conftest.$ac_ext
  5277 done
  5278 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5279 rm -f conftest.err conftest.$ac_ext
  5280 if $ac_preproc_ok; then
  5282 else
  5283   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5284 See \`config.log' for more details." >&5
  5285 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5286 See \`config.log' for more details." >&2;}
  5287    { (exit 1); exit 1; }; }
  5288 fi
  5290 ac_ext=c
  5291 ac_cpp='$CPP $CPPFLAGS'
  5292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5297 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  5298 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  5299 if test "${ac_cv_path_GREP+set}" = set; then
  5300   echo $ECHO_N "(cached) $ECHO_C" >&6
  5301 else
  5302   # Extract the first word of "grep ggrep" to use in msg output
  5303 if test -z "$GREP"; then
  5304 set dummy grep ggrep; ac_prog_name=$2
  5305 if test "${ac_cv_path_GREP+set}" = set; then
  5306   echo $ECHO_N "(cached) $ECHO_C" >&6
  5307 else
  5308   ac_path_GREP_found=false
  5309 # Loop through the user's path and test for each of PROGNAME-LIST
  5310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5311 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5312 do
  5313   IFS=$as_save_IFS
  5314   test -z "$as_dir" && as_dir=.
  5315   for ac_prog in grep ggrep; do
  5316   for ac_exec_ext in '' $ac_executable_extensions; do
  5317     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5318     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5319     # Check for GNU ac_path_GREP and select it if it is found.
  5320   # Check for GNU $ac_path_GREP
  5321 case `"$ac_path_GREP" --version 2>&1` in
  5322 *GNU*)
  5323   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5324 *)
  5325   ac_count=0
  5326   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  5327   while :
  5328   do
  5329     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5330     mv "conftest.tmp" "conftest.in"
  5331     cp "conftest.in" "conftest.nl"
  5332     echo 'GREP' >> "conftest.nl"
  5333     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5334     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5335     ac_count=`expr $ac_count + 1`
  5336     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5337       # Best one so far, save it but keep looking for a better one
  5338       ac_cv_path_GREP="$ac_path_GREP"
  5339       ac_path_GREP_max=$ac_count
  5340     fi
  5341     # 10*(2^10) chars as input seems more than enough
  5342     test $ac_count -gt 10 && break
  5343   done
  5344   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5345 esac
  5348     $ac_path_GREP_found && break 3
  5349   done
  5350 done
  5352 done
  5353 IFS=$as_save_IFS
  5356 fi
  5358 GREP="$ac_cv_path_GREP"
  5359 if test -z "$GREP"; then
  5360   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5361 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5362    { (exit 1); exit 1; }; }
  5363 fi
  5365 else
  5366   ac_cv_path_GREP=$GREP
  5367 fi
  5370 fi
  5371 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  5372 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  5373  GREP="$ac_cv_path_GREP"
  5376 { echo "$as_me:$LINENO: checking for egrep" >&5
  5377 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  5378 if test "${ac_cv_path_EGREP+set}" = set; then
  5379   echo $ECHO_N "(cached) $ECHO_C" >&6
  5380 else
  5381   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  5382    then ac_cv_path_EGREP="$GREP -E"
  5383    else
  5384      # Extract the first word of "egrep" to use in msg output
  5385 if test -z "$EGREP"; then
  5386 set dummy egrep; ac_prog_name=$2
  5387 if test "${ac_cv_path_EGREP+set}" = set; then
  5388   echo $ECHO_N "(cached) $ECHO_C" >&6
  5389 else
  5390   ac_path_EGREP_found=false
  5391 # Loop through the user's path and test for each of PROGNAME-LIST
  5392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5393 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5394 do
  5395   IFS=$as_save_IFS
  5396   test -z "$as_dir" && as_dir=.
  5397   for ac_prog in egrep; do
  5398   for ac_exec_ext in '' $ac_executable_extensions; do
  5399     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  5400     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  5401     # Check for GNU ac_path_EGREP and select it if it is found.
  5402   # Check for GNU $ac_path_EGREP
  5403 case `"$ac_path_EGREP" --version 2>&1` in
  5404 *GNU*)
  5405   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  5406 *)
  5407   ac_count=0
  5408   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  5409   while :
  5410   do
  5411     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5412     mv "conftest.tmp" "conftest.in"
  5413     cp "conftest.in" "conftest.nl"
  5414     echo 'EGREP' >> "conftest.nl"
  5415     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5416     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5417     ac_count=`expr $ac_count + 1`
  5418     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  5419       # Best one so far, save it but keep looking for a better one
  5420       ac_cv_path_EGREP="$ac_path_EGREP"
  5421       ac_path_EGREP_max=$ac_count
  5422     fi
  5423     # 10*(2^10) chars as input seems more than enough
  5424     test $ac_count -gt 10 && break
  5425   done
  5426   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5427 esac
  5430     $ac_path_EGREP_found && break 3
  5431   done
  5432 done
  5434 done
  5435 IFS=$as_save_IFS
  5438 fi
  5440 EGREP="$ac_cv_path_EGREP"
  5441 if test -z "$EGREP"; then
  5442   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5443 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5444    { (exit 1); exit 1; }; }
  5445 fi
  5447 else
  5448   ac_cv_path_EGREP=$EGREP
  5449 fi
  5452    fi
  5453 fi
  5454 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  5455 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  5456  EGREP="$ac_cv_path_EGREP"
  5459 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  5460 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  5461 if test "${ac_cv_header_stdc+set}" = set; then
  5462   echo $ECHO_N "(cached) $ECHO_C" >&6
  5463 else
  5464   cat >conftest.$ac_ext <<_ACEOF
  5465 /* confdefs.h.  */
  5466 _ACEOF
  5467 cat confdefs.h >>conftest.$ac_ext
  5468 cat >>conftest.$ac_ext <<_ACEOF
  5469 /* end confdefs.h.  */
  5470 #include <stdlib.h>
  5471 #include <stdarg.h>
  5472 #include <string.h>
  5473 #include <float.h>
  5475 int
  5476 main ()
  5480   return 0;
  5482 _ACEOF
  5483 rm -f conftest.$ac_objext
  5484 if { (ac_try="$ac_compile"
  5485 case "(($ac_try" in
  5486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5487   *) ac_try_echo=$ac_try;;
  5488 esac
  5489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5490   (eval "$ac_compile") 2>conftest.er1
  5491   ac_status=$?
  5492   grep -v '^ *+' conftest.er1 >conftest.err
  5493   rm -f conftest.er1
  5494   cat conftest.err >&5
  5495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5496   (exit $ac_status); } && {
  5497 	 test -z "$ac_c_werror_flag" ||
  5498 	 test ! -s conftest.err
  5499        } && test -s conftest.$ac_objext; then
  5500   ac_cv_header_stdc=yes
  5501 else
  5502   echo "$as_me: failed program was:" >&5
  5503 sed 's/^/| /' conftest.$ac_ext >&5
  5505 	ac_cv_header_stdc=no
  5506 fi
  5508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5510 if test $ac_cv_header_stdc = yes; then
  5511   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  5512   cat >conftest.$ac_ext <<_ACEOF
  5513 /* confdefs.h.  */
  5514 _ACEOF
  5515 cat confdefs.h >>conftest.$ac_ext
  5516 cat >>conftest.$ac_ext <<_ACEOF
  5517 /* end confdefs.h.  */
  5518 #include <string.h>
  5520 _ACEOF
  5521 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5522   $EGREP "memchr" >/dev/null 2>&1; then
  5524 else
  5525   ac_cv_header_stdc=no
  5526 fi
  5527 rm -f conftest*
  5529 fi
  5531 if test $ac_cv_header_stdc = yes; then
  5532   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  5533   cat >conftest.$ac_ext <<_ACEOF
  5534 /* confdefs.h.  */
  5535 _ACEOF
  5536 cat confdefs.h >>conftest.$ac_ext
  5537 cat >>conftest.$ac_ext <<_ACEOF
  5538 /* end confdefs.h.  */
  5539 #include <stdlib.h>
  5541 _ACEOF
  5542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5543   $EGREP "free" >/dev/null 2>&1; then
  5545 else
  5546   ac_cv_header_stdc=no
  5547 fi
  5548 rm -f conftest*
  5550 fi
  5552 if test $ac_cv_header_stdc = yes; then
  5553   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  5554   if test "$cross_compiling" = yes; then
  5556 else
  5557   cat >conftest.$ac_ext <<_ACEOF
  5558 /* confdefs.h.  */
  5559 _ACEOF
  5560 cat confdefs.h >>conftest.$ac_ext
  5561 cat >>conftest.$ac_ext <<_ACEOF
  5562 /* end confdefs.h.  */
  5563 #include <ctype.h>
  5564 #include <stdlib.h>
  5565 #if ((' ' & 0x0FF) == 0x020)
  5566 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  5567 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  5568 #else
  5569 # define ISLOWER(c) \
  5570 		   (('a' <= (c) && (c) <= 'i') \
  5571 		     || ('j' <= (c) && (c) <= 'r') \
  5572 		     || ('s' <= (c) && (c) <= 'z'))
  5573 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  5574 #endif
  5576 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  5577 int
  5578 main ()
  5580   int i;
  5581   for (i = 0; i < 256; i++)
  5582     if (XOR (islower (i), ISLOWER (i))
  5583 	|| toupper (i) != TOUPPER (i))
  5584       return 2;
  5585   return 0;
  5587 _ACEOF
  5588 rm -f conftest$ac_exeext
  5589 if { (ac_try="$ac_link"
  5590 case "(($ac_try" in
  5591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5592   *) ac_try_echo=$ac_try;;
  5593 esac
  5594 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5595   (eval "$ac_link") 2>&5
  5596   ac_status=$?
  5597   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5598   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5599   { (case "(($ac_try" in
  5600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5601   *) ac_try_echo=$ac_try;;
  5602 esac
  5603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5604   (eval "$ac_try") 2>&5
  5605   ac_status=$?
  5606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5607   (exit $ac_status); }; }; then
  5609 else
  5610   echo "$as_me: program exited with status $ac_status" >&5
  5611 echo "$as_me: failed program was:" >&5
  5612 sed 's/^/| /' conftest.$ac_ext >&5
  5614 ( exit $ac_status )
  5615 ac_cv_header_stdc=no
  5616 fi
  5617 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5618 fi
  5621 fi
  5622 fi
  5623 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  5624 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  5625 if test $ac_cv_header_stdc = yes; then
  5627 cat >>confdefs.h <<\_ACEOF
  5628 #define STDC_HEADERS 1
  5629 _ACEOF
  5631 fi
  5633 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  5643 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  5644 		  inttypes.h stdint.h unistd.h
  5645 do
  5646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5647 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5648 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5649 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5650   echo $ECHO_N "(cached) $ECHO_C" >&6
  5651 else
  5652   cat >conftest.$ac_ext <<_ACEOF
  5653 /* confdefs.h.  */
  5654 _ACEOF
  5655 cat confdefs.h >>conftest.$ac_ext
  5656 cat >>conftest.$ac_ext <<_ACEOF
  5657 /* end confdefs.h.  */
  5658 $ac_includes_default
  5660 #include <$ac_header>
  5661 _ACEOF
  5662 rm -f conftest.$ac_objext
  5663 if { (ac_try="$ac_compile"
  5664 case "(($ac_try" in
  5665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5666   *) ac_try_echo=$ac_try;;
  5667 esac
  5668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5669   (eval "$ac_compile") 2>conftest.er1
  5670   ac_status=$?
  5671   grep -v '^ *+' conftest.er1 >conftest.err
  5672   rm -f conftest.er1
  5673   cat conftest.err >&5
  5674   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5675   (exit $ac_status); } && {
  5676 	 test -z "$ac_c_werror_flag" ||
  5677 	 test ! -s conftest.err
  5678        } && test -s conftest.$ac_objext; then
  5679   eval "$as_ac_Header=yes"
  5680 else
  5681   echo "$as_me: failed program was:" >&5
  5682 sed 's/^/| /' conftest.$ac_ext >&5
  5684 	eval "$as_ac_Header=no"
  5685 fi
  5687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5688 fi
  5689 ac_res=`eval echo '${'$as_ac_Header'}'`
  5690 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  5691 echo "${ECHO_T}$ac_res" >&6; }
  5692 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5693   cat >>confdefs.h <<_ACEOF
  5694 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5695 _ACEOF
  5697 fi
  5699 done
  5702 { echo "$as_me:$LINENO: checking for void *" >&5
  5703 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
  5704 if test "${ac_cv_type_void_p+set}" = set; then
  5705   echo $ECHO_N "(cached) $ECHO_C" >&6
  5706 else
  5707   cat >conftest.$ac_ext <<_ACEOF
  5708 /* confdefs.h.  */
  5709 _ACEOF
  5710 cat confdefs.h >>conftest.$ac_ext
  5711 cat >>conftest.$ac_ext <<_ACEOF
  5712 /* end confdefs.h.  */
  5713 $ac_includes_default
  5714 typedef void * ac__type_new_;
  5715 int
  5716 main ()
  5718 if ((ac__type_new_ *) 0)
  5719   return 0;
  5720 if (sizeof (ac__type_new_))
  5721   return 0;
  5723   return 0;
  5725 _ACEOF
  5726 rm -f conftest.$ac_objext
  5727 if { (ac_try="$ac_compile"
  5728 case "(($ac_try" in
  5729   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5730   *) ac_try_echo=$ac_try;;
  5731 esac
  5732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5733   (eval "$ac_compile") 2>conftest.er1
  5734   ac_status=$?
  5735   grep -v '^ *+' conftest.er1 >conftest.err
  5736   rm -f conftest.er1
  5737   cat conftest.err >&5
  5738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5739   (exit $ac_status); } && {
  5740 	 test -z "$ac_c_werror_flag" ||
  5741 	 test ! -s conftest.err
  5742        } && test -s conftest.$ac_objext; then
  5743   ac_cv_type_void_p=yes
  5744 else
  5745   echo "$as_me: failed program was:" >&5
  5746 sed 's/^/| /' conftest.$ac_ext >&5
  5748 	ac_cv_type_void_p=no
  5749 fi
  5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5752 fi
  5753 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
  5754 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
  5756 # The cast to long int works around a bug in the HP C Compiler
  5757 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5758 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5759 # This bug is HP SR number 8606223364.
  5760 { echo "$as_me:$LINENO: checking size of void *" >&5
  5761 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
  5762 if test "${ac_cv_sizeof_void_p+set}" = set; then
  5763   echo $ECHO_N "(cached) $ECHO_C" >&6
  5764 else
  5765   if test "$cross_compiling" = yes; then
  5766   # Depending upon the size, compute the lo and hi bounds.
  5767 cat >conftest.$ac_ext <<_ACEOF
  5768 /* confdefs.h.  */
  5769 _ACEOF
  5770 cat confdefs.h >>conftest.$ac_ext
  5771 cat >>conftest.$ac_ext <<_ACEOF
  5772 /* end confdefs.h.  */
  5773 $ac_includes_default
  5774    typedef void * ac__type_sizeof_;
  5775 int
  5776 main ()
  5778 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  5779 test_array [0] = 0
  5782   return 0;
  5784 _ACEOF
  5785 rm -f conftest.$ac_objext
  5786 if { (ac_try="$ac_compile"
  5787 case "(($ac_try" in
  5788   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5789   *) ac_try_echo=$ac_try;;
  5790 esac
  5791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5792   (eval "$ac_compile") 2>conftest.er1
  5793   ac_status=$?
  5794   grep -v '^ *+' conftest.er1 >conftest.err
  5795   rm -f conftest.er1
  5796   cat conftest.err >&5
  5797   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5798   (exit $ac_status); } && {
  5799 	 test -z "$ac_c_werror_flag" ||
  5800 	 test ! -s conftest.err
  5801        } && test -s conftest.$ac_objext; then
  5802   ac_lo=0 ac_mid=0
  5803   while :; do
  5804     cat >conftest.$ac_ext <<_ACEOF
  5805 /* confdefs.h.  */
  5806 _ACEOF
  5807 cat confdefs.h >>conftest.$ac_ext
  5808 cat >>conftest.$ac_ext <<_ACEOF
  5809 /* end confdefs.h.  */
  5810 $ac_includes_default
  5811    typedef void * ac__type_sizeof_;
  5812 int
  5813 main ()
  5815 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  5816 test_array [0] = 0
  5819   return 0;
  5821 _ACEOF
  5822 rm -f conftest.$ac_objext
  5823 if { (ac_try="$ac_compile"
  5824 case "(($ac_try" in
  5825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5826   *) ac_try_echo=$ac_try;;
  5827 esac
  5828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5829   (eval "$ac_compile") 2>conftest.er1
  5830   ac_status=$?
  5831   grep -v '^ *+' conftest.er1 >conftest.err
  5832   rm -f conftest.er1
  5833   cat conftest.err >&5
  5834   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5835   (exit $ac_status); } && {
  5836 	 test -z "$ac_c_werror_flag" ||
  5837 	 test ! -s conftest.err
  5838        } && test -s conftest.$ac_objext; then
  5839   ac_hi=$ac_mid; break
  5840 else
  5841   echo "$as_me: failed program was:" >&5
  5842 sed 's/^/| /' conftest.$ac_ext >&5
  5844 	ac_lo=`expr $ac_mid + 1`
  5845 			if test $ac_lo -le $ac_mid; then
  5846 			  ac_lo= ac_hi=
  5847 			  break
  5848 			fi
  5849 			ac_mid=`expr 2 '*' $ac_mid + 1`
  5850 fi
  5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5853   done
  5854 else
  5855   echo "$as_me: failed program was:" >&5
  5856 sed 's/^/| /' conftest.$ac_ext >&5
  5858 	cat >conftest.$ac_ext <<_ACEOF
  5859 /* confdefs.h.  */
  5860 _ACEOF
  5861 cat confdefs.h >>conftest.$ac_ext
  5862 cat >>conftest.$ac_ext <<_ACEOF
  5863 /* end confdefs.h.  */
  5864 $ac_includes_default
  5865    typedef void * ac__type_sizeof_;
  5866 int
  5867 main ()
  5869 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  5870 test_array [0] = 0
  5873   return 0;
  5875 _ACEOF
  5876 rm -f conftest.$ac_objext
  5877 if { (ac_try="$ac_compile"
  5878 case "(($ac_try" in
  5879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5880   *) ac_try_echo=$ac_try;;
  5881 esac
  5882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5883   (eval "$ac_compile") 2>conftest.er1
  5884   ac_status=$?
  5885   grep -v '^ *+' conftest.er1 >conftest.err
  5886   rm -f conftest.er1
  5887   cat conftest.err >&5
  5888   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5889   (exit $ac_status); } && {
  5890 	 test -z "$ac_c_werror_flag" ||
  5891 	 test ! -s conftest.err
  5892        } && test -s conftest.$ac_objext; then
  5893   ac_hi=-1 ac_mid=-1
  5894   while :; do
  5895     cat >conftest.$ac_ext <<_ACEOF
  5896 /* confdefs.h.  */
  5897 _ACEOF
  5898 cat confdefs.h >>conftest.$ac_ext
  5899 cat >>conftest.$ac_ext <<_ACEOF
  5900 /* end confdefs.h.  */
  5901 $ac_includes_default
  5902    typedef void * ac__type_sizeof_;
  5903 int
  5904 main ()
  5906 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  5907 test_array [0] = 0
  5910   return 0;
  5912 _ACEOF
  5913 rm -f conftest.$ac_objext
  5914 if { (ac_try="$ac_compile"
  5915 case "(($ac_try" in
  5916   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5917   *) ac_try_echo=$ac_try;;
  5918 esac
  5919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5920   (eval "$ac_compile") 2>conftest.er1
  5921   ac_status=$?
  5922   grep -v '^ *+' conftest.er1 >conftest.err
  5923   rm -f conftest.er1
  5924   cat conftest.err >&5
  5925   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5926   (exit $ac_status); } && {
  5927 	 test -z "$ac_c_werror_flag" ||
  5928 	 test ! -s conftest.err
  5929        } && test -s conftest.$ac_objext; then
  5930   ac_lo=$ac_mid; break
  5931 else
  5932   echo "$as_me: failed program was:" >&5
  5933 sed 's/^/| /' conftest.$ac_ext >&5
  5935 	ac_hi=`expr '(' $ac_mid ')' - 1`
  5936 			if test $ac_mid -le $ac_hi; then
  5937 			  ac_lo= ac_hi=
  5938 			  break
  5939 			fi
  5940 			ac_mid=`expr 2 '*' $ac_mid`
  5941 fi
  5943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5944   done
  5945 else
  5946   echo "$as_me: failed program was:" >&5
  5947 sed 's/^/| /' conftest.$ac_ext >&5
  5949 	ac_lo= ac_hi=
  5950 fi
  5952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5953 fi
  5955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5956 # Binary search between lo and hi bounds.
  5957 while test "x$ac_lo" != "x$ac_hi"; do
  5958   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  5959   cat >conftest.$ac_ext <<_ACEOF
  5960 /* confdefs.h.  */
  5961 _ACEOF
  5962 cat confdefs.h >>conftest.$ac_ext
  5963 cat >>conftest.$ac_ext <<_ACEOF
  5964 /* end confdefs.h.  */
  5965 $ac_includes_default
  5966    typedef void * ac__type_sizeof_;
  5967 int
  5968 main ()
  5970 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  5971 test_array [0] = 0
  5974   return 0;
  5976 _ACEOF
  5977 rm -f conftest.$ac_objext
  5978 if { (ac_try="$ac_compile"
  5979 case "(($ac_try" in
  5980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5981   *) ac_try_echo=$ac_try;;
  5982 esac
  5983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5984   (eval "$ac_compile") 2>conftest.er1
  5985   ac_status=$?
  5986   grep -v '^ *+' conftest.er1 >conftest.err
  5987   rm -f conftest.er1
  5988   cat conftest.err >&5
  5989   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5990   (exit $ac_status); } && {
  5991 	 test -z "$ac_c_werror_flag" ||
  5992 	 test ! -s conftest.err
  5993        } && test -s conftest.$ac_objext; then
  5994   ac_hi=$ac_mid
  5995 else
  5996   echo "$as_me: failed program was:" >&5
  5997 sed 's/^/| /' conftest.$ac_ext >&5
  5999 	ac_lo=`expr '(' $ac_mid ')' + 1`
  6000 fi
  6002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6003 done
  6004 case $ac_lo in
  6005 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  6006 '') if test "$ac_cv_type_void_p" = yes; then
  6007      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6008 See \`config.log' for more details." >&5
  6009 echo "$as_me: error: cannot compute sizeof (void *)
  6010 See \`config.log' for more details." >&2;}
  6011    { (exit 77); exit 77; }; }
  6012    else
  6013      ac_cv_sizeof_void_p=0
  6014    fi ;;
  6015 esac
  6016 else
  6017   cat >conftest.$ac_ext <<_ACEOF
  6018 /* confdefs.h.  */
  6019 _ACEOF
  6020 cat confdefs.h >>conftest.$ac_ext
  6021 cat >>conftest.$ac_ext <<_ACEOF
  6022 /* end confdefs.h.  */
  6023 $ac_includes_default
  6024    typedef void * ac__type_sizeof_;
  6025 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  6026 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  6027 #include <stdio.h>
  6028 #include <stdlib.h>
  6029 int
  6030 main ()
  6033   FILE *f = fopen ("conftest.val", "w");
  6034   if (! f)
  6035     return 1;
  6036   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  6038       long int i = longval ();
  6039       if (i != ((long int) (sizeof (ac__type_sizeof_))))
  6040 	return 1;
  6041       fprintf (f, "%ld\n", i);
  6043   else
  6045       unsigned long int i = ulongval ();
  6046       if (i != ((long int) (sizeof (ac__type_sizeof_))))
  6047 	return 1;
  6048       fprintf (f, "%lu\n", i);
  6050   return ferror (f) || fclose (f) != 0;
  6053   return 0;
  6055 _ACEOF
  6056 rm -f conftest$ac_exeext
  6057 if { (ac_try="$ac_link"
  6058 case "(($ac_try" in
  6059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6060   *) ac_try_echo=$ac_try;;
  6061 esac
  6062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6063   (eval "$ac_link") 2>&5
  6064   ac_status=$?
  6065   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6066   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6067   { (case "(($ac_try" in
  6068   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6069   *) ac_try_echo=$ac_try;;
  6070 esac
  6071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6072   (eval "$ac_try") 2>&5
  6073   ac_status=$?
  6074   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6075   (exit $ac_status); }; }; then
  6076   ac_cv_sizeof_void_p=`cat conftest.val`
  6077 else
  6078   echo "$as_me: program exited with status $ac_status" >&5
  6079 echo "$as_me: failed program was:" >&5
  6080 sed 's/^/| /' conftest.$ac_ext >&5
  6082 ( exit $ac_status )
  6083 if test "$ac_cv_type_void_p" = yes; then
  6084      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6085 See \`config.log' for more details." >&5
  6086 echo "$as_me: error: cannot compute sizeof (void *)
  6087 See \`config.log' for more details." >&2;}
  6088    { (exit 77); exit 77; }; }
  6089    else
  6090      ac_cv_sizeof_void_p=0
  6091    fi
  6092 fi
  6093 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6094 fi
  6095 rm -f conftest.val
  6096 fi
  6097 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  6098 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
  6102 cat >>confdefs.h <<_ACEOF
  6103 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  6104 _ACEOF
  6107 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6108 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  6109 if test "${ac_cv_header_stdc+set}" = set; then
  6110   echo $ECHO_N "(cached) $ECHO_C" >&6
  6111 else
  6112   cat >conftest.$ac_ext <<_ACEOF
  6113 /* confdefs.h.  */
  6114 _ACEOF
  6115 cat confdefs.h >>conftest.$ac_ext
  6116 cat >>conftest.$ac_ext <<_ACEOF
  6117 /* end confdefs.h.  */
  6118 #include <stdlib.h>
  6119 #include <stdarg.h>
  6120 #include <string.h>
  6121 #include <float.h>
  6123 int
  6124 main ()
  6128   return 0;
  6130 _ACEOF
  6131 rm -f conftest.$ac_objext
  6132 if { (ac_try="$ac_compile"
  6133 case "(($ac_try" in
  6134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6135   *) ac_try_echo=$ac_try;;
  6136 esac
  6137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6138   (eval "$ac_compile") 2>conftest.er1
  6139   ac_status=$?
  6140   grep -v '^ *+' conftest.er1 >conftest.err
  6141   rm -f conftest.er1
  6142   cat conftest.err >&5
  6143   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6144   (exit $ac_status); } && {
  6145 	 test -z "$ac_c_werror_flag" ||
  6146 	 test ! -s conftest.err
  6147        } && test -s conftest.$ac_objext; then
  6148   ac_cv_header_stdc=yes
  6149 else
  6150   echo "$as_me: failed program was:" >&5
  6151 sed 's/^/| /' conftest.$ac_ext >&5
  6153 	ac_cv_header_stdc=no
  6154 fi
  6156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6158 if test $ac_cv_header_stdc = yes; then
  6159   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6160   cat >conftest.$ac_ext <<_ACEOF
  6161 /* confdefs.h.  */
  6162 _ACEOF
  6163 cat confdefs.h >>conftest.$ac_ext
  6164 cat >>conftest.$ac_ext <<_ACEOF
  6165 /* end confdefs.h.  */
  6166 #include <string.h>
  6168 _ACEOF
  6169 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6170   $EGREP "memchr" >/dev/null 2>&1; then
  6172 else
  6173   ac_cv_header_stdc=no
  6174 fi
  6175 rm -f conftest*
  6177 fi
  6179 if test $ac_cv_header_stdc = yes; then
  6180   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6181   cat >conftest.$ac_ext <<_ACEOF
  6182 /* confdefs.h.  */
  6183 _ACEOF
  6184 cat confdefs.h >>conftest.$ac_ext
  6185 cat >>conftest.$ac_ext <<_ACEOF
  6186 /* end confdefs.h.  */
  6187 #include <stdlib.h>
  6189 _ACEOF
  6190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6191   $EGREP "free" >/dev/null 2>&1; then
  6193 else
  6194   ac_cv_header_stdc=no
  6195 fi
  6196 rm -f conftest*
  6198 fi
  6200 if test $ac_cv_header_stdc = yes; then
  6201   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6202   if test "$cross_compiling" = yes; then
  6204 else
  6205   cat >conftest.$ac_ext <<_ACEOF
  6206 /* confdefs.h.  */
  6207 _ACEOF
  6208 cat confdefs.h >>conftest.$ac_ext
  6209 cat >>conftest.$ac_ext <<_ACEOF
  6210 /* end confdefs.h.  */
  6211 #include <ctype.h>
  6212 #include <stdlib.h>
  6213 #if ((' ' & 0x0FF) == 0x020)
  6214 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6215 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6216 #else
  6217 # define ISLOWER(c) \
  6218 		   (('a' <= (c) && (c) <= 'i') \
  6219 		     || ('j' <= (c) && (c) <= 'r') \
  6220 		     || ('s' <= (c) && (c) <= 'z'))
  6221 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6222 #endif
  6224 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6225 int
  6226 main ()
  6228   int i;
  6229   for (i = 0; i < 256; i++)
  6230     if (XOR (islower (i), ISLOWER (i))
  6231 	|| toupper (i) != TOUPPER (i))
  6232       return 2;
  6233   return 0;
  6235 _ACEOF
  6236 rm -f conftest$ac_exeext
  6237 if { (ac_try="$ac_link"
  6238 case "(($ac_try" in
  6239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6240   *) ac_try_echo=$ac_try;;
  6241 esac
  6242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6243   (eval "$ac_link") 2>&5
  6244   ac_status=$?
  6245   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6246   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6247   { (case "(($ac_try" in
  6248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6249   *) ac_try_echo=$ac_try;;
  6250 esac
  6251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6252   (eval "$ac_try") 2>&5
  6253   ac_status=$?
  6254   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6255   (exit $ac_status); }; }; then
  6257 else
  6258   echo "$as_me: program exited with status $ac_status" >&5
  6259 echo "$as_me: failed program was:" >&5
  6260 sed 's/^/| /' conftest.$ac_ext >&5
  6262 ( exit $ac_status )
  6263 ac_cv_header_stdc=no
  6264 fi
  6265 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6266 fi
  6269 fi
  6270 fi
  6271 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6272 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  6273 if test $ac_cv_header_stdc = yes; then
  6275 cat >>confdefs.h <<\_ACEOF
  6276 #define STDC_HEADERS 1
  6277 _ACEOF
  6279 fi
  6281 # Make sure we can run config.sub.
  6282 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  6283   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  6284 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  6285    { (exit 1); exit 1; }; }
  6287 { echo "$as_me:$LINENO: checking build system type" >&5
  6288 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  6289 if test "${ac_cv_build+set}" = set; then
  6290   echo $ECHO_N "(cached) $ECHO_C" >&6
  6291 else
  6292   ac_build_alias=$build_alias
  6293 test "x$ac_build_alias" = x &&
  6294   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  6295 test "x$ac_build_alias" = x &&
  6296   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  6297 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  6298    { (exit 1); exit 1; }; }
  6299 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  6300   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  6301 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  6302    { (exit 1); exit 1; }; }
  6304 fi
  6305 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  6306 echo "${ECHO_T}$ac_cv_build" >&6; }
  6307 case $ac_cv_build in
  6308 *-*-*) ;;
  6309 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  6310 echo "$as_me: error: invalid value of canonical build" >&2;}
  6311    { (exit 1); exit 1; }; };;
  6312 esac
  6313 build=$ac_cv_build
  6314 ac_save_IFS=$IFS; IFS='-'
  6315 set x $ac_cv_build
  6316 shift
  6317 build_cpu=$1
  6318 build_vendor=$2
  6319 shift; shift
  6320 # Remember, the first character of IFS is used to create $*,
  6321 # except with old shells:
  6322 build_os=$*
  6323 IFS=$ac_save_IFS
  6324 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  6327 { echo "$as_me:$LINENO: checking host system type" >&5
  6328 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  6329 if test "${ac_cv_host+set}" = set; then
  6330   echo $ECHO_N "(cached) $ECHO_C" >&6
  6331 else
  6332   if test "x$host_alias" = x; then
  6333   ac_cv_host=$ac_cv_build
  6334 else
  6335   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  6336     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  6337 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  6338    { (exit 1); exit 1; }; }
  6339 fi
  6341 fi
  6342 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  6343 echo "${ECHO_T}$ac_cv_host" >&6; }
  6344 case $ac_cv_host in
  6345 *-*-*) ;;
  6346 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  6347 echo "$as_me: error: invalid value of canonical host" >&2;}
  6348    { (exit 1); exit 1; }; };;
  6349 esac
  6350 host=$ac_cv_host
  6351 ac_save_IFS=$IFS; IFS='-'
  6352 set x $ac_cv_host
  6353 shift
  6354 host_cpu=$1
  6355 host_vendor=$2
  6356 shift; shift
  6357 # Remember, the first character of IFS is used to create $*,
  6358 # except with old shells:
  6359 host_os=$*
  6360 IFS=$ac_save_IFS
  6361 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  6364 # Check whether --enable-trace was given.
  6365 if test "${enable_trace+set}" = set; then
  6366   enableval=$enable_trace; if test "$enableval" == "yes"; then
  6368 cat >>confdefs.h <<\_ACEOF
  6369 #define ENABLE_TRACE_IO 1
  6370 _ACEOF
  6372     fi
  6373 fi
  6375 # Check whether --enable-watch was given.
  6376 if test "${enable_watch+set}" = set; then
  6377   enableval=$enable_watch; if test "$enableval" == "yes"; then
  6379 cat >>confdefs.h <<\_ACEOF
  6380 #define ENABLE_WATCH 1
  6381 _ACEOF
  6383    fi
  6384 fi
  6386 # Check whether --enable-sh4stats was given.
  6387 if test "${enable_sh4stats+set}" = set; then
  6388   enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
  6390 cat >>confdefs.h <<\_ACEOF
  6391 #define ENABLE_SH4STATS 1
  6392 _ACEOF
  6394     fi
  6395 fi
  6398 # Check whether --with-osmesa was given.
  6399 if test "${with_osmesa+set}" = set; then
  6400   withval=$with_osmesa;
  6401 else
  6402   with_osmesa=no
  6403 fi
  6408 lxdream_save_cppflags="$CPPFLAGS"
  6409 CPPFLAGS="$CPPFLAGS -x objective-c"
  6410 cat >conftest.$ac_ext <<_ACEOF
  6411 /* confdefs.h.  */
  6412 _ACEOF
  6413 cat confdefs.h >>conftest.$ac_ext
  6414 cat >>conftest.$ac_ext <<_ACEOF
  6415 /* end confdefs.h.  */
  6416 @interface Foo @end
  6417 int
  6418 main ()
  6422   return 0;
  6424 _ACEOF
  6425 rm -f conftest.$ac_objext
  6426 if { (ac_try="$ac_compile"
  6427 case "(($ac_try" in
  6428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6429   *) ac_try_echo=$ac_try;;
  6430 esac
  6431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6432   (eval "$ac_compile") 2>conftest.er1
  6433   ac_status=$?
  6434   grep -v '^ *+' conftest.er1 >conftest.err
  6435   rm -f conftest.er1
  6436   cat conftest.err >&5
  6437   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6438   (exit $ac_status); } && {
  6439 	 test -z "$ac_c_werror_flag" ||
  6440 	 test ! -s conftest.err
  6441        } && test -s conftest.$ac_objext; then
  6444    if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6445   { echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  6446 echo $ECHO_N "checking for Cocoa/Cocoa.h... $ECHO_C" >&6; }
  6447 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6448   echo $ECHO_N "(cached) $ECHO_C" >&6
  6449 fi
  6450 { echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  6451 echo "${ECHO_T}$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  6452 else
  6453   # Is the header compilable?
  6454 { echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
  6455 echo $ECHO_N "checking Cocoa/Cocoa.h usability... $ECHO_C" >&6; }
  6456 cat >conftest.$ac_ext <<_ACEOF
  6457 /* confdefs.h.  */
  6458 _ACEOF
  6459 cat confdefs.h >>conftest.$ac_ext
  6460 cat >>conftest.$ac_ext <<_ACEOF
  6461 /* end confdefs.h.  */
  6462 $ac_includes_default
  6463 #include <Cocoa/Cocoa.h>
  6464 _ACEOF
  6465 rm -f conftest.$ac_objext
  6466 if { (ac_try="$ac_compile"
  6467 case "(($ac_try" in
  6468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6469   *) ac_try_echo=$ac_try;;
  6470 esac
  6471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6472   (eval "$ac_compile") 2>conftest.er1
  6473   ac_status=$?
  6474   grep -v '^ *+' conftest.er1 >conftest.err
  6475   rm -f conftest.er1
  6476   cat conftest.err >&5
  6477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6478   (exit $ac_status); } && {
  6479 	 test -z "$ac_c_werror_flag" ||
  6480 	 test ! -s conftest.err
  6481        } && test -s conftest.$ac_objext; then
  6482   ac_header_compiler=yes
  6483 else
  6484   echo "$as_me: failed program was:" >&5
  6485 sed 's/^/| /' conftest.$ac_ext >&5
  6487 	ac_header_compiler=no
  6488 fi
  6490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6491 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6492 echo "${ECHO_T}$ac_header_compiler" >&6; }
  6494 # Is the header present?
  6495 { echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
  6496 echo $ECHO_N "checking Cocoa/Cocoa.h presence... $ECHO_C" >&6; }
  6497 cat >conftest.$ac_ext <<_ACEOF
  6498 /* confdefs.h.  */
  6499 _ACEOF
  6500 cat confdefs.h >>conftest.$ac_ext
  6501 cat >>conftest.$ac_ext <<_ACEOF
  6502 /* end confdefs.h.  */
  6503 #include <Cocoa/Cocoa.h>
  6504 _ACEOF
  6505 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6506 case "(($ac_try" in
  6507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6508   *) ac_try_echo=$ac_try;;
  6509 esac
  6510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6511   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6512   ac_status=$?
  6513   grep -v '^ *+' conftest.er1 >conftest.err
  6514   rm -f conftest.er1
  6515   cat conftest.err >&5
  6516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6517   (exit $ac_status); } >/dev/null && {
  6518 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6519 	 test ! -s conftest.err
  6520        }; then
  6521   ac_header_preproc=yes
  6522 else
  6523   echo "$as_me: failed program was:" >&5
  6524 sed 's/^/| /' conftest.$ac_ext >&5
  6526   ac_header_preproc=no
  6527 fi
  6529 rm -f conftest.err conftest.$ac_ext
  6530 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6531 echo "${ECHO_T}$ac_header_preproc" >&6; }
  6533 # So?  What about this header?
  6534 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6535   yes:no: )
  6536     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6537 echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6538     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
  6539 echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
  6540     ac_header_preproc=yes
  6541     ;;
  6542   no:yes:* )
  6543     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
  6544 echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
  6545     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&5
  6546 echo "$as_me: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&2;}
  6547     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
  6548 echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
  6549     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&5
  6550 echo "$as_me: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6551     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&5
  6552 echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}
  6553     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&5
  6554 echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
  6556     ;;
  6557 esac
  6558 { echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  6559 echo $ECHO_N "checking for Cocoa/Cocoa.h... $ECHO_C" >&6; }
  6560 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6561   echo $ECHO_N "(cached) $ECHO_C" >&6
  6562 else
  6563   ac_cv_header_Cocoa_Cocoa_h=$ac_header_preproc
  6564 fi
  6565 { echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  6566 echo "${ECHO_T}$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  6568 fi
  6569 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
  6571       HAVE_COCOA='yes'
  6572       APPLE_BUILD='yes'
  6573       LIBS="$LIBS -framework AppKit"
  6574       LIBS="$LIBS -Wl,-dylib_file,/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework OpenGL"
  6576 cat >>confdefs.h <<\_ACEOF
  6577 #define HAVE_COCOA 1
  6578 _ACEOF
  6581 cat >>confdefs.h <<\_ACEOF
  6582 #define APPLE_BUILD 1
  6583 _ACEOF
  6586 fi
  6591 else
  6592   echo "$as_me: failed program was:" >&5
  6593 sed 's/^/| /' conftest.$ac_ext >&5
  6595 	CPPFLAGS="$lxdream_save_cppflags"
  6596 fi
  6598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6601 if test "$HAVE_COCOA" = 'yes'; then
  6602   GUI_COCOA_TRUE=
  6603   GUI_COCOA_FALSE='#'
  6604 else
  6605   GUI_COCOA_TRUE='#'
  6606   GUI_COCOA_FALSE=
  6607 fi
  6612 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  6613 	if test -n "$ac_tool_prefix"; then
  6614   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  6615 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  6616 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6618 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  6619   echo $ECHO_N "(cached) $ECHO_C" >&6
  6620 else
  6621   case $PKG_CONFIG in
  6622   [\\/]* | ?:[\\/]*)
  6623   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  6624   ;;
  6625   *)
  6626   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6627 for as_dir in $PATH
  6628 do
  6629   IFS=$as_save_IFS
  6630   test -z "$as_dir" && as_dir=.
  6631   for ac_exec_ext in '' $ac_executable_extensions; do
  6632   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6633     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  6634     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6635     break 2
  6636   fi
  6637 done
  6638 done
  6639 IFS=$as_save_IFS
  6641   ;;
  6642 esac
  6643 fi
  6644 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  6645 if test -n "$PKG_CONFIG"; then
  6646   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  6647 echo "${ECHO_T}$PKG_CONFIG" >&6; }
  6648 else
  6649   { echo "$as_me:$LINENO: result: no" >&5
  6650 echo "${ECHO_T}no" >&6; }
  6651 fi
  6654 fi
  6655 if test -z "$ac_cv_path_PKG_CONFIG"; then
  6656   ac_pt_PKG_CONFIG=$PKG_CONFIG
  6657   # Extract the first word of "pkg-config", so it can be a program name with args.
  6658 set dummy pkg-config; ac_word=$2
  6659 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6661 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  6662   echo $ECHO_N "(cached) $ECHO_C" >&6
  6663 else
  6664   case $ac_pt_PKG_CONFIG in
  6665   [\\/]* | ?:[\\/]*)
  6666   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  6667   ;;
  6668   *)
  6669   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6670 for as_dir in $PATH
  6671 do
  6672   IFS=$as_save_IFS
  6673   test -z "$as_dir" && as_dir=.
  6674   for ac_exec_ext in '' $ac_executable_extensions; do
  6675   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6676     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  6677     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6678     break 2
  6679   fi
  6680 done
  6681 done
  6682 IFS=$as_save_IFS
  6684   ;;
  6685 esac
  6686 fi
  6687 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  6688 if test -n "$ac_pt_PKG_CONFIG"; then
  6689   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  6690 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
  6691 else
  6692   { echo "$as_me:$LINENO: result: no" >&5
  6693 echo "${ECHO_T}no" >&6; }
  6694 fi
  6696   if test "x$ac_pt_PKG_CONFIG" = x; then
  6697     PKG_CONFIG=""
  6698   else
  6699     case $cross_compiling:$ac_tool_warned in
  6700 yes:)
  6701 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  6702 whose name does not start with the host triplet.  If you think this
  6703 configuration is useful to you, please write to autoconf@gnu.org." >&5
  6704 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6705 whose name does not start with the host triplet.  If you think this
  6706 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6707 ac_tool_warned=yes ;;
  6708 esac
  6709     PKG_CONFIG=$ac_pt_PKG_CONFIG
  6710   fi
  6711 else
  6712   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  6713 fi
  6715 fi
  6716 if test -n "$PKG_CONFIG"; then
  6717 	_pkg_min_version=0.9.0
  6718 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  6719 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
  6720 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  6721 		{ echo "$as_me:$LINENO: result: yes" >&5
  6722 echo "${ECHO_T}yes" >&6; }
  6723 	else
  6724 		{ echo "$as_me:$LINENO: result: no" >&5
  6725 echo "${ECHO_T}no" >&6; }
  6726 		PKG_CONFIG=""
  6727 	fi
  6729 fi
  6731 pkg_failed=no
  6732 { echo "$as_me:$LINENO: checking for LIBPNG" >&5
  6733 echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
  6735 if test -n "$PKG_CONFIG"; then
  6736     if test -n "$LIBPNG_CFLAGS"; then
  6737         pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
  6738     else
  6739         if test -n "$PKG_CONFIG" && \
  6740     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  6741   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  6742   ac_status=$?
  6743   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6744   (exit $ac_status); }; then
  6745   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
  6746 else
  6747   pkg_failed=yes
  6748 fi
  6749     fi
  6750 else
  6751 	pkg_failed=untried
  6752 fi
  6753 if test -n "$PKG_CONFIG"; then
  6754     if test -n "$LIBPNG_LIBS"; then
  6755         pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
  6756     else
  6757         if test -n "$PKG_CONFIG" && \
  6758     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  6759   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  6760   ac_status=$?
  6761   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6762   (exit $ac_status); }; then
  6763   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
  6764 else
  6765   pkg_failed=yes
  6766 fi
  6767     fi
  6768 else
  6769 	pkg_failed=untried
  6770 fi
  6774 if test $pkg_failed = yes; then
  6776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  6777         _pkg_short_errors_supported=yes
  6778 else
  6779         _pkg_short_errors_supported=no
  6780 fi
  6781         if test $_pkg_short_errors_supported = yes; then
  6782 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
  6783         else
  6784 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`