Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 664:728508bb08df
prev660:d1b2695347c6
next671:a530ea88eebd
author nkeynes
date Thu Apr 17 11:01:29 2008 +0000 (12 years ago)
permissions -rwxr-xr-x
last change Add spanish and italian translations (contributed by segnini75 and ghost22 respectively)
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)
  1379 Optional Packages:
  1380   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1381   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1382   --with-osmesa           Build with the osmesa GL library (software
  1383                           rendering)
  1385 Some influential environment variables:
  1386   CC          C compiler command
  1387   CFLAGS      C compiler flags
  1388   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1389               nonstandard directory <lib dir>
  1390   LIBS        libraries to pass to the linker, e.g. -l<library>
  1391   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1392               you have headers in a nonstandard directory <include dir>
  1393   CCAS        assembler compiler command (defaults to CC)
  1394   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1395   CPP         C preprocessor
  1396   PKG_CONFIG  path to pkg-config utility
  1397   LIBPNG_CFLAGS
  1398               C compiler flags for LIBPNG, overriding pkg-config
  1399   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1400   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1401   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1402   PULSE_CFLAGS
  1403               C compiler flags for PULSE, overriding pkg-config
  1404   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1405   ESOUND_CFLAGS
  1406               C compiler flags for ESOUND, overriding pkg-config
  1407   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1408   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1409   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1411 Use these variables to override the choices made by `configure' or to help
  1412 it to find libraries and programs with nonstandard names/locations.
  1414 _ACEOF
  1415 ac_status=$?
  1416 fi
  1418 if test "$ac_init_help" = "recursive"; then
  1419   # If there are subdirs, report their specific --help.
  1420   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1421     test -d "$ac_dir" || continue
  1422     ac_builddir=.
  1424 case "$ac_dir" in
  1425 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1426 *)
  1427   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1428   # A ".." for each directory in $ac_dir_suffix.
  1429   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1430   case $ac_top_builddir_sub in
  1431   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1432   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1433   esac ;;
  1434 esac
  1435 ac_abs_top_builddir=$ac_pwd
  1436 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1437 # for backward compatibility:
  1438 ac_top_builddir=$ac_top_build_prefix
  1440 case $srcdir in
  1441   .)  # We are building in place.
  1442     ac_srcdir=.
  1443     ac_top_srcdir=$ac_top_builddir_sub
  1444     ac_abs_top_srcdir=$ac_pwd ;;
  1445   [\\/]* | ?:[\\/]* )  # Absolute name.
  1446     ac_srcdir=$srcdir$ac_dir_suffix;
  1447     ac_top_srcdir=$srcdir
  1448     ac_abs_top_srcdir=$srcdir ;;
  1449   *) # Relative name.
  1450     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1451     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1452     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1453 esac
  1454 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1456     cd "$ac_dir" || { ac_status=$?; continue; }
  1457     # Check for guested configure.
  1458     if test -f "$ac_srcdir/configure.gnu"; then
  1459       echo &&
  1460       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1461     elif test -f "$ac_srcdir/configure"; then
  1462       echo &&
  1463       $SHELL "$ac_srcdir/configure" --help=recursive
  1464     else
  1465       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1466     fi || ac_status=$?
  1467     cd "$ac_pwd" || { ac_status=$?; break; }
  1468   done
  1469 fi
  1471 test -n "$ac_init_help" && exit $ac_status
  1472 if $ac_init_version; then
  1473   cat <<\_ACEOF
  1474 configure
  1475 generated by GNU Autoconf 2.61
  1477 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1478 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1479 This configure script is free software; the Free Software Foundation
  1480 gives unlimited permission to copy, distribute and modify it.
  1481 _ACEOF
  1482   exit
  1483 fi
  1484 cat >config.log <<_ACEOF
  1485 This file contains any messages produced by compilers while
  1486 running configure, to aid debugging if configure makes a mistake.
  1488 It was created by $as_me, which was
  1489 generated by GNU Autoconf 2.61.  Invocation command line was
  1491   $ $0 $@
  1493 _ACEOF
  1494 exec 5>>config.log
  1496 cat <<_ASUNAME
  1497 ## --------- ##
  1498 ## Platform. ##
  1499 ## --------- ##
  1501 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1502 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1503 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1504 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1505 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1507 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1508 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1510 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1511 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1512 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1513 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1514 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1515 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1516 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1518 _ASUNAME
  1520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1521 for as_dir in $PATH
  1522 do
  1523   IFS=$as_save_IFS
  1524   test -z "$as_dir" && as_dir=.
  1525   echo "PATH: $as_dir"
  1526 done
  1527 IFS=$as_save_IFS
  1529 } >&5
  1531 cat >&5 <<_ACEOF
  1534 ## ----------- ##
  1535 ## Core tests. ##
  1536 ## ----------- ##
  1538 _ACEOF
  1541 # Keep a trace of the command line.
  1542 # Strip out --no-create and --no-recursion so they do not pile up.
  1543 # Strip out --silent because we don't want to record it for future runs.
  1544 # Also quote any args containing shell meta-characters.
  1545 # Make two passes to allow for proper duplicate-argument suppression.
  1546 ac_configure_args=
  1547 ac_configure_args0=
  1548 ac_configure_args1=
  1549 ac_must_keep_next=false
  1550 for ac_pass in 1 2
  1551 do
  1552   for ac_arg
  1553   do
  1554     case $ac_arg in
  1555     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1556     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1557     | -silent | --silent | --silen | --sile | --sil)
  1558       continue ;;
  1559     *\'*)
  1560       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1561     esac
  1562     case $ac_pass in
  1563     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1564     2)
  1565       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1566       if test $ac_must_keep_next = true; then
  1567 	ac_must_keep_next=false # Got value, back to normal.
  1568       else
  1569 	case $ac_arg in
  1570 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1571 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1572 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1573 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1574 	    case "$ac_configure_args0 " in
  1575 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1576 	    esac
  1577 	    ;;
  1578 	  -* ) ac_must_keep_next=true ;;
  1579 	esac
  1580       fi
  1581       ac_configure_args="$ac_configure_args '$ac_arg'"
  1582       ;;
  1583     esac
  1584   done
  1585 done
  1586 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1587 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1589 # When interrupted or exit'd, cleanup temporary files, and complete
  1590 # config.log.  We remove comments because anyway the quotes in there
  1591 # would cause problems or look ugly.
  1592 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1593 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1594 trap 'exit_status=$?
  1595   # Save into config.log some information that might help in debugging.
  1597     echo
  1599     cat <<\_ASBOX
  1600 ## ---------------- ##
  1601 ## Cache variables. ##
  1602 ## ---------------- ##
  1603 _ASBOX
  1604     echo
  1605     # The following way of writing the cache mishandles newlines in values,
  1607   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1608     eval ac_val=\$$ac_var
  1609     case $ac_val in #(
  1610     *${as_nl}*)
  1611       case $ac_var in #(
  1612       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1613 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1614       esac
  1615       case $ac_var in #(
  1616       _ | IFS | as_nl) ;; #(
  1617       *) $as_unset $ac_var ;;
  1618       esac ;;
  1619     esac
  1620   done
  1621   (set) 2>&1 |
  1622     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1623     *${as_nl}ac_space=\ *)
  1624       sed -n \
  1625 	"s/'\''/'\''\\\\'\'''\''/g;
  1626 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1627       ;; #(
  1628     *)
  1629       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1630       ;;
  1631     esac |
  1632     sort
  1634     echo
  1636     cat <<\_ASBOX
  1637 ## ----------------- ##
  1638 ## Output variables. ##
  1639 ## ----------------- ##
  1640 _ASBOX
  1641     echo
  1642     for ac_var in $ac_subst_vars
  1643     do
  1644       eval ac_val=\$$ac_var
  1645       case $ac_val in
  1646       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1647       esac
  1648       echo "$ac_var='\''$ac_val'\''"
  1649     done | sort
  1650     echo
  1652     if test -n "$ac_subst_files"; then
  1653       cat <<\_ASBOX
  1654 ## ------------------- ##
  1655 ## File substitutions. ##
  1656 ## ------------------- ##
  1657 _ASBOX
  1658       echo
  1659       for ac_var in $ac_subst_files
  1660       do
  1661 	eval ac_val=\$$ac_var
  1662 	case $ac_val in
  1663 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1664 	esac
  1665 	echo "$ac_var='\''$ac_val'\''"
  1666       done | sort
  1667       echo
  1668     fi
  1670     if test -s confdefs.h; then
  1671       cat <<\_ASBOX
  1672 ## ----------- ##
  1673 ## confdefs.h. ##
  1674 ## ----------- ##
  1675 _ASBOX
  1676       echo
  1677       cat confdefs.h
  1678       echo
  1679     fi
  1680     test "$ac_signal" != 0 &&
  1681       echo "$as_me: caught signal $ac_signal"
  1682     echo "$as_me: exit $exit_status"
  1683   } >&5
  1684   rm -f core *.core core.conftest.* &&
  1685     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1686     exit $exit_status
  1687 ' 0
  1688 for ac_signal in 1 2 13 15; do
  1689   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1690 done
  1691 ac_signal=0
  1693 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1694 rm -f -r conftest* confdefs.h
  1696 # Predefined preprocessor variables.
  1698 cat >>confdefs.h <<_ACEOF
  1699 #define PACKAGE_NAME "$PACKAGE_NAME"
  1700 _ACEOF
  1703 cat >>confdefs.h <<_ACEOF
  1704 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1705 _ACEOF
  1708 cat >>confdefs.h <<_ACEOF
  1709 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1710 _ACEOF
  1713 cat >>confdefs.h <<_ACEOF
  1714 #define PACKAGE_STRING "$PACKAGE_STRING"
  1715 _ACEOF
  1718 cat >>confdefs.h <<_ACEOF
  1719 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1720 _ACEOF
  1723 # Let the site file select an alternate cache file if it wants to.
  1724 # Prefer explicitly selected file to automatically selected ones.
  1725 if test -n "$CONFIG_SITE"; then
  1726   set x "$CONFIG_SITE"
  1727 elif test "x$prefix" != xNONE; then
  1728   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1729 else
  1730   set x "$ac_default_prefix/share/config.site" \
  1731 	"$ac_default_prefix/etc/config.site"
  1732 fi
  1733 shift
  1734 for ac_site_file
  1735 do
  1736   if test -r "$ac_site_file"; then
  1737     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1738 echo "$as_me: loading site script $ac_site_file" >&6;}
  1739     sed 's/^/| /' "$ac_site_file" >&5
  1740     . "$ac_site_file"
  1741   fi
  1742 done
  1744 if test -r "$cache_file"; then
  1745   # Some versions of bash will fail to source /dev/null (special
  1746   # files actually), so we avoid doing that.
  1747   if test -f "$cache_file"; then
  1748     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1749 echo "$as_me: loading cache $cache_file" >&6;}
  1750     case $cache_file in
  1751       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1752       *)                      . "./$cache_file";;
  1753     esac
  1754   fi
  1755 else
  1756   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1757 echo "$as_me: creating cache $cache_file" >&6;}
  1758   >$cache_file
  1759 fi
  1761 # Check that the precious variables saved in the cache have kept the same
  1762 # value.
  1763 ac_cache_corrupted=false
  1764 for ac_var in $ac_precious_vars; do
  1765   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1766   eval ac_new_set=\$ac_env_${ac_var}_set
  1767   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1768   eval ac_new_val=\$ac_env_${ac_var}_value
  1769   case $ac_old_set,$ac_new_set in
  1770     set,)
  1771       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1772 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1773       ac_cache_corrupted=: ;;
  1774     ,set)
  1775       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1776 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1777       ac_cache_corrupted=: ;;
  1778     ,);;
  1779     *)
  1780       if test "x$ac_old_val" != "x$ac_new_val"; then
  1781 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1782 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1783 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1784 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1785 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1786 echo "$as_me:   current value: $ac_new_val" >&2;}
  1787 	ac_cache_corrupted=:
  1788       fi;;
  1789   esac
  1790   # Pass precious variables to config.status.
  1791   if test "$ac_new_set" = set; then
  1792     case $ac_new_val in
  1793     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1794     *) ac_arg=$ac_var=$ac_new_val ;;
  1795     esac
  1796     case " $ac_configure_args " in
  1797       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1798       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1799     esac
  1800   fi
  1801 done
  1802 if $ac_cache_corrupted; then
  1803   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1804 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1805   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1806 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1807    { (exit 1); exit 1; }; }
  1808 fi
  1826 ac_ext=c
  1827 ac_cpp='$CPP $CPPFLAGS'
  1828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1833 am__api_version="1.9"
  1834 ac_aux_dir=
  1835 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1836   if test -f "$ac_dir/install-sh"; then
  1837     ac_aux_dir=$ac_dir
  1838     ac_install_sh="$ac_aux_dir/install-sh -c"
  1839     break
  1840   elif test -f "$ac_dir/install.sh"; then
  1841     ac_aux_dir=$ac_dir
  1842     ac_install_sh="$ac_aux_dir/install.sh -c"
  1843     break
  1844   elif test -f "$ac_dir/shtool"; then
  1845     ac_aux_dir=$ac_dir
  1846     ac_install_sh="$ac_aux_dir/shtool install -c"
  1847     break
  1848   fi
  1849 done
  1850 if test -z "$ac_aux_dir"; then
  1851   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1852 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1853    { (exit 1); exit 1; }; }
  1854 fi
  1856 # These three variables are undocumented and unsupported,
  1857 # and are intended to be withdrawn in a future Autoconf release.
  1858 # They can cause serious problems if a builder's source tree is in a directory
  1859 # whose full name contains unusual characters.
  1860 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1861 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1862 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1865 # Find a good install program.  We prefer a C program (faster),
  1866 # so one script is as good as another.  But avoid the broken or
  1867 # incompatible versions:
  1868 # SysV /etc/install, /usr/sbin/install
  1869 # SunOS /usr/etc/install
  1870 # IRIX /sbin/install
  1871 # AIX /bin/install
  1872 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1873 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1874 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1875 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1876 # OS/2's system install, which has a completely different semantic
  1877 # ./install, which can be erroneously created by make from ./install.sh.
  1878 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1879 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1880 if test -z "$INSTALL"; then
  1881 if test "${ac_cv_path_install+set}" = set; then
  1882   echo $ECHO_N "(cached) $ECHO_C" >&6
  1883 else
  1884   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1885 for as_dir in $PATH
  1886 do
  1887   IFS=$as_save_IFS
  1888   test -z "$as_dir" && as_dir=.
  1889   # Account for people who put trailing slashes in PATH elements.
  1890 case $as_dir/ in
  1891   ./ | .// | /cC/* | \
  1892   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1893   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1894   /usr/ucb/* ) ;;
  1895   *)
  1896     # OSF1 and SCO ODT 3.0 have their own names for install.
  1897     # Don't use installbsd from OSF since it installs stuff as root
  1898     # by default.
  1899     for ac_prog in ginstall scoinst install; do
  1900       for ac_exec_ext in '' $ac_executable_extensions; do
  1901 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1902 	  if test $ac_prog = install &&
  1903 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1904 	    # AIX install.  It has an incompatible calling convention.
  1906 	  elif test $ac_prog = install &&
  1907 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  1908 	    # program-specific install script used by HP pwplus--don't use.
  1910 	  else
  1911 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  1912 	    break 3
  1913 	  fi
  1914 	fi
  1915       done
  1916     done
  1917     ;;
  1918 esac
  1919 done
  1920 IFS=$as_save_IFS
  1923 fi
  1924   if test "${ac_cv_path_install+set}" = set; then
  1925     INSTALL=$ac_cv_path_install
  1926   else
  1927     # As a last resort, use the slow shell script.  Don't cache a
  1928     # value for INSTALL within a source directory, because that will
  1929     # break other packages using the cache if that directory is
  1930     # removed, or if the value is a relative name.
  1931     INSTALL=$ac_install_sh
  1932   fi
  1933 fi
  1934 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  1935 echo "${ECHO_T}$INSTALL" >&6; }
  1937 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  1938 # It thinks the first close brace ends the variable substitution.
  1939 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  1941 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  1943 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  1945 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  1946 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  1947 # Just in case
  1948 sleep 1
  1949 echo timestamp > conftest.file
  1950 # Do `set' in a subshell so we don't clobber the current shell's
  1951 # arguments.  Must try -L first in case configure is actually a
  1952 # symlink; some systems play weird games with the mod time of symlinks
  1953 # (eg FreeBSD returns the mod time of the symlink's containing
  1954 # directory).
  1955 if (
  1956    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  1957    if test "$*" = "X"; then
  1958       # -L didn't work.
  1959       set X `ls -t $srcdir/configure conftest.file`
  1960    fi
  1961    rm -f conftest.file
  1962    if test "$*" != "X $srcdir/configure conftest.file" \
  1963       && test "$*" != "X conftest.file $srcdir/configure"; then
  1965       # If neither matched, then we have a broken ls.  This can happen
  1966       # if, for instance, CONFIG_SHELL is bash and it inherits a
  1967       # broken ls alias from the environment.  This has actually
  1968       # happened.  Such a system could not be considered "sane".
  1969       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  1970 alias in your environment" >&5
  1971 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  1972 alias in your environment" >&2;}
  1973    { (exit 1); exit 1; }; }
  1974    fi
  1976    test "$2" = conftest.file
  1978 then
  1979    # Ok.
  1981 else
  1982    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  1983 Check your system clock" >&5
  1984 echo "$as_me: error: newly created file is older than distributed files!
  1985 Check your system clock" >&2;}
  1986    { (exit 1); exit 1; }; }
  1987 fi
  1988 { echo "$as_me:$LINENO: result: yes" >&5
  1989 echo "${ECHO_T}yes" >&6; }
  1990 test "$program_prefix" != NONE &&
  1991   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  1992 # Use a double $ so make ignores it.
  1993 test "$program_suffix" != NONE &&
  1994   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  1995 # Double any \ or $.  echo might interpret backslashes.
  1996 # By default was `s,x,x', remove it if useless.
  1997 cat <<\_ACEOF >conftest.sed
  1998 s/[\\$]/&&/g;s/;s,x,x,$//
  1999 _ACEOF
  2000 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  2001 rm -f conftest.sed
  2003 # expand $ac_aux_dir to an absolute path
  2004 am_aux_dir=`cd $ac_aux_dir && pwd`
  2006 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2007 # Use eval to expand $SHELL
  2008 if eval "$MISSING --run true"; then
  2009   am_missing_run="$MISSING --run "
  2010 else
  2011   am_missing_run=
  2012   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2013 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2014 fi
  2016 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2017   # We used to keeping the `.' as first argument, in order to
  2018   # allow $(mkdir_p) to be used without argument.  As in
  2019   #   $(mkdir_p) $(somedir)
  2020   # where $(somedir) is conditionally defined.  However this is wrong
  2021   # for two reasons:
  2022   #  1. if the package is installed by a user who cannot write `.'
  2023   #     make install will fail,
  2024   #  2. the above comment should most certainly read
  2025   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2026   #     so it does not work when $(somedir) is undefined and
  2027   #     $(DESTDIR) is not.
  2028   #  To support the latter case, we have to write
  2029   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2030   #  so the `.' trick is pointless.
  2031   mkdir_p='mkdir -p --'
  2032 else
  2033   # On NextStep and OpenStep, the `mkdir' command does not
  2034   # recognize any option.  It will interpret all options as
  2035   # directories to create, and then abort because `.' already
  2036   # exists.
  2037   for d in ./-p ./--version;
  2038   do
  2039     test -d $d && rmdir $d
  2040   done
  2041   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2042   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2043     mkdir_p='$(mkinstalldirs)'
  2044   else
  2045     mkdir_p='$(install_sh) -d'
  2046   fi
  2047 fi
  2049 for ac_prog in gawk mawk nawk awk
  2050 do
  2051   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2052 set dummy $ac_prog; ac_word=$2
  2053 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2054 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2055 if test "${ac_cv_prog_AWK+set}" = set; then
  2056   echo $ECHO_N "(cached) $ECHO_C" >&6
  2057 else
  2058   if test -n "$AWK"; then
  2059   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2060 else
  2061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2062 for as_dir in $PATH
  2063 do
  2064   IFS=$as_save_IFS
  2065   test -z "$as_dir" && as_dir=.
  2066   for ac_exec_ext in '' $ac_executable_extensions; do
  2067   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2068     ac_cv_prog_AWK="$ac_prog"
  2069     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2070     break 2
  2071   fi
  2072 done
  2073 done
  2074 IFS=$as_save_IFS
  2076 fi
  2077 fi
  2078 AWK=$ac_cv_prog_AWK
  2079 if test -n "$AWK"; then
  2080   { echo "$as_me:$LINENO: result: $AWK" >&5
  2081 echo "${ECHO_T}$AWK" >&6; }
  2082 else
  2083   { echo "$as_me:$LINENO: result: no" >&5
  2084 echo "${ECHO_T}no" >&6; }
  2085 fi
  2088   test -n "$AWK" && break
  2089 done
  2091 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2092 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2093 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2094 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2095   echo $ECHO_N "(cached) $ECHO_C" >&6
  2096 else
  2097   cat >conftest.make <<\_ACEOF
  2098 SHELL = /bin/sh
  2099 all:
  2100 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2101 _ACEOF
  2102 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2103 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2104   *@@@%%%=?*=@@@%%%*)
  2105     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2106   *)
  2107     eval ac_cv_prog_make_${ac_make}_set=no;;
  2108 esac
  2109 rm -f conftest.make
  2110 fi
  2111 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2112   { echo "$as_me:$LINENO: result: yes" >&5
  2113 echo "${ECHO_T}yes" >&6; }
  2114   SET_MAKE=
  2115 else
  2116   { echo "$as_me:$LINENO: result: no" >&5
  2117 echo "${ECHO_T}no" >&6; }
  2118   SET_MAKE="MAKE=${MAKE-make}"
  2119 fi
  2121 rm -rf .tst 2>/dev/null
  2122 mkdir .tst 2>/dev/null
  2123 if test -d .tst; then
  2124   am__leading_dot=.
  2125 else
  2126   am__leading_dot=_
  2127 fi
  2128 rmdir .tst 2>/dev/null
  2130 # test to see if srcdir already configured
  2131 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2132    test -f $srcdir/config.status; then
  2133   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2134 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2135    { (exit 1); exit 1; }; }
  2136 fi
  2138 # test whether we have cygpath
  2139 if test -z "$CYGPATH_W"; then
  2140   if (cygpath --version) >/dev/null 2>/dev/null; then
  2141     CYGPATH_W='cygpath -w'
  2142   else
  2143     CYGPATH_W=echo
  2144   fi
  2145 fi
  2148 # Define the identity of the package.
  2149  PACKAGE=lxdream
  2150  VERSION=0.8.1
  2153 cat >>confdefs.h <<_ACEOF
  2154 #define PACKAGE "$PACKAGE"
  2155 _ACEOF
  2158 cat >>confdefs.h <<_ACEOF
  2159 #define VERSION "$VERSION"
  2160 _ACEOF
  2162 # Some tools Automake needs.
  2164 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2167 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2170 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2173 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2176 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2178 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2180 # Installed binaries are usually stripped using `strip' when the user
  2181 # run `make install-strip'.  However `strip' might not be the right
  2182 # tool to use in cross-compilation environments, therefore Automake
  2183 # will honor the `STRIP' environment variable to overrule this program.
  2184 if test "$cross_compiling" != no; then
  2185   if test -n "$ac_tool_prefix"; then
  2186   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2187 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2188 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2189 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2190 if test "${ac_cv_prog_STRIP+set}" = set; then
  2191   echo $ECHO_N "(cached) $ECHO_C" >&6
  2192 else
  2193   if test -n "$STRIP"; then
  2194   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2195 else
  2196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2197 for as_dir in $PATH
  2198 do
  2199   IFS=$as_save_IFS
  2200   test -z "$as_dir" && as_dir=.
  2201   for ac_exec_ext in '' $ac_executable_extensions; do
  2202   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2203     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2204     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2205     break 2
  2206   fi
  2207 done
  2208 done
  2209 IFS=$as_save_IFS
  2211 fi
  2212 fi
  2213 STRIP=$ac_cv_prog_STRIP
  2214 if test -n "$STRIP"; then
  2215   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2216 echo "${ECHO_T}$STRIP" >&6; }
  2217 else
  2218   { echo "$as_me:$LINENO: result: no" >&5
  2219 echo "${ECHO_T}no" >&6; }
  2220 fi
  2223 fi
  2224 if test -z "$ac_cv_prog_STRIP"; then
  2225   ac_ct_STRIP=$STRIP
  2226   # Extract the first word of "strip", so it can be a program name with args.
  2227 set dummy strip; ac_word=$2
  2228 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2229 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2230 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2231   echo $ECHO_N "(cached) $ECHO_C" >&6
  2232 else
  2233   if test -n "$ac_ct_STRIP"; then
  2234   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2235 else
  2236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2237 for as_dir in $PATH
  2238 do
  2239   IFS=$as_save_IFS
  2240   test -z "$as_dir" && as_dir=.
  2241   for ac_exec_ext in '' $ac_executable_extensions; do
  2242   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2243     ac_cv_prog_ac_ct_STRIP="strip"
  2244     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2245     break 2
  2246   fi
  2247 done
  2248 done
  2249 IFS=$as_save_IFS
  2251 fi
  2252 fi
  2253 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2254 if test -n "$ac_ct_STRIP"; then
  2255   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2256 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2257 else
  2258   { echo "$as_me:$LINENO: result: no" >&5
  2259 echo "${ECHO_T}no" >&6; }
  2260 fi
  2262   if test "x$ac_ct_STRIP" = x; then
  2263     STRIP=":"
  2264   else
  2265     case $cross_compiling:$ac_tool_warned in
  2266 yes:)
  2267 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2268 whose name does not start with the host triplet.  If you think this
  2269 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2270 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2271 whose name does not start with the host triplet.  If you think this
  2272 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2273 ac_tool_warned=yes ;;
  2274 esac
  2275     STRIP=$ac_ct_STRIP
  2276   fi
  2277 else
  2278   STRIP="$ac_cv_prog_STRIP"
  2279 fi
  2281 fi
  2282 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2284 # We need awk for the "check" target.  The system "awk" is bad on
  2285 # some platforms.
  2286 # Always define AMTAR for backward compatibility.
  2288 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2290 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2296 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2297 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2298     # Check whether --enable-maintainer-mode was given.
  2299 if test "${enable_maintainer_mode+set}" = set; then
  2300   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2301 else
  2302   USE_MAINTAINER_MODE=no
  2303 fi
  2305   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2306 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2309 if test $USE_MAINTAINER_MODE = yes; then
  2310   MAINTAINER_MODE_TRUE=
  2311   MAINTAINER_MODE_FALSE='#'
  2312 else
  2313   MAINTAINER_MODE_TRUE='#'
  2314   MAINTAINER_MODE_FALSE=
  2315 fi
  2317   MAINT=$MAINTAINER_MODE_TRUE
  2320 ac_config_headers="$ac_config_headers config.h"
  2323 DEPDIR="${am__leading_dot}deps"
  2325 ac_config_commands="$ac_config_commands depfiles"
  2328 am_make=${MAKE-make}
  2329 cat > confinc << 'END'
  2330 am__doit:
  2331 	@echo done
  2332 .PHONY: am__doit
  2333 END
  2334 # If we don't find an include directive, just comment out the code.
  2335 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2336 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2337 am__include="#"
  2338 am__quote=
  2339 _am_result=none
  2340 # First try GNU make style include.
  2341 echo "include confinc" > confmf
  2342 # We grep out `Entering directory' and `Leaving directory'
  2343 # messages which can occur if `w' ends up in MAKEFLAGS.
  2344 # In particular we don't look at `^make:' because GNU make might
  2345 # be invoked under some other name (usually "gmake"), in which
  2346 # case it prints its new name instead of `make'.
  2347 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2348    am__include=include
  2349    am__quote=
  2350    _am_result=GNU
  2351 fi
  2352 # Now try BSD make style include.
  2353 if test "$am__include" = "#"; then
  2354    echo '.include "confinc"' > confmf
  2355    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2356       am__include=.include
  2357       am__quote="\""
  2358       _am_result=BSD
  2359    fi
  2360 fi
  2363 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2364 echo "${ECHO_T}$_am_result" >&6; }
  2365 rm -f confinc confmf
  2367 # Check whether --enable-dependency-tracking was given.
  2368 if test "${enable_dependency_tracking+set}" = set; then
  2369   enableval=$enable_dependency_tracking;
  2370 fi
  2372 if test "x$enable_dependency_tracking" != xno; then
  2373   am_depcomp="$ac_aux_dir/depcomp"
  2374   AMDEPBACKSLASH='\'
  2375 fi
  2378 if test "x$enable_dependency_tracking" != xno; then
  2379   AMDEP_TRUE=
  2380   AMDEP_FALSE='#'
  2381 else
  2382   AMDEP_TRUE='#'
  2383   AMDEP_FALSE=
  2384 fi
  2388 ac_ext=c
  2389 ac_cpp='$CPP $CPPFLAGS'
  2390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2393 if test -n "$ac_tool_prefix"; then
  2394   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2395 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2396 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2397 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2398 if test "${ac_cv_prog_CC+set}" = set; then
  2399   echo $ECHO_N "(cached) $ECHO_C" >&6
  2400 else
  2401   if test -n "$CC"; then
  2402   ac_cv_prog_CC="$CC" # Let the user override the test.
  2403 else
  2404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2405 for as_dir in $PATH
  2406 do
  2407   IFS=$as_save_IFS
  2408   test -z "$as_dir" && as_dir=.
  2409   for ac_exec_ext in '' $ac_executable_extensions; do
  2410   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2411     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2412     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2413     break 2
  2414   fi
  2415 done
  2416 done
  2417 IFS=$as_save_IFS
  2419 fi
  2420 fi
  2421 CC=$ac_cv_prog_CC
  2422 if test -n "$CC"; then
  2423   { echo "$as_me:$LINENO: result: $CC" >&5
  2424 echo "${ECHO_T}$CC" >&6; }
  2425 else
  2426   { echo "$as_me:$LINENO: result: no" >&5
  2427 echo "${ECHO_T}no" >&6; }
  2428 fi
  2431 fi
  2432 if test -z "$ac_cv_prog_CC"; then
  2433   ac_ct_CC=$CC
  2434   # Extract the first word of "gcc", so it can be a program name with args.
  2435 set dummy gcc; ac_word=$2
  2436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2438 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2439   echo $ECHO_N "(cached) $ECHO_C" >&6
  2440 else
  2441   if test -n "$ac_ct_CC"; then
  2442   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2443 else
  2444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2445 for as_dir in $PATH
  2446 do
  2447   IFS=$as_save_IFS
  2448   test -z "$as_dir" && as_dir=.
  2449   for ac_exec_ext in '' $ac_executable_extensions; do
  2450   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2451     ac_cv_prog_ac_ct_CC="gcc"
  2452     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2453     break 2
  2454   fi
  2455 done
  2456 done
  2457 IFS=$as_save_IFS
  2459 fi
  2460 fi
  2461 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2462 if test -n "$ac_ct_CC"; then
  2463   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2464 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2465 else
  2466   { echo "$as_me:$LINENO: result: no" >&5
  2467 echo "${ECHO_T}no" >&6; }
  2468 fi
  2470   if test "x$ac_ct_CC" = x; then
  2471     CC=""
  2472   else
  2473     case $cross_compiling:$ac_tool_warned in
  2474 yes:)
  2475 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2476 whose name does not start with the host triplet.  If you think this
  2477 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2478 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2479 whose name does not start with the host triplet.  If you think this
  2480 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2481 ac_tool_warned=yes ;;
  2482 esac
  2483     CC=$ac_ct_CC
  2484   fi
  2485 else
  2486   CC="$ac_cv_prog_CC"
  2487 fi
  2489 if test -z "$CC"; then
  2490           if test -n "$ac_tool_prefix"; then
  2491     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2492 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2495 if test "${ac_cv_prog_CC+set}" = set; then
  2496   echo $ECHO_N "(cached) $ECHO_C" >&6
  2497 else
  2498   if test -n "$CC"; then
  2499   ac_cv_prog_CC="$CC" # Let the user override the test.
  2500 else
  2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2502 for as_dir in $PATH
  2503 do
  2504   IFS=$as_save_IFS
  2505   test -z "$as_dir" && as_dir=.
  2506   for ac_exec_ext in '' $ac_executable_extensions; do
  2507   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2508     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2509     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2510     break 2
  2511   fi
  2512 done
  2513 done
  2514 IFS=$as_save_IFS
  2516 fi
  2517 fi
  2518 CC=$ac_cv_prog_CC
  2519 if test -n "$CC"; then
  2520   { echo "$as_me:$LINENO: result: $CC" >&5
  2521 echo "${ECHO_T}$CC" >&6; }
  2522 else
  2523   { echo "$as_me:$LINENO: result: no" >&5
  2524 echo "${ECHO_T}no" >&6; }
  2525 fi
  2528   fi
  2529 fi
  2530 if test -z "$CC"; then
  2531   # Extract the first word of "cc", so it can be a program name with args.
  2532 set dummy cc; ac_word=$2
  2533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2535 if test "${ac_cv_prog_CC+set}" = set; then
  2536   echo $ECHO_N "(cached) $ECHO_C" >&6
  2537 else
  2538   if test -n "$CC"; then
  2539   ac_cv_prog_CC="$CC" # Let the user override the test.
  2540 else
  2541   ac_prog_rejected=no
  2542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2543 for as_dir in $PATH
  2544 do
  2545   IFS=$as_save_IFS
  2546   test -z "$as_dir" && as_dir=.
  2547   for ac_exec_ext in '' $ac_executable_extensions; do
  2548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2549     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2550        ac_prog_rejected=yes
  2551        continue
  2552      fi
  2553     ac_cv_prog_CC="cc"
  2554     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2555     break 2
  2556   fi
  2557 done
  2558 done
  2559 IFS=$as_save_IFS
  2561 if test $ac_prog_rejected = yes; then
  2562   # We found a bogon in the path, so make sure we never use it.
  2563   set dummy $ac_cv_prog_CC
  2564   shift
  2565   if test $# != 0; then
  2566     # We chose a different compiler from the bogus one.
  2567     # However, it has the same basename, so the bogon will be chosen
  2568     # first if we set CC to just the basename; use the full file name.
  2569     shift
  2570     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2571   fi
  2572 fi
  2573 fi
  2574 fi
  2575 CC=$ac_cv_prog_CC
  2576 if test -n "$CC"; then
  2577   { echo "$as_me:$LINENO: result: $CC" >&5
  2578 echo "${ECHO_T}$CC" >&6; }
  2579 else
  2580   { echo "$as_me:$LINENO: result: no" >&5
  2581 echo "${ECHO_T}no" >&6; }
  2582 fi
  2585 fi
  2586 if test -z "$CC"; then
  2587   if test -n "$ac_tool_prefix"; then
  2588   for ac_prog in cl.exe
  2589   do
  2590     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2592 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2593 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2594 if test "${ac_cv_prog_CC+set}" = set; then
  2595   echo $ECHO_N "(cached) $ECHO_C" >&6
  2596 else
  2597   if test -n "$CC"; then
  2598   ac_cv_prog_CC="$CC" # Let the user override the test.
  2599 else
  2600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2601 for as_dir in $PATH
  2602 do
  2603   IFS=$as_save_IFS
  2604   test -z "$as_dir" && as_dir=.
  2605   for ac_exec_ext in '' $ac_executable_extensions; do
  2606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2607     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2608     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2609     break 2
  2610   fi
  2611 done
  2612 done
  2613 IFS=$as_save_IFS
  2615 fi
  2616 fi
  2617 CC=$ac_cv_prog_CC
  2618 if test -n "$CC"; then
  2619   { echo "$as_me:$LINENO: result: $CC" >&5
  2620 echo "${ECHO_T}$CC" >&6; }
  2621 else
  2622   { echo "$as_me:$LINENO: result: no" >&5
  2623 echo "${ECHO_T}no" >&6; }
  2624 fi
  2627     test -n "$CC" && break
  2628   done
  2629 fi
  2630 if test -z "$CC"; then
  2631   ac_ct_CC=$CC
  2632   for ac_prog in cl.exe
  2633 do
  2634   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2635 set dummy $ac_prog; ac_word=$2
  2636 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2637 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2638 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2639   echo $ECHO_N "(cached) $ECHO_C" >&6
  2640 else
  2641   if test -n "$ac_ct_CC"; then
  2642   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2643 else
  2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2645 for as_dir in $PATH
  2646 do
  2647   IFS=$as_save_IFS
  2648   test -z "$as_dir" && as_dir=.
  2649   for ac_exec_ext in '' $ac_executable_extensions; do
  2650   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2651     ac_cv_prog_ac_ct_CC="$ac_prog"
  2652     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2653     break 2
  2654   fi
  2655 done
  2656 done
  2657 IFS=$as_save_IFS
  2659 fi
  2660 fi
  2661 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2662 if test -n "$ac_ct_CC"; then
  2663   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2664 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2665 else
  2666   { echo "$as_me:$LINENO: result: no" >&5
  2667 echo "${ECHO_T}no" >&6; }
  2668 fi
  2671   test -n "$ac_ct_CC" && break
  2672 done
  2674   if test "x$ac_ct_CC" = x; then
  2675     CC=""
  2676   else
  2677     case $cross_compiling:$ac_tool_warned in
  2678 yes:)
  2679 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2680 whose name does not start with the host triplet.  If you think this
  2681 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2682 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2683 whose name does not start with the host triplet.  If you think this
  2684 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2685 ac_tool_warned=yes ;;
  2686 esac
  2687     CC=$ac_ct_CC
  2688   fi
  2689 fi
  2691 fi
  2694 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2695 See \`config.log' for more details." >&5
  2696 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2697 See \`config.log' for more details." >&2;}
  2698    { (exit 1); exit 1; }; }
  2700 # Provide some information about the compiler.
  2701 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2702 ac_compiler=`set X $ac_compile; echo $2`
  2703 { (ac_try="$ac_compiler --version >&5"
  2704 case "(($ac_try" in
  2705   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2706   *) ac_try_echo=$ac_try;;
  2707 esac
  2708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2709   (eval "$ac_compiler --version >&5") 2>&5
  2710   ac_status=$?
  2711   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2712   (exit $ac_status); }
  2713 { (ac_try="$ac_compiler -v >&5"
  2714 case "(($ac_try" in
  2715   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2716   *) ac_try_echo=$ac_try;;
  2717 esac
  2718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2719   (eval "$ac_compiler -v >&5") 2>&5
  2720   ac_status=$?
  2721   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2722   (exit $ac_status); }
  2723 { (ac_try="$ac_compiler -V >&5"
  2724 case "(($ac_try" in
  2725   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2726   *) ac_try_echo=$ac_try;;
  2727 esac
  2728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2729   (eval "$ac_compiler -V >&5") 2>&5
  2730   ac_status=$?
  2731   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2732   (exit $ac_status); }
  2734 cat >conftest.$ac_ext <<_ACEOF
  2735 /* confdefs.h.  */
  2736 _ACEOF
  2737 cat confdefs.h >>conftest.$ac_ext
  2738 cat >>conftest.$ac_ext <<_ACEOF
  2739 /* end confdefs.h.  */
  2741 int
  2742 main ()
  2746   return 0;
  2748 _ACEOF
  2749 ac_clean_files_save=$ac_clean_files
  2750 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2751 # Try to create an executable without -o first, disregard a.out.
  2752 # It will help us diagnose broken compilers, and finding out an intuition
  2753 # of exeext.
  2754 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2755 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2756 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2758 # List of possible output files, starting from the most likely.
  2759 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2760 # only as a last resort.  b.out is created by i960 compilers.
  2761 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2763 # The IRIX 6 linker writes into existing files which may not be
  2764 # executable, retaining their permissions.  Remove them first so a
  2765 # subsequent execution test works.
  2766 ac_rmfiles=
  2767 for ac_file in $ac_files
  2768 do
  2769   case $ac_file in
  2770     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2771     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2772   esac
  2773 done
  2774 rm -f $ac_rmfiles
  2776 if { (ac_try="$ac_link_default"
  2777 case "(($ac_try" in
  2778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2779   *) ac_try_echo=$ac_try;;
  2780 esac
  2781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2782   (eval "$ac_link_default") 2>&5
  2783   ac_status=$?
  2784   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2785   (exit $ac_status); }; then
  2786   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2787 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2788 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2789 # so that the user can short-circuit this test for compilers unknown to
  2790 # Autoconf.
  2791 for ac_file in $ac_files ''
  2792 do
  2793   test -f "$ac_file" || continue
  2794   case $ac_file in
  2795     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2796 	;;
  2797     [ab].out )
  2798 	# We found the default executable, but exeext='' is most
  2799 	# certainly right.
  2800 	break;;
  2801     *.* )
  2802         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2803 	then :; else
  2804 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2805 	fi
  2806 	# We set ac_cv_exeext here because the later test for it is not
  2807 	# safe: cross compilers may not add the suffix if given an `-o'
  2808 	# argument, so we may need to know it at that point already.
  2809 	# Even if this section looks crufty: it has the advantage of
  2810 	# actually working.
  2811 	break;;
  2812     * )
  2813 	break;;
  2814   esac
  2815 done
  2816 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2818 else
  2819   ac_file=''
  2820 fi
  2822 { echo "$as_me:$LINENO: result: $ac_file" >&5
  2823 echo "${ECHO_T}$ac_file" >&6; }
  2824 if test -z "$ac_file"; then
  2825   echo "$as_me: failed program was:" >&5
  2826 sed 's/^/| /' conftest.$ac_ext >&5
  2828 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  2829 See \`config.log' for more details." >&5
  2830 echo "$as_me: error: C compiler cannot create executables
  2831 See \`config.log' for more details." >&2;}
  2832    { (exit 77); exit 77; }; }
  2833 fi
  2835 ac_exeext=$ac_cv_exeext
  2837 # Check that the compiler produces executables we can run.  If not, either
  2838 # the compiler is broken, or we cross compile.
  2839 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2840 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  2841 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2842 # If not cross compiling, check that we can run a simple program.
  2843 if test "$cross_compiling" != yes; then
  2844   if { ac_try='./$ac_file'
  2845   { (case "(($ac_try" in
  2846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2847   *) ac_try_echo=$ac_try;;
  2848 esac
  2849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2850   (eval "$ac_try") 2>&5
  2851   ac_status=$?
  2852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2853   (exit $ac_status); }; }; then
  2854     cross_compiling=no
  2855   else
  2856     if test "$cross_compiling" = maybe; then
  2857 	cross_compiling=yes
  2858     else
  2859 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2860 If you meant to cross compile, use \`--host'.
  2861 See \`config.log' for more details." >&5
  2862 echo "$as_me: error: cannot run C compiled programs.
  2863 If you meant to cross compile, use \`--host'.
  2864 See \`config.log' for more details." >&2;}
  2865    { (exit 1); exit 1; }; }
  2866     fi
  2867   fi
  2868 fi
  2869 { echo "$as_me:$LINENO: result: yes" >&5
  2870 echo "${ECHO_T}yes" >&6; }
  2872 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  2873 ac_clean_files=$ac_clean_files_save
  2874 # Check that the compiler produces executables we can run.  If not, either
  2875 # the compiler is broken, or we cross compile.
  2876 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2877 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  2878 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2879 echo "${ECHO_T}$cross_compiling" >&6; }
  2881 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2882 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  2883 if { (ac_try="$ac_link"
  2884 case "(($ac_try" in
  2885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2886   *) ac_try_echo=$ac_try;;
  2887 esac
  2888 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2889   (eval "$ac_link") 2>&5
  2890   ac_status=$?
  2891   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2892   (exit $ac_status); }; then
  2893   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  2894 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  2895 # work properly (i.e., refer to `conftest.exe'), while it won't with
  2896 # `rm'.
  2897 for ac_file in conftest.exe conftest conftest.*; do
  2898   test -f "$ac_file" || continue
  2899   case $ac_file in
  2900     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2901     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2902 	  break;;
  2903     * ) break;;
  2904   esac
  2905 done
  2906 else
  2907   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  2908 See \`config.log' for more details." >&5
  2909 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  2910 See \`config.log' for more details." >&2;}
  2911    { (exit 1); exit 1; }; }
  2912 fi
  2914 rm -f conftest$ac_cv_exeext
  2915 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  2916 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  2918 rm -f conftest.$ac_ext
  2919 EXEEXT=$ac_cv_exeext
  2920 ac_exeext=$EXEEXT
  2921 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  2922 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  2923 if test "${ac_cv_objext+set}" = set; then
  2924   echo $ECHO_N "(cached) $ECHO_C" >&6
  2925 else
  2926   cat >conftest.$ac_ext <<_ACEOF
  2927 /* confdefs.h.  */
  2928 _ACEOF
  2929 cat confdefs.h >>conftest.$ac_ext
  2930 cat >>conftest.$ac_ext <<_ACEOF
  2931 /* end confdefs.h.  */
  2933 int
  2934 main ()
  2938   return 0;
  2940 _ACEOF
  2941 rm -f conftest.o conftest.obj
  2942 if { (ac_try="$ac_compile"
  2943 case "(($ac_try" in
  2944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2945   *) ac_try_echo=$ac_try;;
  2946 esac
  2947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2948   (eval "$ac_compile") 2>&5
  2949   ac_status=$?
  2950   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2951   (exit $ac_status); }; then
  2952   for ac_file in conftest.o conftest.obj conftest.*; do
  2953   test -f "$ac_file" || continue;
  2954   case $ac_file in
  2955     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  2956     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  2957        break;;
  2958   esac
  2959 done
  2960 else
  2961   echo "$as_me: failed program was:" >&5
  2962 sed 's/^/| /' conftest.$ac_ext >&5
  2964 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  2965 See \`config.log' for more details." >&5
  2966 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  2967 See \`config.log' for more details." >&2;}
  2968    { (exit 1); exit 1; }; }
  2969 fi
  2971 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  2972 fi
  2973 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  2974 echo "${ECHO_T}$ac_cv_objext" >&6; }
  2975 OBJEXT=$ac_cv_objext
  2976 ac_objext=$OBJEXT
  2977 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  2978 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  2979 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  2980   echo $ECHO_N "(cached) $ECHO_C" >&6
  2981 else
  2982   cat >conftest.$ac_ext <<_ACEOF
  2983 /* confdefs.h.  */
  2984 _ACEOF
  2985 cat confdefs.h >>conftest.$ac_ext
  2986 cat >>conftest.$ac_ext <<_ACEOF
  2987 /* end confdefs.h.  */
  2989 int
  2990 main ()
  2992 #ifndef __GNUC__
  2993        choke me
  2994 #endif
  2997   return 0;
  2999 _ACEOF
  3000 rm -f conftest.$ac_objext
  3001 if { (ac_try="$ac_compile"
  3002 case "(($ac_try" in
  3003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3004   *) ac_try_echo=$ac_try;;
  3005 esac
  3006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3007   (eval "$ac_compile") 2>conftest.er1
  3008   ac_status=$?
  3009   grep -v '^ *+' conftest.er1 >conftest.err
  3010   rm -f conftest.er1
  3011   cat conftest.err >&5
  3012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3013   (exit $ac_status); } && {
  3014 	 test -z "$ac_c_werror_flag" ||
  3015 	 test ! -s conftest.err
  3016        } && test -s conftest.$ac_objext; then
  3017   ac_compiler_gnu=yes
  3018 else
  3019   echo "$as_me: failed program was:" >&5
  3020 sed 's/^/| /' conftest.$ac_ext >&5
  3022 	ac_compiler_gnu=no
  3023 fi
  3025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3026 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3028 fi
  3029 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3030 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3031 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3032 ac_test_CFLAGS=${CFLAGS+set}
  3033 ac_save_CFLAGS=$CFLAGS
  3034 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3035 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3036 if test "${ac_cv_prog_cc_g+set}" = set; then
  3037   echo $ECHO_N "(cached) $ECHO_C" >&6
  3038 else
  3039   ac_save_c_werror_flag=$ac_c_werror_flag
  3040    ac_c_werror_flag=yes
  3041    ac_cv_prog_cc_g=no
  3042    CFLAGS="-g"
  3043    cat >conftest.$ac_ext <<_ACEOF
  3044 /* confdefs.h.  */
  3045 _ACEOF
  3046 cat confdefs.h >>conftest.$ac_ext
  3047 cat >>conftest.$ac_ext <<_ACEOF
  3048 /* end confdefs.h.  */
  3050 int
  3051 main ()
  3055   return 0;
  3057 _ACEOF
  3058 rm -f conftest.$ac_objext
  3059 if { (ac_try="$ac_compile"
  3060 case "(($ac_try" in
  3061   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3062   *) ac_try_echo=$ac_try;;
  3063 esac
  3064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3065   (eval "$ac_compile") 2>conftest.er1
  3066   ac_status=$?
  3067   grep -v '^ *+' conftest.er1 >conftest.err
  3068   rm -f conftest.er1
  3069   cat conftest.err >&5
  3070   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3071   (exit $ac_status); } && {
  3072 	 test -z "$ac_c_werror_flag" ||
  3073 	 test ! -s conftest.err
  3074        } && test -s conftest.$ac_objext; then
  3075   ac_cv_prog_cc_g=yes
  3076 else
  3077   echo "$as_me: failed program was:" >&5
  3078 sed 's/^/| /' conftest.$ac_ext >&5
  3080 	CFLAGS=""
  3081       cat >conftest.$ac_ext <<_ACEOF
  3082 /* confdefs.h.  */
  3083 _ACEOF
  3084 cat confdefs.h >>conftest.$ac_ext
  3085 cat >>conftest.$ac_ext <<_ACEOF
  3086 /* end confdefs.h.  */
  3088 int
  3089 main ()
  3093   return 0;
  3095 _ACEOF
  3096 rm -f conftest.$ac_objext
  3097 if { (ac_try="$ac_compile"
  3098 case "(($ac_try" in
  3099   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3100   *) ac_try_echo=$ac_try;;
  3101 esac
  3102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3103   (eval "$ac_compile") 2>conftest.er1
  3104   ac_status=$?
  3105   grep -v '^ *+' conftest.er1 >conftest.err
  3106   rm -f conftest.er1
  3107   cat conftest.err >&5
  3108   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3109   (exit $ac_status); } && {
  3110 	 test -z "$ac_c_werror_flag" ||
  3111 	 test ! -s conftest.err
  3112        } && test -s conftest.$ac_objext; then
  3114 else
  3115   echo "$as_me: failed program was:" >&5
  3116 sed 's/^/| /' conftest.$ac_ext >&5
  3118 	ac_c_werror_flag=$ac_save_c_werror_flag
  3119 	 CFLAGS="-g"
  3120 	 cat >conftest.$ac_ext <<_ACEOF
  3121 /* confdefs.h.  */
  3122 _ACEOF
  3123 cat confdefs.h >>conftest.$ac_ext
  3124 cat >>conftest.$ac_ext <<_ACEOF
  3125 /* end confdefs.h.  */
  3127 int
  3128 main ()
  3132   return 0;
  3134 _ACEOF
  3135 rm -f conftest.$ac_objext
  3136 if { (ac_try="$ac_compile"
  3137 case "(($ac_try" in
  3138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3139   *) ac_try_echo=$ac_try;;
  3140 esac
  3141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3142   (eval "$ac_compile") 2>conftest.er1
  3143   ac_status=$?
  3144   grep -v '^ *+' conftest.er1 >conftest.err
  3145   rm -f conftest.er1
  3146   cat conftest.err >&5
  3147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3148   (exit $ac_status); } && {
  3149 	 test -z "$ac_c_werror_flag" ||
  3150 	 test ! -s conftest.err
  3151        } && test -s conftest.$ac_objext; then
  3152   ac_cv_prog_cc_g=yes
  3153 else
  3154   echo "$as_me: failed program was:" >&5
  3155 sed 's/^/| /' conftest.$ac_ext >&5
  3158 fi
  3160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3161 fi
  3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3164 fi
  3166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3167    ac_c_werror_flag=$ac_save_c_werror_flag
  3168 fi
  3169 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3170 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3171 if test "$ac_test_CFLAGS" = set; then
  3172   CFLAGS=$ac_save_CFLAGS
  3173 elif test $ac_cv_prog_cc_g = yes; then
  3174   if test "$GCC" = yes; then
  3175     CFLAGS="-g -O2"
  3176   else
  3177     CFLAGS="-g"
  3178   fi
  3179 else
  3180   if test "$GCC" = yes; then
  3181     CFLAGS="-O2"
  3182   else
  3183     CFLAGS=
  3184   fi
  3185 fi
  3186 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3187 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3188 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3189   echo $ECHO_N "(cached) $ECHO_C" >&6
  3190 else
  3191   ac_cv_prog_cc_c89=no
  3192 ac_save_CC=$CC
  3193 cat >conftest.$ac_ext <<_ACEOF
  3194 /* confdefs.h.  */
  3195 _ACEOF
  3196 cat confdefs.h >>conftest.$ac_ext
  3197 cat >>conftest.$ac_ext <<_ACEOF
  3198 /* end confdefs.h.  */
  3199 #include <stdarg.h>
  3200 #include <stdio.h>
  3201 #include <sys/types.h>
  3202 #include <sys/stat.h>
  3203 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3204 struct buf { int x; };
  3205 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3206 static char *e (p, i)
  3207      char **p;
  3208      int i;
  3210   return p[i];
  3212 static char *f (char * (*g) (char **, int), char **p, ...)
  3214   char *s;
  3215   va_list v;
  3216   va_start (v,p);
  3217   s = g (p, va_arg (v,int));
  3218   va_end (v);
  3219   return s;
  3222 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3223    function prototypes and stuff, but not '\xHH' hex character constants.
  3224    These don't provoke an error unfortunately, instead are silently treated
  3225    as 'x'.  The following induces an error, until -std is added to get
  3226    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3227    array size at least.  It's necessary to write '\x00'==0 to get something
  3228    that's true only with -std.  */
  3229 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3231 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3232    inside strings and character constants.  */
  3233 #define FOO(x) 'x'
  3234 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3236 int test (int i, double x);
  3237 struct s1 {int (*f) (int a);};
  3238 struct s2 {int (*f) (double a);};
  3239 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3240 int argc;
  3241 char **argv;
  3242 int
  3243 main ()
  3245 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3247   return 0;
  3249 _ACEOF
  3250 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3251 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3252 do
  3253   CC="$ac_save_CC $ac_arg"
  3254   rm -f conftest.$ac_objext
  3255 if { (ac_try="$ac_compile"
  3256 case "(($ac_try" in
  3257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3258   *) ac_try_echo=$ac_try;;
  3259 esac
  3260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3261   (eval "$ac_compile") 2>conftest.er1
  3262   ac_status=$?
  3263   grep -v '^ *+' conftest.er1 >conftest.err
  3264   rm -f conftest.er1
  3265   cat conftest.err >&5
  3266   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3267   (exit $ac_status); } && {
  3268 	 test -z "$ac_c_werror_flag" ||
  3269 	 test ! -s conftest.err
  3270        } && test -s conftest.$ac_objext; then
  3271   ac_cv_prog_cc_c89=$ac_arg
  3272 else
  3273   echo "$as_me: failed program was:" >&5
  3274 sed 's/^/| /' conftest.$ac_ext >&5
  3277 fi
  3279 rm -f core conftest.err conftest.$ac_objext
  3280   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3281 done
  3282 rm -f conftest.$ac_ext
  3283 CC=$ac_save_CC
  3285 fi
  3286 # AC_CACHE_VAL
  3287 case "x$ac_cv_prog_cc_c89" in
  3288   x)
  3289     { echo "$as_me:$LINENO: result: none needed" >&5
  3290 echo "${ECHO_T}none needed" >&6; } ;;
  3291   xno)
  3292     { echo "$as_me:$LINENO: result: unsupported" >&5
  3293 echo "${ECHO_T}unsupported" >&6; } ;;
  3294   *)
  3295     CC="$CC $ac_cv_prog_cc_c89"
  3296     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3297 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3298 esac
  3301 ac_ext=c
  3302 ac_cpp='$CPP $CPPFLAGS'
  3303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3307 depcc="$CC"   am_compiler_list=
  3309 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3310 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3311 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3312   echo $ECHO_N "(cached) $ECHO_C" >&6
  3313 else
  3314   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3315   # We make a subdir and do the tests there.  Otherwise we can end up
  3316   # making bogus files that we don't know about and never remove.  For
  3317   # instance it was reported that on HP-UX the gcc test will end up
  3318   # making a dummy file named `D' -- because `-MD' means `put the output
  3319   # in D'.
  3320   mkdir conftest.dir
  3321   # Copy depcomp to subdir because otherwise we won't find it if we're
  3322   # using a relative directory.
  3323   cp "$am_depcomp" conftest.dir
  3324   cd conftest.dir
  3325   # We will build objects and dependencies in a subdirectory because
  3326   # it helps to detect inapplicable dependency modes.  For instance
  3327   # both Tru64's cc and ICC support -MD to output dependencies as a
  3328   # side effect of compilation, but ICC will put the dependencies in
  3329   # the current directory while Tru64 will put them in the object
  3330   # directory.
  3331   mkdir sub
  3333   am_cv_CC_dependencies_compiler_type=none
  3334   if test "$am_compiler_list" = ""; then
  3335      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3336   fi
  3337   for depmode in $am_compiler_list; do
  3338     # Setup a source with many dependencies, because some compilers
  3339     # like to wrap large dependency lists on column 80 (with \), and
  3340     # we should not choose a depcomp mode which is confused by this.
  3342     # We need to recreate these files for each test, as the compiler may
  3343     # overwrite some of them when testing with obscure command lines.
  3344     # This happens at least with the AIX C compiler.
  3345     : > sub/conftest.c
  3346     for i in 1 2 3 4 5 6; do
  3347       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3348       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3349       # Solaris 8's {/usr,}/bin/sh.
  3350       touch sub/conftst$i.h
  3351     done
  3352     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3354     case $depmode in
  3355     nosideeffect)
  3356       # after this tag, mechanisms are not by side-effect, so they'll
  3357       # only be used when explicitly requested
  3358       if test "x$enable_dependency_tracking" = xyes; then
  3359 	continue
  3360       else
  3361 	break
  3362       fi
  3363       ;;
  3364     none) break ;;
  3365     esac
  3366     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3367     # mode.  It turns out that the SunPro C++ compiler does not properly
  3368     # handle `-M -o', and we need to detect this.
  3369     if depmode=$depmode \
  3370        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3371        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3372        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3373          >/dev/null 2>conftest.err &&
  3374        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3375        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3376        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3377       # icc doesn't choke on unknown options, it will just issue warnings
  3378       # or remarks (even with -Werror).  So we grep stderr for any message
  3379       # that says an option was ignored or not supported.
  3380       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3381       #   icc: Command line warning: ignoring option '-M'; no argument required
  3382       # The diagnosis changed in icc 8.0:
  3383       #   icc: Command line remark: option '-MP' not supported
  3384       if (grep 'ignoring option' conftest.err ||
  3385           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3386         am_cv_CC_dependencies_compiler_type=$depmode
  3387         break
  3388       fi
  3389     fi
  3390   done
  3392   cd ..
  3393   rm -rf conftest.dir
  3394 else
  3395   am_cv_CC_dependencies_compiler_type=none
  3396 fi
  3398 fi
  3399 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3400 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3401 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3405 if
  3406   test "x$enable_dependency_tracking" != xno \
  3407   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3408   am__fastdepCC_TRUE=
  3409   am__fastdepCC_FALSE='#'
  3410 else
  3411   am__fastdepCC_TRUE='#'
  3412   am__fastdepCC_FALSE=
  3413 fi
  3418         { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3419 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
  3420 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3421   echo $ECHO_N "(cached) $ECHO_C" >&6
  3422 else
  3423   ac_check_lib_save_LIBS=$LIBS
  3424 LIBS="-lcposix  $LIBS"
  3425 cat >conftest.$ac_ext <<_ACEOF
  3426 /* confdefs.h.  */
  3427 _ACEOF
  3428 cat confdefs.h >>conftest.$ac_ext
  3429 cat >>conftest.$ac_ext <<_ACEOF
  3430 /* end confdefs.h.  */
  3432 /* Override any GCC internal prototype to avoid an error.
  3433    Use char because int might match the return type of a GCC
  3434    builtin and then its argument prototype would still apply.  */
  3435 #ifdef __cplusplus
  3436 extern "C"
  3437 #endif
  3438 char strerror ();
  3439 int
  3440 main ()
  3442 return strerror ();
  3444   return 0;
  3446 _ACEOF
  3447 rm -f conftest.$ac_objext conftest$ac_exeext
  3448 if { (ac_try="$ac_link"
  3449 case "(($ac_try" in
  3450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3451   *) ac_try_echo=$ac_try;;
  3452 esac
  3453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3454   (eval "$ac_link") 2>conftest.er1
  3455   ac_status=$?
  3456   grep -v '^ *+' conftest.er1 >conftest.err
  3457   rm -f conftest.er1
  3458   cat conftest.err >&5
  3459   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3460   (exit $ac_status); } && {
  3461 	 test -z "$ac_c_werror_flag" ||
  3462 	 test ! -s conftest.err
  3463        } && test -s conftest$ac_exeext &&
  3464        $as_test_x conftest$ac_exeext; then
  3465   ac_cv_lib_cposix_strerror=yes
  3466 else
  3467   echo "$as_me: failed program was:" >&5
  3468 sed 's/^/| /' conftest.$ac_ext >&5
  3470 	ac_cv_lib_cposix_strerror=no
  3471 fi
  3473 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3474       conftest$ac_exeext conftest.$ac_ext
  3475 LIBS=$ac_check_lib_save_LIBS
  3476 fi
  3477 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3478 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
  3479 if test $ac_cv_lib_cposix_strerror = yes; then
  3480   LIBS="$LIBS -lcposix"
  3481 fi
  3485 ac_ext=c
  3486 ac_cpp='$CPP $CPPFLAGS'
  3487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3490 if test -n "$ac_tool_prefix"; then
  3491   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3492 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3493 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3494 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3495 if test "${ac_cv_prog_CC+set}" = set; then
  3496   echo $ECHO_N "(cached) $ECHO_C" >&6
  3497 else
  3498   if test -n "$CC"; then
  3499   ac_cv_prog_CC="$CC" # Let the user override the test.
  3500 else
  3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3502 for as_dir in $PATH
  3503 do
  3504   IFS=$as_save_IFS
  3505   test -z "$as_dir" && as_dir=.
  3506   for ac_exec_ext in '' $ac_executable_extensions; do
  3507   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3508     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3509     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3510     break 2
  3511   fi
  3512 done
  3513 done
  3514 IFS=$as_save_IFS
  3516 fi
  3517 fi
  3518 CC=$ac_cv_prog_CC
  3519 if test -n "$CC"; then
  3520   { echo "$as_me:$LINENO: result: $CC" >&5
  3521 echo "${ECHO_T}$CC" >&6; }
  3522 else
  3523   { echo "$as_me:$LINENO: result: no" >&5
  3524 echo "${ECHO_T}no" >&6; }
  3525 fi
  3528 fi
  3529 if test -z "$ac_cv_prog_CC"; then
  3530   ac_ct_CC=$CC
  3531   # Extract the first word of "gcc", so it can be a program name with args.
  3532 set dummy gcc; ac_word=$2
  3533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3535 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3536   echo $ECHO_N "(cached) $ECHO_C" >&6
  3537 else
  3538   if test -n "$ac_ct_CC"; then
  3539   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3540 else
  3541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3542 for as_dir in $PATH
  3543 do
  3544   IFS=$as_save_IFS
  3545   test -z "$as_dir" && as_dir=.
  3546   for ac_exec_ext in '' $ac_executable_extensions; do
  3547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3548     ac_cv_prog_ac_ct_CC="gcc"
  3549     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3550     break 2
  3551   fi
  3552 done
  3553 done
  3554 IFS=$as_save_IFS
  3556 fi
  3557 fi
  3558 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3559 if test -n "$ac_ct_CC"; then
  3560   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3561 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3562 else
  3563   { echo "$as_me:$LINENO: result: no" >&5
  3564 echo "${ECHO_T}no" >&6; }
  3565 fi
  3567   if test "x$ac_ct_CC" = x; then
  3568     CC=""
  3569   else
  3570     case $cross_compiling:$ac_tool_warned in
  3571 yes:)
  3572 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3573 whose name does not start with the host triplet.  If you think this
  3574 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3575 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3576 whose name does not start with the host triplet.  If you think this
  3577 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3578 ac_tool_warned=yes ;;
  3579 esac
  3580     CC=$ac_ct_CC
  3581   fi
  3582 else
  3583   CC="$ac_cv_prog_CC"
  3584 fi
  3586 if test -z "$CC"; then
  3587           if test -n "$ac_tool_prefix"; then
  3588     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3589 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3592 if test "${ac_cv_prog_CC+set}" = set; then
  3593   echo $ECHO_N "(cached) $ECHO_C" >&6
  3594 else
  3595   if test -n "$CC"; then
  3596   ac_cv_prog_CC="$CC" # Let the user override the test.
  3597 else
  3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3599 for as_dir in $PATH
  3600 do
  3601   IFS=$as_save_IFS
  3602   test -z "$as_dir" && as_dir=.
  3603   for ac_exec_ext in '' $ac_executable_extensions; do
  3604   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3605     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3606     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3607     break 2
  3608   fi
  3609 done
  3610 done
  3611 IFS=$as_save_IFS
  3613 fi
  3614 fi
  3615 CC=$ac_cv_prog_CC
  3616 if test -n "$CC"; then
  3617   { echo "$as_me:$LINENO: result: $CC" >&5
  3618 echo "${ECHO_T}$CC" >&6; }
  3619 else
  3620   { echo "$as_me:$LINENO: result: no" >&5
  3621 echo "${ECHO_T}no" >&6; }
  3622 fi
  3625   fi
  3626 fi
  3627 if test -z "$CC"; then
  3628   # Extract the first word of "cc", so it can be a program name with args.
  3629 set dummy cc; ac_word=$2
  3630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3632 if test "${ac_cv_prog_CC+set}" = set; then
  3633   echo $ECHO_N "(cached) $ECHO_C" >&6
  3634 else
  3635   if test -n "$CC"; then
  3636   ac_cv_prog_CC="$CC" # Let the user override the test.
  3637 else
  3638   ac_prog_rejected=no
  3639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3640 for as_dir in $PATH
  3641 do
  3642   IFS=$as_save_IFS
  3643   test -z "$as_dir" && as_dir=.
  3644   for ac_exec_ext in '' $ac_executable_extensions; do
  3645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3646     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3647        ac_prog_rejected=yes
  3648        continue
  3649      fi
  3650     ac_cv_prog_CC="cc"
  3651     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3652     break 2
  3653   fi
  3654 done
  3655 done
  3656 IFS=$as_save_IFS
  3658 if test $ac_prog_rejected = yes; then
  3659   # We found a bogon in the path, so make sure we never use it.
  3660   set dummy $ac_cv_prog_CC
  3661   shift
  3662   if test $# != 0; then
  3663     # We chose a different compiler from the bogus one.
  3664     # However, it has the same basename, so the bogon will be chosen
  3665     # first if we set CC to just the basename; use the full file name.
  3666     shift
  3667     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3668   fi
  3669 fi
  3670 fi
  3671 fi
  3672 CC=$ac_cv_prog_CC
  3673 if test -n "$CC"; then
  3674   { echo "$as_me:$LINENO: result: $CC" >&5
  3675 echo "${ECHO_T}$CC" >&6; }
  3676 else
  3677   { echo "$as_me:$LINENO: result: no" >&5
  3678 echo "${ECHO_T}no" >&6; }
  3679 fi
  3682 fi
  3683 if test -z "$CC"; then
  3684   if test -n "$ac_tool_prefix"; then
  3685   for ac_prog in cl.exe
  3686   do
  3687     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3688 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3689 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3691 if test "${ac_cv_prog_CC+set}" = set; then
  3692   echo $ECHO_N "(cached) $ECHO_C" >&6
  3693 else
  3694   if test -n "$CC"; then
  3695   ac_cv_prog_CC="$CC" # Let the user override the test.
  3696 else
  3697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3698 for as_dir in $PATH
  3699 do
  3700   IFS=$as_save_IFS
  3701   test -z "$as_dir" && as_dir=.
  3702   for ac_exec_ext in '' $ac_executable_extensions; do
  3703   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3704     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3705     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3706     break 2
  3707   fi
  3708 done
  3709 done
  3710 IFS=$as_save_IFS
  3712 fi
  3713 fi
  3714 CC=$ac_cv_prog_CC
  3715 if test -n "$CC"; then
  3716   { echo "$as_me:$LINENO: result: $CC" >&5
  3717 echo "${ECHO_T}$CC" >&6; }
  3718 else
  3719   { echo "$as_me:$LINENO: result: no" >&5
  3720 echo "${ECHO_T}no" >&6; }
  3721 fi
  3724     test -n "$CC" && break
  3725   done
  3726 fi
  3727 if test -z "$CC"; then
  3728   ac_ct_CC=$CC
  3729   for ac_prog in cl.exe
  3730 do
  3731   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3732 set dummy $ac_prog; ac_word=$2
  3733 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3734 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3735 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3736   echo $ECHO_N "(cached) $ECHO_C" >&6
  3737 else
  3738   if test -n "$ac_ct_CC"; then
  3739   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3740 else
  3741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3742 for as_dir in $PATH
  3743 do
  3744   IFS=$as_save_IFS
  3745   test -z "$as_dir" && as_dir=.
  3746   for ac_exec_ext in '' $ac_executable_extensions; do
  3747   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3748     ac_cv_prog_ac_ct_CC="$ac_prog"
  3749     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3750     break 2
  3751   fi
  3752 done
  3753 done
  3754 IFS=$as_save_IFS
  3756 fi
  3757 fi
  3758 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3759 if test -n "$ac_ct_CC"; then
  3760   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3761 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3762 else
  3763   { echo "$as_me:$LINENO: result: no" >&5
  3764 echo "${ECHO_T}no" >&6; }
  3765 fi
  3768   test -n "$ac_ct_CC" && break
  3769 done
  3771   if test "x$ac_ct_CC" = x; then
  3772     CC=""
  3773   else
  3774     case $cross_compiling:$ac_tool_warned in
  3775 yes:)
  3776 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3777 whose name does not start with the host triplet.  If you think this
  3778 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3779 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3780 whose name does not start with the host triplet.  If you think this
  3781 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3782 ac_tool_warned=yes ;;
  3783 esac
  3784     CC=$ac_ct_CC
  3785   fi
  3786 fi
  3788 fi
  3791 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3792 See \`config.log' for more details." >&5
  3793 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3794 See \`config.log' for more details." >&2;}
  3795    { (exit 1); exit 1; }; }
  3797 # Provide some information about the compiler.
  3798 echo "$as_me:$LINENO: checking for C compiler version" >&5
  3799 ac_compiler=`set X $ac_compile; echo $2`
  3800 { (ac_try="$ac_compiler --version >&5"
  3801 case "(($ac_try" in
  3802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3803   *) ac_try_echo=$ac_try;;
  3804 esac
  3805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3806   (eval "$ac_compiler --version >&5") 2>&5
  3807   ac_status=$?
  3808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3809   (exit $ac_status); }
  3810 { (ac_try="$ac_compiler -v >&5"
  3811 case "(($ac_try" in
  3812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3813   *) ac_try_echo=$ac_try;;
  3814 esac
  3815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3816   (eval "$ac_compiler -v >&5") 2>&5
  3817   ac_status=$?
  3818   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3819   (exit $ac_status); }
  3820 { (ac_try="$ac_compiler -V >&5"
  3821 case "(($ac_try" in
  3822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3823   *) ac_try_echo=$ac_try;;
  3824 esac
  3825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3826   (eval "$ac_compiler -V >&5") 2>&5
  3827   ac_status=$?
  3828   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3829   (exit $ac_status); }
  3831 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3832 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3833 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3834   echo $ECHO_N "(cached) $ECHO_C" >&6
  3835 else
  3836   cat >conftest.$ac_ext <<_ACEOF
  3837 /* confdefs.h.  */
  3838 _ACEOF
  3839 cat confdefs.h >>conftest.$ac_ext
  3840 cat >>conftest.$ac_ext <<_ACEOF
  3841 /* end confdefs.h.  */
  3843 int
  3844 main ()
  3846 #ifndef __GNUC__
  3847        choke me
  3848 #endif
  3851   return 0;
  3853 _ACEOF
  3854 rm -f conftest.$ac_objext
  3855 if { (ac_try="$ac_compile"
  3856 case "(($ac_try" in
  3857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3858   *) ac_try_echo=$ac_try;;
  3859 esac
  3860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3861   (eval "$ac_compile") 2>conftest.er1
  3862   ac_status=$?
  3863   grep -v '^ *+' conftest.er1 >conftest.err
  3864   rm -f conftest.er1
  3865   cat conftest.err >&5
  3866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3867   (exit $ac_status); } && {
  3868 	 test -z "$ac_c_werror_flag" ||
  3869 	 test ! -s conftest.err
  3870        } && test -s conftest.$ac_objext; then
  3871   ac_compiler_gnu=yes
  3872 else
  3873   echo "$as_me: failed program was:" >&5
  3874 sed 's/^/| /' conftest.$ac_ext >&5
  3876 	ac_compiler_gnu=no
  3877 fi
  3879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3880 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3882 fi
  3883 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3884 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3885 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3886 ac_test_CFLAGS=${CFLAGS+set}
  3887 ac_save_CFLAGS=$CFLAGS
  3888 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3889 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3890 if test "${ac_cv_prog_cc_g+set}" = set; then
  3891   echo $ECHO_N "(cached) $ECHO_C" >&6
  3892 else
  3893   ac_save_c_werror_flag=$ac_c_werror_flag
  3894    ac_c_werror_flag=yes
  3895    ac_cv_prog_cc_g=no
  3896    CFLAGS="-g"
  3897    cat >conftest.$ac_ext <<_ACEOF
  3898 /* confdefs.h.  */
  3899 _ACEOF
  3900 cat confdefs.h >>conftest.$ac_ext
  3901 cat >>conftest.$ac_ext <<_ACEOF
  3902 /* end confdefs.h.  */
  3904 int
  3905 main ()
  3909   return 0;
  3911 _ACEOF
  3912 rm -f conftest.$ac_objext
  3913 if { (ac_try="$ac_compile"
  3914 case "(($ac_try" in
  3915   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3916   *) ac_try_echo=$ac_try;;
  3917 esac
  3918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3919   (eval "$ac_compile") 2>conftest.er1
  3920   ac_status=$?
  3921   grep -v '^ *+' conftest.er1 >conftest.err
  3922   rm -f conftest.er1
  3923   cat conftest.err >&5
  3924   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3925   (exit $ac_status); } && {
  3926 	 test -z "$ac_c_werror_flag" ||
  3927 	 test ! -s conftest.err
  3928        } && test -s conftest.$ac_objext; then
  3929   ac_cv_prog_cc_g=yes
  3930 else
  3931   echo "$as_me: failed program was:" >&5
  3932 sed 's/^/| /' conftest.$ac_ext >&5
  3934 	CFLAGS=""
  3935       cat >conftest.$ac_ext <<_ACEOF
  3936 /* confdefs.h.  */
  3937 _ACEOF
  3938 cat confdefs.h >>conftest.$ac_ext
  3939 cat >>conftest.$ac_ext <<_ACEOF
  3940 /* end confdefs.h.  */
  3942 int
  3943 main ()
  3947   return 0;
  3949 _ACEOF
  3950 rm -f conftest.$ac_objext
  3951 if { (ac_try="$ac_compile"
  3952 case "(($ac_try" in
  3953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3954   *) ac_try_echo=$ac_try;;
  3955 esac
  3956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3957   (eval "$ac_compile") 2>conftest.er1
  3958   ac_status=$?
  3959   grep -v '^ *+' conftest.er1 >conftest.err
  3960   rm -f conftest.er1
  3961   cat conftest.err >&5
  3962   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3963   (exit $ac_status); } && {
  3964 	 test -z "$ac_c_werror_flag" ||
  3965 	 test ! -s conftest.err
  3966        } && test -s conftest.$ac_objext; then
  3968 else
  3969   echo "$as_me: failed program was:" >&5
  3970 sed 's/^/| /' conftest.$ac_ext >&5
  3972 	ac_c_werror_flag=$ac_save_c_werror_flag
  3973 	 CFLAGS="-g"
  3974 	 cat >conftest.$ac_ext <<_ACEOF
  3975 /* confdefs.h.  */
  3976 _ACEOF
  3977 cat confdefs.h >>conftest.$ac_ext
  3978 cat >>conftest.$ac_ext <<_ACEOF
  3979 /* end confdefs.h.  */
  3981 int
  3982 main ()
  3986   return 0;
  3988 _ACEOF
  3989 rm -f conftest.$ac_objext
  3990 if { (ac_try="$ac_compile"
  3991 case "(($ac_try" in
  3992   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3993   *) ac_try_echo=$ac_try;;
  3994 esac
  3995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3996   (eval "$ac_compile") 2>conftest.er1
  3997   ac_status=$?
  3998   grep -v '^ *+' conftest.er1 >conftest.err
  3999   rm -f conftest.er1
  4000   cat conftest.err >&5
  4001   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4002   (exit $ac_status); } && {
  4003 	 test -z "$ac_c_werror_flag" ||
  4004 	 test ! -s conftest.err
  4005        } && test -s conftest.$ac_objext; then
  4006   ac_cv_prog_cc_g=yes
  4007 else
  4008   echo "$as_me: failed program was:" >&5
  4009 sed 's/^/| /' conftest.$ac_ext >&5
  4012 fi
  4014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4015 fi
  4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4018 fi
  4020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4021    ac_c_werror_flag=$ac_save_c_werror_flag
  4022 fi
  4023 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4024 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4025 if test "$ac_test_CFLAGS" = set; then
  4026   CFLAGS=$ac_save_CFLAGS
  4027 elif test $ac_cv_prog_cc_g = yes; then
  4028   if test "$GCC" = yes; then
  4029     CFLAGS="-g -O2"
  4030   else
  4031     CFLAGS="-g"
  4032   fi
  4033 else
  4034   if test "$GCC" = yes; then
  4035     CFLAGS="-O2"
  4036   else
  4037     CFLAGS=
  4038   fi
  4039 fi
  4040 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4041 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  4042 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4043   echo $ECHO_N "(cached) $ECHO_C" >&6
  4044 else
  4045   ac_cv_prog_cc_c89=no
  4046 ac_save_CC=$CC
  4047 cat >conftest.$ac_ext <<_ACEOF
  4048 /* confdefs.h.  */
  4049 _ACEOF
  4050 cat confdefs.h >>conftest.$ac_ext
  4051 cat >>conftest.$ac_ext <<_ACEOF
  4052 /* end confdefs.h.  */
  4053 #include <stdarg.h>
  4054 #include <stdio.h>
  4055 #include <sys/types.h>
  4056 #include <sys/stat.h>
  4057 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4058 struct buf { int x; };
  4059 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4060 static char *e (p, i)
  4061      char **p;
  4062      int i;
  4064   return p[i];
  4066 static char *f (char * (*g) (char **, int), char **p, ...)
  4068   char *s;
  4069   va_list v;
  4070   va_start (v,p);
  4071   s = g (p, va_arg (v,int));
  4072   va_end (v);
  4073   return s;
  4076 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4077    function prototypes and stuff, but not '\xHH' hex character constants.
  4078    These don't provoke an error unfortunately, instead are silently treated
  4079    as 'x'.  The following induces an error, until -std is added to get
  4080    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4081    array size at least.  It's necessary to write '\x00'==0 to get something
  4082    that's true only with -std.  */
  4083 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4085 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4086    inside strings and character constants.  */
  4087 #define FOO(x) 'x'
  4088 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4090 int test (int i, double x);
  4091 struct s1 {int (*f) (int a);};
  4092 struct s2 {int (*f) (double a);};
  4093 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4094 int argc;
  4095 char **argv;
  4096 int
  4097 main ()
  4099 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4101   return 0;
  4103 _ACEOF
  4104 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4105 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4106 do
  4107   CC="$ac_save_CC $ac_arg"
  4108   rm -f conftest.$ac_objext
  4109 if { (ac_try="$ac_compile"
  4110 case "(($ac_try" in
  4111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4112   *) ac_try_echo=$ac_try;;
  4113 esac
  4114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4115   (eval "$ac_compile") 2>conftest.er1
  4116   ac_status=$?
  4117   grep -v '^ *+' conftest.er1 >conftest.err
  4118   rm -f conftest.er1
  4119   cat conftest.err >&5
  4120   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4121   (exit $ac_status); } && {
  4122 	 test -z "$ac_c_werror_flag" ||
  4123 	 test ! -s conftest.err
  4124        } && test -s conftest.$ac_objext; then
  4125   ac_cv_prog_cc_c89=$ac_arg
  4126 else
  4127   echo "$as_me: failed program was:" >&5
  4128 sed 's/^/| /' conftest.$ac_ext >&5
  4131 fi
  4133 rm -f core conftest.err conftest.$ac_objext
  4134   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4135 done
  4136 rm -f conftest.$ac_ext
  4137 CC=$ac_save_CC
  4139 fi
  4140 # AC_CACHE_VAL
  4141 case "x$ac_cv_prog_cc_c89" in
  4142   x)
  4143     { echo "$as_me:$LINENO: result: none needed" >&5
  4144 echo "${ECHO_T}none needed" >&6; } ;;
  4145   xno)
  4146     { echo "$as_me:$LINENO: result: unsupported" >&5
  4147 echo "${ECHO_T}unsupported" >&6; } ;;
  4148   *)
  4149     CC="$CC $ac_cv_prog_cc_c89"
  4150     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4151 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4152 esac
  4155 ac_ext=c
  4156 ac_cpp='$CPP $CPPFLAGS'
  4157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4161 depcc="$CC"   am_compiler_list=
  4163 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4164 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4165 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4166   echo $ECHO_N "(cached) $ECHO_C" >&6
  4167 else
  4168   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4169   # We make a subdir and do the tests there.  Otherwise we can end up
  4170   # making bogus files that we don't know about and never remove.  For
  4171   # instance it was reported that on HP-UX the gcc test will end up
  4172   # making a dummy file named `D' -- because `-MD' means `put the output
  4173   # in D'.
  4174   mkdir conftest.dir
  4175   # Copy depcomp to subdir because otherwise we won't find it if we're
  4176   # using a relative directory.
  4177   cp "$am_depcomp" conftest.dir
  4178   cd conftest.dir
  4179   # We will build objects and dependencies in a subdirectory because
  4180   # it helps to detect inapplicable dependency modes.  For instance
  4181   # both Tru64's cc and ICC support -MD to output dependencies as a
  4182   # side effect of compilation, but ICC will put the dependencies in
  4183   # the current directory while Tru64 will put them in the object
  4184   # directory.
  4185   mkdir sub
  4187   am_cv_CC_dependencies_compiler_type=none
  4188   if test "$am_compiler_list" = ""; then
  4189      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4190   fi
  4191   for depmode in $am_compiler_list; do
  4192     # Setup a source with many dependencies, because some compilers
  4193     # like to wrap large dependency lists on column 80 (with \), and
  4194     # we should not choose a depcomp mode which is confused by this.
  4196     # We need to recreate these files for each test, as the compiler may
  4197     # overwrite some of them when testing with obscure command lines.
  4198     # This happens at least with the AIX C compiler.
  4199     : > sub/conftest.c
  4200     for i in 1 2 3 4 5 6; do
  4201       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4202       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4203       # Solaris 8's {/usr,}/bin/sh.
  4204       touch sub/conftst$i.h
  4205     done
  4206     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4208     case $depmode in
  4209     nosideeffect)
  4210       # after this tag, mechanisms are not by side-effect, so they'll
  4211       # only be used when explicitly requested
  4212       if test "x$enable_dependency_tracking" = xyes; then
  4213 	continue
  4214       else
  4215 	break
  4216       fi
  4217       ;;
  4218     none) break ;;
  4219     esac
  4220     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4221     # mode.  It turns out that the SunPro C++ compiler does not properly
  4222     # handle `-M -o', and we need to detect this.
  4223     if depmode=$depmode \
  4224        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4225        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4226        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4227          >/dev/null 2>conftest.err &&
  4228        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4229        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4230        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4231       # icc doesn't choke on unknown options, it will just issue warnings
  4232       # or remarks (even with -Werror).  So we grep stderr for any message
  4233       # that says an option was ignored or not supported.
  4234       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4235       #   icc: Command line warning: ignoring option '-M'; no argument required
  4236       # The diagnosis changed in icc 8.0:
  4237       #   icc: Command line remark: option '-MP' not supported
  4238       if (grep 'ignoring option' conftest.err ||
  4239           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4240         am_cv_CC_dependencies_compiler_type=$depmode
  4241         break
  4242       fi
  4243     fi
  4244   done
  4246   cd ..
  4247   rm -rf conftest.dir
  4248 else
  4249   am_cv_CC_dependencies_compiler_type=none
  4250 fi
  4252 fi
  4253 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4254 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4255 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4259 if
  4260   test "x$enable_dependency_tracking" != xno \
  4261   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4262   am__fastdepCC_TRUE=
  4263   am__fastdepCC_FALSE='#'
  4264 else
  4265   am__fastdepCC_TRUE='#'
  4266   am__fastdepCC_FALSE=
  4267 fi
  4270 ac_ext=c
  4271 ac_cpp='$CPP $CPPFLAGS'
  4272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4275 if test -n "$ac_tool_prefix"; then
  4276   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4277 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4278 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4279 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4280 if test "${ac_cv_prog_CC+set}" = set; then
  4281   echo $ECHO_N "(cached) $ECHO_C" >&6
  4282 else
  4283   if test -n "$CC"; then
  4284   ac_cv_prog_CC="$CC" # Let the user override the test.
  4285 else
  4286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4287 for as_dir in $PATH
  4288 do
  4289   IFS=$as_save_IFS
  4290   test -z "$as_dir" && as_dir=.
  4291   for ac_exec_ext in '' $ac_executable_extensions; do
  4292   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4293     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4294     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4295     break 2
  4296   fi
  4297 done
  4298 done
  4299 IFS=$as_save_IFS
  4301 fi
  4302 fi
  4303 CC=$ac_cv_prog_CC
  4304 if test -n "$CC"; then
  4305   { echo "$as_me:$LINENO: result: $CC" >&5
  4306 echo "${ECHO_T}$CC" >&6; }
  4307 else
  4308   { echo "$as_me:$LINENO: result: no" >&5
  4309 echo "${ECHO_T}no" >&6; }
  4310 fi
  4313 fi
  4314 if test -z "$ac_cv_prog_CC"; then
  4315   ac_ct_CC=$CC
  4316   # Extract the first word of "gcc", so it can be a program name with args.
  4317 set dummy gcc; ac_word=$2
  4318 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4320 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4321   echo $ECHO_N "(cached) $ECHO_C" >&6
  4322 else
  4323   if test -n "$ac_ct_CC"; then
  4324   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4325 else
  4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4327 for as_dir in $PATH
  4328 do
  4329   IFS=$as_save_IFS
  4330   test -z "$as_dir" && as_dir=.
  4331   for ac_exec_ext in '' $ac_executable_extensions; do
  4332   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4333     ac_cv_prog_ac_ct_CC="gcc"
  4334     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4335     break 2
  4336   fi
  4337 done
  4338 done
  4339 IFS=$as_save_IFS
  4341 fi
  4342 fi
  4343 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4344 if test -n "$ac_ct_CC"; then
  4345   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4346 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4347 else
  4348   { echo "$as_me:$LINENO: result: no" >&5
  4349 echo "${ECHO_T}no" >&6; }
  4350 fi
  4352   if test "x$ac_ct_CC" = x; then
  4353     CC=""
  4354   else
  4355     case $cross_compiling:$ac_tool_warned in
  4356 yes:)
  4357 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4358 whose name does not start with the host triplet.  If you think this
  4359 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4360 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4361 whose name does not start with the host triplet.  If you think this
  4362 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4363 ac_tool_warned=yes ;;
  4364 esac
  4365     CC=$ac_ct_CC
  4366   fi
  4367 else
  4368   CC="$ac_cv_prog_CC"
  4369 fi
  4371 if test -z "$CC"; then
  4372           if test -n "$ac_tool_prefix"; then
  4373     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4374 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4375 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4376 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4377 if test "${ac_cv_prog_CC+set}" = set; then
  4378   echo $ECHO_N "(cached) $ECHO_C" >&6
  4379 else
  4380   if test -n "$CC"; then
  4381   ac_cv_prog_CC="$CC" # Let the user override the test.
  4382 else
  4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4384 for as_dir in $PATH
  4385 do
  4386   IFS=$as_save_IFS
  4387   test -z "$as_dir" && as_dir=.
  4388   for ac_exec_ext in '' $ac_executable_extensions; do
  4389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4390     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4391     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4392     break 2
  4393   fi
  4394 done
  4395 done
  4396 IFS=$as_save_IFS
  4398 fi
  4399 fi
  4400 CC=$ac_cv_prog_CC
  4401 if test -n "$CC"; then
  4402   { echo "$as_me:$LINENO: result: $CC" >&5
  4403 echo "${ECHO_T}$CC" >&6; }
  4404 else
  4405   { echo "$as_me:$LINENO: result: no" >&5
  4406 echo "${ECHO_T}no" >&6; }
  4407 fi
  4410   fi
  4411 fi
  4412 if test -z "$CC"; then
  4413   # Extract the first word of "cc", so it can be a program name with args.
  4414 set dummy cc; ac_word=$2
  4415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4417 if test "${ac_cv_prog_CC+set}" = set; then
  4418   echo $ECHO_N "(cached) $ECHO_C" >&6
  4419 else
  4420   if test -n "$CC"; then
  4421   ac_cv_prog_CC="$CC" # Let the user override the test.
  4422 else
  4423   ac_prog_rejected=no
  4424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4425 for as_dir in $PATH
  4426 do
  4427   IFS=$as_save_IFS
  4428   test -z "$as_dir" && as_dir=.
  4429   for ac_exec_ext in '' $ac_executable_extensions; do
  4430   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4431     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4432        ac_prog_rejected=yes
  4433        continue
  4434      fi
  4435     ac_cv_prog_CC="cc"
  4436     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4437     break 2
  4438   fi
  4439 done
  4440 done
  4441 IFS=$as_save_IFS
  4443 if test $ac_prog_rejected = yes; then
  4444   # We found a bogon in the path, so make sure we never use it.
  4445   set dummy $ac_cv_prog_CC
  4446   shift
  4447   if test $# != 0; then
  4448     # We chose a different compiler from the bogus one.
  4449     # However, it has the same basename, so the bogon will be chosen
  4450     # first if we set CC to just the basename; use the full file name.
  4451     shift
  4452     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4453   fi
  4454 fi
  4455 fi
  4456 fi
  4457 CC=$ac_cv_prog_CC
  4458 if test -n "$CC"; then
  4459   { echo "$as_me:$LINENO: result: $CC" >&5
  4460 echo "${ECHO_T}$CC" >&6; }
  4461 else
  4462   { echo "$as_me:$LINENO: result: no" >&5
  4463 echo "${ECHO_T}no" >&6; }
  4464 fi
  4467 fi
  4468 if test -z "$CC"; then
  4469   if test -n "$ac_tool_prefix"; then
  4470   for ac_prog in cl.exe
  4471   do
  4472     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4473 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4474 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4475 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4476 if test "${ac_cv_prog_CC+set}" = set; then
  4477   echo $ECHO_N "(cached) $ECHO_C" >&6
  4478 else
  4479   if test -n "$CC"; then
  4480   ac_cv_prog_CC="$CC" # Let the user override the test.
  4481 else
  4482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4483 for as_dir in $PATH
  4484 do
  4485   IFS=$as_save_IFS
  4486   test -z "$as_dir" && as_dir=.
  4487   for ac_exec_ext in '' $ac_executable_extensions; do
  4488   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4489     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4490     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4491     break 2
  4492   fi
  4493 done
  4494 done
  4495 IFS=$as_save_IFS
  4497 fi
  4498 fi
  4499 CC=$ac_cv_prog_CC
  4500 if test -n "$CC"; then
  4501   { echo "$as_me:$LINENO: result: $CC" >&5
  4502 echo "${ECHO_T}$CC" >&6; }
  4503 else
  4504   { echo "$as_me:$LINENO: result: no" >&5
  4505 echo "${ECHO_T}no" >&6; }
  4506 fi
  4509     test -n "$CC" && break
  4510   done
  4511 fi
  4512 if test -z "$CC"; then
  4513   ac_ct_CC=$CC
  4514   for ac_prog in cl.exe
  4515 do
  4516   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4517 set dummy $ac_prog; ac_word=$2
  4518 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4519 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4520 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4521   echo $ECHO_N "(cached) $ECHO_C" >&6
  4522 else
  4523   if test -n "$ac_ct_CC"; then
  4524   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4525 else
  4526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4527 for as_dir in $PATH
  4528 do
  4529   IFS=$as_save_IFS
  4530   test -z "$as_dir" && as_dir=.
  4531   for ac_exec_ext in '' $ac_executable_extensions; do
  4532   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4533     ac_cv_prog_ac_ct_CC="$ac_prog"
  4534     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4535     break 2
  4536   fi
  4537 done
  4538 done
  4539 IFS=$as_save_IFS
  4541 fi
  4542 fi
  4543 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4544 if test -n "$ac_ct_CC"; then
  4545   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4546 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4547 else
  4548   { echo "$as_me:$LINENO: result: no" >&5
  4549 echo "${ECHO_T}no" >&6; }
  4550 fi
  4553   test -n "$ac_ct_CC" && break
  4554 done
  4556   if test "x$ac_ct_CC" = x; then
  4557     CC=""
  4558   else
  4559     case $cross_compiling:$ac_tool_warned in
  4560 yes:)
  4561 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4562 whose name does not start with the host triplet.  If you think this
  4563 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4564 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4565 whose name does not start with the host triplet.  If you think this
  4566 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4567 ac_tool_warned=yes ;;
  4568 esac
  4569     CC=$ac_ct_CC
  4570   fi
  4571 fi
  4573 fi
  4576 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4577 See \`config.log' for more details." >&5
  4578 echo "$as_me: error: no acceptable C compiler found in \$PATH
  4579 See \`config.log' for more details." >&2;}
  4580    { (exit 1); exit 1; }; }
  4582 # Provide some information about the compiler.
  4583 echo "$as_me:$LINENO: checking for C compiler version" >&5
  4584 ac_compiler=`set X $ac_compile; echo $2`
  4585 { (ac_try="$ac_compiler --version >&5"
  4586 case "(($ac_try" in
  4587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4588   *) ac_try_echo=$ac_try;;
  4589 esac
  4590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4591   (eval "$ac_compiler --version >&5") 2>&5
  4592   ac_status=$?
  4593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4594   (exit $ac_status); }
  4595 { (ac_try="$ac_compiler -v >&5"
  4596 case "(($ac_try" in
  4597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4598   *) ac_try_echo=$ac_try;;
  4599 esac
  4600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4601   (eval "$ac_compiler -v >&5") 2>&5
  4602   ac_status=$?
  4603   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4604   (exit $ac_status); }
  4605 { (ac_try="$ac_compiler -V >&5"
  4606 case "(($ac_try" in
  4607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4608   *) ac_try_echo=$ac_try;;
  4609 esac
  4610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4611   (eval "$ac_compiler -V >&5") 2>&5
  4612   ac_status=$?
  4613   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4614   (exit $ac_status); }
  4616 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4617 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4618 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4619   echo $ECHO_N "(cached) $ECHO_C" >&6
  4620 else
  4621   cat >conftest.$ac_ext <<_ACEOF
  4622 /* confdefs.h.  */
  4623 _ACEOF
  4624 cat confdefs.h >>conftest.$ac_ext
  4625 cat >>conftest.$ac_ext <<_ACEOF
  4626 /* end confdefs.h.  */
  4628 int
  4629 main ()
  4631 #ifndef __GNUC__
  4632        choke me
  4633 #endif
  4636   return 0;
  4638 _ACEOF
  4639 rm -f conftest.$ac_objext
  4640 if { (ac_try="$ac_compile"
  4641 case "(($ac_try" in
  4642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4643   *) ac_try_echo=$ac_try;;
  4644 esac
  4645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4646   (eval "$ac_compile") 2>conftest.er1
  4647   ac_status=$?
  4648   grep -v '^ *+' conftest.er1 >conftest.err
  4649   rm -f conftest.er1
  4650   cat conftest.err >&5
  4651   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4652   (exit $ac_status); } && {
  4653 	 test -z "$ac_c_werror_flag" ||
  4654 	 test ! -s conftest.err
  4655        } && test -s conftest.$ac_objext; then
  4656   ac_compiler_gnu=yes
  4657 else
  4658   echo "$as_me: failed program was:" >&5
  4659 sed 's/^/| /' conftest.$ac_ext >&5
  4661 	ac_compiler_gnu=no
  4662 fi
  4664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4665 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4667 fi
  4668 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4669 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4670 GCC=`test $ac_compiler_gnu = yes && echo yes`
  4671 ac_test_CFLAGS=${CFLAGS+set}
  4672 ac_save_CFLAGS=$CFLAGS
  4673 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4674 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4675 if test "${ac_cv_prog_cc_g+set}" = set; then
  4676   echo $ECHO_N "(cached) $ECHO_C" >&6
  4677 else
  4678   ac_save_c_werror_flag=$ac_c_werror_flag
  4679    ac_c_werror_flag=yes
  4680    ac_cv_prog_cc_g=no
  4681    CFLAGS="-g"
  4682    cat >conftest.$ac_ext <<_ACEOF
  4683 /* confdefs.h.  */
  4684 _ACEOF
  4685 cat confdefs.h >>conftest.$ac_ext
  4686 cat >>conftest.$ac_ext <<_ACEOF
  4687 /* end confdefs.h.  */
  4689 int
  4690 main ()
  4694   return 0;
  4696 _ACEOF
  4697 rm -f conftest.$ac_objext
  4698 if { (ac_try="$ac_compile"
  4699 case "(($ac_try" in
  4700   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4701   *) ac_try_echo=$ac_try;;
  4702 esac
  4703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4704   (eval "$ac_compile") 2>conftest.er1
  4705   ac_status=$?
  4706   grep -v '^ *+' conftest.er1 >conftest.err
  4707   rm -f conftest.er1
  4708   cat conftest.err >&5
  4709   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4710   (exit $ac_status); } && {
  4711 	 test -z "$ac_c_werror_flag" ||
  4712 	 test ! -s conftest.err
  4713        } && test -s conftest.$ac_objext; then
  4714   ac_cv_prog_cc_g=yes
  4715 else
  4716   echo "$as_me: failed program was:" >&5
  4717 sed 's/^/| /' conftest.$ac_ext >&5
  4719 	CFLAGS=""
  4720       cat >conftest.$ac_ext <<_ACEOF
  4721 /* confdefs.h.  */
  4722 _ACEOF
  4723 cat confdefs.h >>conftest.$ac_ext
  4724 cat >>conftest.$ac_ext <<_ACEOF
  4725 /* end confdefs.h.  */
  4727 int
  4728 main ()
  4732   return 0;
  4734 _ACEOF
  4735 rm -f conftest.$ac_objext
  4736 if { (ac_try="$ac_compile"
  4737 case "(($ac_try" in
  4738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4739   *) ac_try_echo=$ac_try;;
  4740 esac
  4741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4742   (eval "$ac_compile") 2>conftest.er1
  4743   ac_status=$?
  4744   grep -v '^ *+' conftest.er1 >conftest.err
  4745   rm -f conftest.er1
  4746   cat conftest.err >&5
  4747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4748   (exit $ac_status); } && {
  4749 	 test -z "$ac_c_werror_flag" ||
  4750 	 test ! -s conftest.err
  4751        } && test -s conftest.$ac_objext; then
  4753 else
  4754   echo "$as_me: failed program was:" >&5
  4755 sed 's/^/| /' conftest.$ac_ext >&5
  4757 	ac_c_werror_flag=$ac_save_c_werror_flag
  4758 	 CFLAGS="-g"
  4759 	 cat >conftest.$ac_ext <<_ACEOF
  4760 /* confdefs.h.  */
  4761 _ACEOF
  4762 cat confdefs.h >>conftest.$ac_ext
  4763 cat >>conftest.$ac_ext <<_ACEOF
  4764 /* end confdefs.h.  */
  4766 int
  4767 main ()
  4771   return 0;
  4773 _ACEOF
  4774 rm -f conftest.$ac_objext
  4775 if { (ac_try="$ac_compile"
  4776 case "(($ac_try" in
  4777   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4778   *) ac_try_echo=$ac_try;;
  4779 esac
  4780 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4781   (eval "$ac_compile") 2>conftest.er1
  4782   ac_status=$?
  4783   grep -v '^ *+' conftest.er1 >conftest.err
  4784   rm -f conftest.er1
  4785   cat conftest.err >&5
  4786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4787   (exit $ac_status); } && {
  4788 	 test -z "$ac_c_werror_flag" ||
  4789 	 test ! -s conftest.err
  4790        } && test -s conftest.$ac_objext; then
  4791   ac_cv_prog_cc_g=yes
  4792 else
  4793   echo "$as_me: failed program was:" >&5
  4794 sed 's/^/| /' conftest.$ac_ext >&5
  4797 fi
  4799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4800 fi
  4802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4803 fi
  4805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4806    ac_c_werror_flag=$ac_save_c_werror_flag
  4807 fi
  4808 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4809 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4810 if test "$ac_test_CFLAGS" = set; then
  4811   CFLAGS=$ac_save_CFLAGS
  4812 elif test $ac_cv_prog_cc_g = yes; then
  4813   if test "$GCC" = yes; then
  4814     CFLAGS="-g -O2"
  4815   else
  4816     CFLAGS="-g"
  4817   fi
  4818 else
  4819   if test "$GCC" = yes; then
  4820     CFLAGS="-O2"
  4821   else
  4822     CFLAGS=
  4823   fi
  4824 fi
  4825 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4826 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  4827 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4828   echo $ECHO_N "(cached) $ECHO_C" >&6
  4829 else
  4830   ac_cv_prog_cc_c89=no
  4831 ac_save_CC=$CC
  4832 cat >conftest.$ac_ext <<_ACEOF
  4833 /* confdefs.h.  */
  4834 _ACEOF
  4835 cat confdefs.h >>conftest.$ac_ext
  4836 cat >>conftest.$ac_ext <<_ACEOF
  4837 /* end confdefs.h.  */
  4838 #include <stdarg.h>
  4839 #include <stdio.h>
  4840 #include <sys/types.h>
  4841 #include <sys/stat.h>
  4842 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4843 struct buf { int x; };
  4844 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4845 static char *e (p, i)
  4846      char **p;
  4847      int i;
  4849   return p[i];
  4851 static char *f (char * (*g) (char **, int), char **p, ...)
  4853   char *s;
  4854   va_list v;
  4855   va_start (v,p);
  4856   s = g (p, va_arg (v,int));
  4857   va_end (v);
  4858   return s;
  4861 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4862    function prototypes and stuff, but not '\xHH' hex character constants.
  4863    These don't provoke an error unfortunately, instead are silently treated
  4864    as 'x'.  The following induces an error, until -std is added to get
  4865    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4866    array size at least.  It's necessary to write '\x00'==0 to get something
  4867    that's true only with -std.  */
  4868 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4870 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4871    inside strings and character constants.  */
  4872 #define FOO(x) 'x'
  4873 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4875 int test (int i, double x);
  4876 struct s1 {int (*f) (int a);};
  4877 struct s2 {int (*f) (double a);};
  4878 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4879 int argc;
  4880 char **argv;
  4881 int
  4882 main ()
  4884 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4886   return 0;
  4888 _ACEOF
  4889 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4890 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4891 do
  4892   CC="$ac_save_CC $ac_arg"
  4893   rm -f conftest.$ac_objext
  4894 if { (ac_try="$ac_compile"
  4895 case "(($ac_try" in
  4896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4897   *) ac_try_echo=$ac_try;;
  4898 esac
  4899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4900   (eval "$ac_compile") 2>conftest.er1
  4901   ac_status=$?
  4902   grep -v '^ *+' conftest.er1 >conftest.err
  4903   rm -f conftest.er1
  4904   cat conftest.err >&5
  4905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4906   (exit $ac_status); } && {
  4907 	 test -z "$ac_c_werror_flag" ||
  4908 	 test ! -s conftest.err
  4909        } && test -s conftest.$ac_objext; then
  4910   ac_cv_prog_cc_c89=$ac_arg
  4911 else
  4912   echo "$as_me: failed program was:" >&5
  4913 sed 's/^/| /' conftest.$ac_ext >&5
  4916 fi
  4918 rm -f core conftest.err conftest.$ac_objext
  4919   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4920 done
  4921 rm -f conftest.$ac_ext
  4922 CC=$ac_save_CC
  4924 fi
  4925 # AC_CACHE_VAL
  4926 case "x$ac_cv_prog_cc_c89" in
  4927   x)
  4928     { echo "$as_me:$LINENO: result: none needed" >&5
  4929 echo "${ECHO_T}none needed" >&6; } ;;
  4930   xno)
  4931     { echo "$as_me:$LINENO: result: unsupported" >&5
  4932 echo "${ECHO_T}unsupported" >&6; } ;;
  4933   *)
  4934     CC="$CC $ac_cv_prog_cc_c89"
  4935     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4936 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4937 esac
  4940 ac_ext=c
  4941 ac_cpp='$CPP $CPPFLAGS'
  4942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4946 depcc="$CC"   am_compiler_list=
  4948 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4949 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4950 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4951   echo $ECHO_N "(cached) $ECHO_C" >&6
  4952 else
  4953   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4954   # We make a subdir and do the tests there.  Otherwise we can end up
  4955   # making bogus files that we don't know about and never remove.  For
  4956   # instance it was reported that on HP-UX the gcc test will end up
  4957   # making a dummy file named `D' -- because `-MD' means `put the output
  4958   # in D'.
  4959   mkdir conftest.dir
  4960   # Copy depcomp to subdir because otherwise we won't find it if we're
  4961   # using a relative directory.
  4962   cp "$am_depcomp" conftest.dir
  4963   cd conftest.dir
  4964   # We will build objects and dependencies in a subdirectory because
  4965   # it helps to detect inapplicable dependency modes.  For instance
  4966   # both Tru64's cc and ICC support -MD to output dependencies as a
  4967   # side effect of compilation, but ICC will put the dependencies in
  4968   # the current directory while Tru64 will put them in the object
  4969   # directory.
  4970   mkdir sub
  4972   am_cv_CC_dependencies_compiler_type=none
  4973   if test "$am_compiler_list" = ""; then
  4974      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4975   fi
  4976   for depmode in $am_compiler_list; do
  4977     # Setup a source with many dependencies, because some compilers
  4978     # like to wrap large dependency lists on column 80 (with \), and
  4979     # we should not choose a depcomp mode which is confused by this.
  4981     # We need to recreate these files for each test, as the compiler may
  4982     # overwrite some of them when testing with obscure command lines.
  4983     # This happens at least with the AIX C compiler.
  4984     : > sub/conftest.c
  4985     for i in 1 2 3 4 5 6; do
  4986       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4987       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4988       # Solaris 8's {/usr,}/bin/sh.
  4989       touch sub/conftst$i.h
  4990     done
  4991     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4993     case $depmode in
  4994     nosideeffect)
  4995       # after this tag, mechanisms are not by side-effect, so they'll
  4996       # only be used when explicitly requested
  4997       if test "x$enable_dependency_tracking" = xyes; then
  4998 	continue
  4999       else
  5000 	break
  5001       fi
  5002       ;;
  5003     none) break ;;
  5004     esac
  5005     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5006     # mode.  It turns out that the SunPro C++ compiler does not properly
  5007     # handle `-M -o', and we need to detect this.
  5008     if depmode=$depmode \
  5009        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5010        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5011        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5012          >/dev/null 2>conftest.err &&
  5013        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5014        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5015        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5016       # icc doesn't choke on unknown options, it will just issue warnings
  5017       # or remarks (even with -Werror).  So we grep stderr for any message
  5018       # that says an option was ignored or not supported.
  5019       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5020       #   icc: Command line warning: ignoring option '-M'; no argument required
  5021       # The diagnosis changed in icc 8.0:
  5022       #   icc: Command line remark: option '-MP' not supported
  5023       if (grep 'ignoring option' conftest.err ||
  5024           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5025         am_cv_CC_dependencies_compiler_type=$depmode
  5026         break
  5027       fi
  5028     fi
  5029   done
  5031   cd ..
  5032   rm -rf conftest.dir
  5033 else
  5034   am_cv_CC_dependencies_compiler_type=none
  5035 fi
  5037 fi
  5038 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5039 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  5040 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5044 if
  5045   test "x$enable_dependency_tracking" != xno \
  5046   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5047   am__fastdepCC_TRUE=
  5048   am__fastdepCC_FALSE='#'
  5049 else
  5050   am__fastdepCC_TRUE='#'
  5051   am__fastdepCC_FALSE=
  5052 fi
  5056 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5058 # By default we simply use the C compiler to build assembly code.
  5060 test "${CCAS+set}" = set || CCAS=$CC
  5061 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  5065 ac_ext=c
  5066 ac_cpp='$CPP $CPPFLAGS'
  5067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5070 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5071 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  5072 # On Suns, sometimes $CPP names a directory.
  5073 if test -n "$CPP" && test -d "$CPP"; then
  5074   CPP=
  5075 fi
  5076 if test -z "$CPP"; then
  5077   if test "${ac_cv_prog_CPP+set}" = set; then
  5078   echo $ECHO_N "(cached) $ECHO_C" >&6
  5079 else
  5080       # Double quotes because CPP needs to be expanded
  5081     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5082     do
  5083       ac_preproc_ok=false
  5084 for ac_c_preproc_warn_flag in '' yes
  5085 do
  5086   # Use a header file that comes with gcc, so configuring glibc
  5087   # with a fresh cross-compiler works.
  5088   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5089   # <limits.h> exists even on freestanding compilers.
  5090   # On the NeXT, cc -E runs the code through the compiler's parser,
  5091   # not just through cpp. "Syntax error" is here to catch this case.
  5092   cat >conftest.$ac_ext <<_ACEOF
  5093 /* confdefs.h.  */
  5094 _ACEOF
  5095 cat confdefs.h >>conftest.$ac_ext
  5096 cat >>conftest.$ac_ext <<_ACEOF
  5097 /* end confdefs.h.  */
  5098 #ifdef __STDC__
  5099 # include <limits.h>
  5100 #else
  5101 # include <assert.h>
  5102 #endif
  5103 		     Syntax error
  5104 _ACEOF
  5105 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5106 case "(($ac_try" in
  5107   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5108   *) ac_try_echo=$ac_try;;
  5109 esac
  5110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5111   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5112   ac_status=$?
  5113   grep -v '^ *+' conftest.er1 >conftest.err
  5114   rm -f conftest.er1
  5115   cat conftest.err >&5
  5116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5117   (exit $ac_status); } >/dev/null && {
  5118 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5119 	 test ! -s conftest.err
  5120        }; then
  5122 else
  5123   echo "$as_me: failed program was:" >&5
  5124 sed 's/^/| /' conftest.$ac_ext >&5
  5126   # Broken: fails on valid input.
  5127 continue
  5128 fi
  5130 rm -f conftest.err conftest.$ac_ext
  5132   # OK, works on sane cases.  Now check whether nonexistent headers
  5133   # can be detected and how.
  5134   cat >conftest.$ac_ext <<_ACEOF
  5135 /* confdefs.h.  */
  5136 _ACEOF
  5137 cat confdefs.h >>conftest.$ac_ext
  5138 cat >>conftest.$ac_ext <<_ACEOF
  5139 /* end confdefs.h.  */
  5140 #include <ac_nonexistent.h>
  5141 _ACEOF
  5142 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5143 case "(($ac_try" in
  5144   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5145   *) ac_try_echo=$ac_try;;
  5146 esac
  5147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5148   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5149   ac_status=$?
  5150   grep -v '^ *+' conftest.er1 >conftest.err
  5151   rm -f conftest.er1
  5152   cat conftest.err >&5
  5153   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5154   (exit $ac_status); } >/dev/null && {
  5155 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5156 	 test ! -s conftest.err
  5157        }; then
  5158   # Broken: success on invalid input.
  5159 continue
  5160 else
  5161   echo "$as_me: failed program was:" >&5
  5162 sed 's/^/| /' conftest.$ac_ext >&5
  5164   # Passes both tests.
  5165 ac_preproc_ok=:
  5166 break
  5167 fi
  5169 rm -f conftest.err conftest.$ac_ext
  5171 done
  5172 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5173 rm -f conftest.err conftest.$ac_ext
  5174 if $ac_preproc_ok; then
  5175   break
  5176 fi
  5178     done
  5179     ac_cv_prog_CPP=$CPP
  5181 fi
  5182   CPP=$ac_cv_prog_CPP
  5183 else
  5184   ac_cv_prog_CPP=$CPP
  5185 fi
  5186 { echo "$as_me:$LINENO: result: $CPP" >&5
  5187 echo "${ECHO_T}$CPP" >&6; }
  5188 ac_preproc_ok=false
  5189 for ac_c_preproc_warn_flag in '' yes
  5190 do
  5191   # Use a header file that comes with gcc, so configuring glibc
  5192   # with a fresh cross-compiler works.
  5193   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5194   # <limits.h> exists even on freestanding compilers.
  5195   # On the NeXT, cc -E runs the code through the compiler's parser,
  5196   # not just through cpp. "Syntax error" is here to catch this case.
  5197   cat >conftest.$ac_ext <<_ACEOF
  5198 /* confdefs.h.  */
  5199 _ACEOF
  5200 cat confdefs.h >>conftest.$ac_ext
  5201 cat >>conftest.$ac_ext <<_ACEOF
  5202 /* end confdefs.h.  */
  5203 #ifdef __STDC__
  5204 # include <limits.h>
  5205 #else
  5206 # include <assert.h>
  5207 #endif
  5208 		     Syntax error
  5209 _ACEOF
  5210 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5211 case "(($ac_try" in
  5212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5213   *) ac_try_echo=$ac_try;;
  5214 esac
  5215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5216   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5217   ac_status=$?
  5218   grep -v '^ *+' conftest.er1 >conftest.err
  5219   rm -f conftest.er1
  5220   cat conftest.err >&5
  5221   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5222   (exit $ac_status); } >/dev/null && {
  5223 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5224 	 test ! -s conftest.err
  5225        }; then
  5227 else
  5228   echo "$as_me: failed program was:" >&5
  5229 sed 's/^/| /' conftest.$ac_ext >&5
  5231   # Broken: fails on valid input.
  5232 continue
  5233 fi
  5235 rm -f conftest.err conftest.$ac_ext
  5237   # OK, works on sane cases.  Now check whether nonexistent headers
  5238   # can be detected and how.
  5239   cat >conftest.$ac_ext <<_ACEOF
  5240 /* confdefs.h.  */
  5241 _ACEOF
  5242 cat confdefs.h >>conftest.$ac_ext
  5243 cat >>conftest.$ac_ext <<_ACEOF
  5244 /* end confdefs.h.  */
  5245 #include <ac_nonexistent.h>
  5246 _ACEOF
  5247 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5248 case "(($ac_try" in
  5249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5250   *) ac_try_echo=$ac_try;;
  5251 esac
  5252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5253   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5254   ac_status=$?
  5255   grep -v '^ *+' conftest.er1 >conftest.err
  5256   rm -f conftest.er1
  5257   cat conftest.err >&5
  5258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5259   (exit $ac_status); } >/dev/null && {
  5260 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5261 	 test ! -s conftest.err
  5262        }; then
  5263   # Broken: success on invalid input.
  5264 continue
  5265 else
  5266   echo "$as_me: failed program was:" >&5
  5267 sed 's/^/| /' conftest.$ac_ext >&5
  5269   # Passes both tests.
  5270 ac_preproc_ok=:
  5271 break
  5272 fi
  5274 rm -f conftest.err conftest.$ac_ext
  5276 done
  5277 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5278 rm -f conftest.err conftest.$ac_ext
  5279 if $ac_preproc_ok; then
  5281 else
  5282   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5283 See \`config.log' for more details." >&5
  5284 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5285 See \`config.log' for more details." >&2;}
  5286    { (exit 1); exit 1; }; }
  5287 fi
  5289 ac_ext=c
  5290 ac_cpp='$CPP $CPPFLAGS'
  5291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5296 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  5297 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  5298 if test "${ac_cv_path_GREP+set}" = set; then
  5299   echo $ECHO_N "(cached) $ECHO_C" >&6
  5300 else
  5301   # Extract the first word of "grep ggrep" to use in msg output
  5302 if test -z "$GREP"; then
  5303 set dummy grep ggrep; ac_prog_name=$2
  5304 if test "${ac_cv_path_GREP+set}" = set; then
  5305   echo $ECHO_N "(cached) $ECHO_C" >&6
  5306 else
  5307   ac_path_GREP_found=false
  5308 # Loop through the user's path and test for each of PROGNAME-LIST
  5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5310 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5311 do
  5312   IFS=$as_save_IFS
  5313   test -z "$as_dir" && as_dir=.
  5314   for ac_prog in grep ggrep; do
  5315   for ac_exec_ext in '' $ac_executable_extensions; do
  5316     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5317     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5318     # Check for GNU ac_path_GREP and select it if it is found.
  5319   # Check for GNU $ac_path_GREP
  5320 case `"$ac_path_GREP" --version 2>&1` in
  5321 *GNU*)
  5322   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5323 *)
  5324   ac_count=0
  5325   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  5326   while :
  5327   do
  5328     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5329     mv "conftest.tmp" "conftest.in"
  5330     cp "conftest.in" "conftest.nl"
  5331     echo 'GREP' >> "conftest.nl"
  5332     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5333     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5334     ac_count=`expr $ac_count + 1`
  5335     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5336       # Best one so far, save it but keep looking for a better one
  5337       ac_cv_path_GREP="$ac_path_GREP"
  5338       ac_path_GREP_max=$ac_count
  5339     fi
  5340     # 10*(2^10) chars as input seems more than enough
  5341     test $ac_count -gt 10 && break
  5342   done
  5343   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5344 esac
  5347     $ac_path_GREP_found && break 3
  5348   done
  5349 done
  5351 done
  5352 IFS=$as_save_IFS
  5355 fi
  5357 GREP="$ac_cv_path_GREP"
  5358 if test -z "$GREP"; then
  5359   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5360 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5361    { (exit 1); exit 1; }; }
  5362 fi
  5364 else
  5365   ac_cv_path_GREP=$GREP
  5366 fi
  5369 fi
  5370 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  5371 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  5372  GREP="$ac_cv_path_GREP"
  5375 { echo "$as_me:$LINENO: checking for egrep" >&5
  5376 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  5377 if test "${ac_cv_path_EGREP+set}" = set; then
  5378   echo $ECHO_N "(cached) $ECHO_C" >&6
  5379 else
  5380   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  5381    then ac_cv_path_EGREP="$GREP -E"
  5382    else
  5383      # Extract the first word of "egrep" to use in msg output
  5384 if test -z "$EGREP"; then
  5385 set dummy egrep; ac_prog_name=$2
  5386 if test "${ac_cv_path_EGREP+set}" = set; then
  5387   echo $ECHO_N "(cached) $ECHO_C" >&6
  5388 else
  5389   ac_path_EGREP_found=false
  5390 # Loop through the user's path and test for each of PROGNAME-LIST
  5391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5392 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5393 do
  5394   IFS=$as_save_IFS
  5395   test -z "$as_dir" && as_dir=.
  5396   for ac_prog in egrep; do
  5397   for ac_exec_ext in '' $ac_executable_extensions; do
  5398     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  5399     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  5400     # Check for GNU ac_path_EGREP and select it if it is found.
  5401   # Check for GNU $ac_path_EGREP
  5402 case `"$ac_path_EGREP" --version 2>&1` in
  5403 *GNU*)
  5404   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  5405 *)
  5406   ac_count=0
  5407   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  5408   while :
  5409   do
  5410     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5411     mv "conftest.tmp" "conftest.in"
  5412     cp "conftest.in" "conftest.nl"
  5413     echo 'EGREP' >> "conftest.nl"
  5414     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5415     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5416     ac_count=`expr $ac_count + 1`
  5417     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  5418       # Best one so far, save it but keep looking for a better one
  5419       ac_cv_path_EGREP="$ac_path_EGREP"
  5420       ac_path_EGREP_max=$ac_count
  5421     fi
  5422     # 10*(2^10) chars as input seems more than enough
  5423     test $ac_count -gt 10 && break
  5424   done
  5425   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5426 esac
  5429     $ac_path_EGREP_found && break 3
  5430   done
  5431 done
  5433 done
  5434 IFS=$as_save_IFS
  5437 fi
  5439 EGREP="$ac_cv_path_EGREP"
  5440 if test -z "$EGREP"; then
  5441   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5442 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5443    { (exit 1); exit 1; }; }
  5444 fi
  5446 else
  5447   ac_cv_path_EGREP=$EGREP
  5448 fi
  5451    fi
  5452 fi
  5453 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  5454 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  5455  EGREP="$ac_cv_path_EGREP"
  5458 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  5459 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  5460 if test "${ac_cv_header_stdc+set}" = set; then
  5461   echo $ECHO_N "(cached) $ECHO_C" >&6
  5462 else
  5463   cat >conftest.$ac_ext <<_ACEOF
  5464 /* confdefs.h.  */
  5465 _ACEOF
  5466 cat confdefs.h >>conftest.$ac_ext
  5467 cat >>conftest.$ac_ext <<_ACEOF
  5468 /* end confdefs.h.  */
  5469 #include <stdlib.h>
  5470 #include <stdarg.h>
  5471 #include <string.h>
  5472 #include <float.h>
  5474 int
  5475 main ()
  5479   return 0;
  5481 _ACEOF
  5482 rm -f conftest.$ac_objext
  5483 if { (ac_try="$ac_compile"
  5484 case "(($ac_try" in
  5485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5486   *) ac_try_echo=$ac_try;;
  5487 esac
  5488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5489   (eval "$ac_compile") 2>conftest.er1
  5490   ac_status=$?
  5491   grep -v '^ *+' conftest.er1 >conftest.err
  5492   rm -f conftest.er1
  5493   cat conftest.err >&5
  5494   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5495   (exit $ac_status); } && {
  5496 	 test -z "$ac_c_werror_flag" ||
  5497 	 test ! -s conftest.err
  5498        } && test -s conftest.$ac_objext; then
  5499   ac_cv_header_stdc=yes
  5500 else
  5501   echo "$as_me: failed program was:" >&5
  5502 sed 's/^/| /' conftest.$ac_ext >&5
  5504 	ac_cv_header_stdc=no
  5505 fi
  5507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5509 if test $ac_cv_header_stdc = yes; then
  5510   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  5511   cat >conftest.$ac_ext <<_ACEOF
  5512 /* confdefs.h.  */
  5513 _ACEOF
  5514 cat confdefs.h >>conftest.$ac_ext
  5515 cat >>conftest.$ac_ext <<_ACEOF
  5516 /* end confdefs.h.  */
  5517 #include <string.h>
  5519 _ACEOF
  5520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5521   $EGREP "memchr" >/dev/null 2>&1; then
  5523 else
  5524   ac_cv_header_stdc=no
  5525 fi
  5526 rm -f conftest*
  5528 fi
  5530 if test $ac_cv_header_stdc = yes; then
  5531   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  5532   cat >conftest.$ac_ext <<_ACEOF
  5533 /* confdefs.h.  */
  5534 _ACEOF
  5535 cat confdefs.h >>conftest.$ac_ext
  5536 cat >>conftest.$ac_ext <<_ACEOF
  5537 /* end confdefs.h.  */
  5538 #include <stdlib.h>
  5540 _ACEOF
  5541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5542   $EGREP "free" >/dev/null 2>&1; then
  5544 else
  5545   ac_cv_header_stdc=no
  5546 fi
  5547 rm -f conftest*
  5549 fi
  5551 if test $ac_cv_header_stdc = yes; then
  5552   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  5553   if test "$cross_compiling" = yes; then
  5555 else
  5556   cat >conftest.$ac_ext <<_ACEOF
  5557 /* confdefs.h.  */
  5558 _ACEOF
  5559 cat confdefs.h >>conftest.$ac_ext
  5560 cat >>conftest.$ac_ext <<_ACEOF
  5561 /* end confdefs.h.  */
  5562 #include <ctype.h>
  5563 #include <stdlib.h>
  5564 #if ((' ' & 0x0FF) == 0x020)
  5565 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  5566 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  5567 #else
  5568 # define ISLOWER(c) \
  5569 		   (('a' <= (c) && (c) <= 'i') \
  5570 		     || ('j' <= (c) && (c) <= 'r') \
  5571 		     || ('s' <= (c) && (c) <= 'z'))
  5572 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  5573 #endif
  5575 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  5576 int
  5577 main ()
  5579   int i;
  5580   for (i = 0; i < 256; i++)
  5581     if (XOR (islower (i), ISLOWER (i))
  5582 	|| toupper (i) != TOUPPER (i))
  5583       return 2;
  5584   return 0;
  5586 _ACEOF
  5587 rm -f conftest$ac_exeext
  5588 if { (ac_try="$ac_link"
  5589 case "(($ac_try" in
  5590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5591   *) ac_try_echo=$ac_try;;
  5592 esac
  5593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5594   (eval "$ac_link") 2>&5
  5595   ac_status=$?
  5596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5597   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5598   { (case "(($ac_try" in
  5599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5600   *) ac_try_echo=$ac_try;;
  5601 esac
  5602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5603   (eval "$ac_try") 2>&5
  5604   ac_status=$?
  5605   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5606   (exit $ac_status); }; }; then
  5608 else
  5609   echo "$as_me: program exited with status $ac_status" >&5
  5610 echo "$as_me: failed program was:" >&5
  5611 sed 's/^/| /' conftest.$ac_ext >&5
  5613 ( exit $ac_status )
  5614 ac_cv_header_stdc=no
  5615 fi
  5616 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5617 fi
  5620 fi
  5621 fi
  5622 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  5623 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  5624 if test $ac_cv_header_stdc = yes; then
  5626 cat >>confdefs.h <<\_ACEOF
  5627 #define STDC_HEADERS 1
  5628 _ACEOF
  5630 fi
  5632 # Make sure we can run config.sub.
  5633 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  5634   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  5635 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  5636    { (exit 1); exit 1; }; }
  5638 { echo "$as_me:$LINENO: checking build system type" >&5
  5639 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  5640 if test "${ac_cv_build+set}" = set; then
  5641   echo $ECHO_N "(cached) $ECHO_C" >&6
  5642 else
  5643   ac_build_alias=$build_alias
  5644 test "x$ac_build_alias" = x &&
  5645   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  5646 test "x$ac_build_alias" = x &&
  5647   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  5648 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  5649    { (exit 1); exit 1; }; }
  5650 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  5651   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  5652 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  5653    { (exit 1); exit 1; }; }
  5655 fi
  5656 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  5657 echo "${ECHO_T}$ac_cv_build" >&6; }
  5658 case $ac_cv_build in
  5659 *-*-*) ;;
  5660 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  5661 echo "$as_me: error: invalid value of canonical build" >&2;}
  5662    { (exit 1); exit 1; }; };;
  5663 esac
  5664 build=$ac_cv_build
  5665 ac_save_IFS=$IFS; IFS='-'
  5666 set x $ac_cv_build
  5667 shift
  5668 build_cpu=$1
  5669 build_vendor=$2
  5670 shift; shift
  5671 # Remember, the first character of IFS is used to create $*,
  5672 # except with old shells:
  5673 build_os=$*
  5674 IFS=$ac_save_IFS
  5675 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  5678 { echo "$as_me:$LINENO: checking host system type" >&5
  5679 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  5680 if test "${ac_cv_host+set}" = set; then
  5681   echo $ECHO_N "(cached) $ECHO_C" >&6
  5682 else
  5683   if test "x$host_alias" = x; then
  5684   ac_cv_host=$ac_cv_build
  5685 else
  5686   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  5687     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  5688 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  5689    { (exit 1); exit 1; }; }
  5690 fi
  5692 fi
  5693 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  5694 echo "${ECHO_T}$ac_cv_host" >&6; }
  5695 case $ac_cv_host in
  5696 *-*-*) ;;
  5697 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  5698 echo "$as_me: error: invalid value of canonical host" >&2;}
  5699    { (exit 1); exit 1; }; };;
  5700 esac
  5701 host=$ac_cv_host
  5702 ac_save_IFS=$IFS; IFS='-'
  5703 set x $ac_cv_host
  5704 shift
  5705 host_cpu=$1
  5706 host_vendor=$2
  5707 shift; shift
  5708 # Remember, the first character of IFS is used to create $*,
  5709 # except with old shells:
  5710 host_os=$*
  5711 IFS=$ac_save_IFS
  5712 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  5715 # Check whether --enable-trace was given.
  5716 if test "${enable_trace+set}" = set; then
  5717   enableval=$enable_trace; if test "$enableval" == "yes"; then
  5719 cat >>confdefs.h <<\_ACEOF
  5720 #define ENABLE_TRACE_IO 1
  5721 _ACEOF
  5723     fi
  5724 fi
  5726 # Check whether --enable-watch was given.
  5727 if test "${enable_watch+set}" = set; then
  5728   enableval=$enable_watch; if test "$enableval" == "yes"; then
  5730 cat >>confdefs.h <<\_ACEOF
  5731 #define ENABLE_WATCH 1
  5732 _ACEOF
  5734    fi
  5735 fi
  5738 # Check whether --with-osmesa was given.
  5739 if test "${with_osmesa+set}" = set; then
  5740   withval=$with_osmesa;
  5741 else
  5742   with_osmesa=no
  5743 fi
  5748 lxdream_save_cppflags="$CPPFLAGS"
  5749 CPPFLAGS="$CPPFLAGS -x objective-c"
  5750 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  5760 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  5761 		  inttypes.h stdint.h unistd.h
  5762 do
  5763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5764 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  5765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  5766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5767   echo $ECHO_N "(cached) $ECHO_C" >&6
  5768 else
  5769   cat >conftest.$ac_ext <<_ACEOF
  5770 /* confdefs.h.  */
  5771 _ACEOF
  5772 cat confdefs.h >>conftest.$ac_ext
  5773 cat >>conftest.$ac_ext <<_ACEOF
  5774 /* end confdefs.h.  */
  5775 $ac_includes_default
  5777 #include <$ac_header>
  5778 _ACEOF
  5779 rm -f conftest.$ac_objext
  5780 if { (ac_try="$ac_compile"
  5781 case "(($ac_try" in
  5782   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5783   *) ac_try_echo=$ac_try;;
  5784 esac
  5785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5786   (eval "$ac_compile") 2>conftest.er1
  5787   ac_status=$?
  5788   grep -v '^ *+' conftest.er1 >conftest.err
  5789   rm -f conftest.er1
  5790   cat conftest.err >&5
  5791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5792   (exit $ac_status); } && {
  5793 	 test -z "$ac_c_werror_flag" ||
  5794 	 test ! -s conftest.err
  5795        } && test -s conftest.$ac_objext; then
  5796   eval "$as_ac_Header=yes"
  5797 else
  5798   echo "$as_me: failed program was:" >&5
  5799 sed 's/^/| /' conftest.$ac_ext >&5
  5801 	eval "$as_ac_Header=no"
  5802 fi
  5804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5805 fi
  5806 ac_res=`eval echo '${'$as_ac_Header'}'`
  5807 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  5808 echo "${ECHO_T}$ac_res" >&6; }
  5809 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  5810   cat >>confdefs.h <<_ACEOF
  5811 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5812 _ACEOF
  5814 fi
  5816 done
  5819 cat >conftest.$ac_ext <<_ACEOF
  5820 /* confdefs.h.  */
  5821 _ACEOF
  5822 cat confdefs.h >>conftest.$ac_ext
  5823 cat >>conftest.$ac_ext <<_ACEOF
  5824 /* end confdefs.h.  */
  5825 @interface Foo @end
  5826 int
  5827 main ()
  5831   return 0;
  5833 _ACEOF
  5834 rm -f conftest.$ac_objext
  5835 if { (ac_try="$ac_compile"
  5836 case "(($ac_try" in
  5837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5838   *) ac_try_echo=$ac_try;;
  5839 esac
  5840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5841   (eval "$ac_compile") 2>conftest.er1
  5842   ac_status=$?
  5843   grep -v '^ *+' conftest.er1 >conftest.err
  5844   rm -f conftest.er1
  5845   cat conftest.err >&5
  5846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5847   (exit $ac_status); } && {
  5848 	 test -z "$ac_c_werror_flag" ||
  5849 	 test ! -s conftest.err
  5850        } && test -s conftest.$ac_objext; then
  5853    if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  5854   { echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  5855 echo $ECHO_N "checking for Cocoa/Cocoa.h... $ECHO_C" >&6; }
  5856 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  5857   echo $ECHO_N "(cached) $ECHO_C" >&6
  5858 fi
  5859 { echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  5860 echo "${ECHO_T}$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  5861 else
  5862   # Is the header compilable?
  5863 { echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
  5864 echo $ECHO_N "checking Cocoa/Cocoa.h usability... $ECHO_C" >&6; }
  5865 cat >conftest.$ac_ext <<_ACEOF
  5866 /* confdefs.h.  */
  5867 _ACEOF
  5868 cat confdefs.h >>conftest.$ac_ext
  5869 cat >>conftest.$ac_ext <<_ACEOF
  5870 /* end confdefs.h.  */
  5871 $ac_includes_default
  5872 #include <Cocoa/Cocoa.h>
  5873 _ACEOF
  5874 rm -f conftest.$ac_objext
  5875 if { (ac_try="$ac_compile"
  5876 case "(($ac_try" in
  5877   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5878   *) ac_try_echo=$ac_try;;
  5879 esac
  5880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5881   (eval "$ac_compile") 2>conftest.er1
  5882   ac_status=$?
  5883   grep -v '^ *+' conftest.er1 >conftest.err
  5884   rm -f conftest.er1
  5885   cat conftest.err >&5
  5886   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5887   (exit $ac_status); } && {
  5888 	 test -z "$ac_c_werror_flag" ||
  5889 	 test ! -s conftest.err
  5890        } && test -s conftest.$ac_objext; then
  5891   ac_header_compiler=yes
  5892 else
  5893   echo "$as_me: failed program was:" >&5
  5894 sed 's/^/| /' conftest.$ac_ext >&5
  5896 	ac_header_compiler=no
  5897 fi
  5899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5900 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  5901 echo "${ECHO_T}$ac_header_compiler" >&6; }
  5903 # Is the header present?
  5904 { echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
  5905 echo $ECHO_N "checking Cocoa/Cocoa.h presence... $ECHO_C" >&6; }
  5906 cat >conftest.$ac_ext <<_ACEOF
  5907 /* confdefs.h.  */
  5908 _ACEOF
  5909 cat confdefs.h >>conftest.$ac_ext
  5910 cat >>conftest.$ac_ext <<_ACEOF
  5911 /* end confdefs.h.  */
  5912 #include <Cocoa/Cocoa.h>
  5913 _ACEOF
  5914 if { (ac_try="$ac_cpp conftest.$ac_ext"
  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_cpp conftest.$ac_ext") 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); } >/dev/null && {
  5927 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5928 	 test ! -s conftest.err
  5929        }; then
  5930   ac_header_preproc=yes
  5931 else
  5932   echo "$as_me: failed program was:" >&5
  5933 sed 's/^/| /' conftest.$ac_ext >&5
  5935   ac_header_preproc=no
  5936 fi
  5938 rm -f conftest.err conftest.$ac_ext
  5939 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  5940 echo "${ECHO_T}$ac_header_preproc" >&6; }
  5942 # So?  What about this header?
  5943 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  5944   yes:no: )
  5945     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  5946 echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  5947     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
  5948 echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
  5949     ac_header_preproc=yes
  5950     ;;
  5951   no:yes:* )
  5952     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
  5953 echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
  5954     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&5
  5955 echo "$as_me: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&2;}
  5956     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
  5957 echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
  5958     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&5
  5959 echo "$as_me: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  5960     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&5
  5961 echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}
  5962     { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&5
  5963 echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
  5965     ;;
  5966 esac
  5967 { echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  5968 echo $ECHO_N "checking for Cocoa/Cocoa.h... $ECHO_C" >&6; }
  5969 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  5970   echo $ECHO_N "(cached) $ECHO_C" >&6
  5971 else
  5972   ac_cv_header_Cocoa_Cocoa_h=$ac_header_preproc
  5973 fi
  5974 { echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  5975 echo "${ECHO_T}$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  5977 fi
  5978 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
  5980       HAVE_COCOA='yes'
  5981       APPLE_BUILD='yes'
  5982       LIBS="$LIBS -framework AppKit"
  5983       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"
  5985 cat >>confdefs.h <<\_ACEOF
  5986 #define HAVE_COCOA 1
  5987 _ACEOF
  5990 cat >>confdefs.h <<\_ACEOF
  5991 #define APPLE_BUILD 1
  5992 _ACEOF
  5995 fi
  6000 else
  6001   echo "$as_me: failed program was:" >&5
  6002 sed 's/^/| /' conftest.$ac_ext >&5
  6004 	CPPFLAGS="$lxdream_save_cppflags"
  6005 fi
  6007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6010 if test "$HAVE_COCOA" = 'yes'; then
  6011   GUI_COCOA_TRUE=
  6012   GUI_COCOA_FALSE='#'
  6013 else
  6014   GUI_COCOA_TRUE='#'
  6015   GUI_COCOA_FALSE=
  6016 fi
  6021 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  6022 	if test -n "$ac_tool_prefix"; then
  6023   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  6024 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  6025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6027 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  6028   echo $ECHO_N "(cached) $ECHO_C" >&6
  6029 else
  6030   case $PKG_CONFIG in
  6031   [\\/]* | ?:[\\/]*)
  6032   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  6033   ;;
  6034   *)
  6035   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6036 for as_dir in $PATH
  6037 do
  6038   IFS=$as_save_IFS
  6039   test -z "$as_dir" && as_dir=.
  6040   for ac_exec_ext in '' $ac_executable_extensions; do
  6041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6042     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  6043     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6044     break 2
  6045   fi
  6046 done
  6047 done
  6048 IFS=$as_save_IFS
  6050   ;;
  6051 esac
  6052 fi
  6053 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  6054 if test -n "$PKG_CONFIG"; then
  6055   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  6056 echo "${ECHO_T}$PKG_CONFIG" >&6; }
  6057 else
  6058   { echo "$as_me:$LINENO: result: no" >&5
  6059 echo "${ECHO_T}no" >&6; }
  6060 fi
  6063 fi
  6064 if test -z "$ac_cv_path_PKG_CONFIG"; then
  6065   ac_pt_PKG_CONFIG=$PKG_CONFIG
  6066   # Extract the first word of "pkg-config", so it can be a program name with args.
  6067 set dummy pkg-config; ac_word=$2
  6068 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6069 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6070 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  6071   echo $ECHO_N "(cached) $ECHO_C" >&6
  6072 else
  6073   case $ac_pt_PKG_CONFIG in
  6074   [\\/]* | ?:[\\/]*)
  6075   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  6076   ;;
  6077   *)
  6078   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6079 for as_dir in $PATH
  6080 do
  6081   IFS=$as_save_IFS
  6082   test -z "$as_dir" && as_dir=.
  6083   for ac_exec_ext in '' $ac_executable_extensions; do
  6084   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6085     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  6086     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6087     break 2
  6088   fi
  6089 done
  6090 done
  6091 IFS=$as_save_IFS
  6093   ;;
  6094 esac
  6095 fi
  6096 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  6097 if test -n "$ac_pt_PKG_CONFIG"; then
  6098   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  6099 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
  6100 else
  6101   { echo "$as_me:$LINENO: result: no" >&5
  6102 echo "${ECHO_T}no" >&6; }
  6103 fi
  6105   if test "x$ac_pt_PKG_CONFIG" = x; then
  6106     PKG_CONFIG=""
  6107   else
  6108     case $cross_compiling:$ac_tool_warned in
  6109 yes:)
  6110 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  6111 whose name does not start with the host triplet.  If you think this
  6112 configuration is useful to you, please write to autoconf@gnu.org." >&5
  6113 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6114 whose name does not start with the host triplet.  If you think this
  6115 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6116 ac_tool_warned=yes ;;
  6117 esac
  6118     PKG_CONFIG=$ac_pt_PKG_CONFIG
  6119   fi
  6120 else
  6121   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  6122 fi
  6124 fi
  6125 if test -n "$PKG_CONFIG"; then
  6126 	_pkg_min_version=0.9.0
  6127 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  6128 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
  6129 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  6130 		{ echo "$as_me:$LINENO: result: yes" >&5
  6131 echo "${ECHO_T}yes" >&6; }
  6132 	else
  6133 		{ echo "$as_me:$LINENO: result: no" >&5
  6134 echo "${ECHO_T}no" >&6; }
  6135 		PKG_CONFIG=""
  6136 	fi
  6138 fi
  6140 pkg_failed=no
  6141 { echo "$as_me:$LINENO: checking for LIBPNG" >&5
  6142 echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
  6144 if test -n "$PKG_CONFIG"; then
  6145     if test -n "$LIBPNG_CFLAGS"; then
  6146         pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
  6147     else
  6148         if test -n "$PKG_CONFIG" && \
  6149     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  6150   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  6151   ac_status=$?
  6152   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6153   (exit $ac_status); }; then
  6154   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
  6155 else
  6156   pkg_failed=yes
  6157 fi
  6158     fi
  6159 else
  6160 	pkg_failed=untried
  6161 fi
  6162 if test -n "$PKG_CONFIG"; then
  6163     if test -n "$LIBPNG_LIBS"; then
  6164         pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
  6165     else
  6166         if test -n "$PKG_CONFIG" && \
  6167     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  6168   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  6169   ac_status=$?
  6170   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6171   (exit $ac_status); }; then
  6172   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
  6173 else
  6174   pkg_failed=yes
  6175 fi
  6176     fi
  6177 else
  6178 	pkg_failed=untried
  6179 fi
  6183 if test $pkg_failed = yes; then
  6185 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  6186         _pkg_short_errors_supported=yes
  6187 else
  6188         _pkg_short_errors_supported=no
  6189 fi
  6190         if test $_pkg_short_errors_supported = yes; then
  6191 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
  6192         else
  6193 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`
  6194         fi
  6195 	# Put the nasty error message in config.log where it belongs
  6196 	echo "$LIBPNG_PKG_ERRORS" >&5
  6198 	{ { echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
  6200 $LIBPNG_PKG_ERRORS
  6202 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  6203 installed software in a non-standard prefix.
  6205 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  6206 and LIBPNG_LIBS to avoid the need to call pkg-config.
  6207 See the pkg-config man page for more details.
  6208 " >&5
  6209 echo "$as_me: error: Package requirements (libpng ) were not met:
  6211 $LIBPNG_PKG_ERRORS
  6213 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  6214 installed software in a non-standard prefix.
  6216 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  6217 and LIBPNG_LIBS to avoid the need to call pkg-config.
  6218 See the pkg-config man page for more details.
  6219 " >&2;}
  6220    { (exit 1); exit 1; }; }
  6221 elif test $pkg_failed = untried; then
  6222 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  6223 is in your PATH or set the PKG_CONFIG environment variable to the full
  6224 path to pkg-config.
  6226 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  6227 and LIBPNG_LIBS to avoid the need to call pkg-config.
  6228 See the pkg-config man page for more details.
  6230 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  6231 See \`config.log' for more details." >&5
  6232 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  6233 is in your PATH or set the PKG_CONFIG environment variable to the full
  6234 path to pkg-config.
  6236 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  6237 and LIBPNG_LIBS to avoid the need to call pkg-config.
  6238 See the pkg-config man page for more details.
  6240 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  6241 See \`config.log' for more details." >&2;}
  6242    { (exit 1); exit 1; }; }
  6243 else
  6244 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
  6245 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
  6246         { echo "$as_me:$LINENO: result: yes" >&5
  6247 echo "${ECHO_T}yes" >&6; }
  6249 fi
  6252 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
  6253 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
  6254 if test "${ac_cv_lib_z_uncompress+set}" = set; then
  6255   echo $ECHO_N "(cached) $ECHO_C" >&6
  6256 else
  6257   ac_check_lib_save_LIBS=$LIBS
  6258 LIBS="-lz  $LIBS"
  6259 cat >conftest.$ac_ext <<_ACEOF
  6260 /* confdefs.h.  */
  6261 _ACEOF
  6262 cat confdefs.h >>conftest.$ac_ext
  6263 cat >>conftest.$ac_ext <<_ACEOF
  6264 /* end confdefs.h.  */
  6266 /* Override any GCC internal prototype to avoid an error.
  6267    Use char because int might match the return type of a GCC
  6268    builtin and then its argument prototype would still apply.  */
  6269 #ifdef __cplusplus
  6270 extern "C"
  6271 #endif
  6272 char uncompress ();
  6273 int
  6274 main ()
  6276 return uncompress ();
  6278   return 0;
  6280 _ACEOF
  6281 rm -f conftest.$ac_objext conftest$ac_exeext
  6282 if { (ac_try="$ac_link"
  6283 case "(($ac_try" in
  6284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6285   *) ac_try_echo=$ac_try;;
  6286 esac
  6287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6288   (eval "$ac_link") 2>conftest.er1
  6289   ac_status=$?
  6290   grep -v '^ *+' conftest.er1 >conftest.err
  6291   rm -f conftest.er1
  6292   cat conftest.err >&5
  6293   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6294   (exit $ac_status); } && {
  6295 	 test -z "$ac_c_werror_flag" ||
  6296 	 test ! -s conftest.err
  6297        } && test -s conftest$ac_exeext &&
  6298        $as_test_x conftest$ac_exeext; then
  6299   ac_cv_lib_z_uncompress=yes
  6300 else
  6301   echo "$as_me: failed program was:" >&5
  6302 sed 's/^/| /' conftest.$ac_ext >&5
  6304 	ac_cv_lib_z_uncompress=no
  6305 fi
  6307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6308       conftest$ac_exeext conftest.$ac_ext
  6309 LIBS=$ac_check_lib_save_LIBS
  6310 fi
  6311 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
  6312 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
  6313 if test $ac_cv_lib_z_uncompress = yes; then
  6314   cat >>confdefs.h <<_ACEOF
  6315 #define HAVE_LIBZ 1
  6316 _ACEOF
  6318   LIBS="-lz $LIBS"
  6320 else
  6322     echo "Zlib (libz.so) could not be found, but is required."
  6323     exit 1
  6324 fi
  6329 pkg_failed=no
  6330 { echo "$as_me:$LINENO: checking for GTK" >&5
  6331 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
  6333 if test -n "$PKG_CONFIG"; then
  6334     if test -n "$GTK_CFLAGS"; then
  6335         pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
  6336     else
  6337         if test -n "$PKG_CONFIG" && \
  6338     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  6339   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  6340   ac_status=$?
  6341   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6342   (exit $ac_status); }; then
  6343   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
  6344 else
  6345   pkg_failed=yes
  6346 fi
  6347     fi
  6348 else
  6349 	pkg_failed=untried
  6350 fi
  6351 if test -n "$PKG_CONFIG"; then
  6352     if test -n "$GTK_LIBS"; then
  6353         pkg_cv_GTK_LIBS="$GTK_LIBS"
  6354     else
  6355         if test -n "$PKG_CONFIG" && \
  6356     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  6357   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  6358   ac_status=$?
  6359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6360   (exit $ac_status); }; then
  6361   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
  6362 else
  6363   pkg_failed=yes
  6364 fi
  6365     fi
  6366 else
  6367 	pkg_failed=untried
  6368 fi
  6372 if test $pkg_failed = yes; then
  6374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  6375         _pkg_short_errors_supported=yes
  6376 else
  6377         _pkg_short_errors_supported=no
  6378 fi
  6379         if test $_pkg_short_errors_supported = yes; then
  6380 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
  6381         else
  6382 	        GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
  6383         fi
  6384 	# Put the nasty error message in config.log where it belongs
  6385 	echo "$GTK_PKG_ERRORS" >&5
  6387 	{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
  6389 $GTK_PKG_ERRORS
  6391 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  6392 installed software in a non-standard prefix.
  6394 Alternatively, you may set the environment variables GTK_CFLAGS
  6395 and GTK_LIBS to avoid the need to call pkg-config.
  6396 See the pkg-config man page for more details.
  6397 " >&5
  6398 echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
  6400 $GTK_PKG_ERRORS
  6402 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  6403 installed software in a non-standard prefix.
  6405 Alternatively, you may set the environment variables GTK_CFLAGS
  6406 and GTK_LIBS to avoid the need to call pkg-config.
  6407 See the pkg-config man page for more details.
  6408 " >&2;}
  6409    { (exit 1); exit 1; }; }
  6410 elif test $pkg_failed = untried; then
  6411 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  6412 is in your PATH or set the PKG_CONFIG environment variable to the full
  6413 path to pkg-config.
  6415 Alternatively, you may set the environment variables GTK_CFLAGS
  6416 and GTK_LIBS to avoid the need to call pkg-config.
  6417 See the pkg-config man page for more details.
  6419 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  6420 See \`config.log' for more details." >&5
  6421 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  6422 is in your PATH or set the PKG_CONFIG environment variable to the full
  6423 path to pkg-config.
  6425 Alternatively, you may set the environment variables GTK_CFLAGS
  6426 and GTK_LIBS to avoid the need to call pkg-config.
  6427 See the pkg-config man page for more details.
  6429 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  6430 See \`config.log' for more details." >&2;}
  6431    { (exit 1); exit 1; }; }
  6432 else
  6433 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
  6434 	GTK_LIBS=$pkg_cv_GTK_LIBS
  6435         { echo "$as_me:$LINENO: result: yes" >&5
  6436 echo "${ECHO_T}yes" >&6; }
  6438     HAVE_GTK='yes'
  6440 cat >>confdefs.h <<\_ACEOF
  6441 #define HAVE_GTK 1
  6442 _ACEOF
  6445 fi
  6448 if test "$HAVE_GTK" = 'yes'; then
  6449   GUI_GTK_TRUE=
  6450   GUI_GTK_FALSE='#'
  6451 else
  6452   GUI_GTK_TRUE='#'
  6453   GUI_GTK_FALSE=
  6454 fi
  6457 LIBS="$LIBS $GTK_LIBS"
  6458 { echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
  6459 echo $ECHO_N "checking for gdk_x11_display_get_xdisplay... $ECHO_C" >&6; }
  6460 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
  6461   echo $ECHO_N "(cached) $ECHO_C" >&6
  6462 else
  6463   cat >conftest.$ac_ext <<_ACEOF
  6464 /* confdefs.h.  */
  6465 _ACEOF
  6466 cat confdefs.h >>conftest.$ac_ext
  6467 cat >>conftest.$ac_ext <<_ACEOF
  6468 /* end confdefs.h.  */
  6469 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
  6470    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6471 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
  6473 /* System header to define __stub macros and hopefully few prototypes,
  6474     which can conflict with char gdk_x11_display_get_xdisplay (); below.
  6475     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6476     <limits.h> exists even on freestanding compilers.  */
  6478 #ifdef __STDC__
  6479 # include <limits.h>
  6480 #else
  6481 # include <assert.h>
  6482 #endif
  6484 #undef gdk_x11_display_get_xdisplay
  6486 /* Override any GCC internal prototype to avoid an error.
  6487    Use char because int might match the return type of a GCC
  6488    builtin and then its argument prototype would still apply.  */
  6489 #ifdef __cplusplus
  6490 extern "C"
  6491 #endif
  6492 char gdk_x11_display_get_xdisplay ();
  6493 /* The GNU C library defines this for functions which it implements
  6494     to always fail with ENOSYS.  Some functions are actually named
  6495     something starting with __ and the normal name is an alias.  */
  6496 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
  6497 choke me
  6498 #endif
  6500 int
  6501 main ()
  6503 return gdk_x11_display_get_xdisplay ();
  6505   return 0;
  6507 _ACEOF
  6508 rm -f conftest.$ac_objext conftest$ac_exeext
  6509 if { (ac_try="$ac_link"
  6510 case "(($ac_try" in
  6511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6512   *) ac_try_echo=$ac_try;;
  6513 esac
  6514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6515   (eval "$ac_link") 2>conftest.er1
  6516   ac_status=$?
  6517   grep -v '^ *+' conftest.er1 >conftest.err
  6518   rm -f conftest.er1
  6519   cat conftest.err >&5
  6520   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6521   (exit $ac_status); } && {
  6522 	 test -z "$ac_c_werror_flag" ||
  6523 	 test ! -s conftest.err
  6524        } && test -s conftest$ac_exeext &&
  6525        $as_test_x conftest$ac_exeext; then
  6526   ac_cv_func_gdk_x11_display_get_xdisplay=yes
  6527 else
  6528   echo "$as_me: failed program was:" >&5
  6529 sed 's/^/| /' conftest.$ac_ext >&5
  6531 	ac_cv_func_gdk_x11_display_get_xdisplay=no
  6532 fi
  6534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6535       conftest$ac_exeext conftest.$ac_ext
  6536 fi
  6537 { echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
  6538 echo "${ECHO_T}$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
  6539 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
  6541    HAVE_GTK_X11='yes'
  6543 cat >>confdefs.h <<\_ACEOF
  6544 #define HAVE_GTK_X11 1
  6545 _ACEOF
  6547 fi
  6549 { echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
  6550 echo $ECHO_N "checking for gdk_quartz_window_get_nsview... $ECHO_C" >&6; }
  6551 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
  6552   echo $ECHO_N "(cached) $ECHO_C" >&6
  6553 else
  6554   cat >conftest.$ac_ext <<_ACEOF
  6555 /* confdefs.h.  */
  6556 _ACEOF
  6557 cat confdefs.h >>conftest.$ac_ext
  6558 cat >>conftest.$ac_ext <<_ACEOF
  6559 /* end confdefs.h.  */
  6560 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
  6561    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  6562 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
  6564 /* System header to define __stub macros and hopefully few prototypes,
  6565     which can conflict with char gdk_quartz_window_get_nsview (); below.
  6566     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6567     <limits.h> exists even on freestanding compilers.  */
  6569 #ifdef __STDC__
  6570 # include <limits.h>
  6571 #else
  6572 # include <assert.h>
  6573 #endif
  6575 #undef gdk_quartz_window_get_nsview
  6577 /* Override any GCC internal prototype to avoid an error.
  6578    Use char because int might match the return type of a GCC
  6579    builtin and then its argument prototype would still apply.  */
  6580 #ifdef __cplusplus
  6581 extern "C"
  6582 #endif
  6583 char gdk_quartz_window_get_nsview ();
  6584 /* The GNU C library defines this for functions which it implements
  6585     to always fail with ENOSYS.  Some functions are actually named
  6586     something starting with __ and the normal name is an alias.  */
  6587 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
  6588 choke me
  6589 #endif
  6591 int
  6592 main ()
  6594 return gdk_quartz_window_get_nsview ();
  6596   return 0;
  6598 _ACEOF
  6599 rm -f conftest.$ac_objext conftest$ac_exeext
  6600 if { (ac_try="$ac_link"
  6601 case "(($ac_try" in
  6602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6603   *) ac_try_echo=$ac_try;;
  6604 esac
  6605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6606   (eval "$ac_link") 2>conftest.er1
  6607   ac_status=$?
  6608   grep -v '^ *+' conftest.er1 >conftest.err
  6609   rm -f conftest.er1
  6610   cat conftest.err >&5
  6611   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6612   (exit $ac_status); } && {
  6613 	 test -z "$ac_c_werror_flag" ||
  6614 	 test ! -s conftest.err
  6615        } && test -s conftest$ac_exeext &&
  6616        $as_test_x conftest$ac_exeext; then
  6617   ac_cv_func_gdk_quartz_window_get_nsview=yes
  6618 else
  6619   echo "$as_me: failed program was:" >&5
  6620 sed 's/^/| /' conftest.$ac_ext >&5
  6622 	ac_cv_func_gdk_quartz_window_get_nsview=no
  6623 fi
  6625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6626       conftest$ac_exeext conftest.$ac_ext
  6627 fi
  6628 { echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
  6629 echo "${ECHO_T}$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
  6630 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
  6632    HAVE_GTK_OSX='yes'
  6634 cat >>confdefs.h <<\_ACEOF
  6635 #define HAVE_GTK_OSX 1
  6636 _ACEOF
  6638 fi
  6641 if test "x$with_osmesa" != xno; then
  6645 { echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
  6646 echo $ECHO_N "checking for OSMesaCreateContext in -lOSMesa... $ECHO_C" >&6; }
  6647 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
  6648   echo $ECHO_N "(cached) $ECHO_C" >&6
  6649 else
  6650   ac_check_lib_save_LIBS=$LIBS
  6651 LIBS="-lOSMesa  $LIBS"
  6652 cat >conftest.$ac_ext <<_ACEOF
  6653 /* confdefs.h.  */
  6654 _ACEOF
  6655 cat confdefs.h >>conftest.$ac_ext
  6656 cat >>conftest.$ac_ext <<_ACEOF
  6657 /* end confdefs.h.  */
  6659 /* Override any GCC internal prototype to avoid an error.
  6660    Use char because int might match the return type of a GCC
  6661    builtin and then its argument prototype would still apply.  */
  6662 #ifdef __cplusplus
  6663 extern "C"
  6664 #endif
  6665 char OSMesaCreateContext ();
  6666 int
  6667 main ()
  6669 return OSMesaCreateContext ();
  6671   return 0;
  6673 _ACEOF
  6674 rm -f conftest.$ac_objext conftest$ac_exeext
  6675 if { (ac_try="$ac_link"
  6676 case "(($ac_try" in
  6677   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6678   *) ac_try_echo=$ac_try;;
  6679 esac
  6680 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6681   (eval "$ac_link") 2>conftest.er1
  6682   ac_status=$?
  6683   grep -v '^ *+' conftest.er1 >conftest.err
  6684   rm -f conftest.er1
  6685   cat conftest.err >&5
  6686   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6687   (exit $ac_status); } && {
  6688 	 test -z "$ac_c_werror_flag" ||
  6689 	 test ! -s conftest.err
  6690        } && test -s conftest$ac_exeext &&
  6691        $as_test_x conftest$ac_exeext; then
  6692   ac_cv_lib_OSMesa_OSMesaCreateContext=yes
  6693 else
  6694   echo "$as_me: failed program was:" >&5
  6695 sed 's/^/| /' conftest.$ac_ext >&5
  6697 	ac_cv_lib_OSMesa_OSMesaCreateContext=no
  6698 fi
  6700 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6701       conftest$ac_exeext conftest.$ac_ext
  6702 LIBS=$ac_check_lib_save_LIBS
  6703 fi
  6704 { echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
  6705 echo "${ECHO_T}$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
  6706 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
  6707   cat >>confdefs.h <<_ACEOF
  6708 #define HAVE_LIBOSMESA 1
  6709 _ACEOF
  6711   LIBS="-lOSMesa $LIBS"
  6713 else
  6714   { { echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
  6715 See \`config.log' for more details." >&5
  6716 echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
  6717 See \`config.log' for more details." >&2;}
  6718    { (exit 1); exit 1; }; }
  6719 fi
  6721   if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  6722   { echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  6723 echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }
  6724 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  6725   echo $ECHO_N "(cached) $ECHO_C" >&6
  6726 fi
  6727 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  6728 echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }
  6729 else
  6730   # Is the header compilable?
  6731 { echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
  6732 echo $ECHO_N "checking GL/osmesa.h usability... $ECHO_C" >&6; }
  6733 cat >conftest.$ac_ext <<_ACEOF
  6734 /* confdefs.h.  */
  6735 _ACEOF
  6736 cat confdefs.h >>conftest.$ac_ext
  6737 cat >>conftest.$ac_ext <<_ACEOF
  6738 /* end confdefs.h.  */
  6739 $ac_includes_default
  6740 #include <GL/osmesa.h>
  6741 _ACEOF
  6742 rm -f conftest.$ac_objext
  6743 if { (ac_try="$ac_compile"
  6744 case "(($ac_try" in
  6745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6746   *) ac_try_echo=$ac_try;;
  6747 esac
  6748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6749   (eval "$ac_compile") 2>conftest.er1
  6750   ac_status=$?
  6751   grep -v '^ *+' conftest.er1 >conftest.err
  6752   rm -f conftest.er1
  6753   cat conftest.err >&5
  6754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6755   (exit $ac_status); } && {
  6756 	 test -z "$ac_c_werror_flag" ||
  6757 	 test ! -s conftest.err
  6758        } && test -s conftest.$ac_objext; then
  6759   ac_header_compiler=yes
  6760 else
  6761   echo "$as_me: failed program was:" >&5
  6762 sed 's/^/| /' conftest.$ac_ext >&5
  6764 	ac_header_compiler=no
  6765 fi