Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 688:8a13dabbdced
prev681:1755a126b109
next697:479b8c213f61
author nkeynes
date Sat Jun 14 11:57:11 2008 +0000 (11 years ago)
permissions -rwxr-xr-x
last change And the updated configure from the previous commit
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_COCOA_TRUE
   729 GUI_COCOA_FALSE
   730 PKG_CONFIG
   731 LIBPNG_CFLAGS
   732 LIBPNG_LIBS
   733 GLIB_CFLAGS
   734 GLIB_LIBS
   735 GTK_CFLAGS
   736 GTK_LIBS
   737 GUI_GTK_TRUE
   738 GUI_GTK_FALSE
   739 VIDEO_OSMESA_TRUE
   740 VIDEO_OSMESA_FALSE
   741 VIDEO_GLX_TRUE
   742 VIDEO_GLX_FALSE
   743 VIDEO_NSGL_TRUE
   744 VIDEO_NSGL_FALSE
   745 BUILD_SH4X86_TRUE
   746 BUILD_SH4X86_FALSE
   747 BUILD_X86_64_TRUE
   748 BUILD_X86_64_FALSE
   749 PULSE_CFLAGS
   750 PULSE_LIBS
   751 AUDIO_PULSE_TRUE
   752 AUDIO_PULSE_FALSE
   753 ESOUND_CFLAGS
   754 ESOUND_LIBS
   755 AUDIO_ESOUND_TRUE
   756 AUDIO_ESOUND_FALSE
   757 ALSA_CFLAGS
   758 ALSA_LIBS
   759 AUDIO_ALSA_TRUE
   760 AUDIO_ALSA_FALSE
   761 CDROM_LINUX_TRUE
   762 CDROM_LINUX_FALSE
   763 JOY_LINUX_TRUE
   764 JOY_LINUX_FALSE
   765 SHCC
   766 SHLD
   767 SHOBJCOPY
   768 ARMCC
   769 ARMLD
   770 ARMOBJCOPY
   771 BUILD_SYSTEST_TRUE
   772 BUILD_SYSTEST_FALSE
   773 BUILD_ARMTEST_TRUE
   774 BUILD_ARMTEST_FALSE
   775 GETTEXT_PACKAGE
   776 USE_NLS
   777 MSGFMT
   778 MSGFMT_OPTS
   779 GMSGFMT
   780 XGETTEXT
   781 CATALOGS
   782 CATOBJEXT
   783 DATADIRNAME
   784 GMOFILES
   785 INSTOBJEXT
   786 INTLLIBS
   787 PO_IN_DATADIR_TRUE
   788 PO_IN_DATADIR_FALSE
   789 POFILES
   790 POSUB
   791 MKINSTALLDIRS
   792 LIBOBJS
   793 LTLIBOBJS'
   794 ac_subst_files=''
   795 ac_user_opts='
   796 enable_option_checking
   797 enable_maintainer_mode
   798 enable_dependency_tracking
   799 enable_trace
   800 enable_watch
   801 enable_sh4stats
   802 with_osmesa
   803 with_gtk
   804 '
   805       ac_precious_vars='build_alias
   806 host_alias
   807 target_alias
   808 CC
   809 CFLAGS
   810 LDFLAGS
   811 LIBS
   812 CPPFLAGS
   813 CCAS
   814 CCASFLAGS
   815 CPP
   816 PKG_CONFIG
   817 LIBPNG_CFLAGS
   818 LIBPNG_LIBS
   819 GLIB_CFLAGS
   820 GLIB_LIBS
   821 GTK_CFLAGS
   822 GTK_LIBS
   823 PULSE_CFLAGS
   824 PULSE_LIBS
   825 ESOUND_CFLAGS
   826 ESOUND_LIBS
   827 ALSA_CFLAGS
   828 ALSA_LIBS'
   831 # Initialize some variables set by options.
   832 ac_init_help=
   833 ac_init_version=false
   834 ac_unrecognized_opts=
   835 ac_unrecognized_sep=
   836 # The variables have the same names as the options, with
   837 # dashes changed to underlines.
   838 cache_file=/dev/null
   839 exec_prefix=NONE
   840 no_create=
   841 no_recursion=
   842 prefix=NONE
   843 program_prefix=NONE
   844 program_suffix=NONE
   845 program_transform_name=s,x,x,
   846 silent=
   847 site=
   848 srcdir=
   849 verbose=
   850 x_includes=NONE
   851 x_libraries=NONE
   853 # Installation directory options.
   854 # These are left unexpanded so users can "make install exec_prefix=/foo"
   855 # and all the variables that are supposed to be based on exec_prefix
   856 # by default will actually change.
   857 # Use braces instead of parens because sh, perl, etc. also accept them.
   858 # (The list follows the same order as the GNU Coding Standards.)
   859 bindir='${exec_prefix}/bin'
   860 sbindir='${exec_prefix}/sbin'
   861 libexecdir='${exec_prefix}/libexec'
   862 datarootdir='${prefix}/share'
   863 datadir='${datarootdir}'
   864 sysconfdir='${prefix}/etc'
   865 sharedstatedir='${prefix}/com'
   866 localstatedir='${prefix}/var'
   867 includedir='${prefix}/include'
   868 oldincludedir='/usr/include'
   869 docdir='${datarootdir}/doc/${PACKAGE}'
   870 infodir='${datarootdir}/info'
   871 htmldir='${docdir}'
   872 dvidir='${docdir}'
   873 pdfdir='${docdir}'
   874 psdir='${docdir}'
   875 libdir='${exec_prefix}/lib'
   876 localedir='${datarootdir}/locale'
   877 mandir='${datarootdir}/man'
   879 ac_prev=
   880 ac_dashdash=
   881 for ac_option
   882 do
   883   # If the previous option needs an argument, assign it.
   884   if test -n "$ac_prev"; then
   885     eval $ac_prev=\$ac_option
   886     ac_prev=
   887     continue
   888   fi
   890   case $ac_option in
   891   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   892   *)	ac_optarg=yes ;;
   893   esac
   895   # Accept the important Cygnus configure options, so we can diagnose typos.
   897   case $ac_dashdash$ac_option in
   898   --)
   899     ac_dashdash=yes ;;
   901   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   902     ac_prev=bindir ;;
   903   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   904     bindir=$ac_optarg ;;
   906   -build | --build | --buil | --bui | --bu)
   907     ac_prev=build_alias ;;
   908   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   909     build_alias=$ac_optarg ;;
   911   -cache-file | --cache-file | --cache-fil | --cache-fi \
   912   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   913     ac_prev=cache_file ;;
   914   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   915   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   916     cache_file=$ac_optarg ;;
   918   --config-cache | -C)
   919     cache_file=config.cache ;;
   921   -datadir | --datadir | --datadi | --datad)
   922     ac_prev=datadir ;;
   923   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   924     datadir=$ac_optarg ;;
   926   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   927   | --dataroo | --dataro | --datar)
   928     ac_prev=datarootdir ;;
   929   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   930   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   931     datarootdir=$ac_optarg ;;
   933   -disable-* | --disable-*)
   934     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   935     # Reject names that are not valid shell variable names.
   936     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   937       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   938    { (exit 1); exit 1; }; }
   939     ac_useropt_orig=$ac_useropt
   940     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   941     case $ac_user_opts in
   942       *"
   943 "enable_$ac_useropt"
   944 "*) ;;
   945       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   946 	 ac_unrecognized_sep=', ';;
   947     esac
   948     eval enable_$ac_useropt=no ;;
   950   -docdir | --docdir | --docdi | --doc | --do)
   951     ac_prev=docdir ;;
   952   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   953     docdir=$ac_optarg ;;
   955   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   956     ac_prev=dvidir ;;
   957   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   958     dvidir=$ac_optarg ;;
   960   -enable-* | --enable-*)
   961     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   962     # Reject names that are not valid shell variable names.
   963     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   964       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   965    { (exit 1); exit 1; }; }
   966     ac_useropt_orig=$ac_useropt
   967     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   968     case $ac_user_opts in
   969       *"
   970 "enable_$ac_useropt"
   971 "*) ;;
   972       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   973 	 ac_unrecognized_sep=', ';;
   974     esac
   975     eval enable_$ac_useropt=\$ac_optarg ;;
   977   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   978   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   979   | --exec | --exe | --ex)
   980     ac_prev=exec_prefix ;;
   981   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   982   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   983   | --exec=* | --exe=* | --ex=*)
   984     exec_prefix=$ac_optarg ;;
   986   -gas | --gas | --ga | --g)
   987     # Obsolete; use --with-gas.
   988     with_gas=yes ;;
   990   -help | --help | --hel | --he | -h)
   991     ac_init_help=long ;;
   992   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
   993     ac_init_help=recursive ;;
   994   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
   995     ac_init_help=short ;;
   997   -host | --host | --hos | --ho)
   998     ac_prev=host_alias ;;
   999   -host=* | --host=* | --hos=* | --ho=*)
  1000     host_alias=$ac_optarg ;;
  1002   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1003     ac_prev=htmldir ;;
  1004   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1005   | --ht=*)
  1006     htmldir=$ac_optarg ;;
  1008   -includedir | --includedir | --includedi | --included | --include \
  1009   | --includ | --inclu | --incl | --inc)
  1010     ac_prev=includedir ;;
  1011   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1012   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1013     includedir=$ac_optarg ;;
  1015   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1016     ac_prev=infodir ;;
  1017   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1018     infodir=$ac_optarg ;;
  1020   -libdir | --libdir | --libdi | --libd)
  1021     ac_prev=libdir ;;
  1022   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1023     libdir=$ac_optarg ;;
  1025   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1026   | --libexe | --libex | --libe)
  1027     ac_prev=libexecdir ;;
  1028   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1029   | --libexe=* | --libex=* | --libe=*)
  1030     libexecdir=$ac_optarg ;;
  1032   -localedir | --localedir | --localedi | --localed | --locale)
  1033     ac_prev=localedir ;;
  1034   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1035     localedir=$ac_optarg ;;
  1037   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1038   | --localstate | --localstat | --localsta | --localst | --locals)
  1039     ac_prev=localstatedir ;;
  1040   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1041   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1042     localstatedir=$ac_optarg ;;
  1044   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1045     ac_prev=mandir ;;
  1046   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1047     mandir=$ac_optarg ;;
  1049   -nfp | --nfp | --nf)
  1050     # Obsolete; use --without-fp.
  1051     with_fp=no ;;
  1053   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1054   | --no-cr | --no-c | -n)
  1055     no_create=yes ;;
  1057   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1058   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1059     no_recursion=yes ;;
  1061   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1062   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1063   | --oldin | --oldi | --old | --ol | --o)
  1064     ac_prev=oldincludedir ;;
  1065   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1066   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1067   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1068     oldincludedir=$ac_optarg ;;
  1070   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1071     ac_prev=prefix ;;
  1072   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1073     prefix=$ac_optarg ;;
  1075   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1076   | --program-pre | --program-pr | --program-p)
  1077     ac_prev=program_prefix ;;
  1078   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1079   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1080     program_prefix=$ac_optarg ;;
  1082   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1083   | --program-suf | --program-su | --program-s)
  1084     ac_prev=program_suffix ;;
  1085   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1086   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1087     program_suffix=$ac_optarg ;;
  1089   -program-transform-name | --program-transform-name \
  1090   | --program-transform-nam | --program-transform-na \
  1091   | --program-transform-n | --program-transform- \
  1092   | --program-transform | --program-transfor \
  1093   | --program-transfo | --program-transf \
  1094   | --program-trans | --program-tran \
  1095   | --progr-tra | --program-tr | --program-t)
  1096     ac_prev=program_transform_name ;;
  1097   -program-transform-name=* | --program-transform-name=* \
  1098   | --program-transform-nam=* | --program-transform-na=* \
  1099   | --program-transform-n=* | --program-transform-=* \
  1100   | --program-transform=* | --program-transfor=* \
  1101   | --program-transfo=* | --program-transf=* \
  1102   | --program-trans=* | --program-tran=* \
  1103   | --progr-tra=* | --program-tr=* | --program-t=*)
  1104     program_transform_name=$ac_optarg ;;
  1106   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1107     ac_prev=pdfdir ;;
  1108   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1109     pdfdir=$ac_optarg ;;
  1111   -psdir | --psdir | --psdi | --psd | --ps)
  1112     ac_prev=psdir ;;
  1113   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1114     psdir=$ac_optarg ;;
  1116   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1117   | -silent | --silent | --silen | --sile | --sil)
  1118     silent=yes ;;
  1120   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1121     ac_prev=sbindir ;;
  1122   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1123   | --sbi=* | --sb=*)
  1124     sbindir=$ac_optarg ;;
  1126   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1127   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1128   | --sharedst | --shareds | --shared | --share | --shar \
  1129   | --sha | --sh)
  1130     ac_prev=sharedstatedir ;;
  1131   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1132   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1133   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1134   | --sha=* | --sh=*)
  1135     sharedstatedir=$ac_optarg ;;
  1137   -site | --site | --sit)
  1138     ac_prev=site ;;
  1139   -site=* | --site=* | --sit=*)
  1140     site=$ac_optarg ;;
  1142   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1143     ac_prev=srcdir ;;
  1144   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1145     srcdir=$ac_optarg ;;
  1147   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1148   | --syscon | --sysco | --sysc | --sys | --sy)
  1149     ac_prev=sysconfdir ;;
  1150   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1151   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1152     sysconfdir=$ac_optarg ;;
  1154   -target | --target | --targe | --targ | --tar | --ta | --t)
  1155     ac_prev=target_alias ;;
  1156   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1157     target_alias=$ac_optarg ;;
  1159   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1160     verbose=yes ;;
  1162   -version | --version | --versio | --versi | --vers | -V)
  1163     ac_init_version=: ;;
  1165   -with-* | --with-*)
  1166     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1167     # Reject names that are not valid shell variable names.
  1168     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1169       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1170    { (exit 1); exit 1; }; }
  1171     ac_useropt_orig=$ac_useropt
  1172     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1173     case $ac_user_opts in
  1174       *"
  1175 "with_$ac_useropt"
  1176 "*) ;;
  1177       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1178 	 ac_unrecognized_sep=', ';;
  1179     esac
  1180     eval with_$ac_useropt=\$ac_optarg ;;
  1182   -without-* | --without-*)
  1183     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1184     # Reject names that are not valid shell variable names.
  1185     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1186       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1187    { (exit 1); exit 1; }; }
  1188     ac_useropt_orig=$ac_useropt
  1189     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1190     case $ac_user_opts in
  1191       *"
  1192 "with_$ac_useropt"
  1193 "*) ;;
  1194       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1195 	 ac_unrecognized_sep=', ';;
  1196     esac
  1197     eval with_$ac_useropt=no ;;
  1199   --x)
  1200     # Obsolete; use --with-x.
  1201     with_x=yes ;;
  1203   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1204   | --x-incl | --x-inc | --x-in | --x-i)
  1205     ac_prev=x_includes ;;
  1206   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1207   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1208     x_includes=$ac_optarg ;;
  1210   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1211   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1212     ac_prev=x_libraries ;;
  1213   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1214   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1215     x_libraries=$ac_optarg ;;
  1217   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1218 Try \`$0 --help' for more information." >&2
  1219    { (exit 1); exit 1; }; }
  1220     ;;
  1222   *=*)
  1223     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1224     # Reject names that are not valid shell variable names.
  1225     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1226       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1227    { (exit 1); exit 1; }; }
  1228     eval $ac_envvar=\$ac_optarg
  1229     export $ac_envvar ;;
  1231   *)
  1232     # FIXME: should be removed in autoconf 3.0.
  1233     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1234     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1235       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1236     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1237     ;;
  1239   esac
  1240 done
  1242 if test -n "$ac_prev"; then
  1243   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1244   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1245    { (exit 1); exit 1; }; }
  1246 fi
  1248 if test -n "$ac_unrecognized_opts"; then
  1249   case $enable_option_checking in
  1250     no) ;;
  1251     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  1252    { (exit 1); exit 1; }; } ;;
  1253     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1254   esac
  1255 fi
  1257 # Check all directory arguments for consistency.
  1258 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1259 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1260 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1261 		libdir localedir mandir
  1262 do
  1263   eval ac_val=\$$ac_var
  1264   # Remove trailing slashes.
  1265   case $ac_val in
  1266     */ )
  1267       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1268       eval $ac_var=\$ac_val;;
  1269   esac
  1270   # Be sure to have absolute directory names.
  1271   case $ac_val in
  1272     [\\/$]* | ?:[\\/]* )  continue;;
  1273     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1274   esac
  1275   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1276    { (exit 1); exit 1; }; }
  1277 done
  1279 # There might be people who depend on the old broken behavior: `$host'
  1280 # used to hold the argument of --host etc.
  1281 # FIXME: To remove some day.
  1282 build=$build_alias
  1283 host=$host_alias
  1284 target=$target_alias
  1286 # FIXME: To remove some day.
  1287 if test "x$host_alias" != x; then
  1288   if test "x$build_alias" = x; then
  1289     cross_compiling=maybe
  1290     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1291     If a cross compiler is detected then cross compile mode will be used." >&2
  1292   elif test "x$build_alias" != "x$host_alias"; then
  1293     cross_compiling=yes
  1294   fi
  1295 fi
  1297 ac_tool_prefix=
  1298 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1300 test "$silent" = yes && exec 6>/dev/null
  1303 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1304 ac_ls_di=`ls -di .` &&
  1305 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1306   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  1307    { (exit 1); exit 1; }; }
  1308 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1309   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1310    { (exit 1); exit 1; }; }
  1313 # Find the source files, if location was not specified.
  1314 if test -z "$srcdir"; then
  1315   ac_srcdir_defaulted=yes
  1316   # Try the directory containing this script, then the parent directory.
  1317   ac_confdir=`$as_dirname -- "$as_myself" ||
  1318 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1319 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1320 	 X"$as_myself" : 'X\(//\)$' \| \
  1321 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1322 $as_echo X"$as_myself" |
  1323     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1324 	    s//\1/
  1327 	  /^X\(\/\/\)[^/].*/{
  1328 	    s//\1/
  1331 	  /^X\(\/\/\)$/{
  1332 	    s//\1/
  1335 	  /^X\(\/\).*/{
  1336 	    s//\1/
  1339 	  s/.*/./; q'`
  1340   srcdir=$ac_confdir
  1341   if test ! -r "$srcdir/$ac_unique_file"; then
  1342     srcdir=..
  1343   fi
  1344 else
  1345   ac_srcdir_defaulted=no
  1346 fi
  1347 if test ! -r "$srcdir/$ac_unique_file"; then
  1348   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1349   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1350    { (exit 1); exit 1; }; }
  1351 fi
  1352 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1353 ac_abs_confdir=`(
  1354 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1355    { (exit 1); exit 1; }; }
  1356 	pwd)`
  1357 # When building in place, set srcdir=.
  1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1359   srcdir=.
  1360 fi
  1361 # Remove unnecessary trailing slashes from srcdir.
  1362 # Double slashes in file names in object file debugging info
  1363 # mess up M-x gdb in Emacs.
  1364 case $srcdir in
  1365 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1366 esac
  1367 for ac_var in $ac_precious_vars; do
  1368   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1369   eval ac_env_${ac_var}_value=\$${ac_var}
  1370   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1371   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1372 done
  1375 # Report the --help message.
  1377 if test "$ac_init_help" = "long"; then
  1378   # Omit some internal or obsolete options to make the list less imposing.
  1379   # This message is too long to be a string in the A/UX 3.1 sh.
  1380   cat <<_ACEOF
  1381 \`configure' configures this package to adapt to many kinds of systems.
  1383 Usage: $0 [OPTION]... [VAR=VALUE]...
  1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1386 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1388 Defaults for the options are specified in brackets.
  1390 Configuration:
  1391   -h, --help              display this help and exit
  1392       --help=short        display options specific to this package
  1393       --help=recursive    display the short help of all the included packages
  1394   -V, --version           display version information and exit
  1395   -q, --quiet, --silent   do not print \`checking...' messages
  1396       --cache-file=FILE   cache test results in FILE [disabled]
  1397   -C, --config-cache      alias for \`--cache-file=config.cache'
  1398   -n, --no-create         do not create output files
  1399       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1401 Installation directories:
  1402   --prefix=PREFIX         install architecture-independent files in PREFIX
  1403                           [$ac_default_prefix]
  1404   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1405                           [PREFIX]
  1407 By default, \`make install' will install all the files in
  1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1410 for instance \`--prefix=\$HOME'.
  1412 For better control, use the options below.
  1414 Fine tuning of the installation directories:
  1415   --bindir=DIR            user executables [EPREFIX/bin]
  1416   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1417   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1418   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1419   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1420   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1421   --libdir=DIR            object code libraries [EPREFIX/lib]
  1422   --includedir=DIR        C header files [PREFIX/include]
  1423   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1424   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1425   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1426   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1427   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1428   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1429   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1430   --htmldir=DIR           html documentation [DOCDIR]
  1431   --dvidir=DIR            dvi documentation [DOCDIR]
  1432   --pdfdir=DIR            pdf documentation [DOCDIR]
  1433   --psdir=DIR             ps documentation [DOCDIR]
  1434 _ACEOF
  1436   cat <<\_ACEOF
  1438 Program names:
  1439   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1440   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1441   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1443 System types:
  1444   --build=BUILD     configure for building on BUILD [guessed]
  1445   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1446 _ACEOF
  1447 fi
  1449 if test -n "$ac_init_help"; then
  1451   cat <<\_ACEOF
  1453 Optional Features:
  1454   --disable-option-checking  ignore unrecognized --enable/--with options
  1455   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1456   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1457   --enable-maintainer-mode  enable make rules and dependencies not useful
  1458 			  (and sometimes confusing) to the casual installer
  1459   --disable-dependency-tracking  speeds up one-time build
  1460   --enable-dependency-tracking   do not reject slow dependency extractors
  1461   --enable-trace          Enable generation of IO traces (warning: hurts
  1462                           performance)
  1463   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1464                           performance)
  1465   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1467 Optional Packages:
  1468   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1469   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1470   --with-osmesa           Build with the osmesa GL library (software
  1471                           rendering)
  1472   --with-gtk              Build with the GTK UI. Default on X11 systems
  1474 Some influential environment variables:
  1475   CC          C compiler command
  1476   CFLAGS      C compiler flags
  1477   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1478               nonstandard directory <lib dir>
  1479   LIBS        libraries to pass to the linker, e.g. -l<library>
  1480   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1481               you have headers in a nonstandard directory <include dir>
  1482   CCAS        assembler compiler command (defaults to CC)
  1483   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1484   CPP         C preprocessor
  1485   PKG_CONFIG  path to pkg-config utility
  1486   LIBPNG_CFLAGS
  1487               C compiler flags for LIBPNG, overriding pkg-config
  1488   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1489   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1490   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1491   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1492   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1493   PULSE_CFLAGS
  1494               C compiler flags for PULSE, overriding pkg-config
  1495   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1496   ESOUND_CFLAGS
  1497               C compiler flags for ESOUND, overriding pkg-config
  1498   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1499   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1500   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1502 Use these variables to override the choices made by `configure' or to help
  1503 it to find libraries and programs with nonstandard names/locations.
  1505 _ACEOF
  1506 ac_status=$?
  1507 fi
  1509 if test "$ac_init_help" = "recursive"; then
  1510   # If there are subdirs, report their specific --help.
  1511   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1512     test -d "$ac_dir" ||
  1513       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1514       continue
  1515     ac_builddir=.
  1517 case "$ac_dir" in
  1518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1519 *)
  1520   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1521   # A ".." for each directory in $ac_dir_suffix.
  1522   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1523   case $ac_top_builddir_sub in
  1524   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1525   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1526   esac ;;
  1527 esac
  1528 ac_abs_top_builddir=$ac_pwd
  1529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1530 # for backward compatibility:
  1531 ac_top_builddir=$ac_top_build_prefix
  1533 case $srcdir in
  1534   .)  # We are building in place.
  1535     ac_srcdir=.
  1536     ac_top_srcdir=$ac_top_builddir_sub
  1537     ac_abs_top_srcdir=$ac_pwd ;;
  1538   [\\/]* | ?:[\\/]* )  # Absolute name.
  1539     ac_srcdir=$srcdir$ac_dir_suffix;
  1540     ac_top_srcdir=$srcdir
  1541     ac_abs_top_srcdir=$srcdir ;;
  1542   *) # Relative name.
  1543     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1544     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1545     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1546 esac
  1547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1549     cd "$ac_dir" || { ac_status=$?; continue; }
  1550     # Check for guested configure.
  1551     if test -f "$ac_srcdir/configure.gnu"; then
  1552       echo &&
  1553       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1554     elif test -f "$ac_srcdir/configure"; then
  1555       echo &&
  1556       $SHELL "$ac_srcdir/configure" --help=recursive
  1557     else
  1558       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1559     fi || ac_status=$?
  1560     cd "$ac_pwd" || { ac_status=$?; break; }
  1561   done
  1562 fi
  1564 test -n "$ac_init_help" && exit $ac_status
  1565 if $ac_init_version; then
  1566   cat <<\_ACEOF
  1567 configure
  1568 generated by GNU Autoconf 2.62
  1570 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1571 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1572 This configure script is free software; the Free Software Foundation
  1573 gives unlimited permission to copy, distribute and modify it.
  1574 _ACEOF
  1575   exit
  1576 fi
  1577 cat >config.log <<_ACEOF
  1578 This file contains any messages produced by compilers while
  1579 running configure, to aid debugging if configure makes a mistake.
  1581 It was created by $as_me, which was
  1582 generated by GNU Autoconf 2.62.  Invocation command line was
  1584   $ $0 $@
  1586 _ACEOF
  1587 exec 5>>config.log
  1589 cat <<_ASUNAME
  1590 ## --------- ##
  1591 ## Platform. ##
  1592 ## --------- ##
  1594 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1595 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1596 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1597 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1598 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1600 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1601 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1603 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1604 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1605 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1606 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1607 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1608 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1609 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1611 _ASUNAME
  1613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1614 for as_dir in $PATH
  1615 do
  1616   IFS=$as_save_IFS
  1617   test -z "$as_dir" && as_dir=.
  1618   $as_echo "PATH: $as_dir"
  1619 done
  1620 IFS=$as_save_IFS
  1622 } >&5
  1624 cat >&5 <<_ACEOF
  1627 ## ----------- ##
  1628 ## Core tests. ##
  1629 ## ----------- ##
  1631 _ACEOF
  1634 # Keep a trace of the command line.
  1635 # Strip out --no-create and --no-recursion so they do not pile up.
  1636 # Strip out --silent because we don't want to record it for future runs.
  1637 # Also quote any args containing shell meta-characters.
  1638 # Make two passes to allow for proper duplicate-argument suppression.
  1639 ac_configure_args=
  1640 ac_configure_args0=
  1641 ac_configure_args1=
  1642 ac_must_keep_next=false
  1643 for ac_pass in 1 2
  1644 do
  1645   for ac_arg
  1646   do
  1647     case $ac_arg in
  1648     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1649     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1650     | -silent | --silent | --silen | --sile | --sil)
  1651       continue ;;
  1652     *\'*)
  1653       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1654     esac
  1655     case $ac_pass in
  1656     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1657     2)
  1658       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1659       if test $ac_must_keep_next = true; then
  1660 	ac_must_keep_next=false # Got value, back to normal.
  1661       else
  1662 	case $ac_arg in
  1663 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1664 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1665 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1666 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1667 	    case "$ac_configure_args0 " in
  1668 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1669 	    esac
  1670 	    ;;
  1671 	  -* ) ac_must_keep_next=true ;;
  1672 	esac
  1673       fi
  1674       ac_configure_args="$ac_configure_args '$ac_arg'"
  1675       ;;
  1676     esac
  1677   done
  1678 done
  1679 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1680 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1682 # When interrupted or exit'd, cleanup temporary files, and complete
  1683 # config.log.  We remove comments because anyway the quotes in there
  1684 # would cause problems or look ugly.
  1685 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1686 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1687 trap 'exit_status=$?
  1688   # Save into config.log some information that might help in debugging.
  1690     echo
  1692     cat <<\_ASBOX
  1693 ## ---------------- ##
  1694 ## Cache variables. ##
  1695 ## ---------------- ##
  1696 _ASBOX
  1697     echo
  1698     # The following way of writing the cache mishandles newlines in values,
  1700   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1701     eval ac_val=\$$ac_var
  1702     case $ac_val in #(
  1703     *${as_nl}*)
  1704       case $ac_var in #(
  1705       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1706 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1707       esac
  1708       case $ac_var in #(
  1709       _ | IFS | as_nl) ;; #(
  1710       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1711       *) $as_unset $ac_var ;;
  1712       esac ;;
  1713     esac
  1714   done
  1715   (set) 2>&1 |
  1716     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1717     *${as_nl}ac_space=\ *)
  1718       sed -n \
  1719 	"s/'\''/'\''\\\\'\'''\''/g;
  1720 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1721       ;; #(
  1722     *)
  1723       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1724       ;;
  1725     esac |
  1726     sort
  1728     echo
  1730     cat <<\_ASBOX
  1731 ## ----------------- ##
  1732 ## Output variables. ##
  1733 ## ----------------- ##
  1734 _ASBOX
  1735     echo
  1736     for ac_var in $ac_subst_vars
  1737     do
  1738       eval ac_val=\$$ac_var
  1739       case $ac_val in
  1740       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1741       esac
  1742       $as_echo "$ac_var='\''$ac_val'\''"
  1743     done | sort
  1744     echo
  1746     if test -n "$ac_subst_files"; then
  1747       cat <<\_ASBOX
  1748 ## ------------------- ##
  1749 ## File substitutions. ##
  1750 ## ------------------- ##
  1751 _ASBOX
  1752       echo
  1753       for ac_var in $ac_subst_files
  1754       do
  1755 	eval ac_val=\$$ac_var
  1756 	case $ac_val in
  1757 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1758 	esac
  1759 	$as_echo "$ac_var='\''$ac_val'\''"
  1760       done | sort
  1761       echo
  1762     fi
  1764     if test -s confdefs.h; then
  1765       cat <<\_ASBOX
  1766 ## ----------- ##
  1767 ## confdefs.h. ##
  1768 ## ----------- ##
  1769 _ASBOX
  1770       echo
  1771       cat confdefs.h
  1772       echo
  1773     fi
  1774     test "$ac_signal" != 0 &&
  1775       $as_echo "$as_me: caught signal $ac_signal"
  1776     $as_echo "$as_me: exit $exit_status"
  1777   } >&5
  1778   rm -f core *.core core.conftest.* &&
  1779     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1780     exit $exit_status
  1781 ' 0
  1782 for ac_signal in 1 2 13 15; do
  1783   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1784 done
  1785 ac_signal=0
  1787 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1788 rm -f -r conftest* confdefs.h
  1790 # Predefined preprocessor variables.
  1792 cat >>confdefs.h <<_ACEOF
  1793 #define PACKAGE_NAME "$PACKAGE_NAME"
  1794 _ACEOF
  1797 cat >>confdefs.h <<_ACEOF
  1798 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1799 _ACEOF
  1802 cat >>confdefs.h <<_ACEOF
  1803 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1804 _ACEOF
  1807 cat >>confdefs.h <<_ACEOF
  1808 #define PACKAGE_STRING "$PACKAGE_STRING"
  1809 _ACEOF
  1812 cat >>confdefs.h <<_ACEOF
  1813 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1814 _ACEOF
  1817 # Let the site file select an alternate cache file if it wants to.
  1818 # Prefer an explicitly selected file to automatically selected ones.
  1819 ac_site_file1=NONE
  1820 ac_site_file2=NONE
  1821 if test -n "$CONFIG_SITE"; then
  1822   ac_site_file1=$CONFIG_SITE
  1823 elif test "x$prefix" != xNONE; then
  1824   ac_site_file1=$prefix/share/config.site
  1825   ac_site_file2=$prefix/etc/config.site
  1826 else
  1827   ac_site_file1=$ac_default_prefix/share/config.site
  1828   ac_site_file2=$ac_default_prefix/etc/config.site
  1829 fi
  1830 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1831 do
  1832   test "x$ac_site_file" = xNONE && continue
  1833   if test -r "$ac_site_file"; then
  1834     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1835 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1836     sed 's/^/| /' "$ac_site_file" >&5
  1837     . "$ac_site_file"
  1838   fi
  1839 done
  1841 if test -r "$cache_file"; then
  1842   # Some versions of bash will fail to source /dev/null (special
  1843   # files actually), so we avoid doing that.
  1844   if test -f "$cache_file"; then
  1845     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1846 $as_echo "$as_me: loading cache $cache_file" >&6;}
  1847     case $cache_file in
  1848       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1849       *)                      . "./$cache_file";;
  1850     esac
  1851   fi
  1852 else
  1853   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1854 $as_echo "$as_me: creating cache $cache_file" >&6;}
  1855   >$cache_file
  1856 fi
  1858 # Check that the precious variables saved in the cache have kept the same
  1859 # value.
  1860 ac_cache_corrupted=false
  1861 for ac_var in $ac_precious_vars; do
  1862   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1863   eval ac_new_set=\$ac_env_${ac_var}_set
  1864   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1865   eval ac_new_val=\$ac_env_${ac_var}_value
  1866   case $ac_old_set,$ac_new_set in
  1867     set,)
  1868       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1869 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1870       ac_cache_corrupted=: ;;
  1871     ,set)
  1872       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1873 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1874       ac_cache_corrupted=: ;;
  1875     ,);;
  1876     *)
  1877       if test "x$ac_old_val" != "x$ac_new_val"; then
  1878 	# differences in whitespace do not lead to failure.
  1879 	ac_old_val_w=`echo x $ac_old_val`
  1880 	ac_new_val_w=`echo x $ac_new_val`
  1881 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1882 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1883 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1884 	  ac_cache_corrupted=:
  1885 	else
  1886 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1887 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1888 	  eval $ac_var=\$ac_old_val
  1889 	fi
  1890 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  1891 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1892 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  1893 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1894       fi;;
  1895   esac
  1896   # Pass precious variables to config.status.
  1897   if test "$ac_new_set" = set; then
  1898     case $ac_new_val in
  1899     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1900     *) ac_arg=$ac_var=$ac_new_val ;;
  1901     esac
  1902     case " $ac_configure_args " in
  1903       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1904       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1905     esac
  1906   fi
  1907 done
  1908 if $ac_cache_corrupted; then
  1909   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1910 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1911   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1912 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1913    { (exit 1); exit 1; }; }
  1914 fi
  1932 ac_ext=c
  1933 ac_cpp='$CPP $CPPFLAGS'
  1934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1939 am__api_version="1.9"
  1940 ac_aux_dir=
  1941 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1942   if test -f "$ac_dir/install-sh"; then
  1943     ac_aux_dir=$ac_dir
  1944     ac_install_sh="$ac_aux_dir/install-sh -c"
  1945     break
  1946   elif test -f "$ac_dir/install.sh"; then
  1947     ac_aux_dir=$ac_dir
  1948     ac_install_sh="$ac_aux_dir/install.sh -c"
  1949     break
  1950   elif test -f "$ac_dir/shtool"; then
  1951     ac_aux_dir=$ac_dir
  1952     ac_install_sh="$ac_aux_dir/shtool install -c"
  1953     break
  1954   fi
  1955 done
  1956 if test -z "$ac_aux_dir"; then
  1957   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1958 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1959    { (exit 1); exit 1; }; }
  1960 fi
  1962 # These three variables are undocumented and unsupported,
  1963 # and are intended to be withdrawn in a future Autoconf release.
  1964 # They can cause serious problems if a builder's source tree is in a directory
  1965 # whose full name contains unusual characters.
  1966 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1967 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1968 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1971 # Find a good install program.  We prefer a C program (faster),
  1972 # so one script is as good as another.  But avoid the broken or
  1973 # incompatible versions:
  1974 # SysV /etc/install, /usr/sbin/install
  1975 # SunOS /usr/etc/install
  1976 # IRIX /sbin/install
  1977 # AIX /bin/install
  1978 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1979 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1980 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1981 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1982 # OS/2's system install, which has a completely different semantic
  1983 # ./install, which can be erroneously created by make from ./install.sh.
  1984 # Reject install programs that cannot install multiple files.
  1985 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1986 $as_echo_n "checking for a BSD-compatible install... " >&6; }
  1987 if test -z "$INSTALL"; then
  1988 if test "${ac_cv_path_install+set}" = set; then
  1989   $as_echo_n "(cached) " >&6
  1990 else
  1991   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1992 for as_dir in $PATH
  1993 do
  1994   IFS=$as_save_IFS
  1995   test -z "$as_dir" && as_dir=.
  1996   # Account for people who put trailing slashes in PATH elements.
  1997 case $as_dir/ in
  1998   ./ | .// | /cC/* | \
  1999   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2000   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2001   /usr/ucb/* ) ;;
  2002   *)
  2003     # OSF1 and SCO ODT 3.0 have their own names for install.
  2004     # Don't use installbsd from OSF since it installs stuff as root
  2005     # by default.
  2006     for ac_prog in ginstall scoinst install; do
  2007       for ac_exec_ext in '' $ac_executable_extensions; do
  2008 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2009 	  if test $ac_prog = install &&
  2010 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2011 	    # AIX install.  It has an incompatible calling convention.
  2013 	  elif test $ac_prog = install &&
  2014 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2015 	    # program-specific install script used by HP pwplus--don't use.
  2017 	  else
  2018 	    rm -rf conftest.one conftest.two conftest.dir
  2019 	    echo one > conftest.one
  2020 	    echo two > conftest.two
  2021 	    mkdir conftest.dir
  2022 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2023 	      test -s conftest.one && test -s conftest.two &&
  2024 	      test -s conftest.dir/conftest.one &&
  2025 	      test -s conftest.dir/conftest.two
  2026 	    then
  2027 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2028 	      break 3
  2029 	    fi
  2030 	  fi
  2031 	fi
  2032       done
  2033     done
  2034     ;;
  2035 esac
  2037 done
  2038 IFS=$as_save_IFS
  2040 rm -rf conftest.one conftest.two conftest.dir
  2042 fi
  2043   if test "${ac_cv_path_install+set}" = set; then
  2044     INSTALL=$ac_cv_path_install
  2045   else
  2046     # As a last resort, use the slow shell script.  Don't cache a
  2047     # value for INSTALL within a source directory, because that will
  2048     # break other packages using the cache if that directory is
  2049     # removed, or if the value is a relative name.
  2050     INSTALL=$ac_install_sh
  2051   fi
  2052 fi
  2053 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2054 $as_echo "$INSTALL" >&6; }
  2056 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2057 # It thinks the first close brace ends the variable substitution.
  2058 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2060 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2062 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2064 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2065 $as_echo_n "checking whether build environment is sane... " >&6; }
  2066 # Just in case
  2067 sleep 1
  2068 echo timestamp > conftest.file
  2069 # Do `set' in a subshell so we don't clobber the current shell's
  2070 # arguments.  Must try -L first in case configure is actually a
  2071 # symlink; some systems play weird games with the mod time of symlinks
  2072 # (eg FreeBSD returns the mod time of the symlink's containing
  2073 # directory).
  2074 if (
  2075    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2076    if test "$*" = "X"; then
  2077       # -L didn't work.
  2078       set X `ls -t $srcdir/configure conftest.file`
  2079    fi
  2080    rm -f conftest.file
  2081    if test "$*" != "X $srcdir/configure conftest.file" \
  2082       && test "$*" != "X conftest.file $srcdir/configure"; then
  2084       # If neither matched, then we have a broken ls.  This can happen
  2085       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2086       # broken ls alias from the environment.  This has actually
  2087       # happened.  Such a system could not be considered "sane".
  2088       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2089 alias in your environment" >&5
  2090 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2091 alias in your environment" >&2;}
  2092    { (exit 1); exit 1; }; }
  2093    fi
  2095    test "$2" = conftest.file
  2097 then
  2098    # Ok.
  2100 else
  2101    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2102 Check your system clock" >&5
  2103 $as_echo "$as_me: error: newly created file is older than distributed files!
  2104 Check your system clock" >&2;}
  2105    { (exit 1); exit 1; }; }
  2106 fi
  2107 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2108 $as_echo "yes" >&6; }
  2109 test "$program_prefix" != NONE &&
  2110   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2111 # Use a double $ so make ignores it.
  2112 test "$program_suffix" != NONE &&
  2113   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2114 # Double any \ or $.
  2115 # By default was `s,x,x', remove it if useless.
  2116 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2117 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2119 # expand $ac_aux_dir to an absolute path
  2120 am_aux_dir=`cd $ac_aux_dir && pwd`
  2122 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2123 # Use eval to expand $SHELL
  2124 if eval "$MISSING --run true"; then
  2125   am_missing_run="$MISSING --run "
  2126 else
  2127   am_missing_run=
  2128   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2129 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2130 fi
  2132 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2133   # We used to keeping the `.' as first argument, in order to
  2134   # allow $(mkdir_p) to be used without argument.  As in
  2135   #   $(mkdir_p) $(somedir)
  2136   # where $(somedir) is conditionally defined.  However this is wrong
  2137   # for two reasons:
  2138   #  1. if the package is installed by a user who cannot write `.'
  2139   #     make install will fail,
  2140   #  2. the above comment should most certainly read
  2141   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2142   #     so it does not work when $(somedir) is undefined and
  2143   #     $(DESTDIR) is not.
  2144   #  To support the latter case, we have to write
  2145   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2146   #  so the `.' trick is pointless.
  2147   mkdir_p='mkdir -p --'
  2148 else
  2149   # On NextStep and OpenStep, the `mkdir' command does not
  2150   # recognize any option.  It will interpret all options as
  2151   # directories to create, and then abort because `.' already
  2152   # exists.
  2153   for d in ./-p ./--version;
  2154   do
  2155     test -d $d && rmdir $d
  2156   done
  2157   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2158   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2159     mkdir_p='$(mkinstalldirs)'
  2160   else
  2161     mkdir_p='$(install_sh) -d'
  2162   fi
  2163 fi
  2165 for ac_prog in gawk mawk nawk awk
  2166 do
  2167   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2168 set dummy $ac_prog; ac_word=$2
  2169 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2170 $as_echo_n "checking for $ac_word... " >&6; }
  2171 if test "${ac_cv_prog_AWK+set}" = set; then
  2172   $as_echo_n "(cached) " >&6
  2173 else
  2174   if test -n "$AWK"; then
  2175   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2176 else
  2177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2178 for as_dir in $PATH
  2179 do
  2180   IFS=$as_save_IFS
  2181   test -z "$as_dir" && as_dir=.
  2182   for ac_exec_ext in '' $ac_executable_extensions; do
  2183   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2184     ac_cv_prog_AWK="$ac_prog"
  2185     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2186     break 2
  2187   fi
  2188 done
  2189 done
  2190 IFS=$as_save_IFS
  2192 fi
  2193 fi
  2194 AWK=$ac_cv_prog_AWK
  2195 if test -n "$AWK"; then
  2196   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2197 $as_echo "$AWK" >&6; }
  2198 else
  2199   { $as_echo "$as_me:$LINENO: result: no" >&5
  2200 $as_echo "no" >&6; }
  2201 fi
  2204   test -n "$AWK" && break
  2205 done
  2207 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2208 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2209 set x ${MAKE-make}
  2210 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2211 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2212   $as_echo_n "(cached) " >&6
  2213 else
  2214   cat >conftest.make <<\_ACEOF
  2215 SHELL = /bin/sh
  2216 all:
  2217 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2218 _ACEOF
  2219 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2220 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2221   *@@@%%%=?*=@@@%%%*)
  2222     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2223   *)
  2224     eval ac_cv_prog_make_${ac_make}_set=no;;
  2225 esac
  2226 rm -f conftest.make
  2227 fi
  2228 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2229   { $as_echo "$as_me:$LINENO: result: yes" >&5
  2230 $as_echo "yes" >&6; }
  2231   SET_MAKE=
  2232 else
  2233   { $as_echo "$as_me:$LINENO: result: no" >&5
  2234 $as_echo "no" >&6; }
  2235   SET_MAKE="MAKE=${MAKE-make}"
  2236 fi
  2238 rm -rf .tst 2>/dev/null
  2239 mkdir .tst 2>/dev/null
  2240 if test -d .tst; then
  2241   am__leading_dot=.
  2242 else
  2243   am__leading_dot=_
  2244 fi
  2245 rmdir .tst 2>/dev/null
  2247 # test to see if srcdir already configured
  2248 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2249    test -f $srcdir/config.status; then
  2250   { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2251 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2252    { (exit 1); exit 1; }; }
  2253 fi
  2255 # test whether we have cygpath
  2256 if test -z "$CYGPATH_W"; then
  2257   if (cygpath --version) >/dev/null 2>/dev/null; then
  2258     CYGPATH_W='cygpath -w'
  2259   else
  2260     CYGPATH_W=echo
  2261   fi
  2262 fi
  2265 # Define the identity of the package.
  2266  PACKAGE=lxdream
  2267  VERSION=0.8.1
  2270 cat >>confdefs.h <<_ACEOF
  2271 #define PACKAGE "$PACKAGE"
  2272 _ACEOF
  2275 cat >>confdefs.h <<_ACEOF
  2276 #define VERSION "$VERSION"
  2277 _ACEOF
  2279 # Some tools Automake needs.
  2281 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2284 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2287 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2290 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2293 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2295 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2297 # Installed binaries are usually stripped using `strip' when the user
  2298 # run `make install-strip'.  However `strip' might not be the right
  2299 # tool to use in cross-compilation environments, therefore Automake
  2300 # will honor the `STRIP' environment variable to overrule this program.
  2301 if test "$cross_compiling" != no; then
  2302   if test -n "$ac_tool_prefix"; then
  2303   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2304 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2305 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2306 $as_echo_n "checking for $ac_word... " >&6; }
  2307 if test "${ac_cv_prog_STRIP+set}" = set; then
  2308   $as_echo_n "(cached) " >&6
  2309 else
  2310   if test -n "$STRIP"; then
  2311   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2312 else
  2313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2314 for as_dir in $PATH
  2315 do
  2316   IFS=$as_save_IFS
  2317   test -z "$as_dir" && as_dir=.
  2318   for ac_exec_ext in '' $ac_executable_extensions; do
  2319   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2320     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2321     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2322     break 2
  2323   fi
  2324 done
  2325 done
  2326 IFS=$as_save_IFS
  2328 fi
  2329 fi
  2330 STRIP=$ac_cv_prog_STRIP
  2331 if test -n "$STRIP"; then
  2332   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2333 $as_echo "$STRIP" >&6; }
  2334 else
  2335   { $as_echo "$as_me:$LINENO: result: no" >&5
  2336 $as_echo "no" >&6; }
  2337 fi
  2340 fi
  2341 if test -z "$ac_cv_prog_STRIP"; then
  2342   ac_ct_STRIP=$STRIP
  2343   # Extract the first word of "strip", so it can be a program name with args.
  2344 set dummy strip; ac_word=$2
  2345 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2346 $as_echo_n "checking for $ac_word... " >&6; }
  2347 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2348   $as_echo_n "(cached) " >&6
  2349 else
  2350   if test -n "$ac_ct_STRIP"; then
  2351   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2352 else
  2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2354 for as_dir in $PATH
  2355 do
  2356   IFS=$as_save_IFS
  2357   test -z "$as_dir" && as_dir=.
  2358   for ac_exec_ext in '' $ac_executable_extensions; do
  2359   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2360     ac_cv_prog_ac_ct_STRIP="strip"
  2361     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2362     break 2
  2363   fi
  2364 done
  2365 done
  2366 IFS=$as_save_IFS
  2368 fi
  2369 fi
  2370 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2371 if test -n "$ac_ct_STRIP"; then
  2372   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2373 $as_echo "$ac_ct_STRIP" >&6; }
  2374 else
  2375   { $as_echo "$as_me:$LINENO: result: no" >&5
  2376 $as_echo "no" >&6; }
  2377 fi
  2379   if test "x$ac_ct_STRIP" = x; then
  2380     STRIP=":"
  2381   else
  2382     case $cross_compiling:$ac_tool_warned in
  2383 yes:)
  2384 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2385 whose name does not start with the host triplet.  If you think this
  2386 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2387 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2388 whose name does not start with the host triplet.  If you think this
  2389 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2390 ac_tool_warned=yes ;;
  2391 esac
  2392     STRIP=$ac_ct_STRIP
  2393   fi
  2394 else
  2395   STRIP="$ac_cv_prog_STRIP"
  2396 fi
  2398 fi
  2399 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2401 # We need awk for the "check" target.  The system "awk" is bad on
  2402 # some platforms.
  2403 # Always define AMTAR for backward compatibility.
  2405 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2407 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2413 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2414 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2415     # Check whether --enable-maintainer-mode was given.
  2416 if test "${enable_maintainer_mode+set}" = set; then
  2417   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2418 else
  2419   USE_MAINTAINER_MODE=no
  2420 fi
  2422   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2423 $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2426 if test $USE_MAINTAINER_MODE = yes; then
  2427   MAINTAINER_MODE_TRUE=
  2428   MAINTAINER_MODE_FALSE='#'
  2429 else
  2430   MAINTAINER_MODE_TRUE='#'
  2431   MAINTAINER_MODE_FALSE=
  2432 fi
  2434   MAINT=$MAINTAINER_MODE_TRUE
  2437 ac_config_headers="$ac_config_headers config.h"
  2440 DEPDIR="${am__leading_dot}deps"
  2442 ac_config_commands="$ac_config_commands depfiles"
  2445 am_make=${MAKE-make}
  2446 cat > confinc << 'END'
  2447 am__doit:
  2448 	@echo done
  2449 .PHONY: am__doit
  2450 END
  2451 # If we don't find an include directive, just comment out the code.
  2452 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2453 $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2454 am__include="#"
  2455 am__quote=
  2456 _am_result=none
  2457 # First try GNU make style include.
  2458 echo "include confinc" > confmf
  2459 # We grep out `Entering directory' and `Leaving directory'
  2460 # messages which can occur if `w' ends up in MAKEFLAGS.
  2461 # In particular we don't look at `^make:' because GNU make might
  2462 # be invoked under some other name (usually "gmake"), in which
  2463 # case it prints its new name instead of `make'.
  2464 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2465    am__include=include
  2466    am__quote=
  2467    _am_result=GNU
  2468 fi
  2469 # Now try BSD make style include.
  2470 if test "$am__include" = "#"; then
  2471    echo '.include "confinc"' > confmf
  2472    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2473       am__include=.include
  2474       am__quote="\""
  2475       _am_result=BSD
  2476    fi
  2477 fi
  2480 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  2481 $as_echo "$_am_result" >&6; }
  2482 rm -f confinc confmf
  2484 # Check whether --enable-dependency-tracking was given.
  2485 if test "${enable_dependency_tracking+set}" = set; then
  2486   enableval=$enable_dependency_tracking;
  2487 fi
  2489 if test "x$enable_dependency_tracking" != xno; then
  2490   am_depcomp="$ac_aux_dir/depcomp"
  2491   AMDEPBACKSLASH='\'
  2492 fi
  2495 if test "x$enable_dependency_tracking" != xno; then
  2496   AMDEP_TRUE=
  2497   AMDEP_FALSE='#'
  2498 else
  2499   AMDEP_TRUE='#'
  2500   AMDEP_FALSE=
  2501 fi
  2505 ac_ext=c
  2506 ac_cpp='$CPP $CPPFLAGS'
  2507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2510 if test -n "$ac_tool_prefix"; then
  2511   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2512 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2513 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2514 $as_echo_n "checking for $ac_word... " >&6; }
  2515 if test "${ac_cv_prog_CC+set}" = set; then
  2516   $as_echo_n "(cached) " >&6
  2517 else
  2518   if test -n "$CC"; then
  2519   ac_cv_prog_CC="$CC" # Let the user override the test.
  2520 else
  2521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2522 for as_dir in $PATH
  2523 do
  2524   IFS=$as_save_IFS
  2525   test -z "$as_dir" && as_dir=.
  2526   for ac_exec_ext in '' $ac_executable_extensions; do
  2527   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2528     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2529     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2530     break 2
  2531   fi
  2532 done
  2533 done
  2534 IFS=$as_save_IFS
  2536 fi
  2537 fi
  2538 CC=$ac_cv_prog_CC
  2539 if test -n "$CC"; then
  2540   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2541 $as_echo "$CC" >&6; }
  2542 else
  2543   { $as_echo "$as_me:$LINENO: result: no" >&5
  2544 $as_echo "no" >&6; }
  2545 fi
  2548 fi
  2549 if test -z "$ac_cv_prog_CC"; then
  2550   ac_ct_CC=$CC
  2551   # Extract the first word of "gcc", so it can be a program name with args.
  2552 set dummy gcc; ac_word=$2
  2553 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2554 $as_echo_n "checking for $ac_word... " >&6; }
  2555 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2556   $as_echo_n "(cached) " >&6
  2557 else
  2558   if test -n "$ac_ct_CC"; then
  2559   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2560 else
  2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2562 for as_dir in $PATH
  2563 do
  2564   IFS=$as_save_IFS
  2565   test -z "$as_dir" && as_dir=.
  2566   for ac_exec_ext in '' $ac_executable_extensions; do
  2567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2568     ac_cv_prog_ac_ct_CC="gcc"
  2569     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2570     break 2
  2571   fi
  2572 done
  2573 done
  2574 IFS=$as_save_IFS
  2576 fi
  2577 fi
  2578 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2579 if test -n "$ac_ct_CC"; then
  2580   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2581 $as_echo "$ac_ct_CC" >&6; }
  2582 else
  2583   { $as_echo "$as_me:$LINENO: result: no" >&5
  2584 $as_echo "no" >&6; }
  2585 fi
  2587   if test "x$ac_ct_CC" = x; then
  2588     CC=""
  2589   else
  2590     case $cross_compiling:$ac_tool_warned in
  2591 yes:)
  2592 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2593 whose name does not start with the host triplet.  If you think this
  2594 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2595 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2596 whose name does not start with the host triplet.  If you think this
  2597 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2598 ac_tool_warned=yes ;;
  2599 esac
  2600     CC=$ac_ct_CC
  2601   fi
  2602 else
  2603   CC="$ac_cv_prog_CC"
  2604 fi
  2606 if test -z "$CC"; then
  2607           if test -n "$ac_tool_prefix"; then
  2608     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2609 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2610 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2611 $as_echo_n "checking for $ac_word... " >&6; }
  2612 if test "${ac_cv_prog_CC+set}" = set; then
  2613   $as_echo_n "(cached) " >&6
  2614 else
  2615   if test -n "$CC"; then
  2616   ac_cv_prog_CC="$CC" # Let the user override the test.
  2617 else
  2618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2619 for as_dir in $PATH
  2620 do
  2621   IFS=$as_save_IFS
  2622   test -z "$as_dir" && as_dir=.
  2623   for ac_exec_ext in '' $ac_executable_extensions; do
  2624   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2625     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2626     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2627     break 2
  2628   fi
  2629 done
  2630 done
  2631 IFS=$as_save_IFS
  2633 fi
  2634 fi
  2635 CC=$ac_cv_prog_CC
  2636 if test -n "$CC"; then
  2637   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2638 $as_echo "$CC" >&6; }
  2639 else
  2640   { $as_echo "$as_me:$LINENO: result: no" >&5
  2641 $as_echo "no" >&6; }
  2642 fi
  2645   fi
  2646 fi
  2647 if test -z "$CC"; then
  2648   # Extract the first word of "cc", so it can be a program name with args.
  2649 set dummy cc; ac_word=$2
  2650 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2651 $as_echo_n "checking for $ac_word... " >&6; }
  2652 if test "${ac_cv_prog_CC+set}" = set; then
  2653   $as_echo_n "(cached) " >&6
  2654 else
  2655   if test -n "$CC"; then
  2656   ac_cv_prog_CC="$CC" # Let the user override the test.
  2657 else
  2658   ac_prog_rejected=no
  2659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2660 for as_dir in $PATH
  2661 do
  2662   IFS=$as_save_IFS
  2663   test -z "$as_dir" && as_dir=.
  2664   for ac_exec_ext in '' $ac_executable_extensions; do
  2665   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2666     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2667        ac_prog_rejected=yes
  2668        continue
  2669      fi
  2670     ac_cv_prog_CC="cc"
  2671     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2672     break 2
  2673   fi
  2674 done
  2675 done
  2676 IFS=$as_save_IFS
  2678 if test $ac_prog_rejected = yes; then
  2679   # We found a bogon in the path, so make sure we never use it.
  2680   set dummy $ac_cv_prog_CC
  2681   shift
  2682   if test $# != 0; then
  2683     # We chose a different compiler from the bogus one.
  2684     # However, it has the same basename, so the bogon will be chosen
  2685     # first if we set CC to just the basename; use the full file name.
  2686     shift
  2687     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2688   fi
  2689 fi
  2690 fi
  2691 fi
  2692 CC=$ac_cv_prog_CC
  2693 if test -n "$CC"; then
  2694   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2695 $as_echo "$CC" >&6; }
  2696 else
  2697   { $as_echo "$as_me:$LINENO: result: no" >&5
  2698 $as_echo "no" >&6; }
  2699 fi
  2702 fi
  2703 if test -z "$CC"; then
  2704   if test -n "$ac_tool_prefix"; then
  2705   for ac_prog in cl.exe
  2706   do
  2707     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2708 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2710 $as_echo_n "checking for $ac_word... " >&6; }
  2711 if test "${ac_cv_prog_CC+set}" = set; then
  2712   $as_echo_n "(cached) " >&6
  2713 else
  2714   if test -n "$CC"; then
  2715   ac_cv_prog_CC="$CC" # Let the user override the test.
  2716 else
  2717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2718 for as_dir in $PATH
  2719 do
  2720   IFS=$as_save_IFS
  2721   test -z "$as_dir" && as_dir=.
  2722   for ac_exec_ext in '' $ac_executable_extensions; do
  2723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2724     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2725     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2726     break 2
  2727   fi
  2728 done
  2729 done
  2730 IFS=$as_save_IFS
  2732 fi
  2733 fi
  2734 CC=$ac_cv_prog_CC
  2735 if test -n "$CC"; then
  2736   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2737 $as_echo "$CC" >&6; }
  2738 else
  2739   { $as_echo "$as_me:$LINENO: result: no" >&5
  2740 $as_echo "no" >&6; }
  2741 fi
  2744     test -n "$CC" && break
  2745   done
  2746 fi
  2747 if test -z "$CC"; then
  2748   ac_ct_CC=$CC
  2749   for ac_prog in cl.exe
  2750 do
  2751   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2752 set dummy $ac_prog; ac_word=$2
  2753 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2754 $as_echo_n "checking for $ac_word... " >&6; }
  2755 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2756   $as_echo_n "(cached) " >&6
  2757 else
  2758   if test -n "$ac_ct_CC"; then
  2759   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2760 else
  2761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2762 for as_dir in $PATH
  2763 do
  2764   IFS=$as_save_IFS
  2765   test -z "$as_dir" && as_dir=.
  2766   for ac_exec_ext in '' $ac_executable_extensions; do
  2767   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2768     ac_cv_prog_ac_ct_CC="$ac_prog"
  2769     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2770     break 2
  2771   fi
  2772 done
  2773 done
  2774 IFS=$as_save_IFS
  2776 fi
  2777 fi
  2778 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2779 if test -n "$ac_ct_CC"; then
  2780   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2781 $as_echo "$ac_ct_CC" >&6; }
  2782 else
  2783   { $as_echo "$as_me:$LINENO: result: no" >&5
  2784 $as_echo "no" >&6; }
  2785 fi
  2788   test -n "$ac_ct_CC" && break
  2789 done
  2791   if test "x$ac_ct_CC" = x; then
  2792     CC=""
  2793   else
  2794     case $cross_compiling:$ac_tool_warned in
  2795 yes:)
  2796 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2797 whose name does not start with the host triplet.  If you think this
  2798 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2799 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2800 whose name does not start with the host triplet.  If you think this
  2801 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2802 ac_tool_warned=yes ;;
  2803 esac
  2804     CC=$ac_ct_CC
  2805   fi
  2806 fi
  2808 fi
  2811 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2812 See \`config.log' for more details." >&5
  2813 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2814 See \`config.log' for more details." >&2;}
  2815    { (exit 1); exit 1; }; }
  2817 # Provide some information about the compiler.
  2818 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2819 set X $ac_compile
  2820 ac_compiler=$2
  2821 { (ac_try="$ac_compiler --version >&5"
  2822 case "(($ac_try" in
  2823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2824   *) ac_try_echo=$ac_try;;
  2825 esac
  2826 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2827 $as_echo "$ac_try_echo") >&5
  2828   (eval "$ac_compiler --version >&5") 2>&5
  2829   ac_status=$?
  2830   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2831   (exit $ac_status); }
  2832 { (ac_try="$ac_compiler -v >&5"
  2833 case "(($ac_try" in
  2834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2835   *) ac_try_echo=$ac_try;;
  2836 esac
  2837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2838 $as_echo "$ac_try_echo") >&5
  2839   (eval "$ac_compiler -v >&5") 2>&5
  2840   ac_status=$?
  2841   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2842   (exit $ac_status); }
  2843 { (ac_try="$ac_compiler -V >&5"
  2844 case "(($ac_try" in
  2845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2846   *) ac_try_echo=$ac_try;;
  2847 esac
  2848 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2849 $as_echo "$ac_try_echo") >&5
  2850   (eval "$ac_compiler -V >&5") 2>&5
  2851   ac_status=$?
  2852   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2853   (exit $ac_status); }
  2855 cat >conftest.$ac_ext <<_ACEOF
  2856 /* confdefs.h.  */
  2857 _ACEOF
  2858 cat confdefs.h >>conftest.$ac_ext
  2859 cat >>conftest.$ac_ext <<_ACEOF
  2860 /* end confdefs.h.  */
  2862 int
  2863 main ()
  2867   return 0;
  2869 _ACEOF
  2870 ac_clean_files_save=$ac_clean_files
  2871 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2872 # Try to create an executable without -o first, disregard a.out.
  2873 # It will help us diagnose broken compilers, and finding out an intuition
  2874 # of exeext.
  2875 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2876 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2877 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2879 # The possible output files:
  2880 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2882 ac_rmfiles=
  2883 for ac_file in $ac_files
  2884 do
  2885   case $ac_file in
  2886     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2887     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2888   esac
  2889 done
  2890 rm -f $ac_rmfiles
  2892 if { (ac_try="$ac_link_default"
  2893 case "(($ac_try" in
  2894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2895   *) ac_try_echo=$ac_try;;
  2896 esac
  2897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2898 $as_echo "$ac_try_echo") >&5
  2899   (eval "$ac_link_default") 2>&5
  2900   ac_status=$?
  2901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2902   (exit $ac_status); }; then
  2903   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2904 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2905 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2906 # so that the user can short-circuit this test for compilers unknown to
  2907 # Autoconf.
  2908 for ac_file in $ac_files ''
  2909 do
  2910   test -f "$ac_file" || continue
  2911   case $ac_file in
  2912     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2913 	;;
  2914     [ab].out )
  2915 	# We found the default executable, but exeext='' is most
  2916 	# certainly right.
  2917 	break;;
  2918     *.* )
  2919         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2920 	then :; else
  2921 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2922 	fi
  2923 	# We set ac_cv_exeext here because the later test for it is not
  2924 	# safe: cross compilers may not add the suffix if given an `-o'
  2925 	# argument, so we may need to know it at that point already.
  2926 	# Even if this section looks crufty: it has the advantage of
  2927 	# actually working.
  2928 	break;;
  2929     * )
  2930 	break;;
  2931   esac
  2932 done
  2933 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2935 else
  2936   ac_file=''
  2937 fi
  2939 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2940 $as_echo "$ac_file" >&6; }
  2941 if test -z "$ac_file"; then
  2942   $as_echo "$as_me: failed program was:" >&5
  2943 sed 's/^/| /' conftest.$ac_ext >&5
  2945 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2946 See \`config.log' for more details." >&5
  2947 $as_echo "$as_me: error: C compiler cannot create executables
  2948 See \`config.log' for more details." >&2;}
  2949    { (exit 77); exit 77; }; }
  2950 fi
  2952 ac_exeext=$ac_cv_exeext
  2954 # Check that the compiler produces executables we can run.  If not, either
  2955 # the compiler is broken, or we cross compile.
  2956 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2957 $as_echo_n "checking whether the C compiler works... " >&6; }
  2958 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2959 # If not cross compiling, check that we can run a simple program.
  2960 if test "$cross_compiling" != yes; then
  2961   if { ac_try='./$ac_file'
  2962   { (case "(($ac_try" in
  2963   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2964   *) ac_try_echo=$ac_try;;
  2965 esac
  2966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2967 $as_echo "$ac_try_echo") >&5
  2968   (eval "$ac_try") 2>&5
  2969   ac_status=$?
  2970   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2971   (exit $ac_status); }; }; then
  2972     cross_compiling=no
  2973   else
  2974     if test "$cross_compiling" = maybe; then
  2975 	cross_compiling=yes
  2976     else
  2977 	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2978 If you meant to cross compile, use \`--host'.
  2979 See \`config.log' for more details." >&5
  2980 $as_echo "$as_me: error: cannot run C compiled programs.
  2981 If you meant to cross compile, use \`--host'.
  2982 See \`config.log' for more details." >&2;}
  2983    { (exit 1); exit 1; }; }
  2984     fi
  2985   fi
  2986 fi
  2987 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2988 $as_echo "yes" >&6; }
  2990 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2991 ac_clean_files=$ac_clean_files_save
  2992 # Check that the compiler produces executables we can run.  If not, either
  2993 # the compiler is broken, or we cross compile.
  2994 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2995 $as_echo_n "checking whether we are cross compiling... " >&6; }
  2996 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2997 $as_echo "$cross_compiling" >&6; }
  2999 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3000 $as_echo_n "checking for suffix of executables... " >&6; }
  3001 if { (ac_try="$ac_link"
  3002 case "(($ac_try" in
  3003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3004   *) ac_try_echo=$ac_try;;
  3005 esac
  3006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3007 $as_echo "$ac_try_echo") >&5
  3008   (eval "$ac_link") 2>&5
  3009   ac_status=$?
  3010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3011   (exit $ac_status); }; then
  3012   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3013 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3014 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3015 # `rm'.
  3016 for ac_file in conftest.exe conftest conftest.*; do
  3017   test -f "$ac_file" || continue
  3018   case $ac_file in
  3019     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3020     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3021 	  break;;
  3022     * ) break;;
  3023   esac
  3024 done
  3025 else
  3026   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3027 See \`config.log' for more details." >&5
  3028 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3029 See \`config.log' for more details." >&2;}
  3030    { (exit 1); exit 1; }; }
  3031 fi
  3033 rm -f conftest$ac_cv_exeext
  3034 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3035 $as_echo "$ac_cv_exeext" >&6; }
  3037 rm -f conftest.$ac_ext
  3038 EXEEXT=$ac_cv_exeext
  3039 ac_exeext=$EXEEXT
  3040 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3041 $as_echo_n "checking for suffix of object files... " >&6; }
  3042 if test "${ac_cv_objext+set}" = set; then
  3043   $as_echo_n "(cached) " >&6
  3044 else
  3045   cat >conftest.$ac_ext <<_ACEOF
  3046 /* confdefs.h.  */
  3047 _ACEOF
  3048 cat confdefs.h >>conftest.$ac_ext
  3049 cat >>conftest.$ac_ext <<_ACEOF
  3050 /* end confdefs.h.  */
  3052 int
  3053 main ()
  3057   return 0;
  3059 _ACEOF
  3060 rm -f conftest.o conftest.obj
  3061 if { (ac_try="$ac_compile"
  3062 case "(($ac_try" in
  3063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3064   *) ac_try_echo=$ac_try;;
  3065 esac
  3066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3067 $as_echo "$ac_try_echo") >&5
  3068   (eval "$ac_compile") 2>&5
  3069   ac_status=$?
  3070   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3071   (exit $ac_status); }; then
  3072   for ac_file in conftest.o conftest.obj conftest.*; do
  3073   test -f "$ac_file" || continue;
  3074   case $ac_file in
  3075     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3076     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3077        break;;
  3078   esac
  3079 done
  3080 else
  3081   $as_echo "$as_me: failed program was:" >&5
  3082 sed 's/^/| /' conftest.$ac_ext >&5
  3084 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3085 See \`config.log' for more details." >&5
  3086 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3087 See \`config.log' for more details." >&2;}
  3088    { (exit 1); exit 1; }; }
  3089 fi
  3091 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3092 fi
  3093 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3094 $as_echo "$ac_cv_objext" >&6; }
  3095 OBJEXT=$ac_cv_objext
  3096 ac_objext=$OBJEXT
  3097 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3098 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3099 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3100   $as_echo_n "(cached) " >&6
  3101 else
  3102   cat >conftest.$ac_ext <<_ACEOF
  3103 /* confdefs.h.  */
  3104 _ACEOF
  3105 cat confdefs.h >>conftest.$ac_ext
  3106 cat >>conftest.$ac_ext <<_ACEOF
  3107 /* end confdefs.h.  */
  3109 int
  3110 main ()
  3112 #ifndef __GNUC__
  3113        choke me
  3114 #endif
  3117   return 0;
  3119 _ACEOF
  3120 rm -f conftest.$ac_objext
  3121 if { (ac_try="$ac_compile"
  3122 case "(($ac_try" in
  3123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3124   *) ac_try_echo=$ac_try;;
  3125 esac
  3126 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3127 $as_echo "$ac_try_echo") >&5
  3128   (eval "$ac_compile") 2>conftest.er1
  3129   ac_status=$?
  3130   grep -v '^ *+' conftest.er1 >conftest.err
  3131   rm -f conftest.er1
  3132   cat conftest.err >&5
  3133   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3134   (exit $ac_status); } && {
  3135 	 test -z "$ac_c_werror_flag" ||
  3136 	 test ! -s conftest.err
  3137        } && test -s conftest.$ac_objext; then
  3138   ac_compiler_gnu=yes
  3139 else
  3140   $as_echo "$as_me: failed program was:" >&5
  3141 sed 's/^/| /' conftest.$ac_ext >&5
  3143 	ac_compiler_gnu=no
  3144 fi
  3146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3147 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3149 fi
  3150 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3151 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3152 if test $ac_compiler_gnu = yes; then
  3153   GCC=yes
  3154 else
  3155   GCC=
  3156 fi
  3157 ac_test_CFLAGS=${CFLAGS+set}
  3158 ac_save_CFLAGS=$CFLAGS
  3159 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3160 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3161 if test "${ac_cv_prog_cc_g+set}" = set; then
  3162   $as_echo_n "(cached) " >&6
  3163 else
  3164   ac_save_c_werror_flag=$ac_c_werror_flag
  3165    ac_c_werror_flag=yes
  3166    ac_cv_prog_cc_g=no
  3167    CFLAGS="-g"
  3168    cat >conftest.$ac_ext <<_ACEOF
  3169 /* confdefs.h.  */
  3170 _ACEOF
  3171 cat confdefs.h >>conftest.$ac_ext
  3172 cat >>conftest.$ac_ext <<_ACEOF
  3173 /* end confdefs.h.  */
  3175 int
  3176 main ()
  3180   return 0;
  3182 _ACEOF
  3183 rm -f conftest.$ac_objext
  3184 if { (ac_try="$ac_compile"
  3185 case "(($ac_try" in
  3186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3187   *) ac_try_echo=$ac_try;;
  3188 esac
  3189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3190 $as_echo "$ac_try_echo") >&5
  3191   (eval "$ac_compile") 2>conftest.er1
  3192   ac_status=$?
  3193   grep -v '^ *+' conftest.er1 >conftest.err
  3194   rm -f conftest.er1
  3195   cat conftest.err >&5
  3196   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3197   (exit $ac_status); } && {
  3198 	 test -z "$ac_c_werror_flag" ||
  3199 	 test ! -s conftest.err
  3200        } && test -s conftest.$ac_objext; then
  3201   ac_cv_prog_cc_g=yes
  3202 else
  3203   $as_echo "$as_me: failed program was:" >&5
  3204 sed 's/^/| /' conftest.$ac_ext >&5
  3206 	CFLAGS=""
  3207       cat >conftest.$ac_ext <<_ACEOF
  3208 /* confdefs.h.  */
  3209 _ACEOF
  3210 cat confdefs.h >>conftest.$ac_ext
  3211 cat >>conftest.$ac_ext <<_ACEOF
  3212 /* end confdefs.h.  */
  3214 int
  3215 main ()
  3219   return 0;
  3221 _ACEOF
  3222 rm -f conftest.$ac_objext
  3223 if { (ac_try="$ac_compile"
  3224 case "(($ac_try" in
  3225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3226   *) ac_try_echo=$ac_try;;
  3227 esac
  3228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3229 $as_echo "$ac_try_echo") >&5
  3230   (eval "$ac_compile") 2>conftest.er1
  3231   ac_status=$?
  3232   grep -v '^ *+' conftest.er1 >conftest.err
  3233   rm -f conftest.er1
  3234   cat conftest.err >&5
  3235   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3236   (exit $ac_status); } && {
  3237 	 test -z "$ac_c_werror_flag" ||
  3238 	 test ! -s conftest.err
  3239        } && test -s conftest.$ac_objext; then
  3241 else
  3242   $as_echo "$as_me: failed program was:" >&5
  3243 sed 's/^/| /' conftest.$ac_ext >&5
  3245 	ac_c_werror_flag=$ac_save_c_werror_flag
  3246 	 CFLAGS="-g"
  3247 	 cat >conftest.$ac_ext <<_ACEOF
  3248 /* confdefs.h.  */
  3249 _ACEOF
  3250 cat confdefs.h >>conftest.$ac_ext
  3251 cat >>conftest.$ac_ext <<_ACEOF
  3252 /* end confdefs.h.  */
  3254 int
  3255 main ()
  3259   return 0;
  3261 _ACEOF
  3262 rm -f conftest.$ac_objext
  3263 if { (ac_try="$ac_compile"
  3264 case "(($ac_try" in
  3265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3266   *) ac_try_echo=$ac_try;;
  3267 esac
  3268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3269 $as_echo "$ac_try_echo") >&5
  3270   (eval "$ac_compile") 2>conftest.er1
  3271   ac_status=$?
  3272   grep -v '^ *+' conftest.er1 >conftest.err
  3273   rm -f conftest.er1
  3274   cat conftest.err >&5
  3275   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3276   (exit $ac_status); } && {
  3277 	 test -z "$ac_c_werror_flag" ||
  3278 	 test ! -s conftest.err
  3279        } && test -s conftest.$ac_objext; then
  3280   ac_cv_prog_cc_g=yes
  3281 else
  3282   $as_echo "$as_me: failed program was:" >&5
  3283 sed 's/^/| /' conftest.$ac_ext >&5
  3286 fi
  3288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3289 fi
  3291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3292 fi
  3294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3295    ac_c_werror_flag=$ac_save_c_werror_flag
  3296 fi
  3297 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3298 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3299 if test "$ac_test_CFLAGS" = set; then
  3300   CFLAGS=$ac_save_CFLAGS
  3301 elif test $ac_cv_prog_cc_g = yes; then
  3302   if test "$GCC" = yes; then
  3303     CFLAGS="-g -O2"
  3304   else
  3305     CFLAGS="-g"
  3306   fi
  3307 else
  3308   if test "$GCC" = yes; then
  3309     CFLAGS="-O2"
  3310   else
  3311     CFLAGS=
  3312   fi
  3313 fi
  3314 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3315 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3316 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3317   $as_echo_n "(cached) " >&6
  3318 else
  3319   ac_cv_prog_cc_c89=no
  3320 ac_save_CC=$CC
  3321 cat >conftest.$ac_ext <<_ACEOF
  3322 /* confdefs.h.  */
  3323 _ACEOF
  3324 cat confdefs.h >>conftest.$ac_ext
  3325 cat >>conftest.$ac_ext <<_ACEOF
  3326 /* end confdefs.h.  */
  3327 #include <stdarg.h>
  3328 #include <stdio.h>
  3329 #include <sys/types.h>
  3330 #include <sys/stat.h>
  3331 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3332 struct buf { int x; };
  3333 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3334 static char *e (p, i)
  3335      char **p;
  3336      int i;
  3338   return p[i];
  3340 static char *f (char * (*g) (char **, int), char **p, ...)
  3342   char *s;
  3343   va_list v;
  3344   va_start (v,p);
  3345   s = g (p, va_arg (v,int));
  3346   va_end (v);
  3347   return s;
  3350 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3351    function prototypes and stuff, but not '\xHH' hex character constants.
  3352    These don't provoke an error unfortunately, instead are silently treated
  3353    as 'x'.  The following induces an error, until -std is added to get
  3354    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3355    array size at least.  It's necessary to write '\x00'==0 to get something
  3356    that's true only with -std.  */
  3357 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3359 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3360    inside strings and character constants.  */
  3361 #define FOO(x) 'x'
  3362 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3364 int test (int i, double x);
  3365 struct s1 {int (*f) (int a);};
  3366 struct s2 {int (*f) (double a);};
  3367 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3368 int argc;
  3369 char **argv;
  3370 int
  3371 main ()
  3373 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3375   return 0;
  3377 _ACEOF
  3378 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3379 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3380 do
  3381   CC="$ac_save_CC $ac_arg"
  3382   rm -f conftest.$ac_objext
  3383 if { (ac_try="$ac_compile"
  3384 case "(($ac_try" in
  3385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3386   *) ac_try_echo=$ac_try;;
  3387 esac
  3388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3389 $as_echo "$ac_try_echo") >&5
  3390   (eval "$ac_compile") 2>conftest.er1
  3391   ac_status=$?
  3392   grep -v '^ *+' conftest.er1 >conftest.err
  3393   rm -f conftest.er1
  3394   cat conftest.err >&5
  3395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3396   (exit $ac_status); } && {
  3397 	 test -z "$ac_c_werror_flag" ||
  3398 	 test ! -s conftest.err
  3399        } && test -s conftest.$ac_objext; then
  3400   ac_cv_prog_cc_c89=$ac_arg
  3401 else
  3402   $as_echo "$as_me: failed program was:" >&5
  3403 sed 's/^/| /' conftest.$ac_ext >&5
  3406 fi
  3408 rm -f core conftest.err conftest.$ac_objext
  3409   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3410 done
  3411 rm -f conftest.$ac_ext
  3412 CC=$ac_save_CC
  3414 fi
  3415 # AC_CACHE_VAL
  3416 case "x$ac_cv_prog_cc_c89" in
  3417   x)
  3418     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3419 $as_echo "none needed" >&6; } ;;
  3420   xno)
  3421     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3422 $as_echo "unsupported" >&6; } ;;
  3423   *)
  3424     CC="$CC $ac_cv_prog_cc_c89"
  3425     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3426 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3427 esac
  3430 ac_ext=c
  3431 ac_cpp='$CPP $CPPFLAGS'
  3432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3436 depcc="$CC"   am_compiler_list=
  3438 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3439 $as_echo_n "checking dependency style of $depcc... " >&6; }
  3440 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3441   $as_echo_n "(cached) " >&6
  3442 else
  3443   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3444   # We make a subdir and do the tests there.  Otherwise we can end up
  3445   # making bogus files that we don't know about and never remove.  For
  3446   # instance it was reported that on HP-UX the gcc test will end up
  3447   # making a dummy file named `D' -- because `-MD' means `put the output
  3448   # in D'.
  3449   mkdir conftest.dir
  3450   # Copy depcomp to subdir because otherwise we won't find it if we're
  3451   # using a relative directory.
  3452   cp "$am_depcomp" conftest.dir
  3453   cd conftest.dir
  3454   # We will build objects and dependencies in a subdirectory because
  3455   # it helps to detect inapplicable dependency modes.  For instance
  3456   # both Tru64's cc and ICC support -MD to output dependencies as a
  3457   # side effect of compilation, but ICC will put the dependencies in
  3458   # the current directory while Tru64 will put them in the object
  3459   # directory.
  3460   mkdir sub
  3462   am_cv_CC_dependencies_compiler_type=none
  3463   if test "$am_compiler_list" = ""; then
  3464      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3465   fi
  3466   for depmode in $am_compiler_list; do
  3467     # Setup a source with many dependencies, because some compilers
  3468     # like to wrap large dependency lists on column 80 (with \), and
  3469     # we should not choose a depcomp mode which is confused by this.
  3471     # We need to recreate these files for each test, as the compiler may
  3472     # overwrite some of them when testing with obscure command lines.
  3473     # This happens at least with the AIX C compiler.
  3474     : > sub/conftest.c
  3475     for i in 1 2 3 4 5 6; do
  3476       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3477       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3478       # Solaris 8's {/usr,}/bin/sh.
  3479       touch sub/conftst$i.h
  3480     done
  3481     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3483     case $depmode in
  3484     nosideeffect)
  3485       # after this tag, mechanisms are not by side-effect, so they'll
  3486       # only be used when explicitly requested
  3487       if test "x$enable_dependency_tracking" = xyes; then
  3488 	continue
  3489       else
  3490 	break
  3491       fi
  3492       ;;
  3493     none) break ;;
  3494     esac
  3495     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3496     # mode.  It turns out that the SunPro C++ compiler does not properly
  3497     # handle `-M -o', and we need to detect this.
  3498     if depmode=$depmode \
  3499        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3500        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3501        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3502          >/dev/null 2>conftest.err &&
  3503        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3504        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3505        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3506       # icc doesn't choke on unknown options, it will just issue warnings
  3507       # or remarks (even with -Werror).  So we grep stderr for any message
  3508       # that says an option was ignored or not supported.
  3509       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3510       #   icc: Command line warning: ignoring option '-M'; no argument required
  3511       # The diagnosis changed in icc 8.0:
  3512       #   icc: Command line remark: option '-MP' not supported
  3513       if (grep 'ignoring option' conftest.err ||
  3514           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3515         am_cv_CC_dependencies_compiler_type=$depmode
  3516         break
  3517       fi
  3518     fi
  3519   done
  3521   cd ..
  3522   rm -rf conftest.dir
  3523 else
  3524   am_cv_CC_dependencies_compiler_type=none
  3525 fi
  3527 fi
  3528 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3529 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3530 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3534 if
  3535   test "x$enable_dependency_tracking" != xno \
  3536   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3537   am__fastdepCC_TRUE=
  3538   am__fastdepCC_FALSE='#'
  3539 else
  3540   am__fastdepCC_TRUE='#'
  3541   am__fastdepCC_FALSE=
  3542 fi
  3547         { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3548 $as_echo_n "checking for strerror in -lcposix... " >&6; }
  3549 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3550   $as_echo_n "(cached) " >&6
  3551 else
  3552   ac_check_lib_save_LIBS=$LIBS
  3553 LIBS="-lcposix  $LIBS"
  3554 cat >conftest.$ac_ext <<_ACEOF
  3555 /* confdefs.h.  */
  3556 _ACEOF
  3557 cat confdefs.h >>conftest.$ac_ext
  3558 cat >>conftest.$ac_ext <<_ACEOF
  3559 /* end confdefs.h.  */
  3561 /* Override any GCC internal prototype to avoid an error.
  3562    Use char because int might match the return type of a GCC
  3563    builtin and then its argument prototype would still apply.  */
  3564 #ifdef __cplusplus
  3565 extern "C"
  3566 #endif
  3567 char strerror ();
  3568 int
  3569 main ()
  3571 return strerror ();
  3573   return 0;
  3575 _ACEOF
  3576 rm -f conftest.$ac_objext conftest$ac_exeext
  3577 if { (ac_try="$ac_link"
  3578 case "(($ac_try" in
  3579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3580   *) ac_try_echo=$ac_try;;
  3581 esac
  3582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3583 $as_echo "$ac_try_echo") >&5
  3584   (eval "$ac_link") 2>conftest.er1
  3585   ac_status=$?
  3586   grep -v '^ *+' conftest.er1 >conftest.err
  3587   rm -f conftest.er1
  3588   cat conftest.err >&5
  3589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3590   (exit $ac_status); } && {
  3591 	 test -z "$ac_c_werror_flag" ||
  3592 	 test ! -s conftest.err
  3593        } && test -s conftest$ac_exeext && {
  3594 	 test "$cross_compiling" = yes ||
  3595 	 $as_test_x conftest$ac_exeext
  3596        }; then
  3597   ac_cv_lib_cposix_strerror=yes
  3598 else
  3599   $as_echo "$as_me: failed program was:" >&5
  3600 sed 's/^/| /' conftest.$ac_ext >&5
  3602 	ac_cv_lib_cposix_strerror=no
  3603 fi
  3605 rm -rf conftest.dSYM
  3606 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3607       conftest$ac_exeext conftest.$ac_ext
  3608 LIBS=$ac_check_lib_save_LIBS
  3609 fi
  3610 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3611 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
  3612 if test $ac_cv_lib_cposix_strerror = yes; then
  3613   LIBS="$LIBS -lcposix"
  3614 fi
  3618 ac_ext=c
  3619 ac_cpp='$CPP $CPPFLAGS'
  3620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3623 if test -n "$ac_tool_prefix"; then
  3624   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3625 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3626 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3627 $as_echo_n "checking for $ac_word... " >&6; }
  3628 if test "${ac_cv_prog_CC+set}" = set; then
  3629   $as_echo_n "(cached) " >&6
  3630 else
  3631   if test -n "$CC"; then
  3632   ac_cv_prog_CC="$CC" # Let the user override the test.
  3633 else
  3634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3635 for as_dir in $PATH
  3636 do
  3637   IFS=$as_save_IFS
  3638   test -z "$as_dir" && as_dir=.
  3639   for ac_exec_ext in '' $ac_executable_extensions; do
  3640   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3641     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3642     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3643     break 2
  3644   fi
  3645 done
  3646 done
  3647 IFS=$as_save_IFS
  3649 fi
  3650 fi
  3651 CC=$ac_cv_prog_CC
  3652 if test -n "$CC"; then
  3653   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3654 $as_echo "$CC" >&6; }
  3655 else
  3656   { $as_echo "$as_me:$LINENO: result: no" >&5
  3657 $as_echo "no" >&6; }
  3658 fi
  3661 fi
  3662 if test -z "$ac_cv_prog_CC"; then
  3663   ac_ct_CC=$CC
  3664   # Extract the first word of "gcc", so it can be a program name with args.
  3665 set dummy gcc; ac_word=$2
  3666 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3667 $as_echo_n "checking for $ac_word... " >&6; }
  3668 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3669   $as_echo_n "(cached) " >&6
  3670 else
  3671   if test -n "$ac_ct_CC"; then
  3672   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3673 else
  3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3675 for as_dir in $PATH
  3676 do
  3677   IFS=$as_save_IFS
  3678   test -z "$as_dir" && as_dir=.
  3679   for ac_exec_ext in '' $ac_executable_extensions; do
  3680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3681     ac_cv_prog_ac_ct_CC="gcc"
  3682     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3683     break 2
  3684   fi
  3685 done
  3686 done
  3687 IFS=$as_save_IFS
  3689 fi
  3690 fi
  3691 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3692 if test -n "$ac_ct_CC"; then
  3693   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3694 $as_echo "$ac_ct_CC" >&6; }
  3695 else
  3696   { $as_echo "$as_me:$LINENO: result: no" >&5
  3697 $as_echo "no" >&6; }
  3698 fi
  3700   if test "x$ac_ct_CC" = x; then
  3701     CC=""
  3702   else
  3703     case $cross_compiling:$ac_tool_warned in
  3704 yes:)
  3705 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3706 whose name does not start with the host triplet.  If you think this
  3707 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3708 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3709 whose name does not start with the host triplet.  If you think this
  3710 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3711 ac_tool_warned=yes ;;
  3712 esac
  3713     CC=$ac_ct_CC
  3714   fi
  3715 else
  3716   CC="$ac_cv_prog_CC"
  3717 fi
  3719 if test -z "$CC"; then
  3720           if test -n "$ac_tool_prefix"; then
  3721     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3722 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3723 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3724 $as_echo_n "checking for $ac_word... " >&6; }
  3725 if test "${ac_cv_prog_CC+set}" = set; then
  3726   $as_echo_n "(cached) " >&6
  3727 else
  3728   if test -n "$CC"; then
  3729   ac_cv_prog_CC="$CC" # Let the user override the test.
  3730 else
  3731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3732 for as_dir in $PATH
  3733 do
  3734   IFS=$as_save_IFS
  3735   test -z "$as_dir" && as_dir=.
  3736   for ac_exec_ext in '' $ac_executable_extensions; do
  3737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3738     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3739     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3740     break 2
  3741   fi
  3742 done
  3743 done
  3744 IFS=$as_save_IFS
  3746 fi
  3747 fi
  3748 CC=$ac_cv_prog_CC
  3749 if test -n "$CC"; then
  3750   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3751 $as_echo "$CC" >&6; }
  3752 else
  3753   { $as_echo "$as_me:$LINENO: result: no" >&5
  3754 $as_echo "no" >&6; }
  3755 fi
  3758   fi
  3759 fi
  3760 if test -z "$CC"; then
  3761   # Extract the first word of "cc", so it can be a program name with args.
  3762 set dummy cc; ac_word=$2
  3763 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3764 $as_echo_n "checking for $ac_word... " >&6; }
  3765 if test "${ac_cv_prog_CC+set}" = set; then
  3766   $as_echo_n "(cached) " >&6
  3767 else
  3768   if test -n "$CC"; then
  3769   ac_cv_prog_CC="$CC" # Let the user override the test.
  3770 else
  3771   ac_prog_rejected=no
  3772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3773 for as_dir in $PATH
  3774 do
  3775   IFS=$as_save_IFS
  3776   test -z "$as_dir" && as_dir=.
  3777   for ac_exec_ext in '' $ac_executable_extensions; do
  3778   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3779     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3780        ac_prog_rejected=yes
  3781        continue
  3782      fi
  3783     ac_cv_prog_CC="cc"
  3784     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3785     break 2
  3786   fi
  3787 done
  3788 done
  3789 IFS=$as_save_IFS
  3791 if test $ac_prog_rejected = yes; then
  3792   # We found a bogon in the path, so make sure we never use it.
  3793   set dummy $ac_cv_prog_CC
  3794   shift
  3795   if test $# != 0; then
  3796     # We chose a different compiler from the bogus one.
  3797     # However, it has the same basename, so the bogon will be chosen
  3798     # first if we set CC to just the basename; use the full file name.
  3799     shift
  3800     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3801   fi
  3802 fi
  3803 fi
  3804 fi
  3805 CC=$ac_cv_prog_CC
  3806 if test -n "$CC"; then
  3807   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3808 $as_echo "$CC" >&6; }
  3809 else
  3810   { $as_echo "$as_me:$LINENO: result: no" >&5
  3811 $as_echo "no" >&6; }
  3812 fi
  3815 fi
  3816 if test -z "$CC"; then
  3817   if test -n "$ac_tool_prefix"; then
  3818   for ac_prog in cl.exe
  3819   do
  3820     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3821 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3822 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3823 $as_echo_n "checking for $ac_word... " >&6; }
  3824 if test "${ac_cv_prog_CC+set}" = set; then
  3825   $as_echo_n "(cached) " >&6
  3826 else
  3827   if test -n "$CC"; then
  3828   ac_cv_prog_CC="$CC" # Let the user override the test.
  3829 else
  3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3831 for as_dir in $PATH
  3832 do
  3833   IFS=$as_save_IFS
  3834   test -z "$as_dir" && as_dir=.
  3835   for ac_exec_ext in '' $ac_executable_extensions; do
  3836   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3837     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3838     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3839     break 2
  3840   fi
  3841 done
  3842 done
  3843 IFS=$as_save_IFS
  3845 fi
  3846 fi
  3847 CC=$ac_cv_prog_CC
  3848 if test -n "$CC"; then
  3849   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3850 $as_echo "$CC" >&6; }
  3851 else
  3852   { $as_echo "$as_me:$LINENO: result: no" >&5
  3853 $as_echo "no" >&6; }
  3854 fi
  3857     test -n "$CC" && break
  3858   done
  3859 fi
  3860 if test -z "$CC"; then
  3861   ac_ct_CC=$CC
  3862   for ac_prog in cl.exe
  3863 do
  3864   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3865 set dummy $ac_prog; ac_word=$2
  3866 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3867 $as_echo_n "checking for $ac_word... " >&6; }
  3868 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3869   $as_echo_n "(cached) " >&6
  3870 else
  3871   if test -n "$ac_ct_CC"; then
  3872   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3873 else
  3874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3875 for as_dir in $PATH
  3876 do
  3877   IFS=$as_save_IFS
  3878   test -z "$as_dir" && as_dir=.
  3879   for ac_exec_ext in '' $ac_executable_extensions; do
  3880   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3881     ac_cv_prog_ac_ct_CC="$ac_prog"
  3882     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3883     break 2
  3884   fi
  3885 done
  3886 done
  3887 IFS=$as_save_IFS
  3889 fi
  3890 fi
  3891 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3892 if test -n "$ac_ct_CC"; then
  3893   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3894 $as_echo "$ac_ct_CC" >&6; }
  3895 else
  3896   { $as_echo "$as_me:$LINENO: result: no" >&5
  3897 $as_echo "no" >&6; }
  3898 fi
  3901   test -n "$ac_ct_CC" && break
  3902 done
  3904   if test "x$ac_ct_CC" = x; then
  3905     CC=""
  3906   else
  3907     case $cross_compiling:$ac_tool_warned in
  3908 yes:)
  3909 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3910 whose name does not start with the host triplet.  If you think this
  3911 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3912 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3913 whose name does not start with the host triplet.  If you think this
  3914 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3915 ac_tool_warned=yes ;;
  3916 esac
  3917     CC=$ac_ct_CC
  3918   fi
  3919 fi
  3921 fi
  3924 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3925 See \`config.log' for more details." >&5
  3926 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  3927 See \`config.log' for more details." >&2;}
  3928    { (exit 1); exit 1; }; }
  3930 # Provide some information about the compiler.
  3931 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  3932 set X $ac_compile
  3933 ac_compiler=$2
  3934 { (ac_try="$ac_compiler --version >&5"
  3935 case "(($ac_try" in
  3936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3937   *) ac_try_echo=$ac_try;;
  3938 esac
  3939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3940 $as_echo "$ac_try_echo") >&5
  3941   (eval "$ac_compiler --version >&5") 2>&5
  3942   ac_status=$?
  3943   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3944   (exit $ac_status); }
  3945 { (ac_try="$ac_compiler -v >&5"
  3946 case "(($ac_try" in
  3947   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3948   *) ac_try_echo=$ac_try;;
  3949 esac
  3950 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3951 $as_echo "$ac_try_echo") >&5
  3952   (eval "$ac_compiler -v >&5") 2>&5
  3953   ac_status=$?
  3954   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3955   (exit $ac_status); }
  3956 { (ac_try="$ac_compiler -V >&5"
  3957 case "(($ac_try" in
  3958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3959   *) ac_try_echo=$ac_try;;
  3960 esac
  3961 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3962 $as_echo "$ac_try_echo") >&5
  3963   (eval "$ac_compiler -V >&5") 2>&5
  3964   ac_status=$?
  3965   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3966   (exit $ac_status); }
  3968 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3969 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3970 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3971   $as_echo_n "(cached) " >&6
  3972 else
  3973   cat >conftest.$ac_ext <<_ACEOF
  3974 /* confdefs.h.  */
  3975 _ACEOF
  3976 cat confdefs.h >>conftest.$ac_ext
  3977 cat >>conftest.$ac_ext <<_ACEOF
  3978 /* end confdefs.h.  */
  3980 int
  3981 main ()
  3983 #ifndef __GNUC__
  3984        choke me
  3985 #endif
  3988   return 0;
  3990 _ACEOF
  3991 rm -f conftest.$ac_objext
  3992 if { (ac_try="$ac_compile"
  3993 case "(($ac_try" in
  3994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3995   *) ac_try_echo=$ac_try;;
  3996 esac
  3997 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3998 $as_echo "$ac_try_echo") >&5
  3999   (eval "$ac_compile") 2>conftest.er1
  4000   ac_status=$?
  4001   grep -v '^ *+' conftest.er1 >conftest.err
  4002   rm -f conftest.er1
  4003   cat conftest.err >&5
  4004   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4005   (exit $ac_status); } && {
  4006 	 test -z "$ac_c_werror_flag" ||
  4007 	 test ! -s conftest.err
  4008        } && test -s conftest.$ac_objext; then
  4009   ac_compiler_gnu=yes
  4010 else
  4011   $as_echo "$as_me: failed program was:" >&5
  4012 sed 's/^/| /' conftest.$ac_ext >&5
  4014 	ac_compiler_gnu=no
  4015 fi
  4017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4018 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4020 fi
  4021 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4022 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4023 if test $ac_compiler_gnu = yes; then
  4024   GCC=yes
  4025 else
  4026   GCC=
  4027 fi
  4028 ac_test_CFLAGS=${CFLAGS+set}
  4029 ac_save_CFLAGS=$CFLAGS
  4030 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4031 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4032 if test "${ac_cv_prog_cc_g+set}" = set; then
  4033   $as_echo_n "(cached) " >&6
  4034 else
  4035   ac_save_c_werror_flag=$ac_c_werror_flag
  4036    ac_c_werror_flag=yes
  4037    ac_cv_prog_cc_g=no
  4038    CFLAGS="-g"
  4039    cat >conftest.$ac_ext <<_ACEOF
  4040 /* confdefs.h.  */
  4041 _ACEOF
  4042 cat confdefs.h >>conftest.$ac_ext
  4043 cat >>conftest.$ac_ext <<_ACEOF
  4044 /* end confdefs.h.  */
  4046 int
  4047 main ()
  4051   return 0;
  4053 _ACEOF
  4054 rm -f conftest.$ac_objext
  4055 if { (ac_try="$ac_compile"
  4056 case "(($ac_try" in
  4057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4058   *) ac_try_echo=$ac_try;;
  4059 esac
  4060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4061 $as_echo "$ac_try_echo") >&5
  4062   (eval "$ac_compile") 2>conftest.er1
  4063   ac_status=$?
  4064   grep -v '^ *+' conftest.er1 >conftest.err
  4065   rm -f conftest.er1
  4066   cat conftest.err >&5
  4067   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4068   (exit $ac_status); } && {
  4069 	 test -z "$ac_c_werror_flag" ||
  4070 	 test ! -s conftest.err
  4071        } && test -s conftest.$ac_objext; then
  4072   ac_cv_prog_cc_g=yes
  4073 else
  4074   $as_echo "$as_me: failed program was:" >&5
  4075 sed 's/^/| /' conftest.$ac_ext >&5
  4077 	CFLAGS=""
  4078       cat >conftest.$ac_ext <<_ACEOF
  4079 /* confdefs.h.  */
  4080 _ACEOF
  4081 cat confdefs.h >>conftest.$ac_ext
  4082 cat >>conftest.$ac_ext <<_ACEOF
  4083 /* end confdefs.h.  */
  4085 int
  4086 main ()
  4090   return 0;
  4092 _ACEOF
  4093 rm -f conftest.$ac_objext
  4094 if { (ac_try="$ac_compile"
  4095 case "(($ac_try" in
  4096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4097   *) ac_try_echo=$ac_try;;
  4098 esac
  4099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4100 $as_echo "$ac_try_echo") >&5
  4101   (eval "$ac_compile") 2>conftest.er1
  4102   ac_status=$?
  4103   grep -v '^ *+' conftest.er1 >conftest.err
  4104   rm -f conftest.er1
  4105   cat conftest.err >&5
  4106   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4107   (exit $ac_status); } && {
  4108 	 test -z "$ac_c_werror_flag" ||
  4109 	 test ! -s conftest.err
  4110        } && test -s conftest.$ac_objext; then
  4112 else
  4113   $as_echo "$as_me: failed program was:" >&5
  4114 sed 's/^/| /' conftest.$ac_ext >&5
  4116 	ac_c_werror_flag=$ac_save_c_werror_flag
  4117 	 CFLAGS="-g"
  4118 	 cat >conftest.$ac_ext <<_ACEOF
  4119 /* confdefs.h.  */
  4120 _ACEOF
  4121 cat confdefs.h >>conftest.$ac_ext
  4122 cat >>conftest.$ac_ext <<_ACEOF
  4123 /* end confdefs.h.  */
  4125 int
  4126 main ()
  4130   return 0;
  4132 _ACEOF
  4133 rm -f conftest.$ac_objext
  4134 if { (ac_try="$ac_compile"
  4135 case "(($ac_try" in
  4136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4137   *) ac_try_echo=$ac_try;;
  4138 esac
  4139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4140 $as_echo "$ac_try_echo") >&5
  4141   (eval "$ac_compile") 2>conftest.er1
  4142   ac_status=$?
  4143   grep -v '^ *+' conftest.er1 >conftest.err
  4144   rm -f conftest.er1
  4145   cat conftest.err >&5
  4146   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4147   (exit $ac_status); } && {
  4148 	 test -z "$ac_c_werror_flag" ||
  4149 	 test ! -s conftest.err
  4150        } && test -s conftest.$ac_objext; then
  4151   ac_cv_prog_cc_g=yes
  4152 else
  4153   $as_echo "$as_me: failed program was:" >&5
  4154 sed 's/^/| /' conftest.$ac_ext >&5
  4157 fi
  4159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4160 fi
  4162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4163 fi
  4165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4166    ac_c_werror_flag=$ac_save_c_werror_flag
  4167 fi
  4168 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4169 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4170 if test "$ac_test_CFLAGS" = set; then
  4171   CFLAGS=$ac_save_CFLAGS
  4172 elif test $ac_cv_prog_cc_g = yes; then
  4173   if test "$GCC" = yes; then
  4174     CFLAGS="-g -O2"
  4175   else
  4176     CFLAGS="-g"
  4177   fi
  4178 else
  4179   if test "$GCC" = yes; then
  4180     CFLAGS="-O2"
  4181   else
  4182     CFLAGS=
  4183   fi
  4184 fi
  4185 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4186 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4187 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4188   $as_echo_n "(cached) " >&6
  4189 else
  4190   ac_cv_prog_cc_c89=no
  4191 ac_save_CC=$CC
  4192 cat >conftest.$ac_ext <<_ACEOF
  4193 /* confdefs.h.  */
  4194 _ACEOF
  4195 cat confdefs.h >>conftest.$ac_ext
  4196 cat >>conftest.$ac_ext <<_ACEOF
  4197 /* end confdefs.h.  */
  4198 #include <stdarg.h>
  4199 #include <stdio.h>
  4200 #include <sys/types.h>
  4201 #include <sys/stat.h>
  4202 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4203 struct buf { int x; };
  4204 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4205 static char *e (p, i)
  4206      char **p;
  4207      int i;
  4209   return p[i];
  4211 static char *f (char * (*g) (char **, int), char **p, ...)
  4213   char *s;
  4214   va_list v;
  4215   va_start (v,p);
  4216   s = g (p, va_arg (v,int));
  4217   va_end (v);
  4218   return s;
  4221 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4222    function prototypes and stuff, but not '\xHH' hex character constants.
  4223    These don't provoke an error unfortunately, instead are silently treated
  4224    as 'x'.  The following induces an error, until -std is added to get
  4225    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4226    array size at least.  It's necessary to write '\x00'==0 to get something
  4227    that's true only with -std.  */
  4228 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4230 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4231    inside strings and character constants.  */
  4232 #define FOO(x) 'x'
  4233 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4235 int test (int i, double x);
  4236 struct s1 {int (*f) (int a);};
  4237 struct s2 {int (*f) (double a);};
  4238 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4239 int argc;
  4240 char **argv;
  4241 int
  4242 main ()
  4244 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4246   return 0;
  4248 _ACEOF
  4249 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4250 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4251 do
  4252   CC="$ac_save_CC $ac_arg"
  4253   rm -f conftest.$ac_objext
  4254 if { (ac_try="$ac_compile"
  4255 case "(($ac_try" in
  4256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4257   *) ac_try_echo=$ac_try;;
  4258 esac
  4259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4260 $as_echo "$ac_try_echo") >&5
  4261   (eval "$ac_compile") 2>conftest.er1
  4262   ac_status=$?
  4263   grep -v '^ *+' conftest.er1 >conftest.err
  4264   rm -f conftest.er1
  4265   cat conftest.err >&5
  4266   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4267   (exit $ac_status); } && {
  4268 	 test -z "$ac_c_werror_flag" ||
  4269 	 test ! -s conftest.err
  4270        } && test -s conftest.$ac_objext; then
  4271   ac_cv_prog_cc_c89=$ac_arg
  4272 else
  4273   $as_echo "$as_me: failed program was:" >&5
  4274 sed 's/^/| /' conftest.$ac_ext >&5
  4277 fi
  4279 rm -f core conftest.err conftest.$ac_objext
  4280   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4281 done
  4282 rm -f conftest.$ac_ext
  4283 CC=$ac_save_CC
  4285 fi
  4286 # AC_CACHE_VAL
  4287 case "x$ac_cv_prog_cc_c89" in
  4288   x)
  4289     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4290 $as_echo "none needed" >&6; } ;;
  4291   xno)
  4292     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4293 $as_echo "unsupported" >&6; } ;;
  4294   *)
  4295     CC="$CC $ac_cv_prog_cc_c89"
  4296     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4297 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4298 esac
  4301 ac_ext=c
  4302 ac_cpp='$CPP $CPPFLAGS'
  4303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4307 depcc="$CC"   am_compiler_list=
  4309 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4310 $as_echo_n "checking dependency style of $depcc... " >&6; }
  4311 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4312   $as_echo_n "(cached) " >&6
  4313 else
  4314   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4315   # We make a subdir and do the tests there.  Otherwise we can end up
  4316   # making bogus files that we don't know about and never remove.  For
  4317   # instance it was reported that on HP-UX the gcc test will end up
  4318   # making a dummy file named `D' -- because `-MD' means `put the output
  4319   # in D'.
  4320   mkdir conftest.dir
  4321   # Copy depcomp to subdir because otherwise we won't find it if we're
  4322   # using a relative directory.
  4323   cp "$am_depcomp" conftest.dir
  4324   cd conftest.dir
  4325   # We will build objects and dependencies in a subdirectory because
  4326   # it helps to detect inapplicable dependency modes.  For instance
  4327   # both Tru64's cc and ICC support -MD to output dependencies as a
  4328   # side effect of compilation, but ICC will put the dependencies in
  4329   # the current directory while Tru64 will put them in the object
  4330   # directory.
  4331   mkdir sub
  4333   am_cv_CC_dependencies_compiler_type=none
  4334   if test "$am_compiler_list" = ""; then
  4335      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4336   fi
  4337   for depmode in $am_compiler_list; do
  4338     # Setup a source with many dependencies, because some compilers
  4339     # like to wrap large dependency lists on column 80 (with \), and
  4340     # we should not choose a depcomp mode which is confused by this.
  4342     # We need to recreate these files for each test, as the compiler may
  4343     # overwrite some of them when testing with obscure command lines.
  4344     # This happens at least with the AIX C compiler.
  4345     : > sub/conftest.c
  4346     for i in 1 2 3 4 5 6; do
  4347       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4348       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4349       # Solaris 8's {/usr,}/bin/sh.
  4350       touch sub/conftst$i.h
  4351     done
  4352     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4354     case $depmode in
  4355     nosideeffect)
  4356       # after this tag, mechanisms are not by side-effect, so they'll
  4357       # only be used when explicitly requested
  4358       if test "x$enable_dependency_tracking" = xyes; then
  4359 	continue
  4360       else
  4361 	break
  4362       fi
  4363       ;;
  4364     none) break ;;
  4365     esac
  4366     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4367     # mode.  It turns out that the SunPro C++ compiler does not properly
  4368     # handle `-M -o', and we need to detect this.
  4369     if depmode=$depmode \
  4370        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4371        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4372        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4373          >/dev/null 2>conftest.err &&
  4374        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4375        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4376        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4377       # icc doesn't choke on unknown options, it will just issue warnings
  4378       # or remarks (even with -Werror).  So we grep stderr for any message
  4379       # that says an option was ignored or not supported.
  4380       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4381       #   icc: Command line warning: ignoring option '-M'; no argument required
  4382       # The diagnosis changed in icc 8.0:
  4383       #   icc: Command line remark: option '-MP' not supported
  4384       if (grep 'ignoring option' conftest.err ||
  4385           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4386         am_cv_CC_dependencies_compiler_type=$depmode
  4387         break
  4388       fi
  4389     fi
  4390   done
  4392   cd ..
  4393   rm -rf conftest.dir
  4394 else
  4395   am_cv_CC_dependencies_compiler_type=none
  4396 fi
  4398 fi
  4399 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4400 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4401 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4405 if
  4406   test "x$enable_dependency_tracking" != xno \
  4407   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4408   am__fastdepCC_TRUE=
  4409   am__fastdepCC_FALSE='#'
  4410 else
  4411   am__fastdepCC_TRUE='#'
  4412   am__fastdepCC_FALSE=
  4413 fi
  4416 ac_ext=c
  4417 ac_cpp='$CPP $CPPFLAGS'
  4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4421 if test -n "$ac_tool_prefix"; then
  4422   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4423 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4424 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4425 $as_echo_n "checking for $ac_word... " >&6; }
  4426 if test "${ac_cv_prog_CC+set}" = set; then
  4427   $as_echo_n "(cached) " >&6
  4428 else
  4429   if test -n "$CC"; then
  4430   ac_cv_prog_CC="$CC" # Let the user override the test.
  4431 else
  4432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4433 for as_dir in $PATH
  4434 do
  4435   IFS=$as_save_IFS
  4436   test -z "$as_dir" && as_dir=.
  4437   for ac_exec_ext in '' $ac_executable_extensions; do
  4438   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4439     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4440     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4441     break 2
  4442   fi
  4443 done
  4444 done
  4445 IFS=$as_save_IFS
  4447 fi
  4448 fi
  4449 CC=$ac_cv_prog_CC
  4450 if test -n "$CC"; then
  4451   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4452 $as_echo "$CC" >&6; }
  4453 else
  4454   { $as_echo "$as_me:$LINENO: result: no" >&5
  4455 $as_echo "no" >&6; }
  4456 fi
  4459 fi
  4460 if test -z "$ac_cv_prog_CC"; then
  4461   ac_ct_CC=$CC
  4462   # Extract the first word of "gcc", so it can be a program name with args.
  4463 set dummy gcc; ac_word=$2
  4464 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4465 $as_echo_n "checking for $ac_word... " >&6; }
  4466 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4467   $as_echo_n "(cached) " >&6
  4468 else
  4469   if test -n "$ac_ct_CC"; then
  4470   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4471 else
  4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4473 for as_dir in $PATH
  4474 do
  4475   IFS=$as_save_IFS
  4476   test -z "$as_dir" && as_dir=.
  4477   for ac_exec_ext in '' $ac_executable_extensions; do
  4478   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4479     ac_cv_prog_ac_ct_CC="gcc"
  4480     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4481     break 2
  4482   fi
  4483 done
  4484 done
  4485 IFS=$as_save_IFS
  4487 fi
  4488 fi
  4489 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4490 if test -n "$ac_ct_CC"; then
  4491   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4492 $as_echo "$ac_ct_CC" >&6; }
  4493 else
  4494   { $as_echo "$as_me:$LINENO: result: no" >&5
  4495 $as_echo "no" >&6; }
  4496 fi
  4498   if test "x$ac_ct_CC" = x; then
  4499     CC=""
  4500   else
  4501     case $cross_compiling:$ac_tool_warned in
  4502 yes:)
  4503 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4504 whose name does not start with the host triplet.  If you think this
  4505 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4506 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4507 whose name does not start with the host triplet.  If you think this
  4508 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4509 ac_tool_warned=yes ;;
  4510 esac
  4511     CC=$ac_ct_CC
  4512   fi
  4513 else
  4514   CC="$ac_cv_prog_CC"
  4515 fi
  4517 if test -z "$CC"; then
  4518           if test -n "$ac_tool_prefix"; then
  4519     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4520 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4521 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4522 $as_echo_n "checking for $ac_word... " >&6; }
  4523 if test "${ac_cv_prog_CC+set}" = set; then
  4524   $as_echo_n "(cached) " >&6
  4525 else
  4526   if test -n "$CC"; then
  4527   ac_cv_prog_CC="$CC" # Let the user override the test.
  4528 else
  4529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4530 for as_dir in $PATH
  4531 do
  4532   IFS=$as_save_IFS
  4533   test -z "$as_dir" && as_dir=.
  4534   for ac_exec_ext in '' $ac_executable_extensions; do
  4535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4536     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4537     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4538     break 2
  4539   fi
  4540 done
  4541 done
  4542 IFS=$as_save_IFS
  4544 fi
  4545 fi
  4546 CC=$ac_cv_prog_CC
  4547 if test -n "$CC"; then
  4548   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4549 $as_echo "$CC" >&6; }
  4550 else
  4551   { $as_echo "$as_me:$LINENO: result: no" >&5
  4552 $as_echo "no" >&6; }
  4553 fi
  4556   fi
  4557 fi
  4558 if test -z "$CC"; then
  4559   # Extract the first word of "cc", so it can be a program name with args.
  4560 set dummy cc; ac_word=$2
  4561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4562 $as_echo_n "checking for $ac_word... " >&6; }
  4563 if test "${ac_cv_prog_CC+set}" = set; then
  4564   $as_echo_n "(cached) " >&6
  4565 else
  4566   if test -n "$CC"; then
  4567   ac_cv_prog_CC="$CC" # Let the user override the test.
  4568 else
  4569   ac_prog_rejected=no
  4570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4571 for as_dir in $PATH
  4572 do
  4573   IFS=$as_save_IFS
  4574   test -z "$as_dir" && as_dir=.
  4575   for ac_exec_ext in '' $ac_executable_extensions; do
  4576   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4577     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4578        ac_prog_rejected=yes
  4579        continue
  4580      fi
  4581     ac_cv_prog_CC="cc"
  4582     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4583     break 2
  4584   fi
  4585 done
  4586 done
  4587 IFS=$as_save_IFS
  4589 if test $ac_prog_rejected = yes; then
  4590   # We found a bogon in the path, so make sure we never use it.
  4591   set dummy $ac_cv_prog_CC
  4592   shift
  4593   if test $# != 0; then
  4594     # We chose a different compiler from the bogus one.
  4595     # However, it has the same basename, so the bogon will be chosen
  4596     # first if we set CC to just the basename; use the full file name.
  4597     shift
  4598     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4599   fi
  4600 fi
  4601 fi
  4602 fi
  4603 CC=$ac_cv_prog_CC
  4604 if test -n "$CC"; then
  4605   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4606 $as_echo "$CC" >&6; }
  4607 else
  4608   { $as_echo "$as_me:$LINENO: result: no" >&5
  4609 $as_echo "no" >&6; }
  4610 fi
  4613 fi
  4614 if test -z "$CC"; then
  4615   if test -n "$ac_tool_prefix"; then
  4616   for ac_prog in cl.exe
  4617   do
  4618     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4619 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4620 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4621 $as_echo_n "checking for $ac_word... " >&6; }
  4622 if test "${ac_cv_prog_CC+set}" = set; then
  4623   $as_echo_n "(cached) " >&6
  4624 else
  4625   if test -n "$CC"; then
  4626   ac_cv_prog_CC="$CC" # Let the user override the test.
  4627 else
  4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4629 for as_dir in $PATH
  4630 do
  4631   IFS=$as_save_IFS
  4632   test -z "$as_dir" && as_dir=.
  4633   for ac_exec_ext in '' $ac_executable_extensions; do
  4634   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4635     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4636     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4637     break 2
  4638   fi
  4639 done
  4640 done
  4641 IFS=$as_save_IFS
  4643 fi
  4644 fi
  4645 CC=$ac_cv_prog_CC
  4646 if test -n "$CC"; then
  4647   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4648 $as_echo "$CC" >&6; }
  4649 else
  4650   { $as_echo "$as_me:$LINENO: result: no" >&5
  4651 $as_echo "no" >&6; }
  4652 fi
  4655     test -n "$CC" && break
  4656   done
  4657 fi
  4658 if test -z "$CC"; then
  4659   ac_ct_CC=$CC
  4660   for ac_prog in cl.exe
  4661 do
  4662   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4663 set dummy $ac_prog; ac_word=$2
  4664 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4665 $as_echo_n "checking for $ac_word... " >&6; }
  4666 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4667   $as_echo_n "(cached) " >&6
  4668 else
  4669   if test -n "$ac_ct_CC"; then
  4670   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4671 else
  4672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4673 for as_dir in $PATH
  4674 do
  4675   IFS=$as_save_IFS
  4676   test -z "$as_dir" && as_dir=.
  4677   for ac_exec_ext in '' $ac_executable_extensions; do
  4678   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4679     ac_cv_prog_ac_ct_CC="$ac_prog"
  4680     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4681     break 2
  4682   fi
  4683 done
  4684 done
  4685 IFS=$as_save_IFS
  4687 fi
  4688 fi
  4689 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4690 if test -n "$ac_ct_CC"; then
  4691   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4692 $as_echo "$ac_ct_CC" >&6; }
  4693 else
  4694   { $as_echo "$as_me:$LINENO: result: no" >&5
  4695 $as_echo "no" >&6; }
  4696 fi
  4699   test -n "$ac_ct_CC" && break
  4700 done
  4702   if test "x$ac_ct_CC" = x; then
  4703     CC=""
  4704   else
  4705     case $cross_compiling:$ac_tool_warned in
  4706 yes:)
  4707 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4708 whose name does not start with the host triplet.  If you think this
  4709 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4710 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4711 whose name does not start with the host triplet.  If you think this
  4712 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4713 ac_tool_warned=yes ;;
  4714 esac
  4715     CC=$ac_ct_CC
  4716   fi
  4717 fi
  4719 fi
  4722 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4723 See \`config.log' for more details." >&5
  4724 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  4725 See \`config.log' for more details." >&2;}
  4726    { (exit 1); exit 1; }; }
  4728 # Provide some information about the compiler.
  4729 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  4730 set X $ac_compile
  4731 ac_compiler=$2
  4732 { (ac_try="$ac_compiler --version >&5"
  4733 case "(($ac_try" in
  4734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4735   *) ac_try_echo=$ac_try;;
  4736 esac
  4737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4738 $as_echo "$ac_try_echo") >&5
  4739   (eval "$ac_compiler --version >&5") 2>&5
  4740   ac_status=$?
  4741   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4742   (exit $ac_status); }
  4743 { (ac_try="$ac_compiler -v >&5"
  4744 case "(($ac_try" in
  4745   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4746   *) ac_try_echo=$ac_try;;
  4747 esac
  4748 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4749 $as_echo "$ac_try_echo") >&5
  4750   (eval "$ac_compiler -v >&5") 2>&5
  4751   ac_status=$?
  4752   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4753   (exit $ac_status); }
  4754 { (ac_try="$ac_compiler -V >&5"
  4755 case "(($ac_try" in
  4756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4757   *) ac_try_echo=$ac_try;;
  4758 esac
  4759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4760 $as_echo "$ac_try_echo") >&5
  4761   (eval "$ac_compiler -V >&5") 2>&5
  4762   ac_status=$?
  4763   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4764   (exit $ac_status); }
  4766 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4767 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4768 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4769   $as_echo_n "(cached) " >&6
  4770 else
  4771   cat >conftest.$ac_ext <<_ACEOF
  4772 /* confdefs.h.  */
  4773 _ACEOF
  4774 cat confdefs.h >>conftest.$ac_ext
  4775 cat >>conftest.$ac_ext <<_ACEOF
  4776 /* end confdefs.h.  */
  4778 int
  4779 main ()
  4781 #ifndef __GNUC__
  4782        choke me
  4783 #endif
  4786   return 0;
  4788 _ACEOF
  4789 rm -f conftest.$ac_objext
  4790 if { (ac_try="$ac_compile"
  4791 case "(($ac_try" in
  4792   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4793   *) ac_try_echo=$ac_try;;
  4794 esac
  4795 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4796 $as_echo "$ac_try_echo") >&5
  4797   (eval "$ac_compile") 2>conftest.er1
  4798   ac_status=$?
  4799   grep -v '^ *+' conftest.er1 >conftest.err
  4800   rm -f conftest.er1
  4801   cat conftest.err >&5
  4802   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4803   (exit $ac_status); } && {
  4804 	 test -z "$ac_c_werror_flag" ||
  4805 	 test ! -s conftest.err
  4806        } && test -s conftest.$ac_objext; then
  4807   ac_compiler_gnu=yes
  4808 else
  4809   $as_echo "$as_me: failed program was:" >&5
  4810 sed 's/^/| /' conftest.$ac_ext >&5
  4812 	ac_compiler_gnu=no
  4813 fi
  4815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4816 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4818 fi
  4819 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4820 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4821 if test $ac_compiler_gnu = yes; then
  4822   GCC=yes
  4823 else
  4824   GCC=
  4825 fi
  4826 ac_test_CFLAGS=${CFLAGS+set}
  4827 ac_save_CFLAGS=$CFLAGS
  4828 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4829 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4830 if test "${ac_cv_prog_cc_g+set}" = set; then
  4831   $as_echo_n "(cached) " >&6
  4832 else
  4833   ac_save_c_werror_flag=$ac_c_werror_flag
  4834    ac_c_werror_flag=yes
  4835    ac_cv_prog_cc_g=no
  4836    CFLAGS="-g"
  4837    cat >conftest.$ac_ext <<_ACEOF
  4838 /* confdefs.h.  */
  4839 _ACEOF
  4840 cat confdefs.h >>conftest.$ac_ext
  4841 cat >>conftest.$ac_ext <<_ACEOF
  4842 /* end confdefs.h.  */
  4844 int
  4845 main ()
  4849   return 0;
  4851 _ACEOF
  4852 rm -f conftest.$ac_objext
  4853 if { (ac_try="$ac_compile"
  4854 case "(($ac_try" in
  4855   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4856   *) ac_try_echo=$ac_try;;
  4857 esac
  4858 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4859 $as_echo "$ac_try_echo") >&5
  4860   (eval "$ac_compile") 2>conftest.er1
  4861   ac_status=$?
  4862   grep -v '^ *+' conftest.er1 >conftest.err
  4863   rm -f conftest.er1
  4864   cat conftest.err >&5
  4865   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4866   (exit $ac_status); } && {
  4867 	 test -z "$ac_c_werror_flag" ||
  4868 	 test ! -s conftest.err
  4869        } && test -s conftest.$ac_objext; then
  4870   ac_cv_prog_cc_g=yes
  4871 else
  4872   $as_echo "$as_me: failed program was:" >&5
  4873 sed 's/^/| /' conftest.$ac_ext >&5
  4875 	CFLAGS=""
  4876       cat >conftest.$ac_ext <<_ACEOF
  4877 /* confdefs.h.  */
  4878 _ACEOF
  4879 cat confdefs.h >>conftest.$ac_ext
  4880 cat >>conftest.$ac_ext <<_ACEOF
  4881 /* end confdefs.h.  */
  4883 int
  4884 main ()
  4888   return 0;
  4890 _ACEOF
  4891 rm -f conftest.$ac_objext
  4892 if { (ac_try="$ac_compile"
  4893 case "(($ac_try" in
  4894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4895   *) ac_try_echo=$ac_try;;
  4896 esac
  4897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4898 $as_echo "$ac_try_echo") >&5
  4899   (eval "$ac_compile") 2>conftest.er1
  4900   ac_status=$?
  4901   grep -v '^ *+' conftest.er1 >conftest.err
  4902   rm -f conftest.er1
  4903   cat conftest.err >&5
  4904   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4905   (exit $ac_status); } && {
  4906 	 test -z "$ac_c_werror_flag" ||
  4907 	 test ! -s conftest.err
  4908        } && test -s conftest.$ac_objext; then
  4910 else
  4911   $as_echo "$as_me: failed program was:" >&5
  4912 sed 's/^/| /' conftest.$ac_ext >&5
  4914 	ac_c_werror_flag=$ac_save_c_werror_flag
  4915 	 CFLAGS="-g"
  4916 	 cat >conftest.$ac_ext <<_ACEOF
  4917 /* confdefs.h.  */
  4918 _ACEOF
  4919 cat confdefs.h >>conftest.$ac_ext
  4920 cat >>conftest.$ac_ext <<_ACEOF
  4921 /* end confdefs.h.  */
  4923 int
  4924 main ()
  4928   return 0;
  4930 _ACEOF
  4931 rm -f conftest.$ac_objext
  4932 if { (ac_try="$ac_compile"
  4933 case "(($ac_try" in
  4934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4935   *) ac_try_echo=$ac_try;;
  4936 esac
  4937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4938 $as_echo "$ac_try_echo") >&5
  4939   (eval "$ac_compile") 2>conftest.er1
  4940   ac_status=$?
  4941   grep -v '^ *+' conftest.er1 >conftest.err
  4942   rm -f conftest.er1
  4943   cat conftest.err >&5
  4944   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4945   (exit $ac_status); } && {
  4946 	 test -z "$ac_c_werror_flag" ||
  4947 	 test ! -s conftest.err
  4948        } && test -s conftest.$ac_objext; then
  4949   ac_cv_prog_cc_g=yes
  4950 else
  4951   $as_echo "$as_me: failed program was:" >&5
  4952 sed 's/^/| /' conftest.$ac_ext >&5
  4955 fi
  4957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4958 fi
  4960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4961 fi
  4963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4964    ac_c_werror_flag=$ac_save_c_werror_flag
  4965 fi
  4966 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4967 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4968 if test "$ac_test_CFLAGS" = set; then
  4969   CFLAGS=$ac_save_CFLAGS
  4970 elif test $ac_cv_prog_cc_g = yes; then
  4971   if test "$GCC" = yes; then
  4972     CFLAGS="-g -O2"
  4973   else
  4974     CFLAGS="-g"
  4975   fi
  4976 else
  4977   if test "$GCC" = yes; then
  4978     CFLAGS="-O2"
  4979   else
  4980     CFLAGS=
  4981   fi
  4982 fi
  4983 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4984 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4985 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4986   $as_echo_n "(cached) " >&6
  4987 else
  4988   ac_cv_prog_cc_c89=no
  4989 ac_save_CC=$CC
  4990 cat >conftest.$ac_ext <<_ACEOF
  4991 /* confdefs.h.  */
  4992 _ACEOF
  4993 cat confdefs.h >>conftest.$ac_ext
  4994 cat >>conftest.$ac_ext <<_ACEOF
  4995 /* end confdefs.h.  */
  4996 #include <stdarg.h>
  4997 #include <stdio.h>
  4998 #include <sys/types.h>
  4999 #include <sys/stat.h>
  5000 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5001 struct buf { int x; };
  5002 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5003 static char *e (p, i)
  5004      char **p;
  5005      int i;
  5007   return p[i];
  5009 static char *f (char * (*g) (char **, int), char **p, ...)
  5011   char *s;
  5012   va_list v;
  5013   va_start (v,p);
  5014   s = g (p, va_arg (v,int));
  5015   va_end (v);
  5016   return s;
  5019 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5020    function prototypes and stuff, but not '\xHH' hex character constants.
  5021    These don't provoke an error unfortunately, instead are silently treated
  5022    as 'x'.  The following induces an error, until -std is added to get
  5023    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5024    array size at least.  It's necessary to write '\x00'==0 to get something
  5025    that's true only with -std.  */
  5026 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5028 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5029    inside strings and character constants.  */
  5030 #define FOO(x) 'x'
  5031 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5033 int test (int i, double x);
  5034 struct s1 {int (*f) (int a);};
  5035 struct s2 {int (*f) (double a);};
  5036 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5037 int argc;
  5038 char **argv;
  5039 int
  5040 main ()
  5042 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5044   return 0;
  5046 _ACEOF
  5047 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5048 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5049 do
  5050   CC="$ac_save_CC $ac_arg"
  5051   rm -f conftest.$ac_objext
  5052 if { (ac_try="$ac_compile"
  5053 case "(($ac_try" in
  5054   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5055   *) ac_try_echo=$ac_try;;
  5056 esac
  5057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5058 $as_echo "$ac_try_echo") >&5
  5059   (eval "$ac_compile") 2>conftest.er1
  5060   ac_status=$?
  5061   grep -v '^ *+' conftest.er1 >conftest.err
  5062   rm -f conftest.er1
  5063   cat conftest.err >&5
  5064   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5065   (exit $ac_status); } && {
  5066 	 test -z "$ac_c_werror_flag" ||
  5067 	 test ! -s conftest.err
  5068        } && test -s conftest.$ac_objext; then
  5069   ac_cv_prog_cc_c89=$ac_arg
  5070 else
  5071   $as_echo "$as_me: failed program was:" >&5
  5072 sed 's/^/| /' conftest.$ac_ext >&5
  5075 fi
  5077 rm -f core conftest.err conftest.$ac_objext
  5078   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5079 done
  5080 rm -f conftest.$ac_ext
  5081 CC=$ac_save_CC
  5083 fi
  5084 # AC_CACHE_VAL
  5085 case "x$ac_cv_prog_cc_c89" in
  5086   x)
  5087     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  5088 $as_echo "none needed" >&6; } ;;
  5089   xno)
  5090     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  5091 $as_echo "unsupported" >&6; } ;;
  5092   *)
  5093     CC="$CC $ac_cv_prog_cc_c89"
  5094     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5095 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  5096 esac
  5099 ac_ext=c
  5100 ac_cpp='$CPP $CPPFLAGS'
  5101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5105 depcc="$CC"   am_compiler_list=
  5107 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5108 $as_echo_n "checking dependency style of $depcc... " >&6; }
  5109 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5110   $as_echo_n "(cached) " >&6
  5111 else
  5112   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5113   # We make a subdir and do the tests there.  Otherwise we can end up
  5114   # making bogus files that we don't know about and never remove.  For
  5115   # instance it was reported that on HP-UX the gcc test will end up
  5116   # making a dummy file named `D' -- because `-MD' means `put the output
  5117   # in D'.
  5118   mkdir conftest.dir
  5119   # Copy depcomp to subdir because otherwise we won't find it if we're
  5120   # using a relative directory.
  5121   cp "$am_depcomp" conftest.dir
  5122   cd conftest.dir
  5123   # We will build objects and dependencies in a subdirectory because
  5124   # it helps to detect inapplicable dependency modes.  For instance
  5125   # both Tru64's cc and ICC support -MD to output dependencies as a
  5126   # side effect of compilation, but ICC will put the dependencies in
  5127   # the current directory while Tru64 will put them in the object
  5128   # directory.
  5129   mkdir sub
  5131   am_cv_CC_dependencies_compiler_type=none
  5132   if test "$am_compiler_list" = ""; then
  5133      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5134   fi
  5135   for depmode in $am_compiler_list; do
  5136     # Setup a source with many dependencies, because some compilers
  5137     # like to wrap large dependency lists on column 80 (with \), and
  5138     # we should not choose a depcomp mode which is confused by this.
  5140     # We need to recreate these files for each test, as the compiler may
  5141     # overwrite some of them when testing with obscure command lines.
  5142     # This happens at least with the AIX C compiler.
  5143     : > sub/conftest.c
  5144     for i in 1 2 3 4 5 6; do
  5145       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5146       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5147       # Solaris 8's {/usr,}/bin/sh.
  5148       touch sub/conftst$i.h
  5149     done
  5150     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5152     case $depmode in
  5153     nosideeffect)
  5154       # after this tag, mechanisms are not by side-effect, so they'll
  5155       # only be used when explicitly requested
  5156       if test "x$enable_dependency_tracking" = xyes; then
  5157 	continue
  5158       else
  5159 	break
  5160       fi
  5161       ;;
  5162     none) break ;;
  5163     esac
  5164     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5165     # mode.  It turns out that the SunPro C++ compiler does not properly
  5166     # handle `-M -o', and we need to detect this.
  5167     if depmode=$depmode \
  5168        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5169        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5170        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5171          >/dev/null 2>conftest.err &&
  5172        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5173        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5174        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5175       # icc doesn't choke on unknown options, it will just issue warnings
  5176       # or remarks (even with -Werror).  So we grep stderr for any message
  5177       # that says an option was ignored or not supported.
  5178       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5179       #   icc: Command line warning: ignoring option '-M'; no argument required
  5180       # The diagnosis changed in icc 8.0:
  5181       #   icc: Command line remark: option '-MP' not supported
  5182       if (grep 'ignoring option' conftest.err ||
  5183           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5184         am_cv_CC_dependencies_compiler_type=$depmode
  5185         break
  5186       fi
  5187     fi
  5188   done
  5190   cd ..
  5191   rm -rf conftest.dir
  5192 else
  5193   am_cv_CC_dependencies_compiler_type=none
  5194 fi
  5196 fi
  5197 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5198 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5199 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5203 if
  5204   test "x$enable_dependency_tracking" != xno \
  5205   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5206   am__fastdepCC_TRUE=
  5207   am__fastdepCC_FALSE='#'
  5208 else
  5209   am__fastdepCC_TRUE='#'
  5210   am__fastdepCC_FALSE=
  5211 fi
  5215 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5217 # By default we simply use the C compiler to build assembly code.
  5219 test "${CCAS+set}" = set || CCAS=$CC
  5220 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  5224 ac_ext=c
  5225 ac_cpp='$CPP $CPPFLAGS'
  5226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5229 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5230 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5231 # On Suns, sometimes $CPP names a directory.
  5232 if test -n "$CPP" && test -d "$CPP"; then
  5233   CPP=
  5234 fi
  5235 if test -z "$CPP"; then
  5236   if test "${ac_cv_prog_CPP+set}" = set; then
  5237   $as_echo_n "(cached) " >&6
  5238 else
  5239       # Double quotes because CPP needs to be expanded
  5240     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5241     do
  5242       ac_preproc_ok=false
  5243 for ac_c_preproc_warn_flag in '' yes
  5244 do
  5245   # Use a header file that comes with gcc, so configuring glibc
  5246   # with a fresh cross-compiler works.
  5247   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5248   # <limits.h> exists even on freestanding compilers.
  5249   # On the NeXT, cc -E runs the code through the compiler's parser,
  5250   # not just through cpp. "Syntax error" is here to catch this case.
  5251   cat >conftest.$ac_ext <<_ACEOF
  5252 /* confdefs.h.  */
  5253 _ACEOF
  5254 cat confdefs.h >>conftest.$ac_ext
  5255 cat >>conftest.$ac_ext <<_ACEOF
  5256 /* end confdefs.h.  */
  5257 #ifdef __STDC__
  5258 # include <limits.h>
  5259 #else
  5260 # include <assert.h>
  5261 #endif
  5262 		     Syntax error
  5263 _ACEOF
  5264 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5265 case "(($ac_try" in
  5266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5267   *) ac_try_echo=$ac_try;;
  5268 esac
  5269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5270 $as_echo "$ac_try_echo") >&5
  5271   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5272   ac_status=$?
  5273   grep -v '^ *+' conftest.er1 >conftest.err
  5274   rm -f conftest.er1
  5275   cat conftest.err >&5
  5276   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5277   (exit $ac_status); } >/dev/null && {
  5278 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5279 	 test ! -s conftest.err
  5280        }; then
  5282 else
  5283   $as_echo "$as_me: failed program was:" >&5
  5284 sed 's/^/| /' conftest.$ac_ext >&5
  5286   # Broken: fails on valid input.
  5287 continue
  5288 fi
  5290 rm -f conftest.err conftest.$ac_ext
  5292   # OK, works on sane cases.  Now check whether nonexistent headers
  5293   # can be detected and how.
  5294   cat >conftest.$ac_ext <<_ACEOF
  5295 /* confdefs.h.  */
  5296 _ACEOF
  5297 cat confdefs.h >>conftest.$ac_ext
  5298 cat >>conftest.$ac_ext <<_ACEOF
  5299 /* end confdefs.h.  */
  5300 #include <ac_nonexistent.h>
  5301 _ACEOF
  5302 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5303 case "(($ac_try" in
  5304   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5305   *) ac_try_echo=$ac_try;;
  5306 esac
  5307 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5308 $as_echo "$ac_try_echo") >&5
  5309   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5310   ac_status=$?
  5311   grep -v '^ *+' conftest.er1 >conftest.err
  5312   rm -f conftest.er1
  5313   cat conftest.err >&5
  5314   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5315   (exit $ac_status); } >/dev/null && {
  5316 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5317 	 test ! -s conftest.err
  5318        }; then
  5319   # Broken: success on invalid input.
  5320 continue
  5321 else
  5322   $as_echo "$as_me: failed program was:" >&5
  5323 sed 's/^/| /' conftest.$ac_ext >&5
  5325   # Passes both tests.
  5326 ac_preproc_ok=:
  5327 break
  5328 fi
  5330 rm -f conftest.err conftest.$ac_ext
  5332 done
  5333 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5334 rm -f conftest.err conftest.$ac_ext
  5335 if $ac_preproc_ok; then
  5336   break
  5337 fi
  5339     done
  5340     ac_cv_prog_CPP=$CPP
  5342 fi
  5343   CPP=$ac_cv_prog_CPP
  5344 else
  5345   ac_cv_prog_CPP=$CPP
  5346 fi
  5347 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  5348 $as_echo "$CPP" >&6; }
  5349 ac_preproc_ok=false
  5350 for ac_c_preproc_warn_flag in '' yes
  5351 do
  5352   # Use a header file that comes with gcc, so configuring glibc
  5353   # with a fresh cross-compiler works.
  5354   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5355   # <limits.h> exists even on freestanding compilers.
  5356   # On the NeXT, cc -E runs the code through the compiler's parser,
  5357   # not just through cpp. "Syntax error" is here to catch this case.
  5358   cat >conftest.$ac_ext <<_ACEOF
  5359 /* confdefs.h.  */
  5360 _ACEOF
  5361 cat confdefs.h >>conftest.$ac_ext
  5362 cat >>conftest.$ac_ext <<_ACEOF
  5363 /* end confdefs.h.  */
  5364 #ifdef __STDC__
  5365 # include <limits.h>
  5366 #else
  5367 # include <assert.h>
  5368 #endif
  5369 		     Syntax error
  5370 _ACEOF
  5371 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5372 case "(($ac_try" in
  5373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5374   *) ac_try_echo=$ac_try;;
  5375 esac
  5376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5377 $as_echo "$ac_try_echo") >&5
  5378   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5379   ac_status=$?
  5380   grep -v '^ *+' conftest.er1 >conftest.err
  5381   rm -f conftest.er1
  5382   cat conftest.err >&5
  5383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5384   (exit $ac_status); } >/dev/null && {
  5385 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5386 	 test ! -s conftest.err
  5387        }; then
  5389 else
  5390   $as_echo "$as_me: failed program was:" >&5
  5391 sed 's/^/| /' conftest.$ac_ext >&5
  5393   # Broken: fails on valid input.
  5394 continue
  5395 fi
  5397 rm -f conftest.err conftest.$ac_ext
  5399   # OK, works on sane cases.  Now check whether nonexistent headers
  5400   # can be detected and how.
  5401   cat >conftest.$ac_ext <<_ACEOF
  5402 /* confdefs.h.  */
  5403 _ACEOF
  5404 cat confdefs.h >>conftest.$ac_ext
  5405 cat >>conftest.$ac_ext <<_ACEOF
  5406 /* end confdefs.h.  */
  5407 #include <ac_nonexistent.h>
  5408 _ACEOF
  5409 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5410 case "(($ac_try" in
  5411   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5412   *) ac_try_echo=$ac_try;;
  5413 esac
  5414 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5415 $as_echo "$ac_try_echo") >&5
  5416   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5417   ac_status=$?
  5418   grep -v '^ *+' conftest.er1 >conftest.err
  5419   rm -f conftest.er1
  5420   cat conftest.err >&5
  5421   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5422   (exit $ac_status); } >/dev/null && {
  5423 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5424 	 test ! -s conftest.err
  5425        }; then
  5426   # Broken: success on invalid input.
  5427 continue
  5428 else
  5429   $as_echo "$as_me: failed program was:" >&5
  5430 sed 's/^/| /' conftest.$ac_ext >&5
  5432   # Passes both tests.
  5433 ac_preproc_ok=:
  5434 break
  5435 fi
  5437 rm -f conftest.err conftest.$ac_ext
  5439 done
  5440 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5441 rm -f conftest.err conftest.$ac_ext
  5442 if $ac_preproc_ok; then
  5444 else
  5445   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5446 See \`config.log' for more details." >&5
  5447 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5448 See \`config.log' for more details." >&2;}
  5449    { (exit 1); exit 1; }; }
  5450 fi
  5452 ac_ext=c
  5453 ac_cpp='$CPP $CPPFLAGS'
  5454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5459 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  5460 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5461 if test "${ac_cv_path_GREP+set}" = set; then
  5462   $as_echo_n "(cached) " >&6
  5463 else
  5464   if test -z "$GREP"; then
  5465   ac_path_GREP_found=false
  5466   # Loop through the user's path and test for each of PROGNAME-LIST
  5467   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5469 do
  5470   IFS=$as_save_IFS
  5471   test -z "$as_dir" && as_dir=.
  5472   for ac_prog in grep ggrep; do
  5473     for ac_exec_ext in '' $ac_executable_extensions; do
  5474       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5475       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5476 # Check for GNU ac_path_GREP and select it if it is found.
  5477   # Check for GNU $ac_path_GREP
  5478 case `"$ac_path_GREP" --version 2>&1` in
  5479 *GNU*)
  5480   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5481 *)
  5482   ac_count=0
  5483   $as_echo_n 0123456789 >"conftest.in"
  5484   while :
  5485   do
  5486     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5487     mv "conftest.tmp" "conftest.in"
  5488     cp "conftest.in" "conftest.nl"
  5489     $as_echo 'GREP' >> "conftest.nl"
  5490     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5491     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5492     ac_count=`expr $ac_count + 1`
  5493     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5494       # Best one so far, save it but keep looking for a better one
  5495       ac_cv_path_GREP="$ac_path_GREP"
  5496       ac_path_GREP_max=$ac_count
  5497     fi
  5498     # 10*(2^10) chars as input seems more than enough
  5499     test $ac_count -gt 10 && break
  5500   done
  5501   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5502 esac
  5504       $ac_path_GREP_found && break 3
  5505     done
  5506   done
  5507 done
  5508 IFS=$as_save_IFS
  5509   if test -z "$ac_cv_path_GREP"; then
  5510     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5511 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5512    { (exit 1); exit 1; }; }
  5513   fi
  5514 else
  5515   ac_cv_path_GREP=$GREP
  5516 fi
  5518 fi
  5519 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  5520 $as_echo "$ac_cv_path_GREP" >&6; }
  5521  GREP="$ac_cv_path_GREP"
  5524 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  5525 $as_echo_n "checking for egrep... " >&6; }
  5526 if test "${ac_cv_path_EGREP+set}" = set; then
  5527   $as_echo_n "(cached) " >&6
  5528 else
  5529   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  5530    then ac_cv_path_EGREP="$GREP -E"
  5531    else
  5532      if test -z "$EGREP"; then
  5533   ac_path_EGREP_found=false
  5534   # Loop through the user's path and test for each of PROGNAME-LIST
  5535   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5536 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5537 do
  5538   IFS=$as_save_IFS
  5539   test -z "$as_dir" && as_dir=.
  5540   for ac_prog in egrep; do
  5541     for ac_exec_ext in '' $ac_executable_extensions; do
  5542       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  5543       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  5544 # Check for GNU ac_path_EGREP and select it if it is found.
  5545   # Check for GNU $ac_path_EGREP
  5546 case `"$ac_path_EGREP" --version 2>&1` in
  5547 *GNU*)
  5548   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  5549 *)
  5550   ac_count=0
  5551   $as_echo_n 0123456789 >"conftest.in"
  5552   while :
  5553   do
  5554     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5555     mv "conftest.tmp" "conftest.in"
  5556     cp "conftest.in" "conftest.nl"
  5557     $as_echo 'EGREP' >> "conftest.nl"
  5558     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5559     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5560     ac_count=`expr $ac_count + 1`
  5561     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  5562       # Best one so far, save it but keep looking for a better one
  5563       ac_cv_path_EGREP="$ac_path_EGREP"
  5564       ac_path_EGREP_max=$ac_count
  5565     fi
  5566     # 10*(2^10) chars as input seems more than enough
  5567     test $ac_count -gt 10 && break
  5568   done
  5569   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5570 esac
  5572       $ac_path_EGREP_found && break 3
  5573     done
  5574   done
  5575 done
  5576 IFS=$as_save_IFS
  5577   if test -z "$ac_cv_path_EGREP"; then
  5578     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5579 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5580    { (exit 1); exit 1; }; }
  5581   fi
  5582 else
  5583   ac_cv_path_EGREP=$EGREP
  5584 fi
  5586    fi
  5587 fi
  5588 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  5589 $as_echo "$ac_cv_path_EGREP" >&6; }
  5590  EGREP="$ac_cv_path_EGREP"
  5593 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  5594 $as_echo_n "checking for ANSI C header files... " >&6; }
  5595 if test "${ac_cv_header_stdc+set}" = set; then
  5596   $as_echo_n "(cached) " >&6
  5597 else
  5598   cat >conftest.$ac_ext <<_ACEOF
  5599 /* confdefs.h.  */
  5600 _ACEOF
  5601 cat confdefs.h >>conftest.$ac_ext
  5602 cat >>conftest.$ac_ext <<_ACEOF
  5603 /* end confdefs.h.  */
  5604 #include <stdlib.h>
  5605 #include <stdarg.h>
  5606 #include <string.h>
  5607 #include <float.h>
  5609 int
  5610 main ()
  5614   return 0;
  5616 _ACEOF
  5617 rm -f conftest.$ac_objext
  5618 if { (ac_try="$ac_compile"
  5619 case "(($ac_try" in
  5620   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5621   *) ac_try_echo=$ac_try;;
  5622 esac
  5623 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5624 $as_echo "$ac_try_echo") >&5
  5625   (eval "$ac_compile") 2>conftest.er1
  5626   ac_status=$?
  5627   grep -v '^ *+' conftest.er1 >conftest.err
  5628   rm -f conftest.er1
  5629   cat conftest.err >&5
  5630   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5631   (exit $ac_status); } && {
  5632 	 test -z "$ac_c_werror_flag" ||
  5633 	 test ! -s conftest.err
  5634        } && test -s conftest.$ac_objext; then
  5635   ac_cv_header_stdc=yes
  5636 else
  5637   $as_echo "$as_me: failed program was:" >&5
  5638 sed 's/^/| /' conftest.$ac_ext >&5
  5640 	ac_cv_header_stdc=no
  5641 fi
  5643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5645 if test $ac_cv_header_stdc = yes; then
  5646   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  5647   cat >conftest.$ac_ext <<_ACEOF
  5648 /* confdefs.h.  */
  5649 _ACEOF
  5650 cat confdefs.h >>conftest.$ac_ext
  5651 cat >>conftest.$ac_ext <<_ACEOF
  5652 /* end confdefs.h.  */
  5653 #include <string.h>
  5655 _ACEOF
  5656 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5657   $EGREP "memchr" >/dev/null 2>&1; then
  5659 else
  5660   ac_cv_header_stdc=no
  5661 fi
  5662 rm -f conftest*
  5664 fi
  5666 if test $ac_cv_header_stdc = yes; then
  5667   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  5668   cat >conftest.$ac_ext <<_ACEOF
  5669 /* confdefs.h.  */
  5670 _ACEOF
  5671 cat confdefs.h >>conftest.$ac_ext
  5672 cat >>conftest.$ac_ext <<_ACEOF
  5673 /* end confdefs.h.  */
  5674 #include <stdlib.h>
  5676 _ACEOF
  5677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5678   $EGREP "free" >/dev/null 2>&1; then
  5680 else
  5681   ac_cv_header_stdc=no
  5682 fi
  5683 rm -f conftest*
  5685 fi
  5687 if test $ac_cv_header_stdc = yes; then
  5688   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  5689   if test "$cross_compiling" = yes; then
  5691 else
  5692   cat >conftest.$ac_ext <<_ACEOF
  5693 /* confdefs.h.  */
  5694 _ACEOF
  5695 cat confdefs.h >>conftest.$ac_ext
  5696 cat >>conftest.$ac_ext <<_ACEOF
  5697 /* end confdefs.h.  */
  5698 #include <ctype.h>
  5699 #include <stdlib.h>
  5700 #if ((' ' & 0x0FF) == 0x020)
  5701 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  5702 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  5703 #else
  5704 # define ISLOWER(c) \
  5705 		   (('a' <= (c) && (c) <= 'i') \
  5706 		     || ('j' <= (c) && (c) <= 'r') \
  5707 		     || ('s' <= (c) && (c) <= 'z'))
  5708 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  5709 #endif
  5711 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  5712 int
  5713 main ()
  5715   int i;
  5716   for (i = 0; i < 256; i++)
  5717     if (XOR (islower (i), ISLOWER (i))
  5718 	|| toupper (i) != TOUPPER (i))
  5719       return 2;
  5720   return 0;
  5722 _ACEOF
  5723 rm -f conftest$ac_exeext
  5724 if { (ac_try="$ac_link"
  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_link") 2>&5
  5732   ac_status=$?
  5733   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5734   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5735   { (case "(($ac_try" in
  5736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5737   *) ac_try_echo=$ac_try;;
  5738 esac
  5739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5740 $as_echo "$ac_try_echo") >&5
  5741   (eval "$ac_try") 2>&5
  5742   ac_status=$?
  5743   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5744   (exit $ac_status); }; }; then
  5746 else
  5747   $as_echo "$as_me: program exited with status $ac_status" >&5
  5748 $as_echo "$as_me: failed program was:" >&5
  5749 sed 's/^/| /' conftest.$ac_ext >&5
  5751 ( exit $ac_status )
  5752 ac_cv_header_stdc=no
  5753 fi
  5754 rm -rf conftest.dSYM
  5755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5756 fi
  5759 fi
  5760 fi
  5761 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  5762 $as_echo "$ac_cv_header_stdc" >&6; }
  5763 if test $ac_cv_header_stdc = yes; then
  5765 cat >>confdefs.h <<\_ACEOF
  5766 #define STDC_HEADERS 1
  5767 _ACEOF
  5769 fi
  5771 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  5781 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  5782 		  inttypes.h stdint.h unistd.h
  5783 do
  5784 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5785 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  5786 $as_echo_n "checking for $ac_header... " >&6; }
  5787 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5788   $as_echo_n "(cached) " >&6
  5789 else
  5790   cat >conftest.$ac_ext <<_ACEOF
  5791 /* confdefs.h.  */
  5792 _ACEOF
  5793 cat confdefs.h >>conftest.$ac_ext
  5794 cat >>conftest.$ac_ext <<_ACEOF
  5795 /* end confdefs.h.  */
  5796 $ac_includes_default
  5798 #include <$ac_header>
  5799 _ACEOF
  5800 rm -f conftest.$ac_objext
  5801 if { (ac_try="$ac_compile"
  5802 case "(($ac_try" in
  5803   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5804   *) ac_try_echo=$ac_try;;
  5805 esac
  5806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5807 $as_echo "$ac_try_echo") >&5
  5808   (eval "$ac_compile") 2>conftest.er1
  5809   ac_status=$?
  5810   grep -v '^ *+' conftest.er1 >conftest.err
  5811   rm -f conftest.er1
  5812   cat conftest.err >&5
  5813   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5814   (exit $ac_status); } && {
  5815 	 test -z "$ac_c_werror_flag" ||
  5816 	 test ! -s conftest.err
  5817        } && test -s conftest.$ac_objext; then
  5818   eval "$as_ac_Header=yes"
  5819 else
  5820   $as_echo "$as_me: failed program was:" >&5
  5821 sed 's/^/| /' conftest.$ac_ext >&5
  5823 	eval "$as_ac_Header=no"
  5824 fi
  5826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5827 fi
  5828 ac_res=`eval 'as_val=${'$as_ac_Header'}
  5829 		 $as_echo "$as_val"'`
  5830 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  5831 $as_echo "$ac_res" >&6; }
  5832 if test `eval 'as_val=${'$as_ac_Header'}
  5833 		 $as_echo "$as_val"'` = yes; then
  5834   cat >>confdefs.h <<_ACEOF
  5835 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5836 _ACEOF
  5838 fi
  5840 done
  5843 # The cast to long int works around a bug in the HP C Compiler
  5844 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5845 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5846 # This bug is HP SR number 8606223364.
  5847 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
  5848 $as_echo_n "checking size of void *... " >&6; }
  5849 if test "${ac_cv_sizeof_void_p+set}" = set; then
  5850   $as_echo_n "(cached) " >&6
  5851 else
  5852   if test "$cross_compiling" = yes; then
  5853   # Depending upon the size, compute the lo and hi bounds.
  5854 cat >conftest.$ac_ext <<_ACEOF
  5855 /* confdefs.h.  */
  5856 _ACEOF
  5857 cat confdefs.h >>conftest.$ac_ext
  5858 cat >>conftest.$ac_ext <<_ACEOF
  5859 /* end confdefs.h.  */
  5860 $ac_includes_default
  5861 int
  5862 main ()
  5864 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
  5865 test_array [0] = 0
  5868   return 0;
  5870 _ACEOF
  5871 rm -f conftest.$ac_objext
  5872 if { (ac_try="$ac_compile"
  5873 case "(($ac_try" in
  5874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5875   *) ac_try_echo=$ac_try;;
  5876 esac
  5877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5878 $as_echo "$ac_try_echo") >&5
  5879   (eval "$ac_compile") 2>conftest.er1
  5880   ac_status=$?
  5881   grep -v '^ *+' conftest.er1 >conftest.err
  5882   rm -f conftest.er1
  5883   cat conftest.err >&5
  5884   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5885   (exit $ac_status); } && {
  5886 	 test -z "$ac_c_werror_flag" ||
  5887 	 test ! -s conftest.err
  5888        } && test -s conftest.$ac_objext; then
  5889   ac_lo=0 ac_mid=0
  5890   while :; do
  5891     cat >conftest.$ac_ext <<_ACEOF
  5892 /* confdefs.h.  */
  5893 _ACEOF
  5894 cat confdefs.h >>conftest.$ac_ext
  5895 cat >>conftest.$ac_ext <<_ACEOF
  5896 /* end confdefs.h.  */
  5897 $ac_includes_default
  5898 int
  5899 main ()
  5901 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  5902 test_array [0] = 0
  5905   return 0;
  5907 _ACEOF
  5908 rm -f conftest.$ac_objext
  5909 if { (ac_try="$ac_compile"
  5910 case "(($ac_try" in
  5911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5912   *) ac_try_echo=$ac_try;;
  5913 esac
  5914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5915 $as_echo "$ac_try_echo") >&5
  5916   (eval "$ac_compile") 2>conftest.er1
  5917   ac_status=$?
  5918   grep -v '^ *+' conftest.er1 >conftest.err
  5919   rm -f conftest.er1
  5920   cat conftest.err >&5
  5921   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5922   (exit $ac_status); } && {
  5923 	 test -z "$ac_c_werror_flag" ||
  5924 	 test ! -s conftest.err
  5925        } && test -s conftest.$ac_objext; then
  5926   ac_hi=$ac_mid; break
  5927 else
  5928   $as_echo "$as_me: failed program was:" >&5
  5929 sed 's/^/| /' conftest.$ac_ext >&5
  5931 	ac_lo=`expr $ac_mid + 1`
  5932 			if test $ac_lo -le $ac_mid; then
  5933 			  ac_lo= ac_hi=
  5934 			  break
  5935 			fi
  5936 			ac_mid=`expr 2 '*' $ac_mid + 1`
  5937 fi
  5939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5940   done
  5941 else
  5942   $as_echo "$as_me: failed program was:" >&5
  5943 sed 's/^/| /' conftest.$ac_ext >&5
  5945 	cat >conftest.$ac_ext <<_ACEOF
  5946 /* confdefs.h.  */
  5947 _ACEOF
  5948 cat confdefs.h >>conftest.$ac_ext
  5949 cat >>conftest.$ac_ext <<_ACEOF
  5950 /* end confdefs.h.  */
  5951 $ac_includes_default
  5952 int
  5953 main ()
  5955 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
  5956 test_array [0] = 0
  5959   return 0;
  5961 _ACEOF
  5962 rm -f conftest.$ac_objext
  5963 if { (ac_try="$ac_compile"
  5964 case "(($ac_try" in
  5965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5966   *) ac_try_echo=$ac_try;;
  5967 esac
  5968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5969 $as_echo "$ac_try_echo") >&5
  5970   (eval "$ac_compile") 2>conftest.er1
  5971   ac_status=$?
  5972   grep -v '^ *+' conftest.er1 >conftest.err
  5973   rm -f conftest.er1
  5974   cat conftest.err >&5
  5975   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5976   (exit $ac_status); } && {
  5977 	 test -z "$ac_c_werror_flag" ||
  5978 	 test ! -s conftest.err
  5979        } && test -s conftest.$ac_objext; then
  5980   ac_hi=-1 ac_mid=-1
  5981   while :; do
  5982     cat >conftest.$ac_ext <<_ACEOF
  5983 /* confdefs.h.  */
  5984 _ACEOF
  5985 cat confdefs.h >>conftest.$ac_ext
  5986 cat >>conftest.$ac_ext <<_ACEOF
  5987 /* end confdefs.h.  */
  5988 $ac_includes_default
  5989 int
  5990 main ()
  5992 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
  5993 test_array [0] = 0
  5996   return 0;
  5998 _ACEOF
  5999 rm -f conftest.$ac_objext
  6000 if { (ac_try="$ac_compile"
  6001 case "(($ac_try" in
  6002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6003   *) ac_try_echo=$ac_try;;
  6004 esac
  6005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6006 $as_echo "$ac_try_echo") >&5
  6007   (eval "$ac_compile") 2>conftest.er1
  6008   ac_status=$?
  6009   grep -v '^ *+' conftest.er1 >conftest.err
  6010   rm -f conftest.er1
  6011   cat conftest.err >&5
  6012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6013   (exit $ac_status); } && {
  6014 	 test -z "$ac_c_werror_flag" ||
  6015 	 test ! -s conftest.err
  6016        } && test -s conftest.$ac_objext; then
  6017   ac_lo=$ac_mid; break
  6018 else
  6019   $as_echo "$as_me: failed program was:" >&5
  6020 sed 's/^/| /' conftest.$ac_ext >&5
  6022 	ac_hi=`expr '(' $ac_mid ')' - 1`
  6023 			if test $ac_mid -le $ac_hi; then
  6024 			  ac_lo= ac_hi=
  6025 			  break
  6026 			fi
  6027 			ac_mid=`expr 2 '*' $ac_mid`
  6028 fi
  6030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6031   done
  6032 else
  6033   $as_echo "$as_me: failed program was:" >&5
  6034 sed 's/^/| /' conftest.$ac_ext >&5
  6036 	ac_lo= ac_hi=
  6037 fi
  6039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6040 fi
  6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6043 # Binary search between lo and hi bounds.
  6044 while test "x$ac_lo" != "x$ac_hi"; do
  6045   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6046   cat >conftest.$ac_ext <<_ACEOF
  6047 /* confdefs.h.  */
  6048 _ACEOF
  6049 cat confdefs.h >>conftest.$ac_ext
  6050 cat >>conftest.$ac_ext <<_ACEOF
  6051 /* end confdefs.h.  */
  6052 $ac_includes_default
  6053 int
  6054 main ()
  6056 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6057 test_array [0] = 0
  6060   return 0;
  6062 _ACEOF
  6063 rm -f conftest.$ac_objext
  6064 if { (ac_try="$ac_compile"
  6065 case "(($ac_try" in
  6066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6067   *) ac_try_echo=$ac_try;;
  6068 esac
  6069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6070 $as_echo "$ac_try_echo") >&5
  6071   (eval "$ac_compile") 2>conftest.er1
  6072   ac_status=$?
  6073   grep -v '^ *+' conftest.er1 >conftest.err
  6074   rm -f conftest.er1
  6075   cat conftest.err >&5
  6076   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6077   (exit $ac_status); } && {
  6078 	 test -z "$ac_c_werror_flag" ||
  6079 	 test ! -s conftest.err
  6080        } && test -s conftest.$ac_objext; then
  6081   ac_hi=$ac_mid
  6082 else
  6083   $as_echo "$as_me: failed program was:" >&5
  6084 sed 's/^/| /' conftest.$ac_ext >&5
  6086 	ac_lo=`expr '(' $ac_mid ')' + 1`
  6087 fi
  6089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6090 done
  6091 case $ac_lo in
  6092 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  6093 '') if test "$ac_cv_type_void_p" = yes; then
  6094      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6095 See \`config.log' for more details." >&5
  6096 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6097 See \`config.log' for more details." >&2;}
  6098    { (exit 77); exit 77; }; }
  6099    else
  6100      ac_cv_sizeof_void_p=0
  6101    fi ;;
  6102 esac
  6103 else
  6104   cat >conftest.$ac_ext <<_ACEOF
  6105 /* confdefs.h.  */
  6106 _ACEOF
  6107 cat confdefs.h >>conftest.$ac_ext
  6108 cat >>conftest.$ac_ext <<_ACEOF
  6109 /* end confdefs.h.  */
  6110 $ac_includes_default
  6111 static long int longval () { return (long int) (sizeof (void *)); }
  6112 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
  6113 #include <stdio.h>
  6114 #include <stdlib.h>
  6115 int
  6116 main ()
  6119   FILE *f = fopen ("conftest.val", "w");
  6120   if (! f)
  6121     return 1;
  6122   if (((long int) (sizeof (void *))) < 0)
  6124       long int i = longval ();
  6125       if (i != ((long int) (sizeof (void *))))
  6126 	return 1;
  6127       fprintf (f, "%ld", i);
  6129   else
  6131       unsigned long int i = ulongval ();
  6132       if (i != ((long int) (sizeof (void *))))
  6133 	return 1;
  6134       fprintf (f, "%lu", i);
  6136   /* Do not output a trailing newline, as this causes \r\n confusion
  6137      on some platforms.  */
  6138   return ferror (f) || fclose (f) != 0;
  6141   return 0;
  6143 _ACEOF
  6144 rm -f conftest$ac_exeext
  6145 if { (ac_try="$ac_link"
  6146 case "(($ac_try" in
  6147   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6148   *) ac_try_echo=$ac_try;;
  6149 esac
  6150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6151 $as_echo "$ac_try_echo") >&5
  6152   (eval "$ac_link") 2>&5
  6153   ac_status=$?
  6154   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6155   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6156   { (case "(($ac_try" in
  6157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6158   *) ac_try_echo=$ac_try;;
  6159 esac
  6160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6161 $as_echo "$ac_try_echo") >&5
  6162   (eval "$ac_try") 2>&5
  6163   ac_status=$?
  6164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6165   (exit $ac_status); }; }; then
  6166   ac_cv_sizeof_void_p=`cat conftest.val`
  6167 else
  6168   $as_echo "$as_me: program exited with status $ac_status" >&5
  6169 $as_echo "$as_me: failed program was:" >&5
  6170 sed 's/^/| /' conftest.$ac_ext >&5
  6172 ( exit $ac_status )
  6173 if test "$ac_cv_type_void_p" = yes; then
  6174      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6175 See \`config.log' for more details." >&5
  6176 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6177 See \`config.log' for more details." >&2;}
  6178    { (exit 77); exit 77; }; }
  6179    else
  6180      ac_cv_sizeof_void_p=0
  6181    fi
  6182 fi
  6183 rm -rf conftest.dSYM
  6184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6185 fi
  6186 rm -f conftest.val
  6187 fi
  6188 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  6189 $as_echo "$ac_cv_sizeof_void_p" >&6; }
  6193 cat >>confdefs.h <<_ACEOF
  6194 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  6195 _ACEOF
  6198 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6199 $as_echo_n "checking for ANSI C header files... " >&6; }
  6200 if test "${ac_cv_header_stdc+set}" = set; then
  6201   $as_echo_n "(cached) " >&6
  6202 else
  6203   cat >conftest.$ac_ext <<_ACEOF
  6204 /* confdefs.h.  */
  6205 _ACEOF
  6206 cat confdefs.h >>conftest.$ac_ext
  6207 cat >>conftest.$ac_ext <<_ACEOF
  6208 /* end confdefs.h.  */
  6209 #include <stdlib.h>
  6210 #include <stdarg.h>
  6211 #include <string.h>
  6212 #include <float.h>
  6214 int
  6215 main ()
  6219   return 0;
  6221 _ACEOF
  6222 rm -f conftest.$ac_objext
  6223 if { (ac_try="$ac_compile"
  6224 case "(($ac_try" in
  6225   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6226   *) ac_try_echo=$ac_try;;
  6227 esac
  6228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6229 $as_echo "$ac_try_echo") >&5
  6230   (eval "$ac_compile") 2>conftest.er1
  6231   ac_status=$?
  6232   grep -v '^ *+' conftest.er1 >conftest.err
  6233   rm -f conftest.er1
  6234   cat conftest.err >&5
  6235   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6236   (exit $ac_status); } && {
  6237 	 test -z "$ac_c_werror_flag" ||
  6238 	 test ! -s conftest.err
  6239        } && test -s conftest.$ac_objext; then
  6240   ac_cv_header_stdc=yes
  6241 else
  6242   $as_echo "$as_me: failed program was:" >&5
  6243 sed 's/^/| /' conftest.$ac_ext >&5
  6245 	ac_cv_header_stdc=no
  6246 fi
  6248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6250 if test $ac_cv_header_stdc = yes; then
  6251   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6252   cat >conftest.$ac_ext <<_ACEOF
  6253 /* confdefs.h.  */
  6254 _ACEOF
  6255 cat confdefs.h >>conftest.$ac_ext
  6256 cat >>conftest.$ac_ext <<_ACEOF
  6257 /* end confdefs.h.  */
  6258 #include <string.h>
  6260 _ACEOF
  6261 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6262   $EGREP "memchr" >/dev/null 2>&1; then
  6264 else
  6265   ac_cv_header_stdc=no
  6266 fi
  6267 rm -f conftest*
  6269 fi
  6271 if test $ac_cv_header_stdc = yes; then
  6272   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6273   cat >conftest.$ac_ext <<_ACEOF
  6274 /* confdefs.h.  */
  6275 _ACEOF
  6276 cat confdefs.h >>conftest.$ac_ext
  6277 cat >>conftest.$ac_ext <<_ACEOF
  6278 /* end confdefs.h.  */
  6279 #include <stdlib.h>
  6281 _ACEOF
  6282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6283   $EGREP "free" >/dev/null 2>&1; then
  6285 else
  6286   ac_cv_header_stdc=no
  6287 fi
  6288 rm -f conftest*
  6290 fi
  6292 if test $ac_cv_header_stdc = yes; then
  6293   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6294   if test "$cross_compiling" = yes; then
  6296 else
  6297   cat >conftest.$ac_ext <<_ACEOF
  6298 /* confdefs.h.  */
  6299 _ACEOF
  6300 cat confdefs.h >>conftest.$ac_ext
  6301 cat >>conftest.$ac_ext <<_ACEOF
  6302 /* end confdefs.h.  */
  6303 #include <ctype.h>
  6304 #include <stdlib.h>
  6305 #if ((' ' & 0x0FF) == 0x020)
  6306 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6307 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6308 #else
  6309 # define ISLOWER(c) \
  6310 		   (('a' <= (c) && (c) <= 'i') \
  6311 		     || ('j' <= (c) && (c) <= 'r') \
  6312 		     || ('s' <= (c) && (c) <= 'z'))
  6313 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6314 #endif
  6316 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6317 int
  6318 main ()
  6320   int i;
  6321   for (i = 0; i < 256; i++)
  6322     if (XOR (islower (i), ISLOWER (i))
  6323 	|| toupper (i) != TOUPPER (i))
  6324       return 2;
  6325   return 0;
  6327 _ACEOF
  6328 rm -f conftest$ac_exeext
  6329 if { (ac_try="$ac_link"
  6330 case "(($ac_try" in
  6331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6332   *) ac_try_echo=$ac_try;;
  6333 esac
  6334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6335 $as_echo "$ac_try_echo") >&5
  6336   (eval "$ac_link") 2>&5
  6337   ac_status=$?
  6338   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6339   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6340   { (case "(($ac_try" in
  6341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6342   *) ac_try_echo=$ac_try;;
  6343 esac
  6344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6345 $as_echo "$ac_try_echo") >&5
  6346   (eval "$ac_try") 2>&5
  6347   ac_status=$?
  6348   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6349   (exit $ac_status); }; }; then
  6351 else
  6352   $as_echo "$as_me: program exited with status $ac_status" >&5
  6353 $as_echo "$as_me: failed program was:" >&5
  6354 sed 's/^/| /' conftest.$ac_ext >&5
  6356 ( exit $ac_status )
  6357 ac_cv_header_stdc=no
  6358 fi
  6359 rm -rf conftest.dSYM
  6360 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6361 fi
  6364 fi
  6365 fi
  6366 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6367 $as_echo "$ac_cv_header_stdc" >&6; }
  6368 if test $ac_cv_header_stdc = yes; then
  6370 cat >>confdefs.h <<\_ACEOF
  6371 #define STDC_HEADERS 1
  6372 _ACEOF
  6374 fi
  6376 # Make sure we can run config.sub.
  6377 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  6378   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  6379 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  6380    { (exit 1); exit 1; }; }
  6382 { $as_echo "$as_me:$LINENO: checking build system type" >&5
  6383 $as_echo_n "checking build system type... " >&6; }
  6384 if test "${ac_cv_build+set}" = set; then
  6385   $as_echo_n "(cached) " >&6
  6386 else
  6387   ac_build_alias=$build_alias
  6388 test "x$ac_build_alias" = x &&
  6389   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  6390 test "x$ac_build_alias" = x &&
  6391   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  6392 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  6393    { (exit 1); exit 1; }; }
  6394 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  6395   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  6396 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  6397    { (exit 1); exit 1; }; }
  6399 fi
  6400 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  6401 $as_echo "$ac_cv_build" >&6; }
  6402 case $ac_cv_build in
  6403 *-*-*) ;;
  6404 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  6405 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  6406    { (exit 1); exit 1; }; };;
  6407 esac
  6408 build=$ac_cv_build
  6409 ac_save_IFS=$IFS; IFS='-'
  6410 set x $ac_cv_build
  6411 shift
  6412 build_cpu=$1
  6413 build_vendor=$2
  6414 shift; shift
  6415 # Remember, the first character of IFS is used to create $*,
  6416 # except with old shells:
  6417 build_os=$*
  6418 IFS=$ac_save_IFS
  6419 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  6422 { $as_echo "$as_me:$LINENO: checking host system type" >&5
  6423 $as_echo_n "checking host system type... " >&6; }
  6424 if test "${ac_cv_host+set}" = set; then
  6425   $as_echo_n "(cached) " >&6
  6426 else
  6427   if test "x$host_alias" = x; then
  6428   ac_cv_host=$ac_cv_build
  6429 else
  6430   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  6431     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  6432 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  6433    { (exit 1); exit 1; }; }
  6434 fi
  6436 fi
  6437 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  6438 $as_echo "$ac_cv_host" >&6; }
  6439 case $ac_cv_host in
  6440 *-*-*) ;;
  6441 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  6442 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  6443    { (exit 1); exit 1; }; };;
  6444 esac
  6445 host=$ac_cv_host
  6446 ac_save_IFS=$IFS; IFS='-'
  6447 set x $ac_cv_host
  6448 shift
  6449 host_cpu=$1
  6450 host_vendor=$2
  6451 shift; shift
  6452 # Remember, the first character of IFS is used to create $*,
  6453 # except with old shells:
  6454 host_os=$*
  6455 IFS=$ac_save_IFS
  6456 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  6459 # Check whether --enable-trace was given.
  6460 if test "${enable_trace+set}" = set; then
  6461   enableval=$enable_trace; if test "$enableval" == "yes"; then
  6463 cat >>confdefs.h <<\_ACEOF
  6464 #define ENABLE_TRACE_IO 1
  6465 _ACEOF
  6467     fi
  6468 fi
  6470 # Check whether --enable-watch was given.
  6471 if test "${enable_watch+set}" = set; then
  6472   enableval=$enable_watch; if test "$enableval" == "yes"; then
  6474 cat >>confdefs.h <<\_ACEOF
  6475 #define ENABLE_WATCH 1
  6476 _ACEOF
  6478    fi
  6479 fi
  6481 # Check whether --enable-sh4stats was given.
  6482 if test "${enable_sh4stats+set}" = set; then
  6483   enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
  6485 cat >>confdefs.h <<\_ACEOF
  6486 #define ENABLE_SH4STATS 1
  6487 _ACEOF
  6489     fi
  6490 fi
  6493 # Check whether --with-osmesa was given.
  6494 if test "${with_osmesa+set}" = set; then
  6495   withval=$with_osmesa;
  6496 else
  6497   with_osmesa=no
  6498 fi
  6501 # Check whether --with-gtk was given.
  6502 if test "${with_gtk+set}" = set; then
  6503   withval=$with_gtk; with_gtk=yes
  6504 else
  6505   with_gtk=x11
  6506 fi
  6510 lxdream_save_cppflags="$CPPFLAGS"
  6511 CPPFLAGS="$CPPFLAGS -x objective-c"
  6512 cat >conftest.$ac_ext <<_ACEOF
  6513 /* confdefs.h.  */
  6514 _ACEOF
  6515 cat confdefs.h >>conftest.$ac_ext
  6516 cat >>conftest.$ac_ext <<_ACEOF
  6517 /* end confdefs.h.  */
  6518 @interface Foo @end
  6519 int
  6520 main ()
  6524   return 0;
  6526 _ACEOF
  6527 rm -f conftest.$ac_objext
  6528 if { (ac_try="$ac_compile"
  6529 case "(($ac_try" in
  6530   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6531   *) ac_try_echo=$ac_try;;
  6532 esac
  6533 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6534 $as_echo "$ac_try_echo") >&5
  6535   (eval "$ac_compile") 2>conftest.er1
  6536   ac_status=$?
  6537   grep -v '^ *+' conftest.er1 >conftest.err
  6538   rm -f conftest.er1
  6539   cat conftest.err >&5
  6540   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6541   (exit $ac_status); } && {
  6542 	 test -z "$ac_c_werror_flag" ||
  6543 	 test ! -s conftest.err
  6544        } && test -s conftest.$ac_objext; then
  6547    if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6548   { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  6549 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
  6550 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6551   $as_echo_n "(cached) " >&6
  6552 fi
  6553 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  6554 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  6555 else
  6556   # Is the header compilable?
  6557 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
  6558 $as_echo_n "checking Cocoa/Cocoa.h usability... " >&6; }
  6559 cat >conftest.$ac_ext <<_ACEOF
  6560 /* confdefs.h.  */
  6561 _ACEOF
  6562 cat confdefs.h >>conftest.$ac_ext
  6563 cat >>conftest.$ac_ext <<_ACEOF
  6564 /* end confdefs.h.  */
  6565 $ac_includes_default
  6566 #include <Cocoa/Cocoa.h>
  6567 _ACEOF
  6568 rm -f conftest.$ac_objext
  6569 if { (ac_try="$ac_compile"
  6570 case "(($ac_try" in
  6571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6572   *) ac_try_echo=$ac_try;;
  6573 esac
  6574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6575 $as_echo "$ac_try_echo") >&5
  6576   (eval "$ac_compile") 2>conftest.er1
  6577   ac_status=$?
  6578   grep -v '^ *+' conftest.er1 >conftest.err
  6579   rm -f conftest.er1
  6580   cat conftest.err >&5
  6581   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6582   (exit $ac_status); } && {
  6583 	 test -z "$ac_c_werror_flag" ||
  6584 	 test ! -s conftest.err
  6585        } && test -s conftest.$ac_objext; then
  6586   ac_header_compiler=yes
  6587 else
  6588   $as_echo "$as_me: failed program was:" >&5
  6589 sed 's/^/| /' conftest.$ac_ext >&5
  6591 	ac_header_compiler=no
  6592 fi
  6594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6595 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6596 $as_echo "$ac_header_compiler" >&6; }
  6598 # Is the header present?
  6599 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
  6600 $as_echo_n "checking Cocoa/Cocoa.h presence... " >&6; }
  6601 cat >conftest.$ac_ext <<_ACEOF
  6602 /* confdefs.h.  */
  6603 _ACEOF
  6604 cat confdefs.h >>conftest.$ac_ext
  6605 cat >>conftest.$ac_ext <<_ACEOF
  6606 /* end confdefs.h.  */
  6607 #include <Cocoa/Cocoa.h>
  6608 _ACEOF
  6609 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6610 case "(($ac_try" in
  6611   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6612   *) ac_try_echo=$ac_try;;
  6613 esac
  6614 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6615 $as_echo "$ac_try_echo") >&5
  6616   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6617   ac_status=$?
  6618   grep -v '^ *+' conftest.er1 >conftest.err
  6619   rm -f conftest.er1
  6620   cat conftest.err >&5
  6621   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6622   (exit $ac_status); } >/dev/null && {
  6623 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6624 	 test ! -s conftest.err
  6625        }; then
  6626   ac_header_preproc=yes
  6627 else
  6628   $as_echo "$as_me: failed program was:" >&5
  6629 sed 's/^/| /' conftest.$ac_ext >&5
  6631   ac_header_preproc=no
  6632 fi
  6634 rm -f conftest.err conftest.$ac_ext
  6635 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6636 $as_echo "$ac_header_preproc" >&6; }
  6638 # So?  What about this header?
  6639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6640   yes:no: )
  6641     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6642 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6643     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
  6644 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
  6645     ac_header_preproc=yes
  6646     ;;
  6647   no:yes:* )
  6648     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
  6649 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
  6650     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&5
  6651 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&2;}
  6652     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
  6653 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
  6654     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&5
  6655 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6656     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&5
  6657 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}
  6658     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&5
  6659 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
  6661     ;;
  6662 esac
  6663 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  6664 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
  6665 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6666   $as_echo_n "(cached) " >&6
  6667 else
  6668   ac_cv_header_Cocoa_Cocoa_h=$ac_header_preproc
  6669 fi
  6670 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  6671 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  6673 fi
  6674 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
  6676       HAVE_COCOA='yes'
  6677       APPLE_BUILD='yes'
  6678       LIBS="$LIBS -framework AppKit"
  6679       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"
  6681 cat >>confdefs.h <<\_ACEOF
  6682 #define HAVE_COCOA 1
  6683 _ACEOF
  6686 cat >>confdefs.h <<\_ACEOF
  6687 #define APPLE_BUILD 1
  6688 _ACEOF
  6691 fi
  6695    if test "x$with_gtk" = "xx11"; then
  6696       with_gtk=no
  6697    fi
  6700 else
  6701   $as_echo "$as_me: failed program was:" >&5
  6702 sed 's/^/| /' conftest.$ac_ext >&5
  6704 	CPPFLAGS="$lxdream_save_cppflags"
  6705 fi
  6707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6710 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
  6711   GUI_COCOA_TRUE=
  6712   GUI_COCOA_FALSE='#'
  6713 else
  6714   GUI_COCOA_TRUE='#'
  6715   GUI_COCOA_FALSE=
  6716 fi
  6721 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  6722 	if test -n "$ac_tool_prefix"; then
  6723   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  6724 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  6725 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6726 $as_echo_n "checking for $ac_word... " >&6; }
  6727 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  6728   $as_echo_n "(cached) " >&6
  6729 else
  6730   case $PKG_CONFIG in
  6731   [\\/]* | ?:[\\/]*)
  6732   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  6733   ;;
  6734   *)
  6735   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6736 for as_dir in $PATH
  6737 do
  6738   IFS=$as_save_IFS
  6739   test -z "$as_dir" && as_dir=.
  6740   for ac_exec_ext in '' $ac_executable_extensions; do
  6741   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6742     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  6743     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6744     break 2
  6745   fi
  6746 done
  6747 done
  6748 IFS=$as_save_IFS
  6750   ;;
  6751 esac
  6752 fi
  6753 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  6754 if test -n "$PKG_CONFIG"; then
  6755   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  6756 $as_echo "$PKG_CONFIG" >&6; }
  6757 else
  6758   { $as_echo "$as_me:$LINENO: result: no" >&5
  6759 $as_echo "no" >&6; }
  6760 fi
  6763 fi
  6764 if test -z "$ac_cv_path_PKG_CONFIG"; then
  6765   ac_pt_PKG_CONFIG=$PKG_CONFIG
  6766   # Extract the first word of "pkg-config", so it can be a program name with args.
  6767 set dummy pkg-config; ac_word=$2
  6768 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6769 $as_echo_n "checking for $ac_word... " >&6; }
  6770 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  6771   $as_echo_n "(cached) " >&6
  6772 else
  6773   case $ac_pt_PKG_CONFIG in
  6774   [\\/]* | ?:[\\/]*)
  6775   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  6776   ;;
  6777   *)
  6778   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6779 for as_dir in $PATH