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