Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 1212:d1117828f011
prev1211:eecdeb37934a
next1225:73dd41cb37a8
author nkeynes
date Mon Feb 13 12:26:01 2012 +1000 (12 years ago)
permissions -rwxr-xr-x
last change Add GTK_LIBS to ldadd for testlxpaths, as GLIB_LIBS isn't defined for GTK
builds...
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.61.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    27 fi
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
    40 # The user is always right.
    41 if test "${PATH_SEPARATOR+set}" != set; then
    42   echo "#! /bin/sh" >conf$$.sh
    43   echo  "exit 0"   >>conf$$.sh
    44   chmod +x conf$$.sh
    45   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    46     PATH_SEPARATOR=';'
    47   else
    48     PATH_SEPARATOR=:
    49   fi
    50   rm -f conf$$.sh
    51 fi
    53 # Support unset when possible.
    54 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    55   as_unset=unset
    56 else
    57   as_unset=false
    58 fi
    61 # IFS
    62 # We need space, tab and new line, in precisely that order.  Quoting is
    63 # there to prevent editors from complaining about space-tab.
    64 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    65 # splitting by setting IFS to empty value.)
    66 as_nl='
    67 '
    68 IFS=" ""	$as_nl"
    70 # Find who we are.  Look in the path if we contain no directory separator.
    71 case $0 in
    72   *[\\/]* ) as_myself=$0 ;;
    73   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    74 for as_dir in $PATH
    75 do
    76   IFS=$as_save_IFS
    77   test -z "$as_dir" && as_dir=.
    78   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    79 done
    80 IFS=$as_save_IFS
    82      ;;
    83 esac
    84 # We did not find ourselves, most probably we were run as `sh COMMAND'
    85 # in which case we are not to be found in the path.
    86 if test "x$as_myself" = x; then
    87   as_myself=$0
    88 fi
    89 if test ! -f "$as_myself"; then
    90   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    91   { (exit 1); exit 1; }
    92 fi
    94 # Work around bugs in pre-3.0 UWIN ksh.
    95 for as_var in ENV MAIL MAILPATH
    96 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    97 done
    98 PS1='$ '
    99 PS2='> '
   100 PS4='+ '
   102 # NLS nuisances.
   103 for as_var in \
   104   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
   105   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
   106   LC_TELEPHONE LC_TIME
   107 do
   108   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
   109     eval $as_var=C; export $as_var
   110   else
   111     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   112   fi
   113 done
   115 # Required to use basename.
   116 if expr a : '\(a\)' >/dev/null 2>&1 &&
   117    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   118   as_expr=expr
   119 else
   120   as_expr=false
   121 fi
   123 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   124   as_basename=basename
   125 else
   126   as_basename=false
   127 fi
   130 # Name of the executable.
   131 as_me=`$as_basename -- "$0" ||
   132 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   133 	 X"$0" : 'X\(//\)$' \| \
   134 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   135 echo X/"$0" |
   136     sed '/^.*\/\([^/][^/]*\)\/*$/{
   137 	    s//\1/
   138 	    q
   139 	  }
   140 	  /^X\/\(\/\/\)$/{
   141 	    s//\1/
   142 	    q
   143 	  }
   144 	  /^X\/\(\/\).*/{
   145 	    s//\1/
   146 	    q
   147 	  }
   148 	  s/.*/./; q'`
   150 # CDPATH.
   151 $as_unset CDPATH
   154 if test "x$CONFIG_SHELL" = x; then
   155   if (eval ":") 2>/dev/null; then
   156   as_have_required=yes
   157 else
   158   as_have_required=no
   159 fi
   161   if test $as_have_required = yes && 	 (eval ":
   162 (as_func_return () {
   163   (exit \$1)
   164 }
   165 as_func_success () {
   166   as_func_return 0
   167 }
   168 as_func_failure () {
   169   as_func_return 1
   170 }
   171 as_func_ret_success () {
   172   return 0
   173 }
   174 as_func_ret_failure () {
   175   return 1
   176 }
   178 exitcode=0
   179 if as_func_success; then
   180   :
   181 else
   182   exitcode=1
   183   echo as_func_success failed.
   184 fi
   186 if as_func_failure; then
   187   exitcode=1
   188   echo as_func_failure succeeded.
   189 fi
   191 if as_func_ret_success; then
   192   :
   193 else
   194   exitcode=1
   195   echo as_func_ret_success failed.
   196 fi
   198 if as_func_ret_failure; then
   199   exitcode=1
   200   echo as_func_ret_failure succeeded.
   201 fi
   203 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   204   :
   205 else
   206   exitcode=1
   207   echo positional parameters were not saved.
   208 fi
   210 test \$exitcode = 0) || { (exit 1); exit 1; }
   212 (
   213   as_lineno_1=\$LINENO
   214   as_lineno_2=\$LINENO
   215   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   216   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   217 ") 2> /dev/null; then
   218   :
   219 else
   220   as_candidate_shells=
   221     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   222 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   223 do
   224   IFS=$as_save_IFS
   225   test -z "$as_dir" && as_dir=.
   226   case $as_dir in
   227 	 /*)
   228 	   for as_base in sh bash ksh sh5; do
   229 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   230 	   done;;
   231        esac
   232 done
   233 IFS=$as_save_IFS
   236       for as_shell in $as_candidate_shells $SHELL; do
   237 	 # Try only shells that exist, to save several forks.
   238 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   239 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   240 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   241   emulate sh
   242   NULLCMD=:
   243   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   244   # is contrary to our usage.  Disable this feature.
   245   alias -g '${1+"$@"}'='"$@"'
   246   setopt NO_GLOB_SUBST
   247 else
   248   case `(set -o) 2>/dev/null` in
   249   *posix*) set -o posix ;;
   250 esac
   252 fi
   255 :
   256 _ASEOF
   257 }; then
   258   CONFIG_SHELL=$as_shell
   259 	       as_have_required=yes
   260 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   262   emulate sh
   263   NULLCMD=:
   264   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
   265   # is contrary to our usage.  Disable this feature.
   266   alias -g '${1+"$@"}'='"$@"'
   267   setopt NO_GLOB_SUBST
   268 else
   269   case `(set -o) 2>/dev/null` in
   270   *posix*) set -o posix ;;
   271 esac
   273 fi
   276 :
   277 (as_func_return () {
   278   (exit $1)
   279 }
   280 as_func_success () {
   281   as_func_return 0
   282 }
   283 as_func_failure () {
   284   as_func_return 1
   285 }
   286 as_func_ret_success () {
   287   return 0
   288 }
   289 as_func_ret_failure () {
   290   return 1
   291 }
   293 exitcode=0
   294 if as_func_success; then
   295   :
   296 else
   297   exitcode=1
   298   echo as_func_success failed.
   299 fi
   301 if as_func_failure; then
   302   exitcode=1
   303   echo as_func_failure succeeded.
   304 fi
   306 if as_func_ret_success; then
   307   :
   308 else
   309   exitcode=1
   310   echo as_func_ret_success failed.
   311 fi
   313 if as_func_ret_failure; then
   314   exitcode=1
   315   echo as_func_ret_failure succeeded.
   316 fi
   318 if ( set x; as_func_ret_success y && test x = "$1" ); then
   319   :
   320 else
   321   exitcode=1
   322   echo positional parameters were not saved.
   323 fi
   325 test $exitcode = 0) || { (exit 1); exit 1; }
   327 (
   328   as_lineno_1=$LINENO
   329   as_lineno_2=$LINENO
   330   test "x$as_lineno_1" != "x$as_lineno_2" &&
   331   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   333 _ASEOF
   334 }; then
   335   break
   336 fi
   338 fi
   340       done
   342       if test "x$CONFIG_SHELL" != x; then
   343   for as_var in BASH_ENV ENV
   344         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   345         done
   346         export CONFIG_SHELL
   347         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   348 fi
   351     if test $as_have_required = no; then
   352   echo This script requires a shell more modern than all the
   353       echo shells that I found on your system.  Please install a
   354       echo modern shell, or manually run the script under such a
   355       echo shell if you do have one.
   356       { (exit 1); exit 1; }
   357 fi
   360 fi
   362 fi
   366 (eval "as_func_return () {
   367   (exit \$1)
   368 }
   369 as_func_success () {
   370   as_func_return 0
   371 }
   372 as_func_failure () {
   373   as_func_return 1
   374 }
   375 as_func_ret_success () {
   376   return 0
   377 }
   378 as_func_ret_failure () {
   379   return 1
   380 }
   382 exitcode=0
   383 if as_func_success; then
   384   :
   385 else
   386   exitcode=1
   387   echo as_func_success failed.
   388 fi
   390 if as_func_failure; then
   391   exitcode=1
   392   echo as_func_failure succeeded.
   393 fi
   395 if as_func_ret_success; then
   396   :
   397 else
   398   exitcode=1
   399   echo as_func_ret_success failed.
   400 fi
   402 if as_func_ret_failure; then
   403   exitcode=1
   404   echo as_func_ret_failure succeeded.
   405 fi
   407 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   408   :
   409 else
   410   exitcode=1
   411   echo positional parameters were not saved.
   412 fi
   414 test \$exitcode = 0") || {
   415   echo No shell found that supports shell functions.
   416   echo Please tell autoconf@gnu.org about your system,
   417   echo including any error possibly output before this
   418   echo message
   419 }
   423   as_lineno_1=$LINENO
   424   as_lineno_2=$LINENO
   425   test "x$as_lineno_1" != "x$as_lineno_2" &&
   426   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   428   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   429   # uniformly replaced by the line number.  The first 'sed' inserts a
   430   # line-number line after each line using $LINENO; the second 'sed'
   431   # does the real work.  The second script uses 'N' to pair each
   432   # line-number line with the line containing $LINENO, and appends
   433   # trailing '-' during substitution so that $LINENO is not a special
   434   # case at line end.
   435   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   436   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   437   # E. McMahon (1931-1989) for sed's syntax.  :-)
   438   sed -n '
   439     p
   440     /[$]LINENO/=
   441   ' <$as_myself |
   442     sed '
   443       s/[$]LINENO.*/&-/
   444       t lineno
   445       b
   446       :lineno
   447       N
   448       :loop
   449       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   450       t loop
   451       s/-\n.*//
   452     ' >$as_me.lineno &&
   453   chmod +x "$as_me.lineno" ||
   454     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   455    { (exit 1); exit 1; }; }
   457   # Don't try to exec as it changes $[0], causing all sort of problems
   458   # (the dirname of $[0] is not the place where we might find the
   459   # original and so on.  Autoconf is especially sensitive to this).
   460   . "./$as_me.lineno"
   461   # Exit status is that of the last command.
   462   exit
   463 }
   466 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   467   as_dirname=dirname
   468 else
   469   as_dirname=false
   470 fi
   472 ECHO_C= ECHO_N= ECHO_T=
   473 case `echo -n x` in
   474 -n*)
   475   case `echo 'x\c'` in
   476   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   477   *)   ECHO_C='\c';;
   478   esac;;
   479 *)
   480   ECHO_N='-n';;
   481 esac
   483 if expr a : '\(a\)' >/dev/null 2>&1 &&
   484    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   485   as_expr=expr
   486 else
   487   as_expr=false
   488 fi
   490 rm -f conf$$ conf$$.exe conf$$.file
   491 if test -d conf$$.dir; then
   492   rm -f conf$$.dir/conf$$.file
   493 else
   494   rm -f conf$$.dir
   495   mkdir conf$$.dir
   496 fi
   497 echo >conf$$.file
   498 if ln -s conf$$.file conf$$ 2>/dev/null; then
   499   as_ln_s='ln -s'
   500   # ... but there are two gotchas:
   501   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   502   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   503   # In both cases, we have to default to `cp -p'.
   504   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   505     as_ln_s='cp -p'
   506 elif ln conf$$.file conf$$ 2>/dev/null; then
   507   as_ln_s=ln
   508 else
   509   as_ln_s='cp -p'
   510 fi
   511 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   512 rmdir conf$$.dir 2>/dev/null
   514 if mkdir -p . 2>/dev/null; then
   515   as_mkdir_p=:
   516 else
   517   test -d ./-p && rmdir ./-p
   518   as_mkdir_p=false
   519 fi
   521 if test -x / >/dev/null 2>&1; then
   522   as_test_x='test -x'
   523 else
   524   if ls -dL / >/dev/null 2>&1; then
   525     as_ls_L_option=L
   526   else
   527     as_ls_L_option=
   528   fi
   529   as_test_x='
   530     eval sh -c '\''
   531       if test -d "$1"; then
   532         test -d "$1/.";
   533       else
   534 	case $1 in
   535         -*)set "./$1";;
   536 	esac;
   537 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   538 	???[sx]*):;;*)false;;esac;fi
   539     '\'' sh
   540   '
   541 fi
   542 as_executable_p=$as_test_x
   544 # Sed expression to map a string onto a valid CPP name.
   545 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   547 # Sed expression to map a string onto a valid variable name.
   548 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   552 exec 7<&0 </dev/null 6>&1
   554 # Name of the host.
   555 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   556 # so uname gets run too.
   557 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   559 #
   560 # Initializations.
   561 #
   562 ac_default_prefix=/usr/local
   563 ac_clean_files=
   564 ac_config_libobj_dir=.
   565 LIBOBJS=
   566 cross_compiling=no
   567 subdirs=
   568 MFLAGS=
   569 MAKEFLAGS=
   570 SHELL=${CONFIG_SHELL-/bin/sh}
   572 # Identity of this package.
   573 PACKAGE_NAME=
   574 PACKAGE_TARNAME=
   575 PACKAGE_VERSION=
   576 PACKAGE_STRING=
   577 PACKAGE_BUGREPORT=
   579 ac_unique_file="configure.in"
   580 # Factoring default headers for most tests.
   581 ac_includes_default="\
   582 #include <stdio.h>
   583 #ifdef HAVE_SYS_TYPES_H
   584 # include <sys/types.h>
   585 #endif
   586 #ifdef HAVE_SYS_STAT_H
   587 # include <sys/stat.h>
   588 #endif
   589 #ifdef STDC_HEADERS
   590 # include <stdlib.h>
   591 # include <stddef.h>
   592 #else
   593 # ifdef HAVE_STDLIB_H
   594 #  include <stdlib.h>
   595 # endif
   596 #endif
   597 #ifdef HAVE_STRING_H
   598 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   599 #  include <memory.h>
   600 # endif
   601 # include <string.h>
   602 #endif
   603 #ifdef HAVE_STRINGS_H
   604 # include <strings.h>
   605 #endif
   606 #ifdef HAVE_INTTYPES_H
   607 # include <inttypes.h>
   608 #endif
   609 #ifdef HAVE_STDINT_H
   610 # include <stdint.h>
   611 #endif
   612 #ifdef HAVE_UNISTD_H
   613 # include <unistd.h>
   614 #endif"
   616 ac_subst_vars='SHELL
   617 PATH_SEPARATOR
   618 PACKAGE_NAME
   619 PACKAGE_TARNAME
   620 PACKAGE_VERSION
   621 PACKAGE_STRING
   622 PACKAGE_BUGREPORT
   623 exec_prefix
   624 prefix
   625 program_transform_name
   626 bindir
   627 sbindir
   628 libexecdir
   629 datarootdir
   630 datadir
   631 sysconfdir
   632 sharedstatedir
   633 localstatedir
   634 includedir
   635 oldincludedir
   636 docdir
   637 infodir
   638 htmldir
   639 dvidir
   640 pdfdir
   641 psdir
   642 libdir
   643 localedir
   644 mandir
   645 DEFS
   646 ECHO_C
   647 ECHO_N
   648 ECHO_T
   649 LIBS
   650 build_alias
   651 host_alias
   652 target_alias
   653 INSTALL_PROGRAM
   654 INSTALL_SCRIPT
   655 INSTALL_DATA
   656 CYGPATH_W
   657 PACKAGE
   658 VERSION
   659 ACLOCAL
   660 AUTOCONF
   661 AUTOMAKE
   662 AUTOHEADER
   663 MAKEINFO
   664 install_sh
   665 STRIP
   666 INSTALL_STRIP_PROGRAM
   667 mkdir_p
   668 AWK
   669 SET_MAKE
   670 am__leading_dot
   671 AMTAR
   672 am__tar
   673 am__untar
   674 MAINTAINER_MODE_TRUE
   675 MAINTAINER_MODE_FALSE
   676 MAINT
   677 build
   678 build_cpu
   679 build_vendor
   680 build_os
   681 host
   682 host_cpu
   683 host_vendor
   684 host_os
   685 CC
   686 CFLAGS
   687 LDFLAGS
   688 CPPFLAGS
   689 ac_ct_CC
   690 EXEEXT
   691 OBJEXT
   692 DEPDIR
   693 am__include
   694 am__quote
   695 AMDEP_TRUE
   696 AMDEP_FALSE
   697 AMDEPBACKSLASH
   698 CCDEPMODE
   699 am__fastdepCC_TRUE
   700 am__fastdepCC_FALSE
   701 CPP
   702 CC
   703 CFLAGS
   704 CPPFLAGS
   705 CC_FOR_BUILD
   706 ac_ct_CC_FOR_BUILD
   707 CC_FOR_BUILDDEPMODE
   708 am__fastdepCC_FOR_BUILD_TRUE
   709 am__fastdepCC_FOR_BUILD_FALSE
   710 CPP
   711 CPPFLAGS
   712 CPP_FOR_BUILD
   713 BUILD_EXEEXT
   714 BUILD_OBJEXT
   715 CFLAGS_FOR_BUILD
   716 CPPFLAGS_FOR_BUILD
   717 OBJC
   718 OBJCFLAGS
   719 ac_ct_OBJC
   720 SED
   721 CCAS
   722 CCASFLAGS
   723 GREP
   724 EGREP
   725 OBJCDEPMODE
   726 am__fastdepOBJC_TRUE
   727 am__fastdepOBJC_FALSE
   728 POD2MAN
   729 POD2HTML
   730 GUI_COCOA_TRUE
   731 GUI_COCOA_FALSE
   732 SOEXT
   733 PLUGINCFLAGS
   734 PLUGINLDFLAGS
   735 LXDREAMLDFLAGS
   736 BUILD_SHARED_TRUE
   737 BUILD_SHARED_FALSE
   738 LXDREAMCPPFLAGS
   739 PKG_CONFIG
   740 LIBPNG_CFLAGS
   741 LIBPNG_LIBS
   742 GLIB_CFLAGS
   743 GLIB_LIBS
   744 GTK_CFLAGS
   745 GTK_LIBS
   746 GLIB_FOR_BUILD_CFLAGS
   747 GLIB_FOR_BUILD_LIBS
   748 GUI_GTK_TRUE
   749 GUI_GTK_FALSE
   750 LIBISOFS_CFLAGS
   751 LIBISOFS_LIBS
   752 LIBGL_CFLAGS
   753 LIBGL_LIBS
   754 VIDEO_OSMESA_TRUE
   755 VIDEO_OSMESA_FALSE
   756 VIDEO_GLX_TRUE
   757 VIDEO_GLX_FALSE
   758 VIDEO_NSGL_TRUE
   759 VIDEO_NSGL_FALSE
   760 BUILD_SH4X86_TRUE
   761 BUILD_SH4X86_FALSE
   762 AUDIO_OSX_TRUE
   763 AUDIO_OSX_FALSE
   764 SDL_CFLAGS
   765 SDL_LIBS
   766 AUDIO_SDL_TRUE
   767 AUDIO_SDL_FALSE
   768 PULSE_CFLAGS
   769 PULSE_LIBS
   770 AUDIO_PULSE_TRUE
   771 AUDIO_PULSE_FALSE
   772 ESOUND_CFLAGS
   773 ESOUND_LIBS
   774 AUDIO_ESOUND_TRUE
   775 AUDIO_ESOUND_FALSE
   776 ALSA_CFLAGS
   777 ALSA_LIBS
   778 AUDIO_ALSA_TRUE
   779 AUDIO_ALSA_FALSE
   780 CDROM_LINUX_TRUE
   781 CDROM_LINUX_FALSE
   782 CDROM_OSX_TRUE
   783 CDROM_OSX_FALSE
   784 CDROM_NONE_TRUE
   785 CDROM_NONE_FALSE
   786 JOY_LINUX_TRUE
   787 JOY_LINUX_FALSE
   788 INPUT_LIRC_TRUE
   789 INPUT_LIRC_FALSE
   790 SHCC
   791 SHLD
   792 SHOBJCOPY
   793 ARMCC
   794 ARMLD
   795 ARMOBJCOPY
   796 BUILD_SYSTEST_TRUE
   797 BUILD_SYSTEST_FALSE
   798 BUILD_ARMTEST_TRUE
   799 BUILD_ARMTEST_FALSE
   800 LXDREAM_LIBS
   801 GETTEXT_PACKAGE
   802 USE_NLS
   803 MSGFMT
   804 MSGFMT_OPTS
   805 GMSGFMT
   806 XGETTEXT
   807 CATALOGS
   808 CATOBJEXT
   809 DATADIRNAME
   810 GMOFILES
   811 INSTOBJEXT
   812 INTLLIBS
   813 PO_IN_DATADIR_TRUE
   814 PO_IN_DATADIR_FALSE
   815 POFILES
   816 POSUB
   817 MKINSTALLDIRS
   818 LIBOBJS
   819 LTLIBOBJS'
   820 ac_subst_files=''
   821       ac_precious_vars='build_alias
   822 host_alias
   823 target_alias
   824 CC
   825 CFLAGS
   826 LDFLAGS
   827 LIBS
   828 CPPFLAGS
   829 CPP
   830 CC
   831 CFLAGS
   832 CPPFLAGS
   833 CPP
   834 CPPFLAGS
   835 OBJC
   836 OBJCFLAGS
   837 CCAS
   838 CCASFLAGS
   839 PKG_CONFIG
   840 LIBPNG_CFLAGS
   841 LIBPNG_LIBS
   842 GLIB_CFLAGS
   843 GLIB_LIBS
   844 GTK_CFLAGS
   845 GTK_LIBS
   846 GLIB_FOR_BUILD_CFLAGS
   847 GLIB_FOR_BUILD_LIBS
   848 LIBISOFS_CFLAGS
   849 LIBISOFS_LIBS
   850 LIBGL_CFLAGS
   851 LIBGL_LIBS
   852 SDL_CFLAGS
   853 SDL_LIBS
   854 PULSE_CFLAGS
   855 PULSE_LIBS
   856 ESOUND_CFLAGS
   857 ESOUND_LIBS
   858 ALSA_CFLAGS
   859 ALSA_LIBS'
   862 # Initialize some variables set by options.
   863 ac_init_help=
   864 ac_init_version=false
   865 # The variables have the same names as the options, with
   866 # dashes changed to underlines.
   867 cache_file=/dev/null
   868 exec_prefix=NONE
   869 no_create=
   870 no_recursion=
   871 prefix=NONE
   872 program_prefix=NONE
   873 program_suffix=NONE
   874 program_transform_name=s,x,x,
   875 silent=
   876 site=
   877 srcdir=
   878 verbose=
   879 x_includes=NONE
   880 x_libraries=NONE
   882 # Installation directory options.
   883 # These are left unexpanded so users can "make install exec_prefix=/foo"
   884 # and all the variables that are supposed to be based on exec_prefix
   885 # by default will actually change.
   886 # Use braces instead of parens because sh, perl, etc. also accept them.
   887 # (The list follows the same order as the GNU Coding Standards.)
   888 bindir='${exec_prefix}/bin'
   889 sbindir='${exec_prefix}/sbin'
   890 libexecdir='${exec_prefix}/libexec'
   891 datarootdir='${prefix}/share'
   892 datadir='${datarootdir}'
   893 sysconfdir='${prefix}/etc'
   894 sharedstatedir='${prefix}/com'
   895 localstatedir='${prefix}/var'
   896 includedir='${prefix}/include'
   897 oldincludedir='/usr/include'
   898 docdir='${datarootdir}/doc/${PACKAGE}'
   899 infodir='${datarootdir}/info'
   900 htmldir='${docdir}'
   901 dvidir='${docdir}'
   902 pdfdir='${docdir}'
   903 psdir='${docdir}'
   904 libdir='${exec_prefix}/lib'
   905 localedir='${datarootdir}/locale'
   906 mandir='${datarootdir}/man'
   908 ac_prev=
   909 ac_dashdash=
   910 for ac_option
   911 do
   912   # If the previous option needs an argument, assign it.
   913   if test -n "$ac_prev"; then
   914     eval $ac_prev=\$ac_option
   915     ac_prev=
   916     continue
   917   fi
   919   case $ac_option in
   920   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   921   *)	ac_optarg=yes ;;
   922   esac
   924   # Accept the important Cygnus configure options, so we can diagnose typos.
   926   case $ac_dashdash$ac_option in
   927   --)
   928     ac_dashdash=yes ;;
   930   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   931     ac_prev=bindir ;;
   932   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   933     bindir=$ac_optarg ;;
   935   -build | --build | --buil | --bui | --bu)
   936     ac_prev=build_alias ;;
   937   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   938     build_alias=$ac_optarg ;;
   940   -cache-file | --cache-file | --cache-fil | --cache-fi \
   941   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   942     ac_prev=cache_file ;;
   943   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   944   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   945     cache_file=$ac_optarg ;;
   947   --config-cache | -C)
   948     cache_file=config.cache ;;
   950   -datadir | --datadir | --datadi | --datad)
   951     ac_prev=datadir ;;
   952   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   953     datadir=$ac_optarg ;;
   955   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   956   | --dataroo | --dataro | --datar)
   957     ac_prev=datarootdir ;;
   958   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   959   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   960     datarootdir=$ac_optarg ;;
   962   -disable-* | --disable-*)
   963     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   964     # Reject names that are not valid shell variable names.
   965     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   966       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   967    { (exit 1); exit 1; }; }
   968     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   969     eval enable_$ac_feature=no ;;
   971   -docdir | --docdir | --docdi | --doc | --do)
   972     ac_prev=docdir ;;
   973   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   974     docdir=$ac_optarg ;;
   976   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   977     ac_prev=dvidir ;;
   978   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   979     dvidir=$ac_optarg ;;
   981   -enable-* | --enable-*)
   982     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   983     # Reject names that are not valid shell variable names.
   984     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   985       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   986    { (exit 1); exit 1; }; }
   987     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   988     eval enable_$ac_feature=\$ac_optarg ;;
   990   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   991   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   992   | --exec | --exe | --ex)
   993     ac_prev=exec_prefix ;;
   994   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   995   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   996   | --exec=* | --exe=* | --ex=*)
   997     exec_prefix=$ac_optarg ;;
   999   -gas | --gas | --ga | --g)
  1000     # Obsolete; use --with-gas.
  1001     with_gas=yes ;;
  1003   -help | --help | --hel | --he | -h)
  1004     ac_init_help=long ;;
  1005   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1006     ac_init_help=recursive ;;
  1007   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1008     ac_init_help=short ;;
  1010   -host | --host | --hos | --ho)
  1011     ac_prev=host_alias ;;
  1012   -host=* | --host=* | --hos=* | --ho=*)
  1013     host_alias=$ac_optarg ;;
  1015   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1016     ac_prev=htmldir ;;
  1017   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1018   | --ht=*)
  1019     htmldir=$ac_optarg ;;
  1021   -includedir | --includedir | --includedi | --included | --include \
  1022   | --includ | --inclu | --incl | --inc)
  1023     ac_prev=includedir ;;
  1024   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1025   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1026     includedir=$ac_optarg ;;
  1028   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1029     ac_prev=infodir ;;
  1030   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1031     infodir=$ac_optarg ;;
  1033   -libdir | --libdir | --libdi | --libd)
  1034     ac_prev=libdir ;;
  1035   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1036     libdir=$ac_optarg ;;
  1038   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1039   | --libexe | --libex | --libe)
  1040     ac_prev=libexecdir ;;
  1041   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1042   | --libexe=* | --libex=* | --libe=*)
  1043     libexecdir=$ac_optarg ;;
  1045   -localedir | --localedir | --localedi | --localed | --locale)
  1046     ac_prev=localedir ;;
  1047   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1048     localedir=$ac_optarg ;;
  1050   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1051   | --localstate | --localstat | --localsta | --localst | --locals)
  1052     ac_prev=localstatedir ;;
  1053   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1054   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1055     localstatedir=$ac_optarg ;;
  1057   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1058     ac_prev=mandir ;;
  1059   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1060     mandir=$ac_optarg ;;
  1062   -nfp | --nfp | --nf)
  1063     # Obsolete; use --without-fp.
  1064     with_fp=no ;;
  1066   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1067   | --no-cr | --no-c | -n)
  1068     no_create=yes ;;
  1070   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1071   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1072     no_recursion=yes ;;
  1074   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1075   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1076   | --oldin | --oldi | --old | --ol | --o)
  1077     ac_prev=oldincludedir ;;
  1078   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1079   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1080   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1081     oldincludedir=$ac_optarg ;;
  1083   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1084     ac_prev=prefix ;;
  1085   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1086     prefix=$ac_optarg ;;
  1088   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1089   | --program-pre | --program-pr | --program-p)
  1090     ac_prev=program_prefix ;;
  1091   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1092   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1093     program_prefix=$ac_optarg ;;
  1095   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1096   | --program-suf | --program-su | --program-s)
  1097     ac_prev=program_suffix ;;
  1098   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1099   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1100     program_suffix=$ac_optarg ;;
  1102   -program-transform-name | --program-transform-name \
  1103   | --program-transform-nam | --program-transform-na \
  1104   | --program-transform-n | --program-transform- \
  1105   | --program-transform | --program-transfor \
  1106   | --program-transfo | --program-transf \
  1107   | --program-trans | --program-tran \
  1108   | --progr-tra | --program-tr | --program-t)
  1109     ac_prev=program_transform_name ;;
  1110   -program-transform-name=* | --program-transform-name=* \
  1111   | --program-transform-nam=* | --program-transform-na=* \
  1112   | --program-transform-n=* | --program-transform-=* \
  1113   | --program-transform=* | --program-transfor=* \
  1114   | --program-transfo=* | --program-transf=* \
  1115   | --program-trans=* | --program-tran=* \
  1116   | --progr-tra=* | --program-tr=* | --program-t=*)
  1117     program_transform_name=$ac_optarg ;;
  1119   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1120     ac_prev=pdfdir ;;
  1121   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1122     pdfdir=$ac_optarg ;;
  1124   -psdir | --psdir | --psdi | --psd | --ps)
  1125     ac_prev=psdir ;;
  1126   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1127     psdir=$ac_optarg ;;
  1129   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1130   | -silent | --silent | --silen | --sile | --sil)
  1131     silent=yes ;;
  1133   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1134     ac_prev=sbindir ;;
  1135   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1136   | --sbi=* | --sb=*)
  1137     sbindir=$ac_optarg ;;
  1139   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1140   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1141   | --sharedst | --shareds | --shared | --share | --shar \
  1142   | --sha | --sh)
  1143     ac_prev=sharedstatedir ;;
  1144   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1145   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1146   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1147   | --sha=* | --sh=*)
  1148     sharedstatedir=$ac_optarg ;;
  1150   -site | --site | --sit)
  1151     ac_prev=site ;;
  1152   -site=* | --site=* | --sit=*)
  1153     site=$ac_optarg ;;
  1155   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1156     ac_prev=srcdir ;;
  1157   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1158     srcdir=$ac_optarg ;;
  1160   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1161   | --syscon | --sysco | --sysc | --sys | --sy)
  1162     ac_prev=sysconfdir ;;
  1163   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1164   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1165     sysconfdir=$ac_optarg ;;
  1167   -target | --target | --targe | --targ | --tar | --ta | --t)
  1168     ac_prev=target_alias ;;
  1169   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1170     target_alias=$ac_optarg ;;
  1172   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1173     verbose=yes ;;
  1175   -version | --version | --versio | --versi | --vers | -V)
  1176     ac_init_version=: ;;
  1178   -with-* | --with-*)
  1179     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1180     # Reject names that are not valid shell variable names.
  1181     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1182       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1183    { (exit 1); exit 1; }; }
  1184     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1185     eval with_$ac_package=\$ac_optarg ;;
  1187   -without-* | --without-*)
  1188     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1189     # Reject names that are not valid shell variable names.
  1190     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1191       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1192    { (exit 1); exit 1; }; }
  1193     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1194     eval with_$ac_package=no ;;
  1196   --x)
  1197     # Obsolete; use --with-x.
  1198     with_x=yes ;;
  1200   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1201   | --x-incl | --x-inc | --x-in | --x-i)
  1202     ac_prev=x_includes ;;
  1203   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1204   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1205     x_includes=$ac_optarg ;;
  1207   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1208   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1209     ac_prev=x_libraries ;;
  1210   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1211   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1212     x_libraries=$ac_optarg ;;
  1214   -*) { echo "$as_me: error: unrecognized option: $ac_option
  1215 Try \`$0 --help' for more information." >&2
  1216    { (exit 1); exit 1; }; }
  1217     ;;
  1219   *=*)
  1220     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1221     # Reject names that are not valid shell variable names.
  1222     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1223       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1224    { (exit 1); exit 1; }; }
  1225     eval $ac_envvar=\$ac_optarg
  1226     export $ac_envvar ;;
  1228   *)
  1229     # FIXME: should be removed in autoconf 3.0.
  1230     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1231     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1232       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1233     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1234     ;;
  1236   esac
  1237 done
  1239 if test -n "$ac_prev"; then
  1240   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1241   { echo "$as_me: error: missing argument to $ac_option" >&2
  1242    { (exit 1); exit 1; }; }
  1243 fi
  1245 # Be sure to have absolute directory names.
  1246 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1247 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1248 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1249 		libdir localedir mandir
  1250 do
  1251   eval ac_val=\$$ac_var
  1252   case $ac_val in
  1253     [\\/$]* | ?:[\\/]* )  continue;;
  1254     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1255   esac
  1256   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1257    { (exit 1); exit 1; }; }
  1258 done
  1260 # There might be people who depend on the old broken behavior: `$host'
  1261 # used to hold the argument of --host etc.
  1262 # FIXME: To remove some day.
  1263 build=$build_alias
  1264 host=$host_alias
  1265 target=$target_alias
  1267 # FIXME: To remove some day.
  1268 if test "x$host_alias" != x; then
  1269   if test "x$build_alias" = x; then
  1270     cross_compiling=maybe
  1271     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1272     If a cross compiler is detected then cross compile mode will be used." >&2
  1273   elif test "x$build_alias" != "x$host_alias"; then
  1274     cross_compiling=yes
  1275   fi
  1276 fi
  1278 ac_tool_prefix=
  1279 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1281 test "$silent" = yes && exec 6>/dev/null
  1284 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1285 ac_ls_di=`ls -di .` &&
  1286 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1287   { echo "$as_me: error: Working directory cannot be determined" >&2
  1288    { (exit 1); exit 1; }; }
  1289 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1290   { echo "$as_me: error: pwd does not report name of working directory" >&2
  1291    { (exit 1); exit 1; }; }
  1294 # Find the source files, if location was not specified.
  1295 if test -z "$srcdir"; then
  1296   ac_srcdir_defaulted=yes
  1297   # Try the directory containing this script, then the parent directory.
  1298   ac_confdir=`$as_dirname -- "$0" ||
  1299 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1300 	 X"$0" : 'X\(//\)[^/]' \| \
  1301 	 X"$0" : 'X\(//\)$' \| \
  1302 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1303 echo X"$0" |
  1304     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1305 	    s//\1/
  1308 	  /^X\(\/\/\)[^/].*/{
  1309 	    s//\1/
  1312 	  /^X\(\/\/\)$/{
  1313 	    s//\1/
  1316 	  /^X\(\/\).*/{
  1317 	    s//\1/
  1320 	  s/.*/./; q'`
  1321   srcdir=$ac_confdir
  1322   if test ! -r "$srcdir/$ac_unique_file"; then
  1323     srcdir=..
  1324   fi
  1325 else
  1326   ac_srcdir_defaulted=no
  1327 fi
  1328 if test ! -r "$srcdir/$ac_unique_file"; then
  1329   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1330   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1331    { (exit 1); exit 1; }; }
  1332 fi
  1333 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1334 ac_abs_confdir=`(
  1335 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1336    { (exit 1); exit 1; }; }
  1337 	pwd)`
  1338 # When building in place, set srcdir=.
  1339 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1340   srcdir=.
  1341 fi
  1342 # Remove unnecessary trailing slashes from srcdir.
  1343 # Double slashes in file names in object file debugging info
  1344 # mess up M-x gdb in Emacs.
  1345 case $srcdir in
  1346 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1347 esac
  1348 for ac_var in $ac_precious_vars; do
  1349   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1350   eval ac_env_${ac_var}_value=\$${ac_var}
  1351   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1352   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1353 done
  1356 # Report the --help message.
  1358 if test "$ac_init_help" = "long"; then
  1359   # Omit some internal or obsolete options to make the list less imposing.
  1360   # This message is too long to be a string in the A/UX 3.1 sh.
  1361   cat <<_ACEOF
  1362 \`configure' configures this package to adapt to many kinds of systems.
  1364 Usage: $0 [OPTION]... [VAR=VALUE]...
  1366 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1367 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1369 Defaults for the options are specified in brackets.
  1371 Configuration:
  1372   -h, --help              display this help and exit
  1373       --help=short        display options specific to this package
  1374       --help=recursive    display the short help of all the included packages
  1375   -V, --version           display version information and exit
  1376   -q, --quiet, --silent   do not print \`checking...' messages
  1377       --cache-file=FILE   cache test results in FILE [disabled]
  1378   -C, --config-cache      alias for \`--cache-file=config.cache'
  1379   -n, --no-create         do not create output files
  1380       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1382 Installation directories:
  1383   --prefix=PREFIX         install architecture-independent files in PREFIX
  1384 			  [$ac_default_prefix]
  1385   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1386 			  [PREFIX]
  1388 By default, \`make install' will install all the files in
  1389 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1390 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1391 for instance \`--prefix=\$HOME'.
  1393 For better control, use the options below.
  1395 Fine tuning of the installation directories:
  1396   --bindir=DIR           user executables [EPREFIX/bin]
  1397   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1398   --libexecdir=DIR       program executables [EPREFIX/libexec]
  1399   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1400   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1401   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1402   --libdir=DIR           object code libraries [EPREFIX/lib]
  1403   --includedir=DIR       C header files [PREFIX/include]
  1404   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1405   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1406   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1407   --infodir=DIR          info documentation [DATAROOTDIR/info]
  1408   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1409   --mandir=DIR           man documentation [DATAROOTDIR/man]
  1410   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1411   --htmldir=DIR          html documentation [DOCDIR]
  1412   --dvidir=DIR           dvi documentation [DOCDIR]
  1413   --pdfdir=DIR           pdf documentation [DOCDIR]
  1414   --psdir=DIR            ps documentation [DOCDIR]
  1415 _ACEOF
  1417   cat <<\_ACEOF
  1419 Program names:
  1420   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1421   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1422   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1424 System types:
  1425   --build=BUILD     configure for building on BUILD [guessed]
  1426   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1427 _ACEOF
  1428 fi
  1430 if test -n "$ac_init_help"; then
  1432   cat <<\_ACEOF
  1434 Optional Features:
  1435   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1436   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1437   --enable-maintainer-mode  enable make rules and dependencies not useful
  1438 			  (and sometimes confusing) to the casual installer
  1439   --disable-dependency-tracking  speeds up one-time build
  1440   --enable-dependency-tracking   do not reject slow dependency extractors
  1441   --enable-strict-warn    Enable strict compilation warnings
  1442   --disable-translator    Disable the SH4 translator (Enabled by default)
  1443   --disable-optimized     Disable compile-time optimizations (Enabled by
  1444                           default)
  1445   --enable-shared         Build drivers as shared libraries (Enabled if
  1446                           available)
  1447   --enable-profiled       Enable profiling build
  1448   --enable-trace          Enable generation of IO traces (warning: hurts
  1449                           performance)
  1450   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1451                           performance)
  1452   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1454 Optional Packages:
  1455   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1456   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1457   --with-osmesa           Build with the osmesa GL library (software
  1458                           rendering)
  1459   --with-gtk              Build with the GTK UI. Default on X11 systems
  1460   --with-esd              Build with support for the ESounD audio system
  1461   --with-pulse            Build with support for the PulseAudio audio system
  1462   --with-sdl              Build with support for SDL audio
  1464 Some influential environment variables:
  1465   CC          C compiler command
  1466   CFLAGS      C compiler flags
  1467   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1468               nonstandard directory <lib dir>
  1469   LIBS        libraries to pass to the linker, e.g. -l<library>
  1470   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1471               you have headers in a nonstandard directory <include dir>
  1472   CPP         C preprocessor
  1473   OBJC        Objective C compiler command
  1474   OBJCFLAGS   Objective C compiler flags
  1475   CCAS        assembler compiler command (defaults to CC)
  1476   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1477   PKG_CONFIG  path to pkg-config utility
  1478   LIBPNG_CFLAGS
  1479               C compiler flags for LIBPNG, overriding pkg-config
  1480   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1481   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1482   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1483   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1484   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1485   GLIB_FOR_BUILD_CFLAGS
  1486               C compiler flags for GLIB_FOR_BUILD, overriding pkg-config
  1487   GLIB_FOR_BUILD_LIBS
  1488               linker flags for GLIB_FOR_BUILD, overriding pkg-config
  1489   LIBISOFS_CFLAGS
  1490               C compiler flags for LIBISOFS, overriding pkg-config
  1491   LIBISOFS_LIBS
  1492               linker flags for LIBISOFS, overriding pkg-config
  1493   LIBGL_CFLAGS
  1494               C compiler flags for LIBGL, overriding pkg-config
  1495   LIBGL_LIBS  linker flags for LIBGL, overriding pkg-config
  1496   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
  1497   SDL_LIBS    linker flags for SDL, overriding pkg-config
  1498   PULSE_CFLAGS
  1499               C compiler flags for PULSE, overriding pkg-config
  1500   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1501   ESOUND_CFLAGS
  1502               C compiler flags for ESOUND, overriding pkg-config
  1503   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1504   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1505   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1507 Use these variables to override the choices made by `configure' or to help
  1508 it to find libraries and programs with nonstandard names/locations.
  1510 _ACEOF
  1511 ac_status=$?
  1512 fi
  1514 if test "$ac_init_help" = "recursive"; then
  1515   # If there are subdirs, report their specific --help.
  1516   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1517     test -d "$ac_dir" || continue
  1518     ac_builddir=.
  1520 case "$ac_dir" in
  1521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1522 *)
  1523   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1524   # A ".." for each directory in $ac_dir_suffix.
  1525   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1526   case $ac_top_builddir_sub in
  1527   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1528   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1529   esac ;;
  1530 esac
  1531 ac_abs_top_builddir=$ac_pwd
  1532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1533 # for backward compatibility:
  1534 ac_top_builddir=$ac_top_build_prefix
  1536 case $srcdir in
  1537   .)  # We are building in place.
  1538     ac_srcdir=.
  1539     ac_top_srcdir=$ac_top_builddir_sub
  1540     ac_abs_top_srcdir=$ac_pwd ;;
  1541   [\\/]* | ?:[\\/]* )  # Absolute name.
  1542     ac_srcdir=$srcdir$ac_dir_suffix;
  1543     ac_top_srcdir=$srcdir
  1544     ac_abs_top_srcdir=$srcdir ;;
  1545   *) # Relative name.
  1546     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1547     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1548     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1549 esac
  1550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1552     cd "$ac_dir" || { ac_status=$?; continue; }
  1553     # Check for guested configure.
  1554     if test -f "$ac_srcdir/configure.gnu"; then
  1555       echo &&
  1556       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1557     elif test -f "$ac_srcdir/configure"; then
  1558       echo &&
  1559       $SHELL "$ac_srcdir/configure" --help=recursive
  1560     else
  1561       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1562     fi || ac_status=$?
  1563     cd "$ac_pwd" || { ac_status=$?; break; }
  1564   done
  1565 fi
  1567 test -n "$ac_init_help" && exit $ac_status
  1568 if $ac_init_version; then
  1569   cat <<\_ACEOF
  1570 configure
  1571 generated by GNU Autoconf 2.61
  1573 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1574 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1575 This configure script is free software; the Free Software Foundation
  1576 gives unlimited permission to copy, distribute and modify it.
  1577 _ACEOF
  1578   exit
  1579 fi
  1580 cat >config.log <<_ACEOF
  1581 This file contains any messages produced by compilers while
  1582 running configure, to aid debugging if configure makes a mistake.
  1584 It was created by $as_me, which was
  1585 generated by GNU Autoconf 2.61.  Invocation command line was
  1587   $ $0 $@
  1589 _ACEOF
  1590 exec 5>>config.log
  1592 cat <<_ASUNAME
  1593 ## --------- ##
  1594 ## Platform. ##
  1595 ## --------- ##
  1597 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1598 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1599 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1600 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1601 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1603 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1604 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1606 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1607 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1608 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1609 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1610 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1611 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1612 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1614 _ASUNAME
  1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1617 for as_dir in $PATH
  1618 do
  1619   IFS=$as_save_IFS
  1620   test -z "$as_dir" && as_dir=.
  1621   echo "PATH: $as_dir"
  1622 done
  1623 IFS=$as_save_IFS
  1625 } >&5
  1627 cat >&5 <<_ACEOF
  1630 ## ----------- ##
  1631 ## Core tests. ##
  1632 ## ----------- ##
  1634 _ACEOF
  1637 # Keep a trace of the command line.
  1638 # Strip out --no-create and --no-recursion so they do not pile up.
  1639 # Strip out --silent because we don't want to record it for future runs.
  1640 # Also quote any args containing shell meta-characters.
  1641 # Make two passes to allow for proper duplicate-argument suppression.
  1642 ac_configure_args=
  1643 ac_configure_args0=
  1644 ac_configure_args1=
  1645 ac_must_keep_next=false
  1646 for ac_pass in 1 2
  1647 do
  1648   for ac_arg
  1649   do
  1650     case $ac_arg in
  1651     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1652     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1653     | -silent | --silent | --silen | --sile | --sil)
  1654       continue ;;
  1655     *\'*)
  1656       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1657     esac
  1658     case $ac_pass in
  1659     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1660     2)
  1661       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1662       if test $ac_must_keep_next = true; then
  1663 	ac_must_keep_next=false # Got value, back to normal.
  1664       else
  1665 	case $ac_arg in
  1666 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1667 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1668 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1669 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1670 	    case "$ac_configure_args0 " in
  1671 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1672 	    esac
  1673 	    ;;
  1674 	  -* ) ac_must_keep_next=true ;;
  1675 	esac
  1676       fi
  1677       ac_configure_args="$ac_configure_args '$ac_arg'"
  1678       ;;
  1679     esac
  1680   done
  1681 done
  1682 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1683 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1685 # When interrupted or exit'd, cleanup temporary files, and complete
  1686 # config.log.  We remove comments because anyway the quotes in there
  1687 # would cause problems or look ugly.
  1688 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1689 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1690 trap 'exit_status=$?
  1691   # Save into config.log some information that might help in debugging.
  1693     echo
  1695     cat <<\_ASBOX
  1696 ## ---------------- ##
  1697 ## Cache variables. ##
  1698 ## ---------------- ##
  1699 _ASBOX
  1700     echo
  1701     # The following way of writing the cache mishandles newlines in values,
  1703   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1704     eval ac_val=\$$ac_var
  1705     case $ac_val in #(
  1706     *${as_nl}*)
  1707       case $ac_var in #(
  1708       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1709 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1710       esac
  1711       case $ac_var in #(
  1712       _ | IFS | as_nl) ;; #(
  1713       *) $as_unset $ac_var ;;
  1714       esac ;;
  1715     esac
  1716   done
  1717   (set) 2>&1 |
  1718     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1719     *${as_nl}ac_space=\ *)
  1720       sed -n \
  1721 	"s/'\''/'\''\\\\'\'''\''/g;
  1722 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1723       ;; #(
  1724     *)
  1725       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1726       ;;
  1727     esac |
  1728     sort
  1730     echo
  1732     cat <<\_ASBOX
  1733 ## ----------------- ##
  1734 ## Output variables. ##
  1735 ## ----------------- ##
  1736 _ASBOX
  1737     echo
  1738     for ac_var in $ac_subst_vars
  1739     do
  1740       eval ac_val=\$$ac_var
  1741       case $ac_val in
  1742       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1743       esac
  1744       echo "$ac_var='\''$ac_val'\''"
  1745     done | sort
  1746     echo
  1748     if test -n "$ac_subst_files"; then
  1749       cat <<\_ASBOX
  1750 ## ------------------- ##
  1751 ## File substitutions. ##
  1752 ## ------------------- ##
  1753 _ASBOX
  1754       echo
  1755       for ac_var in $ac_subst_files
  1756       do
  1757 	eval ac_val=\$$ac_var
  1758 	case $ac_val in
  1759 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1760 	esac
  1761 	echo "$ac_var='\''$ac_val'\''"
  1762       done | sort
  1763       echo
  1764     fi
  1766     if test -s confdefs.h; then
  1767       cat <<\_ASBOX
  1768 ## ----------- ##
  1769 ## confdefs.h. ##
  1770 ## ----------- ##
  1771 _ASBOX
  1772       echo
  1773       cat confdefs.h
  1774       echo
  1775     fi
  1776     test "$ac_signal" != 0 &&
  1777       echo "$as_me: caught signal $ac_signal"
  1778     echo "$as_me: exit $exit_status"
  1779   } >&5
  1780   rm -f core *.core core.conftest.* &&
  1781     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1782     exit $exit_status
  1783 ' 0
  1784 for ac_signal in 1 2 13 15; do
  1785   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1786 done
  1787 ac_signal=0
  1789 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1790 rm -f -r conftest* confdefs.h
  1792 # Predefined preprocessor variables.
  1794 cat >>confdefs.h <<_ACEOF
  1795 #define PACKAGE_NAME "$PACKAGE_NAME"
  1796 _ACEOF
  1799 cat >>confdefs.h <<_ACEOF
  1800 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1801 _ACEOF
  1804 cat >>confdefs.h <<_ACEOF
  1805 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1806 _ACEOF
  1809 cat >>confdefs.h <<_ACEOF
  1810 #define PACKAGE_STRING "$PACKAGE_STRING"
  1811 _ACEOF
  1814 cat >>confdefs.h <<_ACEOF
  1815 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1816 _ACEOF
  1819 # Let the site file select an alternate cache file if it wants to.
  1820 # Prefer explicitly selected file to automatically selected ones.
  1821 if test -n "$CONFIG_SITE"; then
  1822   set x "$CONFIG_SITE"
  1823 elif test "x$prefix" != xNONE; then
  1824   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1825 else
  1826   set x "$ac_default_prefix/share/config.site" \
  1827 	"$ac_default_prefix/etc/config.site"
  1828 fi
  1829 shift
  1830 for ac_site_file
  1831 do
  1832   if test -r "$ac_site_file"; then
  1833     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1834 echo "$as_me: loading site script $ac_site_file" >&6;}
  1835     sed 's/^/| /' "$ac_site_file" >&5
  1836     . "$ac_site_file"
  1837   fi
  1838 done
  1840 if test -r "$cache_file"; then
  1841   # Some versions of bash will fail to source /dev/null (special
  1842   # files actually), so we avoid doing that.
  1843   if test -f "$cache_file"; then
  1844     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1845 echo "$as_me: loading cache $cache_file" >&6;}
  1846     case $cache_file in
  1847       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1848       *)                      . "./$cache_file";;
  1849     esac
  1850   fi
  1851 else
  1852   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1853 echo "$as_me: creating cache $cache_file" >&6;}
  1854   >$cache_file
  1855 fi
  1857 # Check that the precious variables saved in the cache have kept the same
  1858 # value.
  1859 ac_cache_corrupted=false
  1860 for ac_var in $ac_precious_vars; do
  1861   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1862   eval ac_new_set=\$ac_env_${ac_var}_set
  1863   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1864   eval ac_new_val=\$ac_env_${ac_var}_value
  1865   case $ac_old_set,$ac_new_set in
  1866     set,)
  1867       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1868 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1869       ac_cache_corrupted=: ;;
  1870     ,set)
  1871       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1872 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1873       ac_cache_corrupted=: ;;
  1874     ,);;
  1875     *)
  1876       if test "x$ac_old_val" != "x$ac_new_val"; then
  1877 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1878 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1879 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1880 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1881 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1882 echo "$as_me:   current value: $ac_new_val" >&2;}
  1883 	ac_cache_corrupted=:
  1884       fi;;
  1885   esac
  1886   # Pass precious variables to config.status.
  1887   if test "$ac_new_set" = set; then
  1888     case $ac_new_val in
  1889     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1890     *) ac_arg=$ac_var=$ac_new_val ;;
  1891     esac
  1892     case " $ac_configure_args " in
  1893       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1894       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1895     esac
  1896   fi
  1897 done
  1898 if $ac_cache_corrupted; then
  1899   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1900 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1901   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1902 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1903    { (exit 1); exit 1; }; }
  1904 fi
  1922 ac_ext=c
  1923 ac_cpp='$CPP $CPPFLAGS'
  1924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1929 am__api_version="1.9"
  1930 ac_aux_dir=
  1931 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1932   if test -f "$ac_dir/install-sh"; then
  1933     ac_aux_dir=$ac_dir
  1934     ac_install_sh="$ac_aux_dir/install-sh -c"
  1935     break
  1936   elif test -f "$ac_dir/install.sh"; then
  1937     ac_aux_dir=$ac_dir
  1938     ac_install_sh="$ac_aux_dir/install.sh -c"
  1939     break
  1940   elif test -f "$ac_dir/shtool"; then
  1941     ac_aux_dir=$ac_dir
  1942     ac_install_sh="$ac_aux_dir/shtool install -c"
  1943     break
  1944   fi
  1945 done
  1946 if test -z "$ac_aux_dir"; then
  1947   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1948 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1949    { (exit 1); exit 1; }; }
  1950 fi
  1952 # These three variables are undocumented and unsupported,
  1953 # and are intended to be withdrawn in a future Autoconf release.
  1954 # They can cause serious problems if a builder's source tree is in a directory
  1955 # whose full name contains unusual characters.
  1956 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1957 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1958 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1961 # Find a good install program.  We prefer a C program (faster),
  1962 # so one script is as good as another.  But avoid the broken or
  1963 # incompatible versions:
  1964 # SysV /etc/install, /usr/sbin/install
  1965 # SunOS /usr/etc/install
  1966 # IRIX /sbin/install
  1967 # AIX /bin/install
  1968 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1969 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1970 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1971 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1972 # OS/2's system install, which has a completely different semantic
  1973 # ./install, which can be erroneously created by make from ./install.sh.
  1974 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1975 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1976 if test -z "$INSTALL"; then
  1977 if test "${ac_cv_path_install+set}" = set; then
  1978   echo $ECHO_N "(cached) $ECHO_C" >&6
  1979 else
  1980   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1981 for as_dir in $PATH
  1982 do
  1983   IFS=$as_save_IFS
  1984   test -z "$as_dir" && as_dir=.
  1985   # Account for people who put trailing slashes in PATH elements.
  1986 case $as_dir/ in
  1987   ./ | .// | /cC/* | \
  1988   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1989   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1990   /usr/ucb/* ) ;;
  1991   *)
  1992     # OSF1 and SCO ODT 3.0 have their own names for install.
  1993     # Don't use installbsd from OSF since it installs stuff as root
  1994     # by default.
  1995     for ac_prog in ginstall scoinst install; do
  1996       for ac_exec_ext in '' $ac_executable_extensions; do
  1997 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1998 	  if test $ac_prog = install &&
  1999 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2000 	    # AIX install.  It has an incompatible calling convention.
  2002 	  elif test $ac_prog = install &&
  2003 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2004 	    # program-specific install script used by HP pwplus--don't use.
  2006 	  else
  2007 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2008 	    break 3
  2009 	  fi
  2010 	fi
  2011       done
  2012     done
  2013     ;;
  2014 esac
  2015 done
  2016 IFS=$as_save_IFS
  2019 fi
  2020   if test "${ac_cv_path_install+set}" = set; then
  2021     INSTALL=$ac_cv_path_install
  2022   else
  2023     # As a last resort, use the slow shell script.  Don't cache a
  2024     # value for INSTALL within a source directory, because that will
  2025     # break other packages using the cache if that directory is
  2026     # removed, or if the value is a relative name.
  2027     INSTALL=$ac_install_sh
  2028   fi
  2029 fi
  2030 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  2031 echo "${ECHO_T}$INSTALL" >&6; }
  2033 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2034 # It thinks the first close brace ends the variable substitution.
  2035 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2037 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2039 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2041 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2042 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  2043 # Just in case
  2044 sleep 1
  2045 echo timestamp > conftest.file
  2046 # Do `set' in a subshell so we don't clobber the current shell's
  2047 # arguments.  Must try -L first in case configure is actually a
  2048 # symlink; some systems play weird games with the mod time of symlinks
  2049 # (eg FreeBSD returns the mod time of the symlink's containing
  2050 # directory).
  2051 if (
  2052    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2053    if test "$*" = "X"; then
  2054       # -L didn't work.
  2055       set X `ls -t $srcdir/configure conftest.file`
  2056    fi
  2057    rm -f conftest.file
  2058    if test "$*" != "X $srcdir/configure conftest.file" \
  2059       && test "$*" != "X conftest.file $srcdir/configure"; then
  2061       # If neither matched, then we have a broken ls.  This can happen
  2062       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2063       # broken ls alias from the environment.  This has actually
  2064       # happened.  Such a system could not be considered "sane".
  2065       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2066 alias in your environment" >&5
  2067 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2068 alias in your environment" >&2;}
  2069    { (exit 1); exit 1; }; }
  2070    fi
  2072    test "$2" = conftest.file
  2074 then
  2075    # Ok.
  2077 else
  2078    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2079 Check your system clock" >&5
  2080 echo "$as_me: error: newly created file is older than distributed files!
  2081 Check your system clock" >&2;}
  2082    { (exit 1); exit 1; }; }
  2083 fi
  2084 { echo "$as_me:$LINENO: result: yes" >&5
  2085 echo "${ECHO_T}yes" >&6; }
  2086 test "$program_prefix" != NONE &&
  2087   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2088 # Use a double $ so make ignores it.
  2089 test "$program_suffix" != NONE &&
  2090   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2091 # Double any \ or $.  echo might interpret backslashes.
  2092 # By default was `s,x,x', remove it if useless.
  2093 cat <<\_ACEOF >conftest.sed
  2094 s/[\\$]/&&/g;s/;s,x,x,$//
  2095 _ACEOF
  2096 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  2097 rm -f conftest.sed
  2099 # expand $ac_aux_dir to an absolute path
  2100 am_aux_dir=`cd $ac_aux_dir && pwd`
  2102 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2103 # Use eval to expand $SHELL
  2104 if eval "$MISSING --run true"; then
  2105   am_missing_run="$MISSING --run "
  2106 else
  2107   am_missing_run=
  2108   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2109 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2110 fi
  2112 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2113   # We used to keeping the `.' as first argument, in order to
  2114   # allow $(mkdir_p) to be used without argument.  As in
  2115   #   $(mkdir_p) $(somedir)
  2116   # where $(somedir) is conditionally defined.  However this is wrong
  2117   # for two reasons:
  2118   #  1. if the package is installed by a user who cannot write `.'
  2119   #     make install will fail,
  2120   #  2. the above comment should most certainly read
  2121   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2122   #     so it does not work when $(somedir) is undefined and
  2123   #     $(DESTDIR) is not.
  2124   #  To support the latter case, we have to write
  2125   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2126   #  so the `.' trick is pointless.
  2127   mkdir_p='mkdir -p --'
  2128 else
  2129   # On NextStep and OpenStep, the `mkdir' command does not
  2130   # recognize any option.  It will interpret all options as
  2131   # directories to create, and then abort because `.' already
  2132   # exists.
  2133   for d in ./-p ./--version;
  2134   do
  2135     test -d $d && rmdir $d
  2136   done
  2137   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2138   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2139     mkdir_p='$(mkinstalldirs)'
  2140   else
  2141     mkdir_p='$(install_sh) -d'
  2142   fi
  2143 fi
  2145 for ac_prog in gawk mawk nawk awk
  2146 do
  2147   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2148 set dummy $ac_prog; ac_word=$2
  2149 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2150 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2151 if test "${ac_cv_prog_AWK+set}" = set; then
  2152   echo $ECHO_N "(cached) $ECHO_C" >&6
  2153 else
  2154   if test -n "$AWK"; then
  2155   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2156 else
  2157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2158 for as_dir in $PATH
  2159 do
  2160   IFS=$as_save_IFS
  2161   test -z "$as_dir" && as_dir=.
  2162   for ac_exec_ext in '' $ac_executable_extensions; do
  2163   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2164     ac_cv_prog_AWK="$ac_prog"
  2165     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2166     break 2
  2167   fi
  2168 done
  2169 done
  2170 IFS=$as_save_IFS
  2172 fi
  2173 fi
  2174 AWK=$ac_cv_prog_AWK
  2175 if test -n "$AWK"; then
  2176   { echo "$as_me:$LINENO: result: $AWK" >&5
  2177 echo "${ECHO_T}$AWK" >&6; }
  2178 else
  2179   { echo "$as_me:$LINENO: result: no" >&5
  2180 echo "${ECHO_T}no" >&6; }
  2181 fi
  2184   test -n "$AWK" && break
  2185 done
  2187 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2188 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2189 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2190 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2191   echo $ECHO_N "(cached) $ECHO_C" >&6
  2192 else
  2193   cat >conftest.make <<\_ACEOF
  2194 SHELL = /bin/sh
  2195 all:
  2196 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2197 _ACEOF
  2198 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2199 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2200   *@@@%%%=?*=@@@%%%*)
  2201     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2202   *)
  2203     eval ac_cv_prog_make_${ac_make}_set=no;;
  2204 esac
  2205 rm -f conftest.make
  2206 fi
  2207 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2208   { echo "$as_me:$LINENO: result: yes" >&5
  2209 echo "${ECHO_T}yes" >&6; }
  2210   SET_MAKE=
  2211 else
  2212   { echo "$as_me:$LINENO: result: no" >&5
  2213 echo "${ECHO_T}no" >&6; }
  2214   SET_MAKE="MAKE=${MAKE-make}"
  2215 fi
  2217 rm -rf .tst 2>/dev/null
  2218 mkdir .tst 2>/dev/null
  2219 if test -d .tst; then
  2220   am__leading_dot=.
  2221 else
  2222   am__leading_dot=_
  2223 fi
  2224 rmdir .tst 2>/dev/null
  2226 # test to see if srcdir already configured
  2227 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2228    test -f $srcdir/config.status; then
  2229   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2230 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2231    { (exit 1); exit 1; }; }
  2232 fi
  2234 # test whether we have cygpath
  2235 if test -z "$CYGPATH_W"; then
  2236   if (cygpath --version) >/dev/null 2>/dev/null; then
  2237     CYGPATH_W='cygpath -w'
  2238   else
  2239     CYGPATH_W=echo
  2240   fi
  2241 fi
  2244 # Define the identity of the package.
  2245  PACKAGE=lxdream
  2246  VERSION=0.9.1
  2249 cat >>confdefs.h <<_ACEOF
  2250 #define PACKAGE "$PACKAGE"
  2251 _ACEOF
  2254 cat >>confdefs.h <<_ACEOF
  2255 #define VERSION "$VERSION"
  2256 _ACEOF
  2258 # Some tools Automake needs.
  2260 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2263 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2266 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2269 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2272 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2274 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2276 # Installed binaries are usually stripped using `strip' when the user
  2277 # run `make install-strip'.  However `strip' might not be the right
  2278 # tool to use in cross-compilation environments, therefore Automake
  2279 # will honor the `STRIP' environment variable to overrule this program.
  2280 if test "$cross_compiling" != no; then
  2281   if test -n "$ac_tool_prefix"; then
  2282   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2283 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2284 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2286 if test "${ac_cv_prog_STRIP+set}" = set; then
  2287   echo $ECHO_N "(cached) $ECHO_C" >&6
  2288 else
  2289   if test -n "$STRIP"; then
  2290   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2291 else
  2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2293 for as_dir in $PATH
  2294 do
  2295   IFS=$as_save_IFS
  2296   test -z "$as_dir" && as_dir=.
  2297   for ac_exec_ext in '' $ac_executable_extensions; do
  2298   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2299     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2300     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2301     break 2
  2302   fi
  2303 done
  2304 done
  2305 IFS=$as_save_IFS
  2307 fi
  2308 fi
  2309 STRIP=$ac_cv_prog_STRIP
  2310 if test -n "$STRIP"; then
  2311   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2312 echo "${ECHO_T}$STRIP" >&6; }
  2313 else
  2314   { echo "$as_me:$LINENO: result: no" >&5
  2315 echo "${ECHO_T}no" >&6; }
  2316 fi
  2319 fi
  2320 if test -z "$ac_cv_prog_STRIP"; then
  2321   ac_ct_STRIP=$STRIP
  2322   # Extract the first word of "strip", so it can be a program name with args.
  2323 set dummy strip; ac_word=$2
  2324 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2326 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2327   echo $ECHO_N "(cached) $ECHO_C" >&6
  2328 else
  2329   if test -n "$ac_ct_STRIP"; then
  2330   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2331 else
  2332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2333 for as_dir in $PATH
  2334 do
  2335   IFS=$as_save_IFS
  2336   test -z "$as_dir" && as_dir=.
  2337   for ac_exec_ext in '' $ac_executable_extensions; do
  2338   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2339     ac_cv_prog_ac_ct_STRIP="strip"
  2340     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2341     break 2
  2342   fi
  2343 done
  2344 done
  2345 IFS=$as_save_IFS
  2347 fi
  2348 fi
  2349 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2350 if test -n "$ac_ct_STRIP"; then
  2351   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2352 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2353 else
  2354   { echo "$as_me:$LINENO: result: no" >&5
  2355 echo "${ECHO_T}no" >&6; }
  2356 fi
  2358   if test "x$ac_ct_STRIP" = x; then
  2359     STRIP=":"
  2360   else
  2361     case $cross_compiling:$ac_tool_warned in
  2362 yes:)
  2363 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2364 whose name does not start with the host triplet.  If you think this
  2365 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2366 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2367 whose name does not start with the host triplet.  If you think this
  2368 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2369 ac_tool_warned=yes ;;
  2370 esac
  2371     STRIP=$ac_ct_STRIP
  2372   fi
  2373 else
  2374   STRIP="$ac_cv_prog_STRIP"
  2375 fi
  2377 fi
  2378 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2380 # We need awk for the "check" target.  The system "awk" is bad on
  2381 # some platforms.
  2382 # Always define AMTAR for backward compatibility.
  2384 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2386 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2392 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2393 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2394     # Check whether --enable-maintainer-mode was given.
  2395 if test "${enable_maintainer_mode+set}" = set; then
  2396   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2397 else
  2398   USE_MAINTAINER_MODE=no
  2399 fi
  2401   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2402 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2405 if test $USE_MAINTAINER_MODE = yes; then
  2406   MAINTAINER_MODE_TRUE=
  2407   MAINTAINER_MODE_FALSE='#'
  2408 else
  2409   MAINTAINER_MODE_TRUE='#'
  2410   MAINTAINER_MODE_FALSE=
  2411 fi
  2413   MAINT=$MAINTAINER_MODE_TRUE
  2416 ac_config_headers="$ac_config_headers config.h"
  2419 # Make sure we can run config.sub.
  2420 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2421   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  2422 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  2423    { (exit 1); exit 1; }; }
  2425 { echo "$as_me:$LINENO: checking build system type" >&5
  2426 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  2427 if test "${ac_cv_build+set}" = set; then
  2428   echo $ECHO_N "(cached) $ECHO_C" >&6
  2429 else
  2430   ac_build_alias=$build_alias
  2431 test "x$ac_build_alias" = x &&
  2432   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2433 test "x$ac_build_alias" = x &&
  2434   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  2435 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  2436    { (exit 1); exit 1; }; }
  2437 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2438   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  2439 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  2440    { (exit 1); exit 1; }; }
  2442 fi
  2443 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  2444 echo "${ECHO_T}$ac_cv_build" >&6; }
  2445 case $ac_cv_build in
  2446 *-*-*) ;;
  2447 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  2448 echo "$as_me: error: invalid value of canonical build" >&2;}
  2449    { (exit 1); exit 1; }; };;
  2450 esac
  2451 build=$ac_cv_build
  2452 ac_save_IFS=$IFS; IFS='-'
  2453 set x $ac_cv_build
  2454 shift
  2455 build_cpu=$1
  2456 build_vendor=$2
  2457 shift; shift
  2458 # Remember, the first character of IFS is used to create $*,
  2459 # except with old shells:
  2460 build_os=$*
  2461 IFS=$ac_save_IFS
  2462 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2465 { echo "$as_me:$LINENO: checking host system type" >&5
  2466 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  2467 if test "${ac_cv_host+set}" = set; then
  2468   echo $ECHO_N "(cached) $ECHO_C" >&6
  2469 else
  2470   if test "x$host_alias" = x; then
  2471   ac_cv_host=$ac_cv_build
  2472 else
  2473   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2474     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  2475 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  2476    { (exit 1); exit 1; }; }
  2477 fi
  2479 fi
  2480 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  2481 echo "${ECHO_T}$ac_cv_host" >&6; }
  2482 case $ac_cv_host in
  2483 *-*-*) ;;
  2484 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  2485 echo "$as_me: error: invalid value of canonical host" >&2;}
  2486    { (exit 1); exit 1; }; };;
  2487 esac
  2488 host=$ac_cv_host
  2489 ac_save_IFS=$IFS; IFS='-'
  2490 set x $ac_cv_host
  2491 shift
  2492 host_cpu=$1
  2493 host_vendor=$2
  2494 shift; shift
  2495 # Remember, the first character of IFS is used to create $*,
  2496 # except with old shells:
  2497 host_os=$*
  2498 IFS=$ac_save_IFS
  2499 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2511 DEPDIR="${am__leading_dot}deps"
  2513 ac_config_commands="$ac_config_commands depfiles"
  2516 am_make=${MAKE-make}
  2517 cat > confinc << 'END'
  2518 am__doit:
  2519 	@echo done
  2520 .PHONY: am__doit
  2521 END
  2522 # If we don't find an include directive, just comment out the code.
  2523 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2524 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2525 am__include="#"
  2526 am__quote=
  2527 _am_result=none
  2528 # First try GNU make style include.
  2529 echo "include confinc" > confmf
  2530 # We grep out `Entering directory' and `Leaving directory'
  2531 # messages which can occur if `w' ends up in MAKEFLAGS.
  2532 # In particular we don't look at `^make:' because GNU make might
  2533 # be invoked under some other name (usually "gmake"), in which
  2534 # case it prints its new name instead of `make'.
  2535 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2536    am__include=include
  2537    am__quote=
  2538    _am_result=GNU
  2539 fi
  2540 # Now try BSD make style include.
  2541 if test "$am__include" = "#"; then
  2542    echo '.include "confinc"' > confmf
  2543    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2544       am__include=.include
  2545       am__quote="\""
  2546       _am_result=BSD
  2547    fi
  2548 fi
  2551 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2552 echo "${ECHO_T}$_am_result" >&6; }
  2553 rm -f confinc confmf
  2555 # Check whether --enable-dependency-tracking was given.
  2556 if test "${enable_dependency_tracking+set}" = set; then
  2557   enableval=$enable_dependency_tracking;
  2558 fi
  2560 if test "x$enable_dependency_tracking" != xno; then
  2561   am_depcomp="$ac_aux_dir/depcomp"
  2562   AMDEPBACKSLASH='\'
  2563 fi
  2566 if test "x$enable_dependency_tracking" != xno; then
  2567   AMDEP_TRUE=
  2568   AMDEP_FALSE='#'
  2569 else
  2570   AMDEP_TRUE='#'
  2571   AMDEP_FALSE=
  2572 fi
  2576 ac_ext=c
  2577 ac_cpp='$CPP $CPPFLAGS'
  2578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2581 if test -n "$ac_tool_prefix"; then
  2582   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2583 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2584 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2585 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2586 if test "${ac_cv_prog_CC+set}" = set; then
  2587   echo $ECHO_N "(cached) $ECHO_C" >&6
  2588 else
  2589   if test -n "$CC"; then
  2590   ac_cv_prog_CC="$CC" # Let the user override the test.
  2591 else
  2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2593 for as_dir in $PATH
  2594 do
  2595   IFS=$as_save_IFS
  2596   test -z "$as_dir" && as_dir=.
  2597   for ac_exec_ext in '' $ac_executable_extensions; do
  2598   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2599     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2600     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2601     break 2
  2602   fi
  2603 done
  2604 done
  2605 IFS=$as_save_IFS
  2607 fi
  2608 fi
  2609 CC=$ac_cv_prog_CC
  2610 if test -n "$CC"; then
  2611   { echo "$as_me:$LINENO: result: $CC" >&5
  2612 echo "${ECHO_T}$CC" >&6; }
  2613 else
  2614   { echo "$as_me:$LINENO: result: no" >&5
  2615 echo "${ECHO_T}no" >&6; }
  2616 fi
  2619 fi
  2620 if test -z "$ac_cv_prog_CC"; then
  2621   ac_ct_CC=$CC
  2622   # Extract the first word of "gcc", so it can be a program name with args.
  2623 set dummy gcc; ac_word=$2
  2624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2626 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2627   echo $ECHO_N "(cached) $ECHO_C" >&6
  2628 else
  2629   if test -n "$ac_ct_CC"; then
  2630   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2631 else
  2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2633 for as_dir in $PATH
  2634 do
  2635   IFS=$as_save_IFS
  2636   test -z "$as_dir" && as_dir=.
  2637   for ac_exec_ext in '' $ac_executable_extensions; do
  2638   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2639     ac_cv_prog_ac_ct_CC="gcc"
  2640     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2641     break 2
  2642   fi
  2643 done
  2644 done
  2645 IFS=$as_save_IFS
  2647 fi
  2648 fi
  2649 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2650 if test -n "$ac_ct_CC"; then
  2651   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2652 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2653 else
  2654   { echo "$as_me:$LINENO: result: no" >&5
  2655 echo "${ECHO_T}no" >&6; }
  2656 fi
  2658   if test "x$ac_ct_CC" = x; then
  2659     CC=""
  2660   else
  2661     case $cross_compiling:$ac_tool_warned in
  2662 yes:)
  2663 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2664 whose name does not start with the host triplet.  If you think this
  2665 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2666 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2667 whose name does not start with the host triplet.  If you think this
  2668 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2669 ac_tool_warned=yes ;;
  2670 esac
  2671     CC=$ac_ct_CC
  2672   fi
  2673 else
  2674   CC="$ac_cv_prog_CC"
  2675 fi
  2677 if test -z "$CC"; then
  2678           if test -n "$ac_tool_prefix"; then
  2679     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2680 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2683 if test "${ac_cv_prog_CC+set}" = set; then
  2684   echo $ECHO_N "(cached) $ECHO_C" >&6
  2685 else
  2686   if test -n "$CC"; then
  2687   ac_cv_prog_CC="$CC" # Let the user override the test.
  2688 else
  2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2690 for as_dir in $PATH
  2691 do
  2692   IFS=$as_save_IFS
  2693   test -z "$as_dir" && as_dir=.
  2694   for ac_exec_ext in '' $ac_executable_extensions; do
  2695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2696     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2697     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2698     break 2
  2699   fi
  2700 done
  2701 done
  2702 IFS=$as_save_IFS
  2704 fi
  2705 fi
  2706 CC=$ac_cv_prog_CC
  2707 if test -n "$CC"; then
  2708   { echo "$as_me:$LINENO: result: $CC" >&5
  2709 echo "${ECHO_T}$CC" >&6; }
  2710 else
  2711   { echo "$as_me:$LINENO: result: no" >&5
  2712 echo "${ECHO_T}no" >&6; }
  2713 fi
  2716   fi
  2717 fi
  2718 if test -z "$CC"; then
  2719   # Extract the first word of "cc", so it can be a program name with args.
  2720 set dummy cc; ac_word=$2
  2721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2723 if test "${ac_cv_prog_CC+set}" = set; then
  2724   echo $ECHO_N "(cached) $ECHO_C" >&6
  2725 else
  2726   if test -n "$CC"; then
  2727   ac_cv_prog_CC="$CC" # Let the user override the test.
  2728 else
  2729   ac_prog_rejected=no
  2730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2731 for as_dir in $PATH
  2732 do
  2733   IFS=$as_save_IFS
  2734   test -z "$as_dir" && as_dir=.
  2735   for ac_exec_ext in '' $ac_executable_extensions; do
  2736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2737     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2738        ac_prog_rejected=yes
  2739        continue
  2740      fi
  2741     ac_cv_prog_CC="cc"
  2742     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2743     break 2
  2744   fi
  2745 done
  2746 done
  2747 IFS=$as_save_IFS
  2749 if test $ac_prog_rejected = yes; then
  2750   # We found a bogon in the path, so make sure we never use it.
  2751   set dummy $ac_cv_prog_CC
  2752   shift
  2753   if test $# != 0; then
  2754     # We chose a different compiler from the bogus one.
  2755     # However, it has the same basename, so the bogon will be chosen
  2756     # first if we set CC to just the basename; use the full file name.
  2757     shift
  2758     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2759   fi
  2760 fi
  2761 fi
  2762 fi
  2763 CC=$ac_cv_prog_CC
  2764 if test -n "$CC"; then
  2765   { echo "$as_me:$LINENO: result: $CC" >&5
  2766 echo "${ECHO_T}$CC" >&6; }
  2767 else
  2768   { echo "$as_me:$LINENO: result: no" >&5
  2769 echo "${ECHO_T}no" >&6; }
  2770 fi
  2773 fi
  2774 if test -z "$CC"; then
  2775   if test -n "$ac_tool_prefix"; then
  2776   for ac_prog in cl.exe
  2777   do
  2778     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2780 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2782 if test "${ac_cv_prog_CC+set}" = set; then
  2783   echo $ECHO_N "(cached) $ECHO_C" >&6
  2784 else
  2785   if test -n "$CC"; then
  2786   ac_cv_prog_CC="$CC" # Let the user override the test.
  2787 else
  2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2789 for as_dir in $PATH
  2790 do
  2791   IFS=$as_save_IFS
  2792   test -z "$as_dir" && as_dir=.
  2793   for ac_exec_ext in '' $ac_executable_extensions; do
  2794   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2795     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2796     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2797     break 2
  2798   fi
  2799 done
  2800 done
  2801 IFS=$as_save_IFS
  2803 fi
  2804 fi
  2805 CC=$ac_cv_prog_CC
  2806 if test -n "$CC"; then
  2807   { echo "$as_me:$LINENO: result: $CC" >&5
  2808 echo "${ECHO_T}$CC" >&6; }
  2809 else
  2810   { echo "$as_me:$LINENO: result: no" >&5
  2811 echo "${ECHO_T}no" >&6; }
  2812 fi
  2815     test -n "$CC" && break
  2816   done
  2817 fi
  2818 if test -z "$CC"; then
  2819   ac_ct_CC=$CC
  2820   for ac_prog in cl.exe
  2821 do
  2822   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2823 set dummy $ac_prog; ac_word=$2
  2824 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2825 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2826 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2827   echo $ECHO_N "(cached) $ECHO_C" >&6
  2828 else
  2829   if test -n "$ac_ct_CC"; then
  2830   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2831 else
  2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2833 for as_dir in $PATH
  2834 do
  2835   IFS=$as_save_IFS
  2836   test -z "$as_dir" && as_dir=.
  2837   for ac_exec_ext in '' $ac_executable_extensions; do
  2838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2839     ac_cv_prog_ac_ct_CC="$ac_prog"
  2840     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2841     break 2
  2842   fi
  2843 done
  2844 done
  2845 IFS=$as_save_IFS
  2847 fi
  2848 fi
  2849 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2850 if test -n "$ac_ct_CC"; then
  2851   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2852 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2853 else
  2854   { echo "$as_me:$LINENO: result: no" >&5
  2855 echo "${ECHO_T}no" >&6; }
  2856 fi
  2859   test -n "$ac_ct_CC" && break
  2860 done
  2862   if test "x$ac_ct_CC" = x; then
  2863     CC=""
  2864   else
  2865     case $cross_compiling:$ac_tool_warned in
  2866 yes:)
  2867 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2868 whose name does not start with the host triplet.  If you think this
  2869 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2870 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2871 whose name does not start with the host triplet.  If you think this
  2872 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2873 ac_tool_warned=yes ;;
  2874 esac
  2875     CC=$ac_ct_CC
  2876   fi
  2877 fi
  2879 fi
  2882 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2883 See \`config.log' for more details." >&5
  2884 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2885 See \`config.log' for more details." >&2;}
  2886    { (exit 1); exit 1; }; }
  2888 # Provide some information about the compiler.
  2889 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2890 ac_compiler=`set X $ac_compile; echo $2`
  2891 { (ac_try="$ac_compiler --version >&5"
  2892 case "(($ac_try" in
  2893   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2894   *) ac_try_echo=$ac_try;;
  2895 esac
  2896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2897   (eval "$ac_compiler --version >&5") 2>&5
  2898   ac_status=$?
  2899   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2900   (exit $ac_status); }
  2901 { (ac_try="$ac_compiler -v >&5"
  2902 case "(($ac_try" in
  2903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2904   *) ac_try_echo=$ac_try;;
  2905 esac
  2906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2907   (eval "$ac_compiler -v >&5") 2>&5
  2908   ac_status=$?
  2909   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2910   (exit $ac_status); }
  2911 { (ac_try="$ac_compiler -V >&5"
  2912 case "(($ac_try" in
  2913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2914   *) ac_try_echo=$ac_try;;
  2915 esac
  2916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2917   (eval "$ac_compiler -V >&5") 2>&5
  2918   ac_status=$?
  2919   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2920   (exit $ac_status); }
  2922 cat >conftest.$ac_ext <<_ACEOF
  2923 /* confdefs.h.  */
  2924 _ACEOF
  2925 cat confdefs.h >>conftest.$ac_ext
  2926 cat >>conftest.$ac_ext <<_ACEOF
  2927 /* end confdefs.h.  */
  2929 int
  2930 main ()
  2934   return 0;
  2936 _ACEOF
  2937 ac_clean_files_save=$ac_clean_files
  2938 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2939 # Try to create an executable without -o first, disregard a.out.
  2940 # It will help us diagnose broken compilers, and finding out an intuition
  2941 # of exeext.
  2942 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2943 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2944 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2946 # List of possible output files, starting from the most likely.
  2947 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2948 # only as a last resort.  b.out is created by i960 compilers.
  2949 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2951 # The IRIX 6 linker writes into existing files which may not be
  2952 # executable, retaining their permissions.  Remove them first so a
  2953 # subsequent execution test works.
  2954 ac_rmfiles=
  2955 for ac_file in $ac_files
  2956 do
  2957   case $ac_file in
  2958     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2959     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2960   esac
  2961 done
  2962 rm -f $ac_rmfiles
  2964 if { (ac_try="$ac_link_default"
  2965 case "(($ac_try" in
  2966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2967   *) ac_try_echo=$ac_try;;
  2968 esac
  2969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2970   (eval "$ac_link_default") 2>&5
  2971   ac_status=$?
  2972   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2973   (exit $ac_status); }; then
  2974   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2975 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2976 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2977 # so that the user can short-circuit this test for compilers unknown to
  2978 # Autoconf.
  2979 for ac_file in $ac_files ''
  2980 do
  2981   test -f "$ac_file" || continue
  2982   case $ac_file in
  2983     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2984 	;;
  2985     [ab].out )
  2986 	# We found the default executable, but exeext='' is most
  2987 	# certainly right.
  2988 	break;;
  2989     *.* )
  2990         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2991 	then :; else
  2992 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2993 	fi
  2994 	# We set ac_cv_exeext here because the later test for it is not
  2995 	# safe: cross compilers may not add the suffix if given an `-o'
  2996 	# argument, so we may need to know it at that point already.
  2997 	# Even if this section looks crufty: it has the advantage of
  2998 	# actually working.
  2999 	break;;
  3000     * )
  3001 	break;;
  3002   esac
  3003 done
  3004 test "$ac_cv_exeext" = no && ac_cv_exeext=
  3006 else
  3007   ac_file=''
  3008 fi
  3010 { echo "$as_me:$LINENO: result: $ac_file" >&5
  3011 echo "${ECHO_T}$ac_file" >&6; }
  3012 if test -z "$ac_file"; then
  3013   echo "$as_me: failed program was:" >&5
  3014 sed 's/^/| /' conftest.$ac_ext >&5
  3016 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  3017 See \`config.log' for more details." >&5
  3018 echo "$as_me: error: C compiler cannot create executables
  3019 See \`config.log' for more details." >&2;}
  3020    { (exit 77); exit 77; }; }
  3021 fi
  3023 ac_exeext=$ac_cv_exeext
  3025 # Check that the compiler produces executables we can run.  If not, either
  3026 # the compiler is broken, or we cross compile.
  3027 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  3028 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  3029 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  3030 # If not cross compiling, check that we can run a simple program.
  3031 if test "$cross_compiling" != yes; then
  3032   if { ac_try='./$ac_file'
  3033   { (case "(($ac_try" in
  3034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3035   *) ac_try_echo=$ac_try;;
  3036 esac
  3037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3038   (eval "$ac_try") 2>&5
  3039   ac_status=$?
  3040   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3041   (exit $ac_status); }; }; then
  3042     cross_compiling=no
  3043   else
  3044     if test "$cross_compiling" = maybe; then
  3045 	cross_compiling=yes
  3046     else
  3047 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3048 If you meant to cross compile, use \`--host'.
  3049 See \`config.log' for more details." >&5
  3050 echo "$as_me: error: cannot run C compiled programs.
  3051 If you meant to cross compile, use \`--host'.
  3052 See \`config.log' for more details." >&2;}
  3053    { (exit 1); exit 1; }; }
  3054     fi
  3055   fi
  3056 fi
  3057 { echo "$as_me:$LINENO: result: yes" >&5
  3058 echo "${ECHO_T}yes" >&6; }
  3060 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  3061 ac_clean_files=$ac_clean_files_save
  3062 # Check that the compiler produces executables we can run.  If not, either
  3063 # the compiler is broken, or we cross compile.
  3064 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3065 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  3066 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3067 echo "${ECHO_T}$cross_compiling" >&6; }
  3069 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3070 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  3071 if { (ac_try="$ac_link"
  3072 case "(($ac_try" in
  3073   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3074   *) ac_try_echo=$ac_try;;
  3075 esac
  3076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3077   (eval "$ac_link") 2>&5
  3078   ac_status=$?
  3079   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3080   (exit $ac_status); }; then
  3081   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3082 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3083 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3084 # `rm'.
  3085 for ac_file in conftest.exe conftest conftest.*; do
  3086   test -f "$ac_file" || continue
  3087   case $ac_file in
  3088     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  3089     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3090 	  break;;
  3091     * ) break;;
  3092   esac
  3093 done
  3094 else
  3095   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3096 See \`config.log' for more details." >&5
  3097 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3098 See \`config.log' for more details." >&2;}
  3099    { (exit 1); exit 1; }; }
  3100 fi
  3102 rm -f conftest$ac_cv_exeext
  3103 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3104 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  3106 rm -f conftest.$ac_ext
  3107 EXEEXT=$ac_cv_exeext
  3108 ac_exeext=$EXEEXT
  3109 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3110 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  3111 if test "${ac_cv_objext+set}" = set; then
  3112   echo $ECHO_N "(cached) $ECHO_C" >&6
  3113 else
  3114   cat >conftest.$ac_ext <<_ACEOF
  3115 /* confdefs.h.  */
  3116 _ACEOF
  3117 cat confdefs.h >>conftest.$ac_ext
  3118 cat >>conftest.$ac_ext <<_ACEOF
  3119 /* end confdefs.h.  */
  3121 int
  3122 main ()
  3126   return 0;
  3128 _ACEOF
  3129 rm -f conftest.o conftest.obj
  3130 if { (ac_try="$ac_compile"
  3131 case "(($ac_try" in
  3132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3133   *) ac_try_echo=$ac_try;;
  3134 esac
  3135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3136   (eval "$ac_compile") 2>&5
  3137   ac_status=$?
  3138   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3139   (exit $ac_status); }; then
  3140   for ac_file in conftest.o conftest.obj conftest.*; do
  3141   test -f "$ac_file" || continue;
  3142   case $ac_file in
  3143     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  3144     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3145        break;;
  3146   esac
  3147 done
  3148 else
  3149   echo "$as_me: failed program was:" >&5
  3150 sed 's/^/| /' conftest.$ac_ext >&5
  3152 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3153 See \`config.log' for more details." >&5
  3154 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3155 See \`config.log' for more details." >&2;}
  3156    { (exit 1); exit 1; }; }
  3157 fi
  3159 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3160 fi
  3161 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3162 echo "${ECHO_T}$ac_cv_objext" >&6; }
  3163 OBJEXT=$ac_cv_objext
  3164 ac_objext=$OBJEXT
  3165 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3166 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3167 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3168   echo $ECHO_N "(cached) $ECHO_C" >&6
  3169 else
  3170   cat >conftest.$ac_ext <<_ACEOF
  3171 /* confdefs.h.  */
  3172 _ACEOF
  3173 cat confdefs.h >>conftest.$ac_ext
  3174 cat >>conftest.$ac_ext <<_ACEOF
  3175 /* end confdefs.h.  */
  3177 int
  3178 main ()
  3180 #ifndef __GNUC__
  3181        choke me
  3182 #endif
  3185   return 0;
  3187 _ACEOF
  3188 rm -f conftest.$ac_objext
  3189 if { (ac_try="$ac_compile"
  3190 case "(($ac_try" in
  3191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3192   *) ac_try_echo=$ac_try;;
  3193 esac
  3194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3195   (eval "$ac_compile") 2>conftest.er1
  3196   ac_status=$?
  3197   grep -v '^ *+' conftest.er1 >conftest.err
  3198   rm -f conftest.er1
  3199   cat conftest.err >&5
  3200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3201   (exit $ac_status); } && {
  3202 	 test -z "$ac_c_werror_flag" ||
  3203 	 test ! -s conftest.err
  3204        } && test -s conftest.$ac_objext; then
  3205   ac_compiler_gnu=yes
  3206 else
  3207   echo "$as_me: failed program was:" >&5
  3208 sed 's/^/| /' conftest.$ac_ext >&5
  3210 	ac_compiler_gnu=no
  3211 fi
  3213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3214 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3216 fi
  3217 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3218 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3219 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3220 ac_test_CFLAGS=${CFLAGS+set}
  3221 ac_save_CFLAGS=$CFLAGS
  3222 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3223 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3224 if test "${ac_cv_prog_cc_g+set}" = set; then
  3225   echo $ECHO_N "(cached) $ECHO_C" >&6
  3226 else
  3227   ac_save_c_werror_flag=$ac_c_werror_flag
  3228    ac_c_werror_flag=yes
  3229    ac_cv_prog_cc_g=no
  3230    CFLAGS="-g"
  3231    cat >conftest.$ac_ext <<_ACEOF
  3232 /* confdefs.h.  */
  3233 _ACEOF
  3234 cat confdefs.h >>conftest.$ac_ext
  3235 cat >>conftest.$ac_ext <<_ACEOF
  3236 /* end confdefs.h.  */
  3238 int
  3239 main ()
  3243   return 0;
  3245 _ACEOF
  3246 rm -f conftest.$ac_objext
  3247 if { (ac_try="$ac_compile"
  3248 case "(($ac_try" in
  3249   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3250   *) ac_try_echo=$ac_try;;
  3251 esac
  3252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3253   (eval "$ac_compile") 2>conftest.er1
  3254   ac_status=$?
  3255   grep -v '^ *+' conftest.er1 >conftest.err
  3256   rm -f conftest.er1
  3257   cat conftest.err >&5
  3258   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3259   (exit $ac_status); } && {
  3260 	 test -z "$ac_c_werror_flag" ||
  3261 	 test ! -s conftest.err
  3262        } && test -s conftest.$ac_objext; then
  3263   ac_cv_prog_cc_g=yes
  3264 else
  3265   echo "$as_me: failed program was:" >&5
  3266 sed 's/^/| /' conftest.$ac_ext >&5
  3268 	CFLAGS=""
  3269       cat >conftest.$ac_ext <<_ACEOF
  3270 /* confdefs.h.  */
  3271 _ACEOF
  3272 cat confdefs.h >>conftest.$ac_ext
  3273 cat >>conftest.$ac_ext <<_ACEOF
  3274 /* end confdefs.h.  */
  3276 int
  3277 main ()
  3281   return 0;
  3283 _ACEOF
  3284 rm -f conftest.$ac_objext
  3285 if { (ac_try="$ac_compile"
  3286 case "(($ac_try" in
  3287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3288   *) ac_try_echo=$ac_try;;
  3289 esac
  3290 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3291   (eval "$ac_compile") 2>conftest.er1
  3292   ac_status=$?
  3293   grep -v '^ *+' conftest.er1 >conftest.err
  3294   rm -f conftest.er1
  3295   cat conftest.err >&5
  3296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3297   (exit $ac_status); } && {
  3298 	 test -z "$ac_c_werror_flag" ||
  3299 	 test ! -s conftest.err
  3300        } && test -s conftest.$ac_objext; then
  3302 else
  3303   echo "$as_me: failed program was:" >&5
  3304 sed 's/^/| /' conftest.$ac_ext >&5
  3306 	ac_c_werror_flag=$ac_save_c_werror_flag
  3307 	 CFLAGS="-g"
  3308 	 cat >conftest.$ac_ext <<_ACEOF
  3309 /* confdefs.h.  */
  3310 _ACEOF
  3311 cat confdefs.h >>conftest.$ac_ext
  3312 cat >>conftest.$ac_ext <<_ACEOF
  3313 /* end confdefs.h.  */
  3315 int
  3316 main ()
  3320   return 0;
  3322 _ACEOF
  3323 rm -f conftest.$ac_objext
  3324 if { (ac_try="$ac_compile"
  3325 case "(($ac_try" in
  3326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3327   *) ac_try_echo=$ac_try;;
  3328 esac
  3329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3330   (eval "$ac_compile") 2>conftest.er1
  3331   ac_status=$?
  3332   grep -v '^ *+' conftest.er1 >conftest.err
  3333   rm -f conftest.er1
  3334   cat conftest.err >&5
  3335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3336   (exit $ac_status); } && {
  3337 	 test -z "$ac_c_werror_flag" ||
  3338 	 test ! -s conftest.err
  3339        } && test -s conftest.$ac_objext; then
  3340   ac_cv_prog_cc_g=yes
  3341 else
  3342   echo "$as_me: failed program was:" >&5
  3343 sed 's/^/| /' conftest.$ac_ext >&5
  3346 fi
  3348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3349 fi
  3351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3352 fi
  3354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3355    ac_c_werror_flag=$ac_save_c_werror_flag
  3356 fi
  3357 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3358 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3359 if test "$ac_test_CFLAGS" = set; then
  3360   CFLAGS=$ac_save_CFLAGS
  3361 elif test $ac_cv_prog_cc_g = yes; then
  3362   if test "$GCC" = yes; then
  3363     CFLAGS="-g -O2"
  3364   else
  3365     CFLAGS="-g"
  3366   fi
  3367 else
  3368   if test "$GCC" = yes; then
  3369     CFLAGS="-O2"
  3370   else
  3371     CFLAGS=
  3372   fi
  3373 fi
  3374 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3375 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3376 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3377   echo $ECHO_N "(cached) $ECHO_C" >&6
  3378 else
  3379   ac_cv_prog_cc_c89=no
  3380 ac_save_CC=$CC
  3381 cat >conftest.$ac_ext <<_ACEOF
  3382 /* confdefs.h.  */
  3383 _ACEOF
  3384 cat confdefs.h >>conftest.$ac_ext
  3385 cat >>conftest.$ac_ext <<_ACEOF
  3386 /* end confdefs.h.  */
  3387 #include <stdarg.h>
  3388 #include <stdio.h>
  3389 #include <sys/types.h>
  3390 #include <sys/stat.h>
  3391 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3392 struct buf { int x; };
  3393 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3394 static char *e (p, i)
  3395      char **p;
  3396      int i;
  3398   return p[i];
  3400 static char *f (char * (*g) (char **, int), char **p, ...)
  3402   char *s;
  3403   va_list v;
  3404   va_start (v,p);
  3405   s = g (p, va_arg (v,int));
  3406   va_end (v);
  3407   return s;
  3410 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3411    function prototypes and stuff, but not '\xHH' hex character constants.
  3412    These don't provoke an error unfortunately, instead are silently treated
  3413    as 'x'.  The following induces an error, until -std is added to get
  3414    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3415    array size at least.  It's necessary to write '\x00'==0 to get something
  3416    that's true only with -std.  */
  3417 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3419 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3420    inside strings and character constants.  */
  3421 #define FOO(x) 'x'
  3422 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3424 int test (int i, double x);
  3425 struct s1 {int (*f) (int a);};
  3426 struct s2 {int (*f) (double a);};
  3427 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3428 int argc;
  3429 char **argv;
  3430 int
  3431 main ()
  3433 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3435   return 0;
  3437 _ACEOF
  3438 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3439 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3440 do
  3441   CC="$ac_save_CC $ac_arg"
  3442   rm -f conftest.$ac_objext
  3443 if { (ac_try="$ac_compile"
  3444 case "(($ac_try" in
  3445   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3446   *) ac_try_echo=$ac_try;;
  3447 esac
  3448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3449   (eval "$ac_compile") 2>conftest.er1
  3450   ac_status=$?
  3451   grep -v '^ *+' conftest.er1 >conftest.err
  3452   rm -f conftest.er1
  3453   cat conftest.err >&5
  3454   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3455   (exit $ac_status); } && {
  3456 	 test -z "$ac_c_werror_flag" ||
  3457 	 test ! -s conftest.err
  3458        } && test -s conftest.$ac_objext; then
  3459   ac_cv_prog_cc_c89=$ac_arg
  3460 else
  3461   echo "$as_me: failed program was:" >&5
  3462 sed 's/^/| /' conftest.$ac_ext >&5
  3465 fi
  3467 rm -f core conftest.err conftest.$ac_objext
  3468   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3469 done
  3470 rm -f conftest.$ac_ext
  3471 CC=$ac_save_CC
  3473 fi
  3474 # AC_CACHE_VAL
  3475 case "x$ac_cv_prog_cc_c89" in
  3476   x)
  3477     { echo "$as_me:$LINENO: result: none needed" >&5
  3478 echo "${ECHO_T}none needed" >&6; } ;;
  3479   xno)
  3480     { echo "$as_me:$LINENO: result: unsupported" >&5
  3481 echo "${ECHO_T}unsupported" >&6; } ;;
  3482   *)
  3483     CC="$CC $ac_cv_prog_cc_c89"
  3484     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3485 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3486 esac
  3489 ac_ext=c
  3490 ac_cpp='$CPP $CPPFLAGS'
  3491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3495 depcc="$CC"   am_compiler_list=
  3497 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3498 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3499 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3500   echo $ECHO_N "(cached) $ECHO_C" >&6
  3501 else
  3502   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3503   # We make a subdir and do the tests there.  Otherwise we can end up
  3504   # making bogus files that we don't know about and never remove.  For
  3505   # instance it was reported that on HP-UX the gcc test will end up
  3506   # making a dummy file named `D' -- because `-MD' means `put the output
  3507   # in D'.
  3508   mkdir conftest.dir
  3509   # Copy depcomp to subdir because otherwise we won't find it if we're
  3510   # using a relative directory.
  3511   cp "$am_depcomp" conftest.dir
  3512   cd conftest.dir
  3513   # We will build objects and dependencies in a subdirectory because
  3514   # it helps to detect inapplicable dependency modes.  For instance
  3515   # both Tru64's cc and ICC support -MD to output dependencies as a
  3516   # side effect of compilation, but ICC will put the dependencies in
  3517   # the current directory while Tru64 will put them in the object
  3518   # directory.
  3519   mkdir sub
  3521   am_cv_CC_dependencies_compiler_type=none
  3522   if test "$am_compiler_list" = ""; then
  3523      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3524   fi
  3525   for depmode in $am_compiler_list; do
  3526     # Setup a source with many dependencies, because some compilers
  3527     # like to wrap large dependency lists on column 80 (with \), and
  3528     # we should not choose a depcomp mode which is confused by this.
  3530     # We need to recreate these files for each test, as the compiler may
  3531     # overwrite some of them when testing with obscure command lines.
  3532     # This happens at least with the AIX C compiler.
  3533     : > sub/conftest.c
  3534     for i in 1 2 3 4 5 6; do
  3535       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3536       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3537       # Solaris 8's {/usr,}/bin/sh.
  3538       touch sub/conftst$i.h
  3539     done
  3540     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3542     case $depmode in
  3543     nosideeffect)
  3544       # after this tag, mechanisms are not by side-effect, so they'll
  3545       # only be used when explicitly requested
  3546       if test "x$enable_dependency_tracking" = xyes; then
  3547 	continue
  3548       else
  3549 	break
  3550       fi
  3551       ;;
  3552     none) break ;;
  3553     esac
  3554     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3555     # mode.  It turns out that the SunPro C++ compiler does not properly
  3556     # handle `-M -o', and we need to detect this.
  3557     if depmode=$depmode \
  3558        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3559        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3560        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3561          >/dev/null 2>conftest.err &&
  3562        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3563        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3564        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3565       # icc doesn't choke on unknown options, it will just issue warnings
  3566       # or remarks (even with -Werror).  So we grep stderr for any message
  3567       # that says an option was ignored or not supported.
  3568       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3569       #   icc: Command line warning: ignoring option '-M'; no argument required
  3570       # The diagnosis changed in icc 8.0:
  3571       #   icc: Command line remark: option '-MP' not supported
  3572       if (grep 'ignoring option' conftest.err ||
  3573           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3574         am_cv_CC_dependencies_compiler_type=$depmode
  3575         break
  3576       fi
  3577     fi
  3578   done
  3580   cd ..
  3581   rm -rf conftest.dir
  3582 else
  3583   am_cv_CC_dependencies_compiler_type=none
  3584 fi
  3586 fi
  3587 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3588 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3589 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3593 if
  3594   test "x$enable_dependency_tracking" != xno \
  3595   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3596   am__fastdepCC_TRUE=
  3597   am__fastdepCC_FALSE='#'
  3598 else
  3599   am__fastdepCC_TRUE='#'
  3600   am__fastdepCC_FALSE=
  3601 fi
  3606         { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3607 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
  3608 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3609   echo $ECHO_N "(cached) $ECHO_C" >&6
  3610 else
  3611   ac_check_lib_save_LIBS=$LIBS
  3612 LIBS="-lcposix  $LIBS"
  3613 cat >conftest.$ac_ext <<_ACEOF
  3614 /* confdefs.h.  */
  3615 _ACEOF
  3616 cat confdefs.h >>conftest.$ac_ext
  3617 cat >>conftest.$ac_ext <<_ACEOF
  3618 /* end confdefs.h.  */
  3620 /* Override any GCC internal prototype to avoid an error.
  3621    Use char because int might match the return type of a GCC
  3622    builtin and then its argument prototype would still apply.  */
  3623 #ifdef __cplusplus
  3624 extern "C"
  3625 #endif
  3626 char strerror ();
  3627 int
  3628 main ()
  3630 return strerror ();
  3632   return 0;
  3634 _ACEOF
  3635 rm -f conftest.$ac_objext conftest$ac_exeext
  3636 if { (ac_try="$ac_link"
  3637 case "(($ac_try" in
  3638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3639   *) ac_try_echo=$ac_try;;
  3640 esac
  3641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3642   (eval "$ac_link") 2>conftest.er1
  3643   ac_status=$?
  3644   grep -v '^ *+' conftest.er1 >conftest.err
  3645   rm -f conftest.er1
  3646   cat conftest.err >&5
  3647   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3648   (exit $ac_status); } && {
  3649 	 test -z "$ac_c_werror_flag" ||
  3650 	 test ! -s conftest.err
  3651        } && test -s conftest$ac_exeext &&
  3652        $as_test_x conftest$ac_exeext; then
  3653   ac_cv_lib_cposix_strerror=yes
  3654 else
  3655   echo "$as_me: failed program was:" >&5
  3656 sed 's/^/| /' conftest.$ac_ext >&5
  3658 	ac_cv_lib_cposix_strerror=no
  3659 fi
  3661 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3662       conftest$ac_exeext conftest.$ac_ext
  3663 LIBS=$ac_check_lib_save_LIBS
  3664 fi
  3665 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3666 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
  3667 if test $ac_cv_lib_cposix_strerror = yes; then
  3668   LIBS="$LIBS -lcposix"
  3669 fi
  3673 ac_ext=c
  3674 ac_cpp='$CPP $CPPFLAGS'
  3675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3678 if test -n "$ac_tool_prefix"; then
  3679   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3680 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3683 if test "${ac_cv_prog_CC+set}" = set; then
  3684   echo $ECHO_N "(cached) $ECHO_C" >&6
  3685 else
  3686   if test -n "$CC"; then
  3687   ac_cv_prog_CC="$CC" # Let the user override the test.
  3688 else
  3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3690 for as_dir in $PATH
  3691 do
  3692   IFS=$as_save_IFS
  3693   test -z "$as_dir" && as_dir=.
  3694   for ac_exec_ext in '' $ac_executable_extensions; do
  3695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3696     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3697     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3698     break 2
  3699   fi
  3700 done
  3701 done
  3702 IFS=$as_save_IFS
  3704 fi
  3705 fi
  3706 CC=$ac_cv_prog_CC
  3707 if test -n "$CC"; then
  3708   { echo "$as_me:$LINENO: result: $CC" >&5
  3709 echo "${ECHO_T}$CC" >&6; }
  3710 else
  3711   { echo "$as_me:$LINENO: result: no" >&5
  3712 echo "${ECHO_T}no" >&6; }
  3713 fi
  3716 fi
  3717 if test -z "$ac_cv_prog_CC"; then
  3718   ac_ct_CC=$CC
  3719   # Extract the first word of "gcc", so it can be a program name with args.
  3720 set dummy gcc; ac_word=$2
  3721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3723 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3724   echo $ECHO_N "(cached) $ECHO_C" >&6
  3725 else
  3726   if test -n "$ac_ct_CC"; then
  3727   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3728 else
  3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3730 for as_dir in $PATH
  3731 do
  3732   IFS=$as_save_IFS
  3733   test -z "$as_dir" && as_dir=.
  3734   for ac_exec_ext in '' $ac_executable_extensions; do
  3735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3736     ac_cv_prog_ac_ct_CC="gcc"
  3737     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3738     break 2
  3739   fi
  3740 done
  3741 done
  3742 IFS=$as_save_IFS
  3744 fi
  3745 fi
  3746 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3747 if test -n "$ac_ct_CC"; then
  3748   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3749 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3750 else
  3751   { echo "$as_me:$LINENO: result: no" >&5
  3752 echo "${ECHO_T}no" >&6; }
  3753 fi
  3755   if test "x$ac_ct_CC" = x; then
  3756     CC=""
  3757   else
  3758     case $cross_compiling:$ac_tool_warned in
  3759 yes:)
  3760 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3761 whose name does not start with the host triplet.  If you think this
  3762 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3763 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3764 whose name does not start with the host triplet.  If you think this
  3765 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3766 ac_tool_warned=yes ;;
  3767 esac
  3768     CC=$ac_ct_CC
  3769   fi
  3770 else
  3771   CC="$ac_cv_prog_CC"
  3772 fi
  3774 if test -z "$CC"; then
  3775           if test -n "$ac_tool_prefix"; then
  3776     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3777 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3778 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3780 if test "${ac_cv_prog_CC+set}" = set; then
  3781   echo $ECHO_N "(cached) $ECHO_C" >&6
  3782 else
  3783   if test -n "$CC"; then
  3784   ac_cv_prog_CC="$CC" # Let the user override the test.
  3785 else
  3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3787 for as_dir in $PATH
  3788 do
  3789   IFS=$as_save_IFS
  3790   test -z "$as_dir" && as_dir=.
  3791   for ac_exec_ext in '' $ac_executable_extensions; do
  3792   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3793     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3794     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3795     break 2
  3796   fi
  3797 done
  3798 done
  3799 IFS=$as_save_IFS
  3801 fi
  3802 fi
  3803 CC=$ac_cv_prog_CC
  3804 if test -n "$CC"; then
  3805   { echo "$as_me:$LINENO: result: $CC" >&5
  3806 echo "${ECHO_T}$CC" >&6; }
  3807 else
  3808   { echo "$as_me:$LINENO: result: no" >&5
  3809 echo "${ECHO_T}no" >&6; }
  3810 fi
  3813   fi
  3814 fi
  3815 if test -z "$CC"; then
  3816   # Extract the first word of "cc", so it can be a program name with args.
  3817 set dummy cc; ac_word=$2
  3818 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3820 if test "${ac_cv_prog_CC+set}" = set; then
  3821   echo $ECHO_N "(cached) $ECHO_C" >&6
  3822 else
  3823   if test -n "$CC"; then
  3824   ac_cv_prog_CC="$CC" # Let the user override the test.
  3825 else
  3826   ac_prog_rejected=no
  3827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3828 for as_dir in $PATH
  3829 do
  3830   IFS=$as_save_IFS
  3831   test -z "$as_dir" && as_dir=.
  3832   for ac_exec_ext in '' $ac_executable_extensions; do
  3833   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3834     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3835        ac_prog_rejected=yes
  3836        continue
  3837      fi
  3838     ac_cv_prog_CC="cc"
  3839     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3840     break 2
  3841   fi
  3842 done
  3843 done
  3844 IFS=$as_save_IFS
  3846 if test $ac_prog_rejected = yes; then
  3847   # We found a bogon in the path, so make sure we never use it.
  3848   set dummy $ac_cv_prog_CC
  3849   shift
  3850   if test $# != 0; then
  3851     # We chose a different compiler from the bogus one.
  3852     # However, it has the same basename, so the bogon will be chosen
  3853     # first if we set CC to just the basename; use the full file name.
  3854     shift
  3855     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3856   fi
  3857 fi
  3858 fi
  3859 fi
  3860 CC=$ac_cv_prog_CC
  3861 if test -n "$CC"; then
  3862   { echo "$as_me:$LINENO: result: $CC" >&5
  3863 echo "${ECHO_T}$CC" >&6; }
  3864 else
  3865   { echo "$as_me:$LINENO: result: no" >&5
  3866 echo "${ECHO_T}no" >&6; }
  3867 fi
  3870 fi
  3871 if test -z "$CC"; then
  3872   if test -n "$ac_tool_prefix"; then
  3873   for ac_prog in cl.exe
  3874   do
  3875     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3876 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3877 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3879 if test "${ac_cv_prog_CC+set}" = set; then
  3880   echo $ECHO_N "(cached) $ECHO_C" >&6
  3881 else
  3882   if test -n "$CC"; then
  3883   ac_cv_prog_CC="$CC" # Let the user override the test.
  3884 else
  3885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3886 for as_dir in $PATH
  3887 do
  3888   IFS=$as_save_IFS
  3889   test -z "$as_dir" && as_dir=.
  3890   for ac_exec_ext in '' $ac_executable_extensions; do
  3891   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3892     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3893     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3894     break 2
  3895   fi
  3896 done
  3897 done
  3898 IFS=$as_save_IFS
  3900 fi
  3901 fi
  3902 CC=$ac_cv_prog_CC
  3903 if test -n "$CC"; then
  3904   { echo "$as_me:$LINENO: result: $CC" >&5
  3905 echo "${ECHO_T}$CC" >&6; }
  3906 else
  3907   { echo "$as_me:$LINENO: result: no" >&5
  3908 echo "${ECHO_T}no" >&6; }
  3909 fi
  3912     test -n "$CC" && break
  3913   done
  3914 fi
  3915 if test -z "$CC"; then
  3916   ac_ct_CC=$CC
  3917   for ac_prog in cl.exe
  3918 do
  3919   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3920 set dummy $ac_prog; ac_word=$2
  3921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3923 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3924   echo $ECHO_N "(cached) $ECHO_C" >&6
  3925 else
  3926   if test -n "$ac_ct_CC"; then
  3927   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3928 else
  3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3930 for as_dir in $PATH
  3931 do
  3932   IFS=$as_save_IFS
  3933   test -z "$as_dir" && as_dir=.
  3934   for ac_exec_ext in '' $ac_executable_extensions; do
  3935   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3936     ac_cv_prog_ac_ct_CC="$ac_prog"
  3937     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3938     break 2
  3939   fi
  3940 done
  3941 done
  3942 IFS=$as_save_IFS
  3944 fi
  3945 fi
  3946 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3947 if test -n "$ac_ct_CC"; then
  3948   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3949 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3950 else
  3951   { echo "$as_me:$LINENO: result: no" >&5
  3952 echo "${ECHO_T}no" >&6; }
  3953 fi
  3956   test -n "$ac_ct_CC" && break
  3957 done
  3959   if test "x$ac_ct_CC" = x; then
  3960     CC=""
  3961   else
  3962     case $cross_compiling:$ac_tool_warned in
  3963 yes:)
  3964 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3965 whose name does not start with the host triplet.  If you think this
  3966 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3967 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3968 whose name does not start with the host triplet.  If you think this
  3969 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3970 ac_tool_warned=yes ;;
  3971 esac
  3972     CC=$ac_ct_CC
  3973   fi
  3974 fi
  3976 fi
  3979 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3980 See \`config.log' for more details." >&5
  3981 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3982 See \`config.log' for more details." >&2;}
  3983    { (exit 1); exit 1; }; }
  3985 # Provide some information about the compiler.
  3986 echo "$as_me:$LINENO: checking for C compiler version" >&5
  3987 ac_compiler=`set X $ac_compile; echo $2`
  3988 { (ac_try="$ac_compiler --version >&5"
  3989 case "(($ac_try" in
  3990   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3991   *) ac_try_echo=$ac_try;;
  3992 esac
  3993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3994   (eval "$ac_compiler --version >&5") 2>&5
  3995   ac_status=$?
  3996   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3997   (exit $ac_status); }
  3998 { (ac_try="$ac_compiler -v >&5"
  3999 case "(($ac_try" in
  4000   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4001   *) ac_try_echo=$ac_try;;
  4002 esac
  4003 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4004   (eval "$ac_compiler -v >&5") 2>&5
  4005   ac_status=$?
  4006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4007   (exit $ac_status); }
  4008 { (ac_try="$ac_compiler -V >&5"
  4009 case "(($ac_try" in
  4010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4011   *) ac_try_echo=$ac_try;;
  4012 esac
  4013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4014   (eval "$ac_compiler -V >&5") 2>&5
  4015   ac_status=$?
  4016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4017   (exit $ac_status); }
  4019 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4020 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4021 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4022   echo $ECHO_N "(cached) $ECHO_C" >&6
  4023 else
  4024   cat >conftest.$ac_ext <<_ACEOF
  4025 /* confdefs.h.  */
  4026 _ACEOF
  4027 cat confdefs.h >>conftest.$ac_ext
  4028 cat >>conftest.$ac_ext <<_ACEOF
  4029 /* end confdefs.h.  */
  4031 int
  4032 main ()
  4034 #ifndef __GNUC__
  4035        choke me
  4036 #endif
  4039   return 0;
  4041 _ACEOF
  4042 rm -f conftest.$ac_objext
  4043 if { (ac_try="$ac_compile"
  4044 case "(($ac_try" in
  4045   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4046   *) ac_try_echo=$ac_try;;
  4047 esac
  4048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4049   (eval "$ac_compile") 2>conftest.er1
  4050   ac_status=$?
  4051   grep -v '^ *+' conftest.er1 >conftest.err
  4052   rm -f conftest.er1
  4053   cat conftest.err >&5
  4054   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4055   (exit $ac_status); } && {
  4056 	 test -z "$ac_c_werror_flag" ||
  4057 	 test ! -s conftest.err
  4058        } && test -s conftest.$ac_objext; then
  4059   ac_compiler_gnu=yes
  4060 else
  4061   echo "$as_me: failed program was:" >&5
  4062 sed 's/^/| /' conftest.$ac_ext >&5
  4064 	ac_compiler_gnu=no
  4065 fi
  4067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4068 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4070 fi
  4071 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4072 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4073 GCC=`test $ac_compiler_gnu = yes && echo yes`
  4074 ac_test_CFLAGS=${CFLAGS+set}
  4075 ac_save_CFLAGS=$CFLAGS
  4076 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4077 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4078 if test "${ac_cv_prog_cc_g+set}" = set; then
  4079   echo $ECHO_N "(cached) $ECHO_C" >&6
  4080 else
  4081   ac_save_c_werror_flag=$ac_c_werror_flag
  4082    ac_c_werror_flag=yes
  4083    ac_cv_prog_cc_g=no
  4084    CFLAGS="-g"
  4085    cat >conftest.$ac_ext <<_ACEOF
  4086 /* confdefs.h.  */
  4087 _ACEOF
  4088 cat confdefs.h >>conftest.$ac_ext
  4089 cat >>conftest.$ac_ext <<_ACEOF
  4090 /* end confdefs.h.  */
  4092 int
  4093 main ()
  4097   return 0;
  4099 _ACEOF
  4100 rm -f conftest.$ac_objext
  4101 if { (ac_try="$ac_compile"
  4102 case "(($ac_try" in
  4103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4104   *) ac_try_echo=$ac_try;;
  4105 esac
  4106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4107   (eval "$ac_compile") 2>conftest.er1
  4108   ac_status=$?
  4109   grep -v '^ *+' conftest.er1 >conftest.err
  4110   rm -f conftest.er1
  4111   cat conftest.err >&5
  4112   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4113   (exit $ac_status); } && {
  4114 	 test -z "$ac_c_werror_flag" ||
  4115 	 test ! -s conftest.err
  4116        } && test -s conftest.$ac_objext; then
  4117   ac_cv_prog_cc_g=yes
  4118 else
  4119   echo "$as_me: failed program was:" >&5
  4120 sed 's/^/| /' conftest.$ac_ext >&5
  4122 	CFLAGS=""
  4123       cat >conftest.$ac_ext <<_ACEOF
  4124 /* confdefs.h.  */
  4125 _ACEOF
  4126 cat confdefs.h >>conftest.$ac_ext
  4127 cat >>conftest.$ac_ext <<_ACEOF
  4128 /* end confdefs.h.  */
  4130 int
  4131 main ()
  4135   return 0;
  4137 _ACEOF
  4138 rm -f conftest.$ac_objext
  4139 if { (ac_try="$ac_compile"
  4140 case "(($ac_try" in
  4141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4142   *) ac_try_echo=$ac_try;;
  4143 esac
  4144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4145   (eval "$ac_compile") 2>conftest.er1
  4146   ac_status=$?
  4147   grep -v '^ *+' conftest.er1 >conftest.err
  4148   rm -f conftest.er1
  4149   cat conftest.err >&5
  4150   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4151   (exit $ac_status); } && {
  4152 	 test -z "$ac_c_werror_flag" ||
  4153 	 test ! -s conftest.err
  4154        } && test -s conftest.$ac_objext; then
  4156 else
  4157   echo "$as_me: failed program was:" >&5
  4158 sed 's/^/| /' conftest.$ac_ext >&5
  4160 	ac_c_werror_flag=$ac_save_c_werror_flag
  4161 	 CFLAGS="-g"
  4162 	 cat >conftest.$ac_ext <<_ACEOF
  4163 /* confdefs.h.  */
  4164 _ACEOF
  4165 cat confdefs.h >>conftest.$ac_ext
  4166 cat >>conftest.$ac_ext <<_ACEOF
  4167 /* end confdefs.h.  */
  4169 int
  4170 main ()
  4174   return 0;
  4176 _ACEOF
  4177 rm -f conftest.$ac_objext
  4178 if { (ac_try="$ac_compile"
  4179 case "(($ac_try" in
  4180   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4181   *) ac_try_echo=$ac_try;;
  4182 esac
  4183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4184   (eval "$ac_compile") 2>conftest.er1
  4185   ac_status=$?
  4186   grep -v '^ *+' conftest.er1 >conftest.err
  4187   rm -f conftest.er1
  4188   cat conftest.err >&5
  4189   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4190   (exit $ac_status); } && {
  4191 	 test -z "$ac_c_werror_flag" ||
  4192 	 test ! -s conftest.err
  4193        } && test -s conftest.$ac_objext; then
  4194   ac_cv_prog_cc_g=yes
  4195 else
  4196   echo "$as_me: failed program was:" >&5
  4197 sed 's/^/| /' conftest.$ac_ext >&5
  4200 fi
  4202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4203 fi
  4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4206 fi
  4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4209    ac_c_werror_flag=$ac_save_c_werror_flag
  4210 fi
  4211 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4212 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4213 if test "$ac_test_CFLAGS" = set; then
  4214   CFLAGS=$ac_save_CFLAGS
  4215 elif test $ac_cv_prog_cc_g = yes; then
  4216   if test "$GCC" = yes; then
  4217     CFLAGS="-g -O2"
  4218   else
  4219     CFLAGS="-g"
  4220   fi
  4221 else
  4222   if test "$GCC" = yes; then
  4223     CFLAGS="-O2"
  4224   else
  4225     CFLAGS=
  4226   fi
  4227 fi
  4228 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4229 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  4230 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4231   echo $ECHO_N "(cached) $ECHO_C" >&6
  4232 else
  4233   ac_cv_prog_cc_c89=no
  4234 ac_save_CC=$CC
  4235 cat >conftest.$ac_ext <<_ACEOF
  4236 /* confdefs.h.  */
  4237 _ACEOF
  4238 cat confdefs.h >>conftest.$ac_ext
  4239 cat >>conftest.$ac_ext <<_ACEOF
  4240 /* end confdefs.h.  */
  4241 #include <stdarg.h>
  4242 #include <stdio.h>
  4243 #include <sys/types.h>
  4244 #include <sys/stat.h>
  4245 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4246 struct buf { int x; };
  4247 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4248 static char *e (p, i)
  4249      char **p;
  4250      int i;
  4252   return p[i];
  4254 static char *f (char * (*g) (char **, int), char **p, ...)
  4256   char *s;
  4257   va_list v;
  4258   va_start (v,p);
  4259   s = g (p, va_arg (v,int));
  4260   va_end (v);
  4261   return s;
  4264 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4265    function prototypes and stuff, but not '\xHH' hex character constants.
  4266    These don't provoke an error unfortunately, instead are silently treated
  4267    as 'x'.  The following induces an error, until -std is added to get
  4268    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4269    array size at least.  It's necessary to write '\x00'==0 to get something
  4270    that's true only with -std.  */
  4271 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4273 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4274    inside strings and character constants.  */
  4275 #define FOO(x) 'x'
  4276 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4278 int test (int i, double x);
  4279 struct s1 {int (*f) (int a);};
  4280 struct s2 {int (*f) (double a);};
  4281 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4282 int argc;
  4283 char **argv;
  4284 int
  4285 main ()
  4287 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4289   return 0;
  4291 _ACEOF
  4292 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4293 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4294 do
  4295   CC="$ac_save_CC $ac_arg"
  4296   rm -f conftest.$ac_objext
  4297 if { (ac_try="$ac_compile"
  4298 case "(($ac_try" in
  4299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4300   *) ac_try_echo=$ac_try;;
  4301 esac
  4302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4303   (eval "$ac_compile") 2>conftest.er1
  4304   ac_status=$?
  4305   grep -v '^ *+' conftest.er1 >conftest.err
  4306   rm -f conftest.er1
  4307   cat conftest.err >&5
  4308   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4309   (exit $ac_status); } && {
  4310 	 test -z "$ac_c_werror_flag" ||
  4311 	 test ! -s conftest.err
  4312        } && test -s conftest.$ac_objext; then
  4313   ac_cv_prog_cc_c89=$ac_arg
  4314 else
  4315   echo "$as_me: failed program was:" >&5
  4316 sed 's/^/| /' conftest.$ac_ext >&5
  4319 fi
  4321 rm -f core conftest.err conftest.$ac_objext
  4322   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4323 done
  4324 rm -f conftest.$ac_ext
  4325 CC=$ac_save_CC
  4327 fi
  4328 # AC_CACHE_VAL
  4329 case "x$ac_cv_prog_cc_c89" in
  4330   x)
  4331     { echo "$as_me:$LINENO: result: none needed" >&5
  4332 echo "${ECHO_T}none needed" >&6; } ;;
  4333   xno)
  4334     { echo "$as_me:$LINENO: result: unsupported" >&5
  4335 echo "${ECHO_T}unsupported" >&6; } ;;
  4336   *)
  4337     CC="$CC $ac_cv_prog_cc_c89"
  4338     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4339 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4340 esac
  4343 ac_ext=c
  4344 ac_cpp='$CPP $CPPFLAGS'
  4345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4349 depcc="$CC"   am_compiler_list=
  4351 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4352 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4353 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4354   echo $ECHO_N "(cached) $ECHO_C" >&6
  4355 else
  4356   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4357   # We make a subdir and do the tests there.  Otherwise we can end up
  4358   # making bogus files that we don't know about and never remove.  For
  4359   # instance it was reported that on HP-UX the gcc test will end up
  4360   # making a dummy file named `D' -- because `-MD' means `put the output
  4361   # in D'.
  4362   mkdir conftest.dir
  4363   # Copy depcomp to subdir because otherwise we won't find it if we're
  4364   # using a relative directory.
  4365   cp "$am_depcomp" conftest.dir
  4366   cd conftest.dir
  4367   # We will build objects and dependencies in a subdirectory because
  4368   # it helps to detect inapplicable dependency modes.  For instance
  4369   # both Tru64's cc and ICC support -MD to output dependencies as a
  4370   # side effect of compilation, but ICC will put the dependencies in
  4371   # the current directory while Tru64 will put them in the object
  4372   # directory.
  4373   mkdir sub
  4375   am_cv_CC_dependencies_compiler_type=none
  4376   if test "$am_compiler_list" = ""; then
  4377      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4378   fi
  4379   for depmode in $am_compiler_list; do
  4380     # Setup a source with many dependencies, because some compilers
  4381     # like to wrap large dependency lists on column 80 (with \), and
  4382     # we should not choose a depcomp mode which is confused by this.
  4384     # We need to recreate these files for each test, as the compiler may
  4385     # overwrite some of them when testing with obscure command lines.
  4386     # This happens at least with the AIX C compiler.
  4387     : > sub/conftest.c
  4388     for i in 1 2 3 4 5 6; do
  4389       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4390       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4391       # Solaris 8's {/usr,}/bin/sh.
  4392       touch sub/conftst$i.h
  4393     done
  4394     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4396     case $depmode in
  4397     nosideeffect)
  4398       # after this tag, mechanisms are not by side-effect, so they'll
  4399       # only be used when explicitly requested
  4400       if test "x$enable_dependency_tracking" = xyes; then
  4401 	continue
  4402       else
  4403 	break
  4404       fi
  4405       ;;
  4406     none) break ;;
  4407     esac
  4408     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4409     # mode.  It turns out that the SunPro C++ compiler does not properly
  4410     # handle `-M -o', and we need to detect this.
  4411     if depmode=$depmode \
  4412        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4413        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4414        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4415          >/dev/null 2>conftest.err &&
  4416        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4417        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4418        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4419       # icc doesn't choke on unknown options, it will just issue warnings
  4420       # or remarks (even with -Werror).  So we grep stderr for any message
  4421       # that says an option was ignored or not supported.
  4422       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4423       #   icc: Command line warning: ignoring option '-M'; no argument required
  4424       # The diagnosis changed in icc 8.0:
  4425       #   icc: Command line remark: option '-MP' not supported
  4426       if (grep 'ignoring option' conftest.err ||
  4427           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4428         am_cv_CC_dependencies_compiler_type=$depmode
  4429         break
  4430       fi
  4431     fi
  4432   done
  4434   cd ..
  4435   rm -rf conftest.dir
  4436 else
  4437   am_cv_CC_dependencies_compiler_type=none
  4438 fi
  4440 fi
  4441 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4442 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4443 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4447 if
  4448   test "x$enable_dependency_tracking" != xno \
  4449   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4450   am__fastdepCC_TRUE=
  4451   am__fastdepCC_FALSE='#'
  4452 else
  4453   am__fastdepCC_TRUE='#'
  4454   am__fastdepCC_FALSE=
  4455 fi
  4458 ac_ext=c
  4459 ac_cpp='$CPP $CPPFLAGS'
  4460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4463 if test -n "$ac_tool_prefix"; then
  4464   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4465 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4468 if test "${ac_cv_prog_CC+set}" = set; then
  4469   echo $ECHO_N "(cached) $ECHO_C" >&6
  4470 else
  4471   if test -n "$CC"; then
  4472   ac_cv_prog_CC="$CC" # Let the user override the test.
  4473 else
  4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4475 for as_dir in $PATH
  4476 do
  4477   IFS=$as_save_IFS
  4478   test -z "$as_dir" && as_dir=.
  4479   for ac_exec_ext in '' $ac_executable_extensions; do
  4480   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4481     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4482     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4483     break 2
  4484   fi
  4485 done
  4486 done
  4487 IFS=$as_save_IFS
  4489 fi
  4490 fi
  4491 CC=$ac_cv_prog_CC
  4492 if test -n "$CC"; then
  4493   { echo "$as_me:$LINENO: result: $CC" >&5
  4494 echo "${ECHO_T}$CC" >&6; }
  4495 else
  4496   { echo "$as_me:$LINENO: result: no" >&5
  4497 echo "${ECHO_T}no" >&6; }
  4498 fi
  4501 fi
  4502 if test -z "$ac_cv_prog_CC"; then
  4503   ac_ct_CC=$CC
  4504   # Extract the first word of "gcc", so it can be a program name with args.
  4505 set dummy gcc; ac_word=$2
  4506 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4508 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4509   echo $ECHO_N "(cached) $ECHO_C" >&6
  4510 else
  4511   if test -n "$ac_ct_CC"; then
  4512   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4513 else
  4514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4515 for as_dir in $PATH
  4516 do
  4517   IFS=$as_save_IFS
  4518   test -z "$as_dir" && as_dir=.
  4519   for ac_exec_ext in '' $ac_executable_extensions; do
  4520   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4521     ac_cv_prog_ac_ct_CC="gcc"
  4522     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4523     break 2
  4524   fi
  4525 done
  4526 done
  4527 IFS=$as_save_IFS
  4529 fi
  4530 fi
  4531 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4532 if test -n "$ac_ct_CC"; then
  4533   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4534 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4535 else
  4536   { echo "$as_me:$LINENO: result: no" >&5
  4537 echo "${ECHO_T}no" >&6; }
  4538 fi
  4540   if test "x$ac_ct_CC" = x; then
  4541     CC=""
  4542   else
  4543     case $cross_compiling:$ac_tool_warned in
  4544 yes:)
  4545 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4546 whose name does not start with the host triplet.  If you think this
  4547 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4548 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4549 whose name does not start with the host triplet.  If you think this
  4550 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4551 ac_tool_warned=yes ;;
  4552 esac
  4553     CC=$ac_ct_CC
  4554   fi
  4555 else
  4556   CC="$ac_cv_prog_CC"
  4557 fi
  4559 if test -z "$CC"; then
  4560           if test -n "$ac_tool_prefix"; then
  4561     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4562 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4563 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4565 if test "${ac_cv_prog_CC+set}" = set; then
  4566   echo $ECHO_N "(cached) $ECHO_C" >&6
  4567 else
  4568   if test -n "$CC"; then
  4569   ac_cv_prog_CC="$CC" # Let the user override the test.
  4570 else
  4571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4572 for as_dir in $PATH
  4573 do
  4574   IFS=$as_save_IFS
  4575   test -z "$as_dir" && as_dir=.
  4576   for ac_exec_ext in '' $ac_executable_extensions; do
  4577   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4578     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4579     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4580     break 2
  4581   fi
  4582 done
  4583 done
  4584 IFS=$as_save_IFS
  4586 fi
  4587 fi
  4588 CC=$ac_cv_prog_CC
  4589 if test -n "$CC"; then
  4590   { echo "$as_me:$LINENO: result: $CC" >&5
  4591 echo "${ECHO_T}$CC" >&6; }
  4592 else
  4593   { echo "$as_me:$LINENO: result: no" >&5
  4594 echo "${ECHO_T}no" >&6; }
  4595 fi
  4598   fi
  4599 fi
  4600 if test -z "$CC"; then
  4601   # Extract the first word of "cc", so it can be a program name with args.
  4602 set dummy cc; ac_word=$2
  4603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4605 if test "${ac_cv_prog_CC+set}" = set; then
  4606   echo $ECHO_N "(cached) $ECHO_C" >&6
  4607 else
  4608   if test -n "$CC"; then
  4609   ac_cv_prog_CC="$CC" # Let the user override the test.
  4610 else
  4611   ac_prog_rejected=no
  4612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4613 for as_dir in $PATH
  4614 do
  4615   IFS=$as_save_IFS
  4616   test -z "$as_dir" && as_dir=.
  4617   for ac_exec_ext in '' $ac_executable_extensions; do
  4618   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4619     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4620        ac_prog_rejected=yes
  4621        continue
  4622      fi
  4623     ac_cv_prog_CC="cc"
  4624     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4625     break 2
  4626   fi
  4627 done
  4628 done
  4629 IFS=$as_save_IFS
  4631 if test $ac_prog_rejected = yes; then
  4632   # We found a bogon in the path, so make sure we never use it.
  4633   set dummy $ac_cv_prog_CC
  4634   shift
  4635   if test $# != 0; then
  4636     # We chose a different compiler from the bogus one.
  4637     # However, it has the same basename, so the bogon will be chosen
  4638     # first if we set CC to just the basename; use the full file name.
  4639     shift
  4640     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4641   fi
  4642 fi
  4643 fi
  4644 fi
  4645 CC=$ac_cv_prog_CC
  4646 if test -n "$CC"; then
  4647   { echo "$as_me:$LINENO: result: $CC" >&5
  4648 echo "${ECHO_T}$CC" >&6; }
  4649 else
  4650   { echo "$as_me:$LINENO: result: no" >&5
  4651 echo "${ECHO_T}no" >&6; }
  4652 fi
  4655 fi
  4656 if test -z "$CC"; then
  4657   if test -n "$ac_tool_prefix"; then
  4658   for ac_prog in cl.exe
  4659   do
  4660     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4661 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4664 if test "${ac_cv_prog_CC+set}" = set; then
  4665   echo $ECHO_N "(cached) $ECHO_C" >&6
  4666 else
  4667   if test -n "$CC"; then
  4668   ac_cv_prog_CC="$CC" # Let the user override the test.
  4669 else
  4670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4671 for as_dir in $PATH
  4672 do
  4673   IFS=$as_save_IFS
  4674   test -z "$as_dir" && as_dir=.
  4675   for ac_exec_ext in '' $ac_executable_extensions; do
  4676   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4677     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4678     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4679     break 2
  4680   fi
  4681 done
  4682 done
  4683 IFS=$as_save_IFS
  4685 fi
  4686 fi
  4687 CC=$ac_cv_prog_CC
  4688 if test -n "$CC"; then
  4689   { echo "$as_me:$LINENO: result: $CC" >&5
  4690 echo "${ECHO_T}$CC" >&6; }
  4691 else
  4692   { echo "$as_me:$LINENO: result: no" >&5
  4693 echo "${ECHO_T}no" >&6; }
  4694 fi
  4697     test -n "$CC" && break
  4698   done
  4699 fi
  4700 if test -z "$CC"; then
  4701   ac_ct_CC=$CC
  4702   for ac_prog in cl.exe
  4703 do
  4704   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4705 set dummy $ac_prog; ac_word=$2
  4706 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4707 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4708 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4709   echo $ECHO_N "(cached) $ECHO_C" >&6
  4710 else
  4711   if test -n "$ac_ct_CC"; then
  4712   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4713 else
  4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4715 for as_dir in $PATH
  4716 do
  4717   IFS=$as_save_IFS
  4718   test -z "$as_dir" && as_dir=.
  4719   for ac_exec_ext in '' $ac_executable_extensions; do
  4720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4721     ac_cv_prog_ac_ct_CC="$ac_prog"
  4722     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4723     break 2
  4724   fi
  4725 done
  4726 done
  4727 IFS=$as_save_IFS
  4729 fi
  4730 fi
  4731 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4732 if test -n "$ac_ct_CC"; then
  4733   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4734 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4735 else
  4736   { echo "$as_me:$LINENO: result: no" >&5
  4737 echo "${ECHO_T}no" >&6; }
  4738 fi
  4741   test -n "$ac_ct_CC" && break
  4742 done
  4744   if test "x$ac_ct_CC" = x; then
  4745     CC=""
  4746   else
  4747     case $cross_compiling:$ac_tool_warned in
  4748 yes:)
  4749 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4750 whose name does not start with the host triplet.  If you think this
  4751 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4752 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4753 whose name does not start with the host triplet.  If you think this
  4754 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4755 ac_tool_warned=yes ;;
  4756 esac
  4757     CC=$ac_ct_CC
  4758   fi
  4759 fi
  4761 fi
  4764 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4765 See \`config.log' for more details." >&5
  4766 echo "$as_me: error: no acceptable C compiler found in \$PATH
  4767 See \`config.log' for more details." >&2;}
  4768    { (exit 1); exit 1; }; }
  4770 # Provide some information about the compiler.
  4771 echo "$as_me:$LINENO: checking for C compiler version" >&5
  4772 ac_compiler=`set X $ac_compile; echo $2`
  4773 { (ac_try="$ac_compiler --version >&5"
  4774 case "(($ac_try" in
  4775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4776   *) ac_try_echo=$ac_try;;
  4777 esac
  4778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4779   (eval "$ac_compiler --version >&5") 2>&5
  4780   ac_status=$?
  4781   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4782   (exit $ac_status); }
  4783 { (ac_try="$ac_compiler -v >&5"
  4784 case "(($ac_try" in
  4785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4786   *) ac_try_echo=$ac_try;;
  4787 esac
  4788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4789   (eval "$ac_compiler -v >&5") 2>&5
  4790   ac_status=$?
  4791   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4792   (exit $ac_status); }
  4793 { (ac_try="$ac_compiler -V >&5"
  4794 case "(($ac_try" in
  4795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4796   *) ac_try_echo=$ac_try;;
  4797 esac
  4798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4799   (eval "$ac_compiler -V >&5") 2>&5
  4800   ac_status=$?
  4801   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4802   (exit $ac_status); }
  4804 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4805 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4806 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4807   echo $ECHO_N "(cached) $ECHO_C" >&6
  4808 else
  4809   cat >conftest.$ac_ext <<_ACEOF
  4810 /* confdefs.h.  */
  4811 _ACEOF
  4812 cat confdefs.h >>conftest.$ac_ext
  4813 cat >>conftest.$ac_ext <<_ACEOF
  4814 /* end confdefs.h.  */
  4816 int
  4817 main ()
  4819 #ifndef __GNUC__
  4820        choke me
  4821 #endif
  4824   return 0;
  4826 _ACEOF
  4827 rm -f conftest.$ac_objext
  4828 if { (ac_try="$ac_compile"
  4829 case "(($ac_try" in
  4830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4831   *) ac_try_echo=$ac_try;;
  4832 esac
  4833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4834   (eval "$ac_compile") 2>conftest.er1
  4835   ac_status=$?
  4836   grep -v '^ *+' conftest.er1 >conftest.err
  4837   rm -f conftest.er1
  4838   cat conftest.err >&5
  4839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4840   (exit $ac_status); } && {
  4841 	 test -z "$ac_c_werror_flag" ||
  4842 	 test ! -s conftest.err
  4843        } && test -s conftest.$ac_objext; then
  4844   ac_compiler_gnu=yes
  4845 else
  4846   echo "$as_me: failed program was:" >&5
  4847 sed 's/^/| /' conftest.$ac_ext >&5
  4849 	ac_compiler_gnu=no
  4850 fi
  4852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4853 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4855 fi
  4856 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4857 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4858 GCC=`test $ac_compiler_gnu = yes && echo yes`
  4859 ac_test_CFLAGS=${CFLAGS+set}
  4860 ac_save_CFLAGS=$CFLAGS
  4861 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4862 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4863 if test "${ac_cv_prog_cc_g+set}" = set; then
  4864   echo $ECHO_N "(cached) $ECHO_C" >&6
  4865 else
  4866   ac_save_c_werror_flag=$ac_c_werror_flag
  4867    ac_c_werror_flag=yes
  4868    ac_cv_prog_cc_g=no
  4869    CFLAGS="-g"
  4870    cat >conftest.$ac_ext <<_ACEOF
  4871 /* confdefs.h.  */
  4872 _ACEOF
  4873 cat confdefs.h >>conftest.$ac_ext
  4874 cat >>conftest.$ac_ext <<_ACEOF
  4875 /* end confdefs.h.  */
  4877 int
  4878 main ()
  4882   return 0;
  4884 _ACEOF
  4885 rm -f conftest.$ac_objext
  4886 if { (ac_try="$ac_compile"
  4887 case "(($ac_try" in
  4888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4889   *) ac_try_echo=$ac_try;;
  4890 esac
  4891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4892   (eval "$ac_compile") 2>conftest.er1
  4893   ac_status=$?
  4894   grep -v '^ *+' conftest.er1 >conftest.err
  4895   rm -f conftest.er1
  4896   cat conftest.err >&5
  4897   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4898   (exit $ac_status); } && {
  4899 	 test -z "$ac_c_werror_flag" ||
  4900 	 test ! -s conftest.err
  4901        } && test -s conftest.$ac_objext; then
  4902   ac_cv_prog_cc_g=yes
  4903 else
  4904   echo "$as_me: failed program was:" >&5
  4905 sed 's/^/| /' conftest.$ac_ext >&5
  4907 	CFLAGS=""
  4908       cat >conftest.$ac_ext <<_ACEOF
  4909 /* confdefs.h.  */
  4910 _ACEOF
  4911 cat confdefs.h >>conftest.$ac_ext
  4912 cat >>conftest.$ac_ext <<_ACEOF
  4913 /* end confdefs.h.  */
  4915 int
  4916 main ()
  4920   return 0;
  4922 _ACEOF
  4923 rm -f conftest.$ac_objext
  4924 if { (ac_try="$ac_compile"
  4925 case "(($ac_try" in
  4926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4927   *) ac_try_echo=$ac_try;;
  4928 esac
  4929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4930   (eval "$ac_compile") 2>conftest.er1
  4931   ac_status=$?
  4932   grep -v '^ *+' conftest.er1 >conftest.err
  4933   rm -f conftest.er1
  4934   cat conftest.err >&5
  4935   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4936   (exit $ac_status); } && {
  4937 	 test -z "$ac_c_werror_flag" ||
  4938 	 test ! -s conftest.err
  4939        } && test -s conftest.$ac_objext; then
  4941 else
  4942   echo "$as_me: failed program was:" >&5
  4943 sed 's/^/| /' conftest.$ac_ext >&5
  4945 	ac_c_werror_flag=$ac_save_c_werror_flag
  4946 	 CFLAGS="-g"
  4947 	 cat >conftest.$ac_ext <<_ACEOF
  4948 /* confdefs.h.  */
  4949 _ACEOF
  4950 cat confdefs.h >>conftest.$ac_ext
  4951 cat >>conftest.$ac_ext <<_ACEOF
  4952 /* end confdefs.h.  */
  4954 int
  4955 main ()
  4959   return 0;
  4961 _ACEOF
  4962 rm -f conftest.$ac_objext
  4963 if { (ac_try="$ac_compile"
  4964 case "(($ac_try" in
  4965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4966   *) ac_try_echo=$ac_try;;
  4967 esac
  4968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4969   (eval "$ac_compile") 2>conftest.er1
  4970   ac_status=$?
  4971   grep -v '^ *+' conftest.er1 >conftest.err
  4972   rm -f conftest.er1
  4973   cat conftest.err >&5
  4974   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4975   (exit $ac_status); } && {
  4976 	 test -z "$ac_c_werror_flag" ||
  4977 	 test ! -s conftest.err
  4978        } && test -s conftest.$ac_objext; then
  4979   ac_cv_prog_cc_g=yes
  4980 else
  4981   echo "$as_me: failed program was:" >&5
  4982 sed 's/^/| /' conftest.$ac_ext >&5
  4985 fi
  4987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4988 fi
  4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4991 fi
  4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4994    ac_c_werror_flag=$ac_save_c_werror_flag
  4995 fi
  4996 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4997 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4998 if test "$ac_test_CFLAGS" = set; then
  4999   CFLAGS=$ac_save_CFLAGS
  5000 elif test $ac_cv_prog_cc_g = yes; then
  5001   if test "$GCC" = yes; then
  5002     CFLAGS="-g -O2"
  5003   else
  5004     CFLAGS="-g"
  5005   fi
  5006 else
  5007   if test "$GCC" = yes; then
  5008     CFLAGS="-O2"
  5009   else
  5010     CFLAGS=
  5011   fi
  5012 fi
  5013 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  5014 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  5015 if test "${ac_cv_prog_cc_c89+set}" = set; then
  5016   echo $ECHO_N "(cached) $ECHO_C" >&6
  5017 else
  5018   ac_cv_prog_cc_c89=no
  5019 ac_save_CC=$CC
  5020 cat >conftest.$ac_ext <<_ACEOF
  5021 /* confdefs.h.  */
  5022 _ACEOF
  5023 cat confdefs.h >>conftest.$ac_ext
  5024 cat >>conftest.$ac_ext <<_ACEOF
  5025 /* end confdefs.h.  */
  5026 #include <stdarg.h>
  5027 #include <stdio.h>
  5028 #include <sys/types.h>
  5029 #include <sys/stat.h>
  5030 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5031 struct buf { int x; };
  5032 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5033 static char *e (p, i)
  5034      char **p;
  5035      int i;
  5037   return p[i];
  5039 static char *f (char * (*g) (char **, int), char **p, ...)
  5041   char *s;
  5042   va_list v;
  5043   va_start (v,p);
  5044   s = g (p, va_arg (v,int));
  5045   va_end (v);
  5046   return s;
  5049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5050    function prototypes and stuff, but not '\xHH' hex character constants.
  5051    These don't provoke an error unfortunately, instead are silently treated
  5052    as 'x'.  The following induces an error, until -std is added to get
  5053    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5054    array size at least.  It's necessary to write '\x00'==0 to get something
  5055    that's true only with -std.  */
  5056 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5058 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5059    inside strings and character constants.  */
  5060 #define FOO(x) 'x'
  5061 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5063 int test (int i, double x);
  5064 struct s1 {int (*f) (int a);};
  5065 struct s2 {int (*f) (double a);};
  5066 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5067 int argc;
  5068 char **argv;
  5069 int
  5070 main ()
  5072 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5074   return 0;
  5076 _ACEOF
  5077 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5078 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5079 do
  5080   CC="$ac_save_CC $ac_arg"
  5081   rm -f conftest.$ac_objext
  5082 if { (ac_try="$ac_compile"
  5083 case "(($ac_try" in
  5084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5085   *) ac_try_echo=$ac_try;;
  5086 esac
  5087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5088   (eval "$ac_compile") 2>conftest.er1
  5089   ac_status=$?
  5090   grep -v '^ *+' conftest.er1 >conftest.err
  5091   rm -f conftest.er1
  5092   cat conftest.err >&5
  5093   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5094   (exit $ac_status); } && {
  5095 	 test -z "$ac_c_werror_flag" ||
  5096 	 test ! -s conftest.err
  5097        } && test -s conftest.$ac_objext; then
  5098   ac_cv_prog_cc_c89=$ac_arg
  5099 else
  5100   echo "$as_me: failed program was:" >&5
  5101 sed 's/^/| /' conftest.$ac_ext >&5
  5104 fi
  5106 rm -f core conftest.err conftest.$ac_objext
  5107   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5108 done
  5109 rm -f conftest.$ac_ext
  5110 CC=$ac_save_CC
  5112 fi
  5113 # AC_CACHE_VAL
  5114 case "x$ac_cv_prog_cc_c89" in
  5115   x)
  5116     { echo "$as_me:$LINENO: result: none needed" >&5
  5117 echo "${ECHO_T}none needed" >&6; } ;;
  5118   xno)
  5119     { echo "$as_me:$LINENO: result: unsupported" >&5
  5120 echo "${ECHO_T}unsupported" >&6; } ;;
  5121   *)
  5122     CC="$CC $ac_cv_prog_cc_c89"
  5123     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5124 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  5125 esac
  5128 ac_ext=c
  5129 ac_cpp='$CPP $CPPFLAGS'
  5130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5134 depcc="$CC"   am_compiler_list=
  5136 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5137 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  5138 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5139   echo $ECHO_N "(cached) $ECHO_C" >&6
  5140 else
  5141   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5142   # We make a subdir and do the tests there.  Otherwise we can end up
  5143   # making bogus files that we don't know about and never remove.  For
  5144   # instance it was reported that on HP-UX the gcc test will end up
  5145   # making a dummy file named `D' -- because `-MD' means `put the output
  5146   # in D'.
  5147   mkdir conftest.dir
  5148   # Copy depcomp to subdir because otherwise we won't find it if we're
  5149   # using a relative directory.
  5150   cp "$am_depcomp" conftest.dir
  5151   cd conftest.dir
  5152   # We will build objects and dependencies in a subdirectory because
  5153   # it helps to detect inapplicable dependency modes.  For instance
  5154   # both Tru64's cc and ICC support -MD to output dependencies as a
  5155   # side effect of compilation, but ICC will put the dependencies in
  5156   # the current directory while Tru64 will put them in the object
  5157   # directory.
  5158   mkdir sub
  5160   am_cv_CC_dependencies_compiler_type=none
  5161   if test "$am_compiler_list" = ""; then
  5162      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5163   fi
  5164   for depmode in $am_compiler_list; do
  5165     # Setup a source with many dependencies, because some compilers
  5166     # like to wrap large dependency lists on column 80 (with \), and
  5167     # we should not choose a depcomp mode which is confused by this.
  5169     # We need to recreate these files for each test, as the compiler may
  5170     # overwrite some of them when testing with obscure command lines.
  5171     # This happens at least with the AIX C compiler.
  5172     : > sub/conftest.c
  5173     for i in 1 2 3 4 5 6; do
  5174       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5175       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5176       # Solaris 8's {/usr,}/bin/sh.
  5177       touch sub/conftst$i.h
  5178     done
  5179     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5181     case $depmode in
  5182     nosideeffect)
  5183       # after this tag, mechanisms are not by side-effect, so they'll
  5184       # only be used when explicitly requested
  5185       if test "x$enable_dependency_tracking" = xyes; then
  5186 	continue
  5187       else
  5188 	break
  5189       fi
  5190       ;;
  5191     none) break ;;
  5192     esac
  5193     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5194     # mode.  It turns out that the SunPro C++ compiler does not properly
  5195     # handle `-M -o', and we need to detect this.
  5196     if depmode=$depmode \
  5197        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5198        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5199        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5200          >/dev/null 2>conftest.err &&
  5201        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5202        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5203        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5204       # icc doesn't choke on unknown options, it will just issue warnings
  5205       # or remarks (even with -Werror).  So we grep stderr for any message
  5206       # that says an option was ignored or not supported.
  5207       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5208       #   icc: Command line warning: ignoring option '-M'; no argument required
  5209       # The diagnosis changed in icc 8.0:
  5210       #   icc: Command line remark: option '-MP' not supported
  5211       if (grep 'ignoring option' conftest.err ||
  5212           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5213         am_cv_CC_dependencies_compiler_type=$depmode
  5214         break
  5215       fi
  5216     fi
  5217   done
  5219   cd ..
  5220   rm -rf conftest.dir
  5221 else
  5222   am_cv_CC_dependencies_compiler_type=none
  5223 fi
  5225 fi
  5226 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5227 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  5228 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5232 if
  5233   test "x$enable_dependency_tracking" != xno \
  5234   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5235   am__fastdepCC_TRUE=
  5236   am__fastdepCC_FALSE='#'
  5237 else
  5238   am__fastdepCC_TRUE='#'
  5239   am__fastdepCC_FALSE=
  5240 fi
  5244 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5246 ac_ext=c
  5247 ac_cpp='$CPP $CPPFLAGS'
  5248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5251 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5252 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  5253 # On Suns, sometimes $CPP names a directory.
  5254 if test -n "$CPP" && test -d "$CPP"; then
  5255   CPP=
  5256 fi
  5257 if test -z "$CPP"; then
  5258   if test "${ac_cv_prog_CPP+set}" = set; then
  5259   echo $ECHO_N "(cached) $ECHO_C" >&6
  5260 else
  5261       # Double quotes because CPP needs to be expanded
  5262     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5263     do
  5264       ac_preproc_ok=false
  5265 for ac_c_preproc_warn_flag in '' yes
  5266 do
  5267   # Use a header file that comes with gcc, so configuring glibc
  5268   # with a fresh cross-compiler works.
  5269   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5270   # <limits.h> exists even on freestanding compilers.
  5271   # On the NeXT, cc -E runs the code through the compiler's parser,
  5272   # not just through cpp. "Syntax error" is here to catch this case.
  5273   cat >conftest.$ac_ext <<_ACEOF
  5274 /* confdefs.h.  */
  5275 _ACEOF
  5276 cat confdefs.h >>conftest.$ac_ext
  5277 cat >>conftest.$ac_ext <<_ACEOF
  5278 /* end confdefs.h.  */
  5279 #ifdef __STDC__
  5280 # include <limits.h>
  5281 #else
  5282 # include <assert.h>
  5283 #endif
  5284 		     Syntax error
  5285 _ACEOF
  5286 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5287 case "(($ac_try" in
  5288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5289   *) ac_try_echo=$ac_try;;
  5290 esac
  5291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5292   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5293   ac_status=$?
  5294   grep -v '^ *+' conftest.er1 >conftest.err
  5295   rm -f conftest.er1
  5296   cat conftest.err >&5
  5297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5298   (exit $ac_status); } >/dev/null && {
  5299 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5300 	 test ! -s conftest.err
  5301        }; then
  5303 else
  5304   echo "$as_me: failed program was:" >&5
  5305 sed 's/^/| /' conftest.$ac_ext >&5
  5307   # Broken: fails on valid input.
  5308 continue
  5309 fi
  5311 rm -f conftest.err conftest.$ac_ext
  5313   # OK, works on sane cases.  Now check whether nonexistent headers
  5314   # can be detected and how.
  5315   cat >conftest.$ac_ext <<_ACEOF
  5316 /* confdefs.h.  */
  5317 _ACEOF
  5318 cat confdefs.h >>conftest.$ac_ext
  5319 cat >>conftest.$ac_ext <<_ACEOF
  5320 /* end confdefs.h.  */
  5321 #include <ac_nonexistent.h>
  5322 _ACEOF
  5323 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5324 case "(($ac_try" in
  5325   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5326   *) ac_try_echo=$ac_try;;
  5327 esac
  5328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5329   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5330   ac_status=$?
  5331   grep -v '^ *+' conftest.er1 >conftest.err
  5332   rm -f conftest.er1
  5333   cat conftest.err >&5
  5334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5335   (exit $ac_status); } >/dev/null && {
  5336 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5337 	 test ! -s conftest.err
  5338        }; then
  5339   # Broken: success on invalid input.
  5340 continue
  5341 else
  5342   echo "$as_me: failed program was:" >&5
  5343 sed 's/^/| /' conftest.$ac_ext >&5
  5345   # Passes both tests.
  5346 ac_preproc_ok=:
  5347 break
  5348 fi
  5350 rm -f conftest.err conftest.$ac_ext
  5352 done
  5353 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5354 rm -f conftest.err conftest.$ac_ext
  5355 if $ac_preproc_ok; then
  5356   break
  5357 fi
  5359     done
  5360     ac_cv_prog_CPP=$CPP
  5362 fi
  5363   CPP=$ac_cv_prog_CPP
  5364 else
  5365   ac_cv_prog_CPP=$CPP
  5366 fi
  5367 { echo "$as_me:$LINENO: result: $CPP" >&5
  5368 echo "${ECHO_T}$CPP" >&6; }
  5369 ac_preproc_ok=false
  5370 for ac_c_preproc_warn_flag in '' yes
  5371 do
  5372   # Use a header file that comes with gcc, so configuring glibc
  5373   # with a fresh cross-compiler works.
  5374   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5375   # <limits.h> exists even on freestanding compilers.
  5376   # On the NeXT, cc -E runs the code through the compiler's parser,
  5377   # not just through cpp. "Syntax error" is here to catch this case.
  5378   cat >conftest.$ac_ext <<_ACEOF
  5379 /* confdefs.h.  */
  5380 _ACEOF
  5381 cat confdefs.h >>conftest.$ac_ext
  5382 cat >>conftest.$ac_ext <<_ACEOF
  5383 /* end confdefs.h.  */
  5384 #ifdef __STDC__
  5385 # include <limits.h>
  5386 #else
  5387 # include <assert.h>
  5388 #endif
  5389 		     Syntax error
  5390 _ACEOF
  5391 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5392 case "(($ac_try" in
  5393   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5394   *) ac_try_echo=$ac_try;;
  5395 esac
  5396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5397   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5398   ac_status=$?
  5399   grep -v '^ *+' conftest.er1 >conftest.err
  5400   rm -f conftest.er1
  5401   cat conftest.err >&5
  5402   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5403   (exit $ac_status); } >/dev/null && {
  5404 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5405 	 test ! -s conftest.err
  5406        }; then
  5408 else
  5409   echo "$as_me: failed program was:" >&5
  5410 sed 's/^/| /' conftest.$ac_ext >&5
  5412   # Broken: fails on valid input.
  5413 continue
  5414 fi
  5416 rm -f conftest.err conftest.$ac_ext
  5418   # OK, works on sane cases.  Now check whether nonexistent headers
  5419   # can be detected and how.
  5420   cat >conftest.$ac_ext <<_ACEOF
  5421 /* confdefs.h.  */
  5422 _ACEOF
  5423 cat confdefs.h >>conftest.$ac_ext
  5424 cat >>conftest.$ac_ext <<_ACEOF
  5425 /* end confdefs.h.  */
  5426 #include <ac_nonexistent.h>
  5427 _ACEOF
  5428 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5429 case "(($ac_try" in
  5430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5431   *) ac_try_echo=$ac_try;;
  5432 esac
  5433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5434   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5435   ac_status=$?
  5436   grep -v '^ *+' conftest.er1 >conftest.err
  5437   rm -f conftest.er1
  5438   cat conftest.err >&5
  5439   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5440   (exit $ac_status); } >/dev/null && {
  5441 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5442 	 test ! -s conftest.err
  5443        }; then
  5444   # Broken: success on invalid input.
  5445 continue
  5446 else
  5447   echo "$as_me: failed program was:" >&5
  5448 sed 's/^/| /' conftest.$ac_ext >&5
  5450   # Passes both tests.
  5451 ac_preproc_ok=:
  5452 break
  5453 fi
  5455 rm -f conftest.err conftest.$ac_ext
  5457 done
  5458 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5459 rm -f conftest.err conftest.$ac_ext
  5460 if $ac_preproc_ok; then
  5462 else
  5463   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5464 See \`config.log' for more details." >&5
  5465 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5466 See \`config.log' for more details." >&2;}
  5467    { (exit 1); exit 1; }; }
  5468 fi
  5470 ac_ext=c
  5471 ac_cpp='$CPP $CPPFLAGS'
  5472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5477 ac_main_cc="$CC"
  5478 test -n "$build_alias" && ac_build_tool_prefix=$build_alias-
  5480 if test -z "$CC_FOR_BUILD"; then
  5481     if test "$#" = yes; then
  5482   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  5483 See \`config.log' for more details." >&5
  5484 echo "$as_me: error: cannot run test program while cross compiling
  5485 See \`config.log' for more details." >&2;}
  5486    { (exit 1); exit 1; }; }
  5487 else
  5488   cat >conftest.$ac_ext <<_ACEOF
  5489 int main(){return 0;}
  5490 _ACEOF
  5491 rm -f conftest$ac_exeext
  5492 if { (ac_try="$ac_link"
  5493 case "(($ac_try" in
  5494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5495   *) ac_try_echo=$ac_try;;
  5496 esac
  5497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5498   (eval "$ac_link") 2>&5
  5499   ac_status=$?
  5500   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5501   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5502   { (case "(($ac_try" in
  5503   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5504   *) ac_try_echo=$ac_try;;
  5505 esac
  5506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5507   (eval "$ac_try") 2>&5
  5508   ac_status=$?
  5509   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5510   (exit $ac_status); }; }; then
  5511   CC_FOR_BUILD="$CC"
  5512 else
  5513   echo "$as_me: program exited with status $ac_status" >&5
  5514 echo "$as_me: failed program was:" >&5
  5515 sed 's/^/| /' conftest.$ac_ext >&5
  5517 fi
  5518 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5519 fi
  5522 fi
  5525 ac_ext=c
  5526 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  5527 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  5528 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5529 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  5530 if test -n "$ac_build_tool_prefix"; then
  5531   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  5532 set dummy ${ac_build_tool_prefix}gcc; ac_word=$2
  5533 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5535 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5536   echo $ECHO_N "(cached) $ECHO_C" >&6
  5537 else
  5538   if test -n "$CC_FOR_BUILD"; then
  5539   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5540 else
  5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5542 for as_dir in $PATH
  5543 do
  5544   IFS=$as_save_IFS
  5545   test -z "$as_dir" && as_dir=.
  5546   for ac_exec_ext in '' $ac_executable_extensions; do
  5547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5548     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"
  5549     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5550     break 2
  5551   fi
  5552 done
  5553 done
  5554 IFS=$as_save_IFS
  5556 fi
  5557 fi
  5558 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5559 if test -n "$CC_FOR_BUILD"; then
  5560   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5561 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5562 else
  5563   { echo "$as_me:$LINENO: result: no" >&5
  5564 echo "${ECHO_T}no" >&6; }
  5565 fi
  5568 fi
  5569 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
  5570   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
  5571   # Extract the first word of "gcc", so it can be a program name with args.
  5572 set dummy gcc; ac_word=$2
  5573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5575 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
  5576   echo $ECHO_N "(cached) $ECHO_C" >&6
  5577 else
  5578   if test -n "$ac_ct_CC_FOR_BUILD"; then
  5579   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
  5580 else
  5581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5582 for as_dir in $PATH
  5583 do
  5584   IFS=$as_save_IFS
  5585   test -z "$as_dir" && as_dir=.
  5586   for ac_exec_ext in '' $ac_executable_extensions; do
  5587   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5588     ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
  5589     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5590     break 2
  5591   fi
  5592 done
  5593 done
  5594 IFS=$as_save_IFS
  5596 fi
  5597 fi
  5598 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
  5599 if test -n "$ac_ct_CC_FOR_BUILD"; then
  5600   { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
  5601 echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
  5602 else
  5603   { echo "$as_me:$LINENO: result: no" >&5
  5604 echo "${ECHO_T}no" >&6; }
  5605 fi
  5607   if test "x$ac_ct_CC_FOR_BUILD" = x; then
  5608     CC_FOR_BUILD=""
  5609   else
  5610     case $#:$ac_tool_warned in
  5611 yes:)
  5612 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5613 whose name does not start with the build triplet.  If you think this
  5614 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5615 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5616 whose name does not start with the build triplet.  If you think this
  5617 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5618 ac_tool_warned=yes ;;
  5619 esac
  5620     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
  5621   fi
  5622 else
  5623   CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
  5624 fi
  5626 if test -z "$CC_FOR_BUILD"; then
  5627           if test -n "$ac_build_tool_prefix"; then
  5628     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  5629 set dummy ${ac_build_tool_prefix}cc; ac_word=$2
  5630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5632 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5633   echo $ECHO_N "(cached) $ECHO_C" >&6
  5634 else
  5635   if test -n "$CC_FOR_BUILD"; then
  5636   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5637 else
  5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5639 for as_dir in $PATH
  5640 do
  5641   IFS=$as_save_IFS
  5642   test -z "$as_dir" && as_dir=.
  5643   for ac_exec_ext in '' $ac_executable_extensions; do
  5644   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5645     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"
  5646     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5647     break 2
  5648   fi
  5649 done
  5650 done
  5651 IFS=$as_save_IFS
  5653 fi
  5654 fi
  5655 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5656 if test -n "$CC_FOR_BUILD"; then
  5657   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5658 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5659 else
  5660   { echo "$as_me:$LINENO: result: no" >&5
  5661 echo "${ECHO_T}no" >&6; }
  5662 fi
  5665   fi
  5666 fi
  5667 if test -z "$CC_FOR_BUILD"; then
  5668   # Extract the first word of "cc", so it can be a program name with args.
  5669 set dummy cc; ac_word=$2
  5670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5672 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5673   echo $ECHO_N "(cached) $ECHO_C" >&6
  5674 else
  5675   if test -n "$CC_FOR_BUILD"; then
  5676   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5677 else
  5678   ac_prog_rejected=no
  5679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5680 for as_dir in $PATH
  5681 do
  5682   IFS=$as_save_IFS
  5683   test -z "$as_dir" && as_dir=.
  5684   for ac_exec_ext in '' $ac_executable_extensions; do
  5685   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5686     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  5687        ac_prog_rejected=yes
  5688        continue
  5689      fi
  5690     ac_cv_prog_CC_FOR_BUILD="cc"
  5691     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5692     break 2
  5693   fi
  5694 done
  5695 done
  5696 IFS=$as_save_IFS
  5698 if test $ac_prog_rejected = yes; then
  5699   # We found a bogon in the path, so make sure we never use it.
  5700   set dummy $ac_cv_prog_CC_FOR_BUILD
  5701   shift
  5702   if test $# != 0; then
  5703     # We chose a different compiler from the bogus one.
  5704     # However, it has the same basename, so the bogon will be chosen
  5705     # first if we set CC_FOR_BUILD to just the basename; use the full file name.
  5706     shift
  5707     ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
  5708   fi
  5709 fi
  5710 fi
  5711 fi
  5712 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5713 if test -n "$CC_FOR_BUILD"; then
  5714   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5715 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5716 else
  5717   { echo "$as_me:$LINENO: result: no" >&5
  5718 echo "${ECHO_T}no" >&6; }
  5719 fi
  5722 fi
  5723 if test -z "$CC_FOR_BUILD"; then
  5724   if test -n "$ac_build_tool_prefix"; then
  5725   for ac_prog in cl.exe
  5726   do
  5727     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5728 set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2
  5729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5731 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5732   echo $ECHO_N "(cached) $ECHO_C" >&6
  5733 else
  5734   if test -n "$CC_FOR_BUILD"; then
  5735   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5736 else
  5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5738 for as_dir in $PATH
  5739 do
  5740   IFS=$as_save_IFS
  5741   test -z "$as_dir" && as_dir=.
  5742   for ac_exec_ext in '' $ac_executable_extensions; do
  5743   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5744     ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"
  5745     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5746     break 2
  5747   fi
  5748 done
  5749 done
  5750 IFS=$as_save_IFS
  5752 fi
  5753 fi
  5754 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5755 if test -n "$CC_FOR_BUILD"; then
  5756   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5757 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5758 else
  5759   { echo "$as_me:$LINENO: result: no" >&5
  5760 echo "${ECHO_T}no" >&6; }
  5761 fi
  5764     test -n "$CC_FOR_BUILD" && break
  5765   done
  5766 fi
  5767 if test -z "$CC_FOR_BUILD"; then
  5768   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
  5769   for ac_prog in cl.exe
  5770 do
  5771   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5772 set dummy $ac_prog; ac_word=$2
  5773 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5774 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5775 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
  5776   echo $ECHO_N "(cached) $ECHO_C" >&6
  5777 else
  5778   if test -n "$ac_ct_CC_FOR_BUILD"; then
  5779   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
  5780 else
  5781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5782 for as_dir in $PATH
  5783 do
  5784   IFS=$as_save_IFS
  5785   test -z "$as_dir" && as_dir=.
  5786   for ac_exec_ext in '' $ac_executable_extensions; do
  5787   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5788     ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
  5789     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5790     break 2
  5791   fi
  5792 done
  5793 done
  5794 IFS=$as_save_IFS
  5796 fi
  5797 fi
  5798 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
  5799 if test -n "$ac_ct_CC_FOR_BUILD"; then
  5800   { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
  5801 echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
  5802 else
  5803   { echo "$as_me:$LINENO: result: no" >&5
  5804 echo "${ECHO_T}no" >&6; }
  5805 fi
  5808   test -n "$ac_ct_CC_FOR_BUILD" && break
  5809 done
  5811   if test "x$ac_ct_CC_FOR_BUILD" = x; then
  5812     CC_FOR_BUILD=""
  5813   else
  5814     case $#:$ac_tool_warned in
  5815 yes:)
  5816 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5817 whose name does not start with the build triplet.  If you think this
  5818 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5819 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5820 whose name does not start with the build triplet.  If you think this
  5821 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5822 ac_tool_warned=yes ;;
  5823 esac
  5824     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
  5825   fi
  5826 fi
  5828 fi
  5831 test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  5832 See \`config.log' for more details." >&5
  5833 echo "$as_me: error: no acceptable C compiler found in \$PATH
  5834 See \`config.log' for more details." >&2;}
  5835    { (exit 1); exit 1; }; }
  5837 # Provide some information about the compiler.
  5838 echo "$as_me:$LINENO: checking for C compiler version" >&5
  5839 ac_compiler=`set X $ac_build_compile; echo $2`
  5840 { (ac_try="$ac_compiler --version >&5"
  5841 case "(($ac_try" in
  5842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5843   *) ac_try_echo=$ac_try;;
  5844 esac
  5845 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5846   (eval "$ac_compiler --version >&5") 2>&5
  5847   ac_status=$?
  5848   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5849   (exit $ac_status); }
  5850 { (ac_try="$ac_compiler -v >&5"
  5851 case "(($ac_try" in
  5852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5853   *) ac_try_echo=$ac_try;;
  5854 esac
  5855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5856   (eval "$ac_compiler -v >&5") 2>&5
  5857   ac_status=$?
  5858   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5859   (exit $ac_status); }
  5860 { (ac_try="$ac_compiler -V >&5"
  5861 case "(($ac_try" in
  5862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5863   *) ac_try_echo=$ac_try;;
  5864 esac
  5865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5866   (eval "$ac_compiler -V >&5") 2>&5
  5867   ac_status=$?
  5868   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5869   (exit $ac_status); }
  5871 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  5872 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  5873 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  5874   echo $ECHO_N "(cached) $ECHO_C" >&6
  5875 else
  5876   cat >conftest.$ac_ext <<_ACEOF
  5877 /* confdefs.h.  */
  5878 _ACEOF
  5879 cat confdefs.h >>conftest.$ac_ext
  5880 cat >>conftest.$ac_ext <<_ACEOF
  5881 /* end confdefs.h.  */
  5883 int
  5884 main ()
  5886 #ifndef __GNUC__
  5887        choke me
  5888 #endif
  5891   return 0;
  5893 _ACEOF
  5894 rm -f conftest.$ac_build_objext
  5895 if { (ac_try="$ac_build_compile"
  5896 case "(($ac_try" in
  5897   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5898   *) ac_try_echo=$ac_try;;
  5899 esac
  5900 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5901   (eval "$ac_build_compile") 2>conftest.er1
  5902   ac_status=$?
  5903   grep -v '^ *+' conftest.er1 >conftest.err
  5904   rm -f conftest.er1
  5905   cat conftest.err >&5
  5906   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5907   (exit $ac_status); } && {
  5908 	 test -z "$ac_c_werror_flag" ||
  5909 	 test ! -s conftest.err
  5910        } && test -s conftest.$ac_build_objext; then
  5911   ac_build_compiler_gnu=yes
  5912 else
  5913   echo "$as_me: failed program was:" >&5
  5914 sed 's/^/| /' conftest.$ac_ext >&5
  5916 	ac_build_compiler_gnu=no
  5917 fi
  5919 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  5920 ac_cv_c_compiler_gnu=$ac_build_compiler_gnu
  5922 fi
  5923 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  5924 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  5925 GCC=`test $ac_build_compiler_gnu = yes && echo yes`
  5926 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
  5927 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
  5928 { echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&5
  5929 echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }
  5930 if test "${ac_cv_build_prog_cc_g+set}" = set; then
  5931   echo $ECHO_N "(cached) $ECHO_C" >&6
  5932 else
  5933   ac_save_c_werror_flag=$ac_c_werror_flag
  5934    ac_c_werror_flag=yes
  5935    ac_cv_build_prog_cc_g=no
  5936    CFLAGS_FOR_BUILD="-g"
  5937    cat >conftest.$ac_ext <<_ACEOF
  5938 /* confdefs.h.  */
  5939 _ACEOF
  5940 cat confdefs.h >>conftest.$ac_ext
  5941 cat >>conftest.$ac_ext <<_ACEOF
  5942 /* end confdefs.h.  */
  5944 int
  5945 main ()
  5949   return 0;
  5951 _ACEOF
  5952 rm -f conftest.$ac_build_objext
  5953 if { (ac_try="$ac_build_compile"
  5954 case "(($ac_try" in
  5955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5956   *) ac_try_echo=$ac_try;;
  5957 esac
  5958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5959   (eval "$ac_build_compile") 2>conftest.er1
  5960   ac_status=$?
  5961   grep -v '^ *+' conftest.er1 >conftest.err
  5962   rm -f conftest.er1
  5963   cat conftest.err >&5
  5964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5965   (exit $ac_status); } && {
  5966 	 test -z "$ac_c_werror_flag" ||
  5967 	 test ! -s conftest.err
  5968        } && test -s conftest.$ac_build_objext; then
  5969   ac_cv_build_prog_cc_g=yes
  5970 else
  5971   echo "$as_me: failed program was:" >&5
  5972 sed 's/^/| /' conftest.$ac_ext >&5
  5974 	CFLAGS_FOR_BUILD=""
  5975       cat >conftest.$ac_ext <<_ACEOF
  5976 /* confdefs.h.  */
  5977 _ACEOF
  5978 cat confdefs.h >>conftest.$ac_ext
  5979 cat >>conftest.$ac_ext <<_ACEOF
  5980 /* end confdefs.h.  */
  5982 int
  5983 main ()
  5987   return 0;
  5989 _ACEOF
  5990 rm -f conftest.$ac_build_objext
  5991 if { (ac_try="$ac_build_compile"
  5992 case "(($ac_try" in
  5993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5994   *) ac_try_echo=$ac_try;;
  5995 esac
  5996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5997   (eval "$ac_build_compile") 2>conftest.er1
  5998   ac_status=$?
  5999   grep -v '^ *+' conftest.er1 >conftest.err
  6000   rm -f conftest.er1
  6001   cat conftest.err >&5
  6002   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6003   (exit $ac_status); } && {
  6004 	 test -z "$ac_c_werror_flag" ||
  6005 	 test ! -s conftest.err
  6006        } && test -s conftest.$ac_build_objext; then
  6008 else
  6009   echo "$as_me: failed program was:" >&5
  6010 sed 's/^/| /' conftest.$ac_ext >&5
  6012 	ac_c_werror_flag=$ac_save_c_werror_flag
  6013 	 CFLAGS_FOR_BUILD="-g"
  6014 	 cat >conftest.$ac_ext <<_ACEOF
  6015 /* confdefs.h.  */
  6016 _ACEOF
  6017 cat confdefs.h >>conftest.$ac_ext
  6018 cat >>conftest.$ac_ext <<_ACEOF
  6019 /* end confdefs.h.  */
  6021 int
  6022 main ()
  6026   return 0;
  6028 _ACEOF
  6029 rm -f conftest.$ac_build_objext
  6030 if { (ac_try="$ac_build_compile"
  6031 case "(($ac_try" in
  6032   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6033   *) ac_try_echo=$ac_try;;
  6034 esac
  6035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6036   (eval "$ac_build_compile") 2>conftest.er1
  6037   ac_status=$?
  6038   grep -v '^ *+' conftest.er1 >conftest.err
  6039   rm -f conftest.er1
  6040   cat conftest.err >&5
  6041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6042   (exit $ac_status); } && {
  6043 	 test -z "$ac_c_werror_flag" ||
  6044 	 test ! -s conftest.err
  6045        } && test -s conftest.$ac_build_objext; then
  6046   ac_cv_build_prog_cc_g=yes
  6047 else
  6048   echo "$as_me: failed program was:" >&5
  6049 sed 's/^/| /' conftest.$ac_ext >&5
  6052 fi
  6054 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6055 fi
  6057 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6058 fi
  6060 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6061    ac_c_werror_flag=$ac_save_c_werror_flag
  6062 fi
  6063 { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&5
  6064 echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }
  6065 if test "$ac_test_CFLAGS" = set; then
  6066   CFLAGS_FOR_BUILD=$ac_save_CFLAGS
  6067 elif test $ac_cv_build_prog_cc_g = yes; then
  6068   if test "$GCC" = yes; then
  6069     CFLAGS_FOR_BUILD="-g -O2"
  6070   else
  6071     CFLAGS_FOR_BUILD="-g"
  6072   fi
  6073 else
  6074   if test "$GCC" = yes; then
  6075     CFLAGS_FOR_BUILD="-O2"
  6076   else
  6077     CFLAGS_FOR_BUILD=
  6078   fi
  6079 fi
  6080 { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
  6081 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
  6082 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6083   echo $ECHO_N "(cached) $ECHO_C" >&6
  6084 else
  6085   ac_cv_build_prog_cc_stdc=no
  6086 ac_save_CC=$CC_FOR_BUILD
  6087 cat >conftest.$ac_ext <<_ACEOF
  6088 /* confdefs.h.  */
  6089 _ACEOF
  6090 cat confdefs.h >>conftest.$ac_ext
  6091 cat >>conftest.$ac_ext <<_ACEOF
  6092 /* end confdefs.h.  */
  6093 #include <stdarg.h>
  6094 #include <stdio.h>
  6095 #include <sys/types.h>
  6096 #include <sys/stat.h>
  6097 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  6098 struct buf { int x; };
  6099 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  6100 static char *e (p, i)
  6101      char **p;
  6102      int i;
  6104   return p[i];
  6106 static char *f (char * (*g) (char **, int), char **p, ...)
  6108   char *s;
  6109   va_list v;
  6110   va_start (v,p);
  6111   s = g (p, va_arg (v,int));
  6112   va_end (v);
  6113   return s;
  6116 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  6117    function prototypes and stuff, but not '\xHH' hex character constants.
  6118    These don't provoke an error unfortunately, instead are silently treated
  6119    as 'x'.  The following induces an error, until -std is added to get
  6120    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  6121    array size at least.  It's necessary to write '\x00'==0 to get something
  6122    that's true only with -std.  */
  6123 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  6125 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  6126    inside strings and character constants.  */
  6127 #define FOO(x) 'x'
  6128 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  6130 int test (int i, double x);
  6131 struct s1 {int (*f) (int a);};
  6132 struct s2 {int (*f) (double a);};
  6133 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  6134 int argc;
  6135 char **argv;
  6136 int
  6137 main ()
  6139 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  6141   return 0;
  6143 _ACEOF
  6144 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  6145 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  6146 do
  6147   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6148   rm -f conftest.$ac_build_objext
  6149 if { (ac_try="$ac_build_compile"
  6150 case "(($ac_try" in
  6151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6152   *) ac_try_echo=$ac_try;;
  6153 esac
  6154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6155   (eval "$ac_build_compile") 2>conftest.er1
  6156   ac_status=$?
  6157   grep -v '^ *+' conftest.er1 >conftest.err
  6158   rm -f conftest.er1
  6159   cat conftest.err >&5
  6160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6161   (exit $ac_status); } && {
  6162 	 test -z "$ac_c_werror_flag" ||
  6163 	 test ! -s conftest.err
  6164        } && test -s conftest.$ac_build_objext; then
  6165   ac_cv_build_prog_cc_stdc=$ac_arg
  6166 else
  6167   echo "$as_me: failed program was:" >&5
  6168 sed 's/^/| /' conftest.$ac_ext >&5
  6171 fi
  6173 rm -f core conftest.err conftest.$ac_build_objext
  6174   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6175 done
  6176 rm -f conftest.$ac_ext
  6177 CC_FOR_BUILD=$ac_save_CC
  6179 fi
  6180 # AC_CACHE_VAL
  6181 case "x$ac_cv_build_prog_cc_stdc" in
  6182   x)
  6183     { echo "$as_me:$LINENO: result: none needed" >&5
  6184 echo "${ECHO_T}none needed" >&6; } ;;
  6185   xno)
  6186     { echo "$as_me:$LINENO: result: unsupported" >&5
  6187 echo "${ECHO_T}unsupported" >&6; } ;;
  6188   *)
  6189     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6190     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6191 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6192 esac
  6195 ac_ext=c
  6196 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  6197 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  6198 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6199 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  6201 depcc="$CC_FOR_BUILD"   am_compiler_list=
  6203 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  6204 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  6205 if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then
  6206   echo $ECHO_N "(cached) $ECHO_C" >&6
  6207 else
  6208   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  6209   # We make a subdir and do the tests there.  Otherwise we can end up
  6210   # making bogus files that we don't know about and never remove.  For
  6211   # instance it was reported that on HP-UX the gcc test will end up
  6212   # making a dummy file named `D' -- because `-MD' means `put the output
  6213   # in D'.
  6214   mkdir conftest.dir
  6215   # Copy depcomp to subdir because otherwise we won't find it if we're
  6216   # using a relative directory.
  6217   cp "$am_depcomp" conftest.dir
  6218   cd conftest.dir
  6219   # We will build objects and dependencies in a subdirectory because
  6220   # it helps to detect inapplicable dependency modes.  For instance
  6221   # both Tru64's cc and ICC support -MD to output dependencies as a
  6222   # side effect of compilation, but ICC will put the dependencies in
  6223   # the current directory while Tru64 will put them in the object
  6224   # directory.
  6225   mkdir sub
  6227   am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
  6228   if test "$am_compiler_list" = ""; then
  6229      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  6230   fi
  6231   for depmode in $am_compiler_list; do
  6232     # Setup a source with many dependencies, because some compilers
  6233     # like to wrap large dependency lists on column 80 (with \), and
  6234     # we should not choose a depcomp mode which is confused by this.
  6236     # We need to recreate these files for each test, as the compiler may
  6237     # overwrite some of them when testing with obscure command lines.
  6238     # This happens at least with the AIX C compiler.
  6239     : > sub/conftest.c
  6240     for i in 1 2 3 4 5 6; do
  6241       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  6242       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  6243       # Solaris 8's {/usr,}/bin/sh.
  6244       touch sub/conftst$i.h
  6245     done
  6246     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  6248     case $depmode in
  6249     nosideeffect)
  6250       # after this tag, mechanisms are not by side-effect, so they'll
  6251       # only be used when explicitly requested
  6252       if test "x$enable_dependency_tracking" = xyes; then
  6253 	continue
  6254       else
  6255 	break
  6256       fi
  6257       ;;
  6258     none) break ;;
  6259     esac
  6260     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  6261     # mode.  It turns out that the SunPro C++ compiler does not properly
  6262     # handle `-M -o', and we need to detect this.
  6263     if depmode=$depmode \
  6264        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  6265        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  6266        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  6267          >/dev/null 2>conftest.err &&
  6268        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  6269        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  6270        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  6271       # icc doesn't choke on unknown options, it will just issue warnings
  6272       # or remarks (even with -Werror).  So we grep stderr for any message
  6273       # that says an option was ignored or not supported.
  6274       # When given -MP, icc 7.0 and 7.1 complain thusly:
  6275       #   icc: Command line warning: ignoring option '-M'; no argument required
  6276       # The diagnosis changed in icc 8.0:
  6277       #   icc: Command line remark: option '-MP' not supported
  6278       if (grep 'ignoring option' conftest.err ||
  6279           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  6280         am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode
  6281         break
  6282       fi
  6283     fi
  6284   done
  6286   cd ..
  6287   rm -rf conftest.dir
  6288 else
  6289   am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
  6290 fi
  6292 fi
  6293 { echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&5
  6294 echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }
  6295 CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type
  6299 if
  6300   test "x$enable_dependency_tracking" != xno \
  6301   && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then
  6302   am__fastdepCC_FOR_BUILD_TRUE=
  6303   am__fastdepCC_FOR_BUILD_FALSE='#'
  6304 else
  6305   am__fastdepCC_FOR_BUILD_TRUE='#'
  6306   am__fastdepCC_FOR_BUILD_FALSE=
  6307 fi
  6310    case $ac_cv_build_prog_cc_stdc in
  6311   no) ac_cv_build_prog_cc_stdc=no; ac_cv_build_prog_cc_stdc=no ;;
  6312   *) { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C99" >&5
  6313 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C99... $ECHO_C" >&6; }
  6314 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6315   echo $ECHO_N "(cached) $ECHO_C" >&6
  6316 else
  6317   ac_cv_build_prog_cc_stdc=no
  6318 ac_save_CC=$CC_FOR_BUILD
  6319 cat >conftest.$ac_ext <<_ACEOF
  6320 /* confdefs.h.  */
  6321 _ACEOF
  6322 cat confdefs.h >>conftest.$ac_ext
  6323 cat >>conftest.$ac_ext <<_ACEOF
  6324 /* end confdefs.h.  */
  6325 #include <stdarg.h>
  6326 #include <stdbool.h>
  6327 #include <stdlib.h>
  6328 #include <wchar.h>
  6329 #include <stdio.h>
  6331 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
  6332 #define debug(...) fprintf (stderr, __VA_ARGS__)
  6333 #define showlist(...) puts (#__VA_ARGS__)
  6334 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  6335 static void
  6336 test_varargs_macros (void)
  6338   int x = 1234;
  6339   int y = 5678;
  6340   debug ("Flag");
  6341   debug ("X = %d\n", x);
  6342   showlist (The first, second, and third items.);
  6343   report (x>y, "x is %d but y is %d", x, y);
  6346 // Check long long types.
  6347 #define BIG64 18446744073709551615ull
  6348 #define BIG32 4294967295ul
  6349 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  6350 #if !BIG_OK
  6351   your preprocessor is broken;
  6352 #endif
  6353 #if BIG_OK
  6354 #else
  6355   your preprocessor is broken;
  6356 #endif
  6357 static long long int bignum = -9223372036854775807LL;
  6358 static unsigned long long int ubignum = BIG64;
  6360 struct incomplete_array
  6362   int datasize;
  6363   double data[];
  6364 };
  6366 struct named_init {
  6367   int number;
  6368   const wchar_t *name;
  6369   double average;
  6370 };
  6372 typedef const char *ccp;
  6374 static inline int
  6375 test_restrict (ccp restrict text)
  6377   // See if C++-style comments work.
  6378   // Iterate through items via the restricted pointer.
  6379   // Also check for declarations in for loops.
  6380   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  6381     continue;
  6382   return 0;
  6385 // Check varargs and va_copy.
  6386 static void
  6387 test_varargs (const char *format, ...)
  6389   va_list args;
  6390   va_start (args, format);
  6391   va_list args_copy;
  6392   va_copy (args_copy, args);
  6394   const char *str;
  6395   int number;
  6396   float fnumber;
  6398   while (*format)
  6400       switch (*format++)
  6402 	case 's': // string
  6403 	  str = va_arg (args_copy, const char *);
  6404 	  break;
  6405 	case 'd': // int
  6406 	  number = va_arg (args_copy, int);
  6407 	  break;
  6408 	case 'f': // float
  6409 	  fnumber = va_arg (args_copy, double);
  6410 	  break;
  6411 	default:
  6412 	  break;
  6415   va_end (args_copy);
  6416   va_end (args);
  6419 int
  6420 main ()
  6423   // Check bool.
  6424   _Bool success = false;
  6426   // Check restrict.
  6427   if (test_restrict ("String literal") == 0)
  6428     success = true;
  6429   char *restrict newvar = "Another string";
  6431   // Check varargs.
  6432   test_varargs ("s, d' f .", "string", 65, 34.234);
  6433   test_varargs_macros ();
  6435   // Check flexible array members.
  6436   struct incomplete_array *ia =
  6437     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  6438   ia->datasize = 10;
  6439   for (int i = 0; i < ia->datasize; ++i)
  6440     ia->data[i] = i * 1.234;
  6442   // Check named initializers.
  6443   struct named_init ni = {
  6444     .number = 34,
  6445     .name = L"Test wide string",
  6446     .average = 543.34343,
  6447   };
  6449   ni.number = 58;
  6451   int dynamic_array[ni.number];
  6452   dynamic_array[ni.number - 1] = 543;
  6454   // work around unused variable warnings
  6455   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  6456 	  || dynamic_array[ni.number - 1] != 543);
  6459   return 0;
  6461 _ACEOF
  6462 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
  6463 do
  6464   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6465   rm -f conftest.$ac_build_objext
  6466 if { (ac_try="$ac_build_compile"
  6467 case "(($ac_try" in
  6468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6469   *) ac_try_echo=$ac_try;;
  6470 esac
  6471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6472   (eval "$ac_build_compile") 2>conftest.er1
  6473   ac_status=$?
  6474   grep -v '^ *+' conftest.er1 >conftest.err
  6475   rm -f conftest.er1
  6476   cat conftest.err >&5
  6477   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6478   (exit $ac_status); } && {
  6479 	 test -z "$ac_c_werror_flag" ||
  6480 	 test ! -s conftest.err
  6481        } && test -s conftest.$ac_build_objext; then
  6482   ac_cv_build_prog_cc_stdc=$ac_arg
  6483 else
  6484   echo "$as_me: failed program was:" >&5
  6485 sed 's/^/| /' conftest.$ac_ext >&5
  6488 fi
  6490 rm -f core conftest.err conftest.$ac_build_objext
  6491   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6492 done
  6493 rm -f conftest.$ac_ext
  6494 CC_FOR_BUILD=$ac_save_CC
  6496 fi
  6497 # AC_CACHE_VAL
  6498 case "x$ac_cv_build_prog_cc_stdc" in
  6499   x)
  6500     { echo "$as_me:$LINENO: result: none needed" >&5
  6501 echo "${ECHO_T}none needed" >&6; } ;;
  6502   xno)
  6503     { echo "$as_me:$LINENO: result: unsupported" >&5
  6504 echo "${ECHO_T}unsupported" >&6; } ;;
  6505   *)
  6506     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6507     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6508 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6509 esac
  6510 if test "x$ac_cv_build_prog_cc_stdc" != xno; then
  6511   ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
  6512 else
  6513   { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
  6514 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
  6515 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6516   echo $ECHO_N "(cached) $ECHO_C" >&6
  6517 else
  6518   ac_cv_build_prog_cc_stdc=no
  6519 ac_save_CC=$CC_FOR_BUILD
  6520 cat >conftest.$ac_ext <<_ACEOF
  6521 /* confdefs.h.  */
  6522 _ACEOF
  6523 cat confdefs.h >>conftest.$ac_ext
  6524 cat >>conftest.$ac_ext <<_ACEOF
  6525 /* end confdefs.h.  */
  6526 #include <stdarg.h>
  6527 #include <stdio.h>
  6528 #include <sys/types.h>
  6529 #include <sys/stat.h>
  6530 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  6531 struct buf { int x; };
  6532 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  6533 static char *e (p, i)
  6534      char **p;
  6535      int i;
  6537   return p[i];
  6539 static char *f (char * (*g) (char **, int), char **p, ...)
  6541   char *s;
  6542   va_list v;
  6543   va_start (v,p);
  6544   s = g (p, va_arg (v,int));
  6545   va_end (v);
  6546   return s;
  6549 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  6550    function prototypes and stuff, but not '\xHH' hex character constants.
  6551    These don't provoke an error unfortunately, instead are silently treated
  6552    as 'x'.  The following induces an error, until -std is added to get
  6553    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  6554    array size at least.  It's necessary to write '\x00'==0 to get something
  6555    that's true only with -std.  */
  6556 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  6558 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  6559    inside strings and character constants.  */
  6560 #define FOO(x) 'x'
  6561 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  6563 int test (int i, double x);
  6564 struct s1 {int (*f) (int a);};
  6565 struct s2 {int (*f) (double a);};
  6566 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  6567 int argc;
  6568 char **argv;
  6569 int
  6570 main ()
  6572 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  6574   return 0;
  6576 _ACEOF
  6577 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  6578 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  6579 do
  6580   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6581   rm -f conftest.$ac_build_objext
  6582 if { (ac_try="$ac_build_compile"
  6583 case "(($ac_try" in
  6584   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6585   *) ac_try_echo=$ac_try;;
  6586 esac
  6587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6588   (eval "$ac_build_compile") 2>conftest.er1
  6589   ac_status=$?
  6590   grep -v '^ *+' conftest.er1 >conftest.err
  6591   rm -f conftest.er1
  6592   cat conftest.err >&5
  6593   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6594   (exit $ac_status); } && {
  6595 	 test -z "$ac_c_werror_flag" ||
  6596 	 test ! -s conftest.err
  6597        } && test -s conftest.$ac_build_objext; then
  6598   ac_cv_build_prog_cc_stdc=$ac_arg
  6599 else
  6600   echo "$as_me: failed program was:" >&5
  6601 sed 's/^/| /' conftest.$ac_ext >&5
  6604 fi
  6606 rm -f core conftest.err conftest.$ac_build_objext
  6607   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6608 done
  6609 rm -f conftest.$ac_ext
  6610 CC_FOR_BUILD=$ac_save_CC
  6612 fi
  6613 # AC_CACHE_VAL
  6614 case "x$ac_cv_build_prog_cc_stdc" in
  6615   x)
  6616     { echo "$as_me:$LINENO: result: none needed" >&5
  6617 echo "${ECHO_T}none needed" >&6; } ;;
  6618   xno)
  6619     { echo "$as_me:$LINENO: result: unsupported" >&5
  6620 echo "${ECHO_T}unsupported" >&6; } ;;
  6621   *)
  6622     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6623     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6624 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6625 esac
  6626 if test "x$ac_cv_build_prog_cc_stdc" != xno; then
  6627   ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
  6628 else
  6629   ac_cv_build_prog_cc_stdc=no
  6630 fi
  6633 fi
  6635  ;;
  6636 esac
  6637   { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&5
  6638 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO Standard C... $ECHO_C" >&6; }
  6639   if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6640   echo $ECHO_N "(cached) $ECHO_C" >&6
  6641 fi
  6643   case $ac_cv_build_prog_cc_stdc in
  6644   no) { echo "$as_me:$LINENO: result: unsupported" >&5
  6645 echo "${ECHO_T}unsupported" >&6; } ;;
  6646   '') { echo "$as_me:$LINENO: result: none needed" >&5
  6647 echo "${ECHO_T}none needed" >&6; } ;;
  6648   *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6649 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6650 esac
  6653 ac_ext=c
  6654 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  6655 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  6656 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6657 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  6658 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  6659 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  6660 # On Suns, sometimes $CPP names a directory.
  6661 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
  6662   CPP_FOR_BUILD=
  6663 fi
  6664 if test -z "$CPP_FOR_BUILD"; then
  6665   if test "${ac_cv_build_prog_CPP+set}" = set; then
  6666   echo $ECHO_N "(cached) $ECHO_C" >&6
  6667 else
  6668       # Double quotes because CPP needs to be expanded
  6669     for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
  6670     do
  6671       ac_preproc_ok=false
  6672 for ac_c_preproc_warn_flag in '' yes
  6673 do
  6674   # Use a header file that comes with gcc, so configuring glibc
  6675   # with a fresh cross-compiler works.
  6676   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6677   # <limits.h> exists even on freestanding compilers.
  6678   # On the NeXT, cc -E runs the code through the compiler's parser,
  6679   # not just through cpp. "Syntax error" is here to catch this case.
  6680   cat >conftest.$ac_ext <<_ACEOF
  6681 /* confdefs.h.  */
  6682 _ACEOF
  6683 cat confdefs.h >>conftest.$ac_ext
  6684 cat >>conftest.$ac_ext <<_ACEOF
  6685 /* end confdefs.h.  */
  6686 #ifdef __STDC__
  6687 # include <limits.h>
  6688 #else
  6689 # include <assert.h>
  6690 #endif
  6691 		     Syntax error
  6692 _ACEOF
  6693 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6694 case "(($ac_try" in
  6695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6696   *) ac_try_echo=$ac_try;;
  6697 esac
  6698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6699   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6700   ac_status=$?
  6701   grep -v '^ *+' conftest.er1 >conftest.err
  6702   rm -f conftest.er1
  6703   cat conftest.err >&5
  6704   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6705   (exit $ac_status); } >/dev/null && {
  6706 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6707 	 test ! -s conftest.err
  6708        }; then
  6710 else
  6711   echo "$as_me: failed program was:" >&5
  6712 sed 's/^/| /' conftest.$ac_ext >&5
  6714   # Broken: fails on valid input.
  6715 continue
  6716 fi
  6718 rm -f conftest.err conftest.$ac_ext
  6720   # OK, works on sane cases.  Now check whether nonexistent headers
  6721   # can be detected and how.
  6722   cat >conftest.$ac_ext <<_ACEOF
  6723 /* confdefs.h.  */
  6724 _ACEOF
  6725 cat confdefs.h >>conftest.$ac_ext
  6726 cat >>conftest.$ac_ext <<_ACEOF
  6727 /* end confdefs.h.  */
  6728 #include <ac_nonexistent.h>
  6729 _ACEOF
  6730 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6731 case "(($ac_try" in
  6732   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6733   *) ac_try_echo=$ac_try;;
  6734 esac
  6735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6736   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6737   ac_status=$?
  6738   grep -v '^ *+' conftest.er1 >conftest.err
  6739   rm -f conftest.er1
  6740   cat conftest.err >&5
  6741   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6742   (exit $ac_status); } >/dev/null && {
  6743 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6744 	 test ! -s conftest.err
  6745        }; then
  6746   # Broken: success on invalid input.
  6747 continue
  6748 else
  6749   echo "$as_me: failed program was:" >&5
  6750 sed 's/^/| /' conftest.$ac_ext >&5
  6752   # Passes both tests.
  6753 ac_preproc_ok=:
  6754 break
  6755 fi
  6757 rm -f conftest.err conftest.$ac_ext
  6759 done
  6760 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6761 rm -f conftest.err conftest.$ac_ext
  6762 if $ac_preproc_ok; then
  6763   break
  6764 fi
  6766     done
  6767     ac_cv_build_prog_CPP=$CPP_FOR_BUILD
  6769 fi
  6770   CPP_FOR_BUILD=$ac_cv_build_prog_CPP
  6771 else
  6772   ac_cv_build_prog_CPP=$CPP_FOR_BUILD
  6773 fi
  6774 { echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&5
  6775 echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }
  6776 ac_preproc_ok=false
  6777 for ac_c_preproc_warn_flag in '' yes
  6778 do
  6779   # Use a header file that comes with gcc, so configuring glibc
  6780   # with a fresh cross-compiler works.
  6781   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6782   # <limits.h> exists even on freestanding compilers.
  6783   # On the NeXT, cc -E runs the code through the compiler's parser,
  6784   # not just through cpp. "Syntax error" is here to catch this case.
  6785   cat >conftest.$ac_ext <<_ACEOF
  6786 /* confdefs.h.  */
  6787 _ACEOF
  6788 cat confdefs.h >>conftest.$ac_ext
  6789 cat >>conftest.$ac_ext <<_ACEOF
  6790 /* end confdefs.h.  */
  6791 #ifdef __STDC__
  6792 # include <limits.h>
  6793 #else
  6794 # include <assert.h>
  6795 #endif
  6796 		     Syntax error
  6797 _ACEOF
  6798 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6799 case "(($ac_try" in
  6800   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6801   *) ac_try_echo=$ac_try;;
  6802 esac
  6803 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6804   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6805   ac_status=$?
  6806   grep -v '^ *+' conftest.er1 >conftest.err
  6807   rm -f conftest.er1
  6808   cat conftest.err >&5
  6809   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6810   (exit $ac_status); } >/dev/null && {
  6811 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6812 	 test ! -s conftest.err
  6813        }; then
  6815 else
  6816   echo "$as_me: failed program was:" >&5
  6817 sed 's/^/| /' conftest.$ac_ext >&5
  6819   # Broken: fails on valid input.
  6820 continue
  6821 fi
  6823 rm -f conftest.err conftest.$ac_ext
  6825   # OK, works on sane cases.  Now check whether nonexistent headers
  6826   # can be detected and how.
  6827   cat >conftest.$ac_ext <<_ACEOF
  6828 /* confdefs.h.  */
  6829 _ACEOF
  6830 cat confdefs.h >>conftest.$ac_ext
  6831 cat >>conftest.$ac_ext <<_ACEOF
  6832 /* end confdefs.h.  */
  6833 #include <ac_nonexistent.h>
  6834 _ACEOF
  6835 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6836 case "(($ac_try" in
  6837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6838   *) ac_try_echo=$ac_try;;
  6839 esac
  6840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6841   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6842   ac_status=$?
  6843   grep -v '^ *+' conftest.er1 >conftest.err
  6844   rm -f conftest.er1
  6845   cat conftest.err >&5
  6846   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6847   (exit $ac_status); } >/dev/null && {
  6848 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6849 	 test ! -s conftest.err
  6850        }; then
  6851   # Broken: success on invalid input.
  6852 continue
  6853 else
  6854   echo "$as_me: failed program was:" >&5
  6855 sed 's/^/| /' conftest.$ac_ext >&5
  6857   # Passes both tests.
  6858 ac_preproc_ok=:
  6859 break
  6860 fi
  6862 rm -f conftest.err conftest.$ac_ext
  6864 done
  6865 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6866 rm -f conftest.err conftest.$ac_ext
  6867 if $ac_preproc_ok; then
  6869 else
  6870   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
  6871 See \`config.log' for more details." >&5
  6872 echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
  6873 See \`config.log' for more details." >&2;}
  6874    { (exit 1); exit 1; }; }
  6875 fi
  6877 ac_ext=c
  6878 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  6879 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  6880 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6881 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  6886 BUILD_EXEEXT=$ac_build_exeext
  6887 BUILD_OBJEXT=$ac_build_objext
  6889 ac_ext=m
  6890 ac_cpp='$OBJCPP $CPPFLAGS'
  6891 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6892 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6893 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  6894 if test -n "$ac_tool_prefix"; then
  6895   for ac_prog in gcc objcc objc cc CC
  6896   do
  6897     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6898 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6901 if test "${ac_cv_prog_OBJC+set}" = set; then
  6902   echo $ECHO_N "(cached) $ECHO_C" >&6
  6903 else
  6904   if test -n "$OBJC"; then
  6905   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  6906 else
  6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6908 for as_dir in $PATH
  6909 do
  6910   IFS=$as_save_IFS
  6911   test -z "$as_dir" && as_dir=.
  6912   for ac_exec_ext in '' $ac_executable_extensions; do
  6913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6914     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  6915     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6916     break 2
  6917   fi
  6918 done
  6919 done
  6920 IFS=$as_save_IFS
  6922 fi
  6923 fi
  6924 OBJC=$ac_cv_prog_OBJC
  6925 if test -n "$OBJC"; then
  6926   { echo "$as_me:$LINENO: result: $OBJC" >&5
  6927 echo "${ECHO_T}$OBJC" >&6; }
  6928 else
  6929   { echo "$as_me:$LINENO: result: no" >&5
  6930 echo "${ECHO_T}no" >&6; }
  6931 fi
  6934     test -n "$OBJC" && break
  6935   done
  6936 fi
  6937 if test -z "$OBJC"; then
  6938   ac_ct_OBJC=$OBJC
  6939   for ac_prog in gcc objcc objc cc CC
  6940 do
  6941   # Extract the first word of "$ac_prog", so it can be a program name with args.
  6942 set dummy $ac_prog; ac_word=$2
  6943 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6944 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6945 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  6946   echo $ECHO_N "(cached) $ECHO_C" >&6
  6947 else
  6948   if test -n "$ac_ct_OBJC"; then
  6949   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  6950 else
  6951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6952 for as_dir in $PATH
  6953 do
  6954   IFS=$as_save_IFS
  6955   test -z "$as_dir" && as_dir=.
  6956   for ac_exec_ext in '' $ac_executable_extensions; do
  6957   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6958     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  6959     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6960     break 2
  6961   fi
  6962 done
  6963 done
  6964 IFS=$as_save_IFS
  6966 fi
  6967 fi
  6968 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  6969 if test -n "$ac_ct_OBJC"; then
  6970   { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  6971 echo "${ECHO_T}$ac_ct_OBJC" >&6; }
  6972 else
  6973   { echo "$as_me:$LINENO: result: no" >&5
  6974 echo "${ECHO_T}no" >&6; }
  6975 fi
  6978   test -n "$ac_ct_OBJC" && break
  6979 done
  6981   if test "x$ac_ct_OBJC" = x; then
  6982     OBJC="gcc"
  6983   else
  6984     case $cross_compiling:$ac_tool_warned in
  6985 yes:)
  6986 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  6987 whose name does not start with the host triplet.  If you think this
  6988 configuration is useful to you, please write to autoconf@gnu.org." >&5
  6989 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6990 whose name does not start with the host triplet.  If you think this
  6991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6992 ac_tool_warned=yes ;;
  6993 esac
  6994     OBJC=$ac_ct_OBJC
  6995   fi
  6996 fi
  6998 # Provide some information about the compiler.
  6999 echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  7000 ac_compiler=`set X $ac_compile; echo $2`
  7001 { (ac_try="$ac_compiler --version >&5"
  7002 case "(($ac_try" in
  7003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7004   *) ac_try_echo=$ac_try;;
  7005 esac
  7006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7007   (eval "$ac_compiler --version >&5") 2>&5
  7008   ac_status=$?
  7009   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7010   (exit $ac_status); }
  7011 { (ac_try="$ac_compiler -v >&5"
  7012 case "(($ac_try" in
  7013   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7014   *) ac_try_echo=$ac_try;;
  7015 esac
  7016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7017   (eval "$ac_compiler -v >&5") 2>&5
  7018   ac_status=$?
  7019   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7020   (exit $ac_status); }
  7021 { (ac_try="$ac_compiler -V >&5"
  7022 case "(($ac_try" in
  7023   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7024   *) ac_try_echo=$ac_try;;
  7025 esac
  7026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7027   (eval "$ac_compiler -V >&5") 2>&5
  7028   ac_status=$?
  7029   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7030   (exit $ac_status); }
  7032 { echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  7033 echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
  7034 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  7035   echo $ECHO_N "(cached) $ECHO_C" >&6
  7036 else
  7037   cat >conftest.$ac_ext <<_ACEOF
  7038 /* confdefs.h.  */
  7039 _ACEOF
  7040 cat confdefs.h >>conftest.$ac_ext
  7041 cat >>conftest.$ac_ext <<_ACEOF
  7042 /* end confdefs.h.  */
  7044 int
  7045 main ()
  7047 #ifndef __GNUC__
  7048        choke me
  7049 #endif
  7052   return 0;
  7054 _ACEOF
  7055 rm -f conftest.$ac_objext
  7056 if { (ac_try="$ac_compile"
  7057 case "(($ac_try" in
  7058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7059   *) ac_try_echo=$ac_try;;
  7060 esac
  7061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7062   (eval "$ac_compile") 2>conftest.er1
  7063   ac_status=$?
  7064   grep -v '^ *+' conftest.er1 >conftest.err
  7065   rm -f conftest.er1
  7066   cat conftest.err >&5
  7067   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7068   (exit $ac_status); } && {
  7069 	 test -z "$ac_objc_werror_flag" ||
  7070 	 test ! -s conftest.err
  7071        } && test -s conftest.$ac_objext; then
  7072   ac_compiler_gnu=yes
  7073 else
  7074   echo "$as_me: failed program was:" >&5
  7075 sed 's/^/| /' conftest.$ac_ext >&5
  7077 	ac_compiler_gnu=no
  7078 fi
  7080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7081 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  7083 fi
  7084 { echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  7085 echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
  7086 GOBJC=`test $ac_compiler_gnu = yes && echo yes`
  7087 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  7088 ac_save_OBJCFLAGS=$OBJCFLAGS
  7089 { echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  7090 echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
  7091 if test "${ac_cv_prog_objc_g+set}" = set; then
  7092   echo $ECHO_N "(cached) $ECHO_C" >&6
  7093 else
  7094   ac_save_objc_werror_flag=$ac_objc_werror_flag
  7095    ac_objc_werror_flag=yes
  7096    ac_cv_prog_objc_g=no
  7097    OBJCFLAGS="-g"
  7098    cat >conftest.$ac_ext <<_ACEOF
  7099 /* confdefs.h.  */
  7100 _ACEOF
  7101 cat confdefs.h >>conftest.$ac_ext
  7102 cat >>conftest.$ac_ext <<_ACEOF
  7103 /* end confdefs.h.  */
  7105 int
  7106 main ()
  7110   return 0;
  7112 _ACEOF
  7113 rm -f conftest.$ac_objext
  7114 if { (ac_try="$ac_compile"
  7115 case "(($ac_try" in
  7116   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7117   *) ac_try_echo=$ac_try;;
  7118 esac
  7119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7120   (eval "$ac_compile") 2>conftest.er1
  7121   ac_status=$?
  7122   grep -v '^ *+' conftest.er1 >conftest.err
  7123   rm -f conftest.er1
  7124   cat conftest.err >&5
  7125   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7126   (exit $ac_status); } && {
  7127 	 test -z "$ac_objc_werror_flag" ||
  7128 	 test ! -s conftest.err
  7129        } && test -s conftest.$ac_objext; then
  7130   ac_cv_prog_objc_g=yes
  7131 else
  7132   echo "$as_me: failed program was:" >&5
  7133 sed 's/^/| /' conftest.$ac_ext >&5
  7135 	OBJCFLAGS=""
  7136       cat >conftest.$ac_ext <<_ACEOF
  7137 /* confdefs.h.  */
  7138 _ACEOF
  7139 cat confdefs.h >>conftest.$ac_ext
  7140 cat >>conftest.$ac_ext <<_ACEOF
  7141 /* end confdefs.h.  */
  7143 int
  7144 main ()
  7148   return 0;
  7150 _ACEOF
  7151 rm -f conftest.$ac_objext
  7152 if { (ac_try="$ac_compile"
  7153 case "(($ac_try" in
  7154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7155   *) ac_try_echo=$ac_try;;
  7156 esac
  7157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7158   (eval "$ac_compile") 2>conftest.er1
  7159   ac_status=$?
  7160   grep -v '^ *+' conftest.er1 >conftest.err
  7161   rm -f conftest.er1
  7162   cat conftest.err >&5
  7163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7164   (exit $ac_status); } && {
  7165 	 test -z "$ac_objc_werror_flag" ||
  7166 	 test ! -s conftest.err
  7167        } && test -s conftest.$ac_objext; then
  7169 else
  7170   echo "$as_me: failed program was:" >&5
  7171 sed 's/^/| /' conftest.$ac_ext >&5
  7173 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  7174 	 OBJCFLAGS="-g"
  7175 	 cat >conftest.$ac_ext <<_ACEOF
  7176 /* confdefs.h.  */
  7177 _ACEOF
  7178 cat confdefs.h >>conftest.$ac_ext
  7179 cat >>conftest.$ac_ext <<_ACEOF
  7180 /* end confdefs.h.  */
  7182 int
  7183 main ()
  7187   return 0;
  7189 _ACEOF
  7190 rm -f conftest.$ac_objext
  7191 if { (ac_try="$ac_compile"
  7192 case "(($ac_try" in
  7193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7194   *) ac_try_echo=$ac_try;;
  7195 esac
  7196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7197   (eval "$ac_compile") 2>conftest.er1
  7198   ac_status=$?
  7199   grep -v '^ *+' conftest.er1 >conftest.err
  7200   rm -f conftest.er1
  7201   cat conftest.err >&5
  7202   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7203   (exit $ac_status); } && {
  7204 	 test -z "$ac_objc_werror_flag" ||
  7205 	 test ! -s conftest.err
  7206        } && test -s conftest.$ac_objext; then
  7207   ac_cv_prog_objc_g=yes
  7208 else
  7209   echo "$as_me: failed program was:" >&5
  7210 sed 's/^/| /' conftest.$ac_ext >&5
  7213 fi
  7215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7216 fi
  7218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7219 fi
  7221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7222    ac_objc_werror_flag=$ac_save_objc_werror_flag
  7223 fi
  7224 { echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  7225 echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
  7226 if test "$ac_test_OBJCFLAGS" = set; then
  7227   OBJCFLAGS=$ac_save_OBJCFLAGS
  7228 elif test $ac_cv_prog_objc_g = yes; then
  7229   if test "$GOBJC" = yes; then
  7230     OBJCFLAGS="-g -O2"
  7231   else
  7232     OBJCFLAGS="-g"
  7233   fi
  7234 else
  7235   if test "$GOBJC" = yes; then
  7236     OBJCFLAGS="-O2"
  7237   else
  7238     OBJCFLAGS=
  7239   fi
  7240 fi
  7241 ac_ext=c
  7242 ac_cpp='$CPP $CPPFLAGS'
  7243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7247 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  7248 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
  7249 if test "${ac_cv_path_SED+set}" = set; then
  7250   echo $ECHO_N "(cached) $ECHO_C" >&6
  7251 else
  7252             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  7253      for ac_i in 1 2 3 4 5 6 7; do
  7254        ac_script="$ac_script$as_nl$ac_script"
  7255      done
  7256      echo "$ac_script" | sed 99q >conftest.sed
  7257      $as_unset ac_script || ac_script=
  7258      # Extract the first word of "sed gsed" to use in msg output
  7259 if test -z "$SED"; then
  7260 set dummy sed gsed; ac_prog_name=$2
  7261 if test "${ac_cv_path_SED+set}" = set; then
  7262   echo $ECHO_N "(cached) $ECHO_C" >&6
  7263 else
  7264   ac_path_SED_found=false
  7265 # Loop through the user's path and test for each of PROGNAME-LIST
  7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7267 for as_dir in $PATH
  7268 do
  7269   IFS=$as_save_IFS
  7270   test -z "$as_dir" && as_dir=.
  7271   for ac_prog in sed gsed; do
  7272   for ac_exec_ext in '' $ac_executable_extensions; do
  7273     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  7274     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  7275     # Check for GNU ac_path_SED and select it if it is found.
  7276   # Check for GNU $ac_path_SED
  7277 case `"$ac_path_SED" --version 2>&1` in
  7278 *GNU*)
  7279   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  7280 *)
  7281   ac_count=0
  7282   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  7283   while :
  7284   do
  7285     cat "conftest.in" "conftest.in" >"conftest.tmp"
  7286     mv "conftest.tmp" "conftest.in"
  7287     cp "conftest.in" "conftest.nl"
  7288     echo '' >> "conftest.nl"
  7289     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7290     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7291     ac_count=`expr $ac_count + 1`
  7292     if test $ac_count -gt ${ac_path_SED_max-0}; then
  7293       # Best one so far, save it but keep looking for a better one
  7294       ac_cv_path_SED="$ac_path_SED"
  7295       ac_path_SED_max=$ac_count
  7296     fi
  7297     # 10*(2^10) chars as input seems more than enough
  7298     test $ac_count -gt 10 && break
  7299   done
  7300   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7301 esac
  7304     $ac_path_SED_found && break 3
  7305   done
  7306 done
  7308 done
  7309 IFS=$as_save_IFS
  7312 fi
  7314 SED="$ac_cv_path_SED"
  7315 if test -z "$SED"; then
  7316   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
  7317 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
  7318    { (exit 1); exit 1; }; }
  7319 fi
  7321 else
  7322   ac_cv_path_SED=$SED
  7323 fi
  7325 fi
  7326 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  7327 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
  7328  SED="$ac_cv_path_SED"
  7329   rm -f conftest.sed
  7331 # By default we simply use the C compiler to build assembly code.
  7333 test "${CCAS+set}" = set || CCAS=$CC
  7334 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  7339 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  7340 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  7341 if test "${ac_cv_path_GREP+set}" = set; then
  7342   echo $ECHO_N "(cached) $ECHO_C" >&6
  7343 else
  7344   # Extract the first word of "grep ggrep" to use in msg output
  7345 if test -z "$GREP"; then
  7346 set dummy grep ggrep; ac_prog_name=$2
  7347 if test "${ac_cv_path_GREP+set}" = set; then
  7348   echo $ECHO_N "(cached) $ECHO_C" >&6
  7349 else
  7350   ac_path_GREP_found=false
  7351 # Loop through the user's path and test for each of PROGNAME-LIST
  7352 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7353 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  7354 do
  7355   IFS=$as_save_IFS
  7356   test -z "$as_dir" && as_dir=.
  7357   for ac_prog in grep ggrep; do
  7358   for ac_exec_ext in '' $ac_executable_extensions; do
  7359     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  7360     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  7361     # Check for GNU ac_path_GREP and select it if it is found.
  7362   # Check for GNU $ac_path_GREP
  7363 case `"$ac_path_GREP" --version 2>&1` in
  7364 *GNU*)
  7365   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  7366 *)
  7367   ac_count=0
  7368   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  7369   while :
  7370   do
  7371     cat "conftest.in" "conftest.in" >"conftest.tmp"
  7372     mv "conftest.tmp" "conftest.in"
  7373     cp "conftest.in" "conftest.nl"
  7374     echo 'GREP' >> "conftest.nl"
  7375     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7376     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7377     ac_count=`expr $ac_count + 1`
  7378     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  7379       # Best one so far, save it but keep looking for a better one
  7380       ac_cv_path_GREP="$ac_path_GREP"
  7381       ac_path_GREP_max=$ac_count
  7382     fi
  7383     # 10*(2^10) chars as input seems more than enough
  7384     test $ac_count -gt 10 && break
  7385   done
  7386   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7387 esac
  7390     $ac_path_GREP_found && break 3
  7391   done
  7392 done
  7394 done
  7395 IFS=$as_save_IFS
  7398 fi
  7400 GREP="$ac_cv_path_GREP"
  7401 if test -z "$GREP"; then
  7402   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  7403 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  7404    { (exit 1); exit 1; }; }
  7405 fi
  7407 else
  7408   ac_cv_path_GREP=$GREP
  7409 fi
  7412 fi
  7413 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  7414 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  7415  GREP="$ac_cv_path_GREP"
  7418 { echo "$as_me:$LINENO: checking for egrep" >&5
  7419 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  7420 if test "${ac_cv_path_EGREP+set}" = set; then
  7421   echo $ECHO_N "(cached) $ECHO_C" >&6
  7422 else
  7423   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  7424    then ac_cv_path_EGREP="$GREP -E"
  7425    else
  7426      # Extract the first word of "egrep" to use in msg output
  7427 if test -z "$EGREP"; then
  7428 set dummy egrep; ac_prog_name=$2
  7429 if test "${ac_cv_path_EGREP+set}" = set; then
  7430   echo $ECHO_N "(cached) $ECHO_C" >&6
  7431 else
  7432   ac_path_EGREP_found=false
  7433 # Loop through the user's path and test for each of PROGNAME-LIST
  7434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7435 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  7436 do
  7437   IFS=$as_save_IFS
  7438   test -z "$as_dir" && as_dir=.
  7439   for ac_prog in egrep; do
  7440   for ac_exec_ext in '' $ac_executable_extensions; do
  7441     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  7442     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  7443     # Check for GNU ac_path_EGREP and select it if it is found.
  7444   # Check for GNU $ac_path_EGREP
  7445 case `"$ac_path_EGREP" --version 2>&1` in
  7446 *GNU*)
  7447   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  7448 *)
  7449   ac_count=0
  7450   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  7451   while :
  7452   do
  7453     cat "conftest.in" "conftest.in" >"conftest.tmp"
  7454     mv "conftest.tmp" "conftest.in"
  7455     cp "conftest.in" "conftest.nl"
  7456     echo 'EGREP' >> "conftest.nl"
  7457     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7458     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7459     ac_count=`expr $ac_count + 1`
  7460     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  7461       # Best one so far, save it but keep looking for a better one
  7462       ac_cv_path_EGREP="$ac_path_EGREP"
  7463       ac_path_EGREP_max=$ac_count
  7464     fi
  7465     # 10*(2^10) chars as input seems more than enough
  7466     test $ac_count -gt 10 && break
  7467   done
  7468   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7469 esac
  7472     $ac_path_EGREP_found && break 3
  7473   done
  7474 done
  7476 done
  7477 IFS=$as_save_IFS
  7480 fi
  7482 EGREP="$ac_cv_path_EGREP"
  7483 if test -z "$EGREP"; then
  7484   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  7485 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  7486    { (exit 1); exit 1; }; }
  7487 fi
  7489 else
  7490   ac_cv_path_EGREP=$EGREP
  7491 fi
  7494    fi
  7495 fi
  7496 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  7497 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  7498  EGREP="$ac_cv_path_EGREP"
  7501 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  7502 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  7503 if test "${ac_cv_header_stdc+set}" = set; then
  7504   echo $ECHO_N "(cached) $ECHO_C" >&6
  7505 else
  7506   cat >conftest.$ac_ext <<_ACEOF
  7507 /* confdefs.h.  */
  7508 _ACEOF
  7509 cat confdefs.h >>conftest.$ac_ext
  7510 cat >>conftest.$ac_ext <<_ACEOF
  7511 /* end confdefs.h.  */
  7512 #include <stdlib.h>
  7513 #include <stdarg.h>
  7514 #include <string.h>
  7515 #include <float.h>
  7517 int
  7518 main ()
  7522   return 0;
  7524 _ACEOF
  7525 rm -f conftest.$ac_objext
  7526 if { (ac_try="$ac_compile"
  7527 case "(($ac_try" in
  7528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7529   *) ac_try_echo=$ac_try;;
  7530 esac
  7531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7532   (eval "$ac_compile") 2>conftest.er1
  7533   ac_status=$?
  7534   grep -v '^ *+' conftest.er1 >conftest.err
  7535   rm -f conftest.er1
  7536   cat conftest.err >&5
  7537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7538   (exit $ac_status); } && {
  7539 	 test -z "$ac_c_werror_flag" ||
  7540 	 test ! -s conftest.err
  7541        } && test -s conftest.$ac_objext; then
  7542   ac_cv_header_stdc=yes
  7543 else
  7544   echo "$as_me: failed program was:" >&5
  7545 sed 's/^/| /' conftest.$ac_ext >&5
  7547 	ac_cv_header_stdc=no
  7548 fi
  7550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7552 if test $ac_cv_header_stdc = yes; then
  7553   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  7554   cat >conftest.$ac_ext <<_ACEOF
  7555 /* confdefs.h.  */
  7556 _ACEOF
  7557 cat confdefs.h >>conftest.$ac_ext
  7558 cat >>conftest.$ac_ext <<_ACEOF
  7559 /* end confdefs.h.  */
  7560 #include <string.h>
  7562 _ACEOF
  7563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7564   $EGREP "memchr" >/dev/null 2>&1; then
  7566 else
  7567   ac_cv_header_stdc=no
  7568 fi
  7569 rm -f conftest*
  7571 fi
  7573 if test $ac_cv_header_stdc = yes; then
  7574   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  7575   cat >conftest.$ac_ext <<_ACEOF
  7576 /* confdefs.h.  */
  7577 _ACEOF
  7578 cat confdefs.h >>conftest.$ac_ext
  7579 cat >>conftest.$ac_ext <<_ACEOF
  7580 /* end confdefs.h.  */
  7581 #include <stdlib.h>
  7583 _ACEOF
  7584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7585   $EGREP "free" >/dev/null 2>&1; then
  7587 else
  7588   ac_cv_header_stdc=no
  7589 fi
  7590 rm -f conftest*
  7592 fi
  7594 if test $ac_cv_header_stdc = yes; then
  7595   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  7596   if test "$cross_compiling" = yes; then
  7598 else
  7599   cat >conftest.$ac_ext <<_ACEOF
  7600 /* confdefs.h.  */
  7601 _ACEOF
  7602 cat confdefs.h >>conftest.$ac_ext
  7603 cat >>conftest.$ac_ext <<_ACEOF
  7604 /* end confdefs.h.  */
  7605 #include <ctype.h>
  7606 #include <stdlib.h>
  7607 #if ((' ' & 0x0FF) == 0x020)
  7608 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  7609 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  7610 #else
  7611 # define ISLOWER(c) \
  7612 		   (('a' <= (c) && (c) <= 'i') \
  7613 		     || ('j' <= (c) && (c) <= 'r') \
  7614 		     || ('s' <= (c) && (c) <= 'z'))
  7615 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  7616 #endif
  7618 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  7619 int
  7620 main ()
  7622   int i;
  7623   for (i = 0; i < 256; i++)
  7624     if (XOR (islower (i), ISLOWER (i))
  7625 	|| toupper (i) != TOUPPER (i))
  7626       return 2;
  7627   return 0;
  7629 _ACEOF
  7630 rm -f conftest$ac_exeext
  7631 if { (ac_try="$ac_link"
  7632 case "(($ac_try" in
  7633   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7634   *) ac_try_echo=$ac_try;;
  7635 esac
  7636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7637   (eval "$ac_link") 2>&5
  7638   ac_status=$?
  7639   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7640   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7641   { (case "(($ac_try" in
  7642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7643   *) ac_try_echo=$ac_try;;
  7644 esac
  7645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7646   (eval "$ac_try") 2>&5
  7647   ac_status=$?
  7648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7649   (exit $ac_status); }; }; then
  7651 else
  7652   echo "$as_me: program exited with status $ac_status" >&5
  7653 echo "$as_me: failed program was:" >&5
  7654 sed 's/^/| /' conftest.$ac_ext >&5
  7656 ( exit $ac_status )
  7657 ac_cv_header_stdc=no
  7658 fi
  7659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7660 fi
  7663 fi
  7664 fi
  7665 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  7666 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  7667 if test $ac_cv_header_stdc = yes; then
  7669 cat >>confdefs.h <<\_ACEOF
  7670 #define STDC_HEADERS 1
  7671 _ACEOF
  7673 fi
  7675 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  7685 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  7686 		  inttypes.h stdint.h unistd.h
  7687 do
  7688 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  7690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  7691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7692   echo $ECHO_N "(cached) $ECHO_C" >&6
  7693 else
  7694   cat >conftest.$ac_ext <<_ACEOF
  7695 /* confdefs.h.  */
  7696 _ACEOF
  7697 cat confdefs.h >>conftest.$ac_ext
  7698 cat >>conftest.$ac_ext <<_ACEOF
  7699 /* end confdefs.h.  */
  7700 $ac_includes_default
  7702 #include <$ac_header>
  7703 _ACEOF
  7704 rm -f conftest.$ac_objext
  7705 if { (ac_try="$ac_compile"
  7706 case "(($ac_try" in
  7707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7708   *) ac_try_echo=$ac_try;;
  7709 esac
  7710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7711   (eval "$ac_compile") 2>conftest.er1
  7712   ac_status=$?
  7713   grep -v '^ *+' conftest.er1 >conftest.err
  7714   rm -f conftest.er1
  7715   cat conftest.err >&5
  7716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7717   (exit $ac_status); } && {
  7718 	 test -z "$ac_c_werror_flag" ||
  7719 	 test ! -s conftest.err
  7720        } && test -s conftest.$ac_objext; then
  7721   eval "$as_ac_Header=yes"
  7722 else
  7723   echo "$as_me: failed program was:" >&5
  7724 sed 's/^/| /' conftest.$ac_ext >&5
  7726 	eval "$as_ac_Header=no"
  7727 fi
  7729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7730 fi
  7731 ac_res=`eval echo '${'$as_ac_Header'}'`
  7732 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  7733 echo "${ECHO_T}$ac_res" >&6; }
  7734 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  7735   cat >>confdefs.h <<_ACEOF
  7736 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7737 _ACEOF
  7739 fi
  7741 done
  7744 { echo "$as_me:$LINENO: checking for void *" >&5
  7745 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
  7746 if test "${ac_cv_type_void_p+set}" = set; then
  7747   echo $ECHO_N "(cached) $ECHO_C" >&6
  7748 else
  7749   cat >conftest.$ac_ext <<_ACEOF
  7750 /* confdefs.h.  */
  7751 _ACEOF
  7752 cat confdefs.h >>conftest.$ac_ext
  7753 cat >>conftest.$ac_ext <<_ACEOF
  7754 /* end confdefs.h.  */
  7755 $ac_includes_default
  7756 typedef void * ac__type_new_;
  7757 int
  7758 main ()
  7760 if ((ac__type_new_ *) 0)
  7761   return 0;
  7762 if (sizeof (ac__type_new_))
  7763   return 0;
  7765   return 0;
  7767 _ACEOF
  7768 rm -f conftest.$ac_objext
  7769 if { (ac_try="$ac_compile"
  7770 case "(($ac_try" in
  7771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7772   *) ac_try_echo=$ac_try;;
  7773 esac
  7774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7775   (eval "$ac_compile") 2>conftest.er1
  7776   ac_status=$?
  7777   grep -v '^ *+' conftest.er1 >conftest.err
  7778   rm -f conftest.er1
  7779   cat conftest.err >&5
  7780   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7781   (exit $ac_status); } && {
  7782 	 test -z "$ac_c_werror_flag" ||
  7783 	 test ! -s conftest.err
  7784        } && test -s conftest.$ac_objext; then
  7785   ac_cv_type_void_p=yes
  7786 else
  7787   echo "$as_me: failed program was:" >&5
  7788 sed 's/^/| /' conftest.$ac_ext >&5
  7790 	ac_cv_type_void_p=no
  7791 fi
  7793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7794 fi
  7795 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
  7796 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
  7798 # The cast to long int works around a bug in the HP C Compiler
  7799 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  7800 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  7801 # This bug is HP SR number 8606223364.
  7802 { echo "$as_me:$LINENO: checking size of void *" >&5
  7803 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
  7804 if test "${ac_cv_sizeof_void_p+set}" = set; then
  7805   echo $ECHO_N "(cached) $ECHO_C" >&6
  7806 else
  7807   if test "$cross_compiling" = yes; then
  7808   # Depending upon the size, compute the lo and hi bounds.
  7809 cat >conftest.$ac_ext <<_ACEOF
  7810 /* confdefs.h.  */
  7811 _ACEOF
  7812 cat confdefs.h >>conftest.$ac_ext
  7813 cat >>conftest.$ac_ext <<_ACEOF
  7814 /* end confdefs.h.  */
  7815 $ac_includes_default
  7816    typedef void * ac__type_sizeof_;
  7817 int
  7818 main ()
  7820 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  7821 test_array [0] = 0
  7824   return 0;
  7826 _ACEOF
  7827 rm -f conftest.$ac_objext
  7828 if { (ac_try="$ac_compile"
  7829 case "(($ac_try" in
  7830   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7831   *) ac_try_echo=$ac_try;;
  7832 esac
  7833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7834   (eval "$ac_compile") 2>conftest.er1
  7835   ac_status=$?
  7836   grep -v '^ *+' conftest.er1 >conftest.err
  7837   rm -f conftest.er1
  7838   cat conftest.err >&5
  7839   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7840   (exit $ac_status); } && {
  7841 	 test -z "$ac_c_werror_flag" ||
  7842 	 test ! -s conftest.err
  7843        } && test -s conftest.$ac_objext; then
  7844   ac_lo=0 ac_mid=0
  7845   while :; do
  7846     cat >conftest.$ac_ext <<_ACEOF
  7847 /* confdefs.h.  */
  7848 _ACEOF
  7849 cat confdefs.h >>conftest.$ac_ext
  7850 cat >>conftest.$ac_ext <<_ACEOF
  7851 /* end confdefs.h.  */
  7852 $ac_includes_default
  7853    typedef void * ac__type_sizeof_;
  7854 int
  7855 main ()
  7857 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  7858 test_array [0] = 0
  7861   return 0;
  7863 _ACEOF
  7864 rm -f conftest.$ac_objext
  7865 if { (ac_try="$ac_compile"
  7866 case "(($ac_try" in
  7867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7868   *) ac_try_echo=$ac_try;;
  7869 esac
  7870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7871   (eval "$ac_compile") 2>conftest.er1
  7872   ac_status=$?
  7873   grep -v '^ *+' conftest.er1 >conftest.err
  7874   rm -f conftest.er1
  7875   cat conftest.err >&5
  7876   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7877   (exit $ac_status); } && {
  7878 	 test -z "$ac_c_werror_flag" ||
  7879 	 test ! -s conftest.err
  7880        } && test -s conftest.$ac_objext; then
  7881   ac_hi=$ac_mid; break
  7882 else
  7883   echo "$as_me: failed program was:" >&5
  7884 sed 's/^/| /' conftest.$ac_ext >&5
  7886 	ac_lo=`expr $ac_mid + 1`
  7887 			if test $ac_lo -le $ac_mid; then
  7888 			  ac_lo= ac_hi=
  7889 			  break
  7890 			fi
  7891 			ac_mid=`expr 2 '*' $ac_mid + 1`
  7892 fi
  7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7895   done
  7896 else
  7897   echo "$as_me: failed program was:" >&5
  7898 sed 's/^/| /' conftest.$ac_ext >&5
  7900 	cat >conftest.$ac_ext <<_ACEOF
  7901 /* confdefs.h.  */
  7902 _ACEOF
  7903 cat confdefs.h >>conftest.$ac_ext
  7904 cat >>conftest.$ac_ext <<_ACEOF
  7905 /* end confdefs.h.  */
  7906 $ac_includes_default
  7907    typedef void * ac__type_sizeof_;
  7908 int
  7909 main ()
  7911 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  7912 test_array [0] = 0
  7915   return 0;
  7917 _ACEOF
  7918 rm -f conftest.$ac_objext
  7919 if { (ac_try="$ac_compile"
  7920 case "(($ac_try" in
  7921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7922   *) ac_try_echo=$ac_try;;
  7923 esac
  7924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7925   (eval "$ac_compile") 2>conftest.er1
  7926   ac_status=$?
  7927   grep -v '^ *+' conftest.er1 >conftest.err
  7928   rm -f conftest.er1
  7929   cat conftest.err >&5
  7930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7931   (exit $ac_status); } && {
  7932 	 test -z "$ac_c_werror_flag" ||
  7933 	 test ! -s conftest.err
  7934        } && test -s conftest.$ac_objext; then
  7935   ac_hi=-1 ac_mid=-1
  7936   while :; do
  7937     cat >conftest.$ac_ext <<_ACEOF
  7938 /* confdefs.h.  */
  7939 _ACEOF
  7940 cat confdefs.h >>conftest.$ac_ext
  7941 cat >>conftest.$ac_ext <<_ACEOF
  7942 /* end confdefs.h.  */
  7943 $ac_includes_default
  7944    typedef void * ac__type_sizeof_;
  7945 int
  7946 main ()
  7948 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  7949 test_array [0] = 0
  7952   return 0;
  7954 _ACEOF
  7955 rm -f conftest.$ac_objext
  7956 if { (ac_try="$ac_compile"
  7957 case "(($ac_try" in
  7958   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7959   *) ac_try_echo=$ac_try;;
  7960 esac
  7961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7962   (eval "$ac_compile") 2>conftest.er1
  7963   ac_status=$?
  7964   grep -v '^ *+' conftest.er1 >conftest.err
  7965   rm -f conftest.er1
  7966   cat conftest.err >&5
  7967   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7968   (exit $ac_status); } && {
  7969 	 test -z "$ac_c_werror_flag" ||
  7970 	 test ! -s conftest.err
  7971        } && test -s conftest.$ac_objext; then
  7972   ac_lo=$ac_mid; break
  7973 else
  7974   echo "$as_me: failed program was:" >&5
  7975 sed 's/^/| /' conftest.$ac_ext >&5
  7977 	ac_hi=`expr '(' $ac_mid ')' - 1`
  7978 			if test $ac_mid -le $ac_hi; then
  7979 			  ac_lo= ac_hi=
  7980 			  break
  7981 			fi
  7982 			ac_mid=`expr 2 '*' $ac_mid`
  7983 fi
  7985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7986   done
  7987 else
  7988   echo "$as_me: failed program was:" >&5
  7989 sed 's/^/| /' conftest.$ac_ext >&5
  7991 	ac_lo= ac_hi=
  7992 fi
  7994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7995 fi
  7997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7998 # Binary search between lo and hi bounds.
  7999 while test "x$ac_lo" != "x$ac_hi"; do
  8000   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  8001   cat >conftest.$ac_ext <<_ACEOF
  8002 /* confdefs.h.  */
  8003 _ACEOF
  8004 cat confdefs.h >>conftest.$ac_ext
  8005 cat >>conftest.$ac_ext <<_ACEOF
  8006 /* end confdefs.h.  */
  8007 $ac_includes_default
  8008    typedef void * ac__type_sizeof_;
  8009 int
  8010 main ()
  8012 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  8013 test_array [0] = 0
  8016   return 0;
  8018 _ACEOF
  8019 rm -f conftest.$ac_objext
  8020 if { (ac_try="$ac_compile"
  8021 case "(($ac_try" in
  8022   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8023   *) ac_try_echo=$ac_try;;
  8024 esac
  8025 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8026   (eval "$ac_compile") 2>conftest.er1
  8027   ac_status=$?
  8028   grep -v '^ *+' conftest.er1 >conftest.err
  8029   rm -f conftest.er1
  8030   cat conftest.err >&5
  8031   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8032   (exit $ac_status); } && {
  8033 	 test -z "$ac_c_werror_flag" ||
  8034 	 test ! -s conftest.err
  8035        } && test -s conftest.$ac_objext; then
  8036   ac_hi=$ac_mid
  8037 else
  8038   echo "$as_me: failed program was:" >&5
  8039 sed 's/^/| /' conftest.$ac_ext >&5
  8041 	ac_lo=`expr '(' $ac_mid ')' + 1`
  8042 fi
  8044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8045 done
  8046 case $ac_lo in
  8047 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  8048 '') if test "$ac_cv_type_void_p" = yes; then
  8049      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  8050 See \`config.log' for more details." >&5
  8051 echo "$as_me: error: cannot compute sizeof (void *)
  8052 See \`config.log' for more details." >&2;}
  8053    { (exit 77); exit 77; }; }
  8054    else
  8055      ac_cv_sizeof_void_p=0
  8056    fi ;;
  8057 esac
  8058 else
  8059   cat >conftest.$ac_ext <<_ACEOF
  8060 /* confdefs.h.  */
  8061 _ACEOF
  8062 cat confdefs.h >>conftest.$ac_ext
  8063 cat >>conftest.$ac_ext <<_ACEOF
  8064 /* end confdefs.h.  */
  8065 $ac_includes_default
  8066    typedef void * ac__type_sizeof_;
  8067 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  8068 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  8069 #include <stdio.h>
  8070 #include <stdlib.h>
  8071 int
  8072 main ()
  8075   FILE *f = fopen ("conftest.val", "w");
  8076   if (! f)
  8077     return 1;
  8078   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  8080       long int i = longval ();
  8081       if (i != ((long int) (sizeof (ac__type_sizeof_))))
  8082 	return 1;
  8083       fprintf (f, "%ld\n", i);
  8085   else
  8087       unsigned long int i = ulongval ();
  8088       if (i != ((long int) (sizeof (ac__type_sizeof_))))
  8089 	return 1;
  8090       fprintf (f, "%lu\n", i);
  8092   return ferror (f) || fclose (f) != 0;
  8095   return 0;
  8097 _ACEOF
  8098 rm -f conftest$ac_exeext
  8099 if { (ac_try="$ac_link"
  8100 case "(($ac_try" in
  8101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8102   *) ac_try_echo=$ac_try;;
  8103 esac
  8104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8105   (eval "$ac_link") 2>&5
  8106   ac_status=$?
  8107   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8108   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  8109   { (case "(($ac_try" in
  8110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8111   *) ac_try_echo=$ac_try;;
  8112 esac
  8113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8114   (eval "$ac_try") 2>&5
  8115   ac_status=$?
  8116   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8117   (exit $ac_status); }; }; then
  8118   ac_cv_sizeof_void_p=`cat conftest.val`
  8119 else
  8120   echo "$as_me: program exited with status $ac_status" >&5
  8121 echo "$as_me: failed program was:" >&5
  8122 sed 's/^/| /' conftest.$ac_ext >&5
  8124 ( exit $ac_status )
  8125 if test "$ac_cv_type_void_p" = yes; then
  8126      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  8127 See \`config.log' for more details." >&5
  8128 echo "$as_me: error: cannot compute sizeof (void *)
  8129 See \`config.log' for more details." >&2;}
  8130    { (exit 77); exit 77; }; }
  8131    else
  8132      ac_cv_sizeof_void_p=0
  8133    fi
  8134 fi
  8135 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8136 fi
  8137 rm -f conftest.val
  8138 fi
  8139 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  8140 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
  8144 cat >>confdefs.h <<_ACEOF
  8145 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  8146 _ACEOF
  8149 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  8150 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  8151 if test "${ac_cv_header_stdc+set}" = set; then
  8152   echo $ECHO_N "(cached) $ECHO_C" >&6
  8153 else
  8154   cat >conftest.$ac_ext <<_ACEOF
  8155 /* confdefs.h.  */
  8156 _ACEOF
  8157 cat confdefs.h >>conftest.$ac_ext
  8158 cat >>conftest.$ac_ext <<_ACEOF
  8159 /* end confdefs.h.  */
  8160 #include <stdlib.h>
  8161 #include <stdarg.h>
  8162 #include <string.h>
  8163 #include <float.h>
  8165 int
  8166 main ()
  8170   return 0;
  8172 _ACEOF
  8173 rm -f conftest.$ac_objext
  8174 if { (ac_try="$ac_compile"
  8175 case "(($ac_try" in
  8176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8177   *) ac_try_echo=$ac_try;;
  8178 esac
  8179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8180   (eval "$ac_compile") 2>conftest.er1
  8181   ac_status=$?
  8182   grep -v '^ *+' conftest.er1 >conftest.err
  8183   rm -f conftest.er1
  8184   cat conftest.err >&5
  8185   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8186   (exit $ac_status); } && {
  8187 	 test -z "$ac_c_werror_flag" ||
  8188 	 test ! -s conftest.err
  8189        } && test -s conftest.$ac_objext; then
  8190   ac_cv_header_stdc=yes
  8191 else
  8192   echo "$as_me: failed program was:" >&5
  8193 sed 's/^/| /' conftest.$ac_ext >&5
  8195 	ac_cv_header_stdc=no
  8196 fi
  8198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8200 if test $ac_cv_header_stdc = yes; then
  8201   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  8202   cat >conftest.$ac_ext <<_ACEOF
  8203 /* confdefs.h.  */
  8204 _ACEOF
  8205 cat confdefs.h >>conftest.$ac_ext
  8206 cat >>conftest.$ac_ext <<_ACEOF
  8207 /* end confdefs.h.  */
  8208 #include <string.h>
  8210 _ACEOF
  8211 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8212   $EGREP "memchr" >/dev/null 2>&1; then
  8214 else
  8215   ac_cv_header_stdc=no
  8216 fi
  8217 rm -f conftest*
  8219 fi
  8221 if test $ac_cv_header_stdc = yes; then
  8222   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  8223   cat >conftest.$ac_ext <<_ACEOF
  8224 /* confdefs.h.  */
  8225 _ACEOF
  8226 cat confdefs.h >>conftest.$ac_ext
  8227 cat >>conftest.$ac_ext <<_ACEOF
  8228 /* end confdefs.h.  */
  8229 #include <stdlib.h>
  8231 _ACEOF
  8232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8233   $EGREP "free" >/dev/null 2>&1; then
  8235 else
  8236   ac_cv_header_stdc=no
  8237 fi
  8238 rm -f conftest*
  8240 fi
  8242 if test $ac_cv_header_stdc = yes; then
  8243   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  8244   if test "$cross_compiling" = yes; then
  8246 else
  8247   cat >conftest.$ac_ext <<_ACEOF
  8248 /* confdefs.h.  */
  8249 _ACEOF
  8250 cat confdefs.h >>conftest.$ac_ext
  8251 cat >>conftest.$ac_ext <<_ACEOF
  8252 /* end confdefs.h.  */
  8253 #include <ctype.h>
  8254 #include <stdlib.h>
  8255 #if ((' ' & 0x0FF) == 0x020)
  8256 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  8257 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  8258 #else
  8259 # define ISLOWER(c) \
  8260 		   (('a' <= (c) && (c) <= 'i') \
  8261 		     || ('j' <= (c) && (c) <= 'r') \
  8262 		     || ('s' <= (c) && (c) <= 'z'))
  8263 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  8264 #endif
  8266 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  8267 int
  8268 main ()
  8270   int i;
  8271   for (i = 0; i < 256; i++)
  8272     if (XOR (islower (i), ISLOWER (i))
  8273 	|| toupper (i) != TOUPPER (i))
  8274       return 2;
  8275   return 0;
  8277 _ACEOF
  8278 rm -f conftest$ac_exeext
  8279 if { (ac_try="$ac_link"
  8280 case "(($ac_try" in
  8281   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8282   *) ac_try_echo=$ac_try;;
  8283 esac
  8284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8285   (eval "$ac_link") 2>&5
  8286   ac_status=$?
  8287   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8288   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  8289   { (case "(($ac_try" in
  8290   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8291   *) ac_try_echo=$ac_try;;
  8292 esac
  8293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8294   (eval "$ac_try") 2>&5
  8295   ac_status=$?
  8296   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8297   (exit $ac_status); }; }; then
  8299 else
  8300   echo "$as_me: program exited with status $ac_status" >&5
  8301 echo "$as_me: failed program was:" >&5
  8302 sed 's/^/| /' conftest.$ac_ext >&5
  8304 ( exit $ac_status )
  8305 ac_cv_header_stdc=no
  8306 fi
  8307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8308 fi
  8311 fi
  8312 fi
  8313 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  8314 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  8315 if test $ac_cv_header_stdc = yes; then
  8317 cat >>confdefs.h <<\_ACEOF
  8318 #define STDC_HEADERS 1
  8319 _ACEOF
  8321 fi
  8325 depcc="$OBJC" am_compiler_list='gcc3 gcc'
  8327 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  8328 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  8329 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
  8330   echo $ECHO_N "(cached) $ECHO_C" >&6
  8331 else
  8332   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  8333   # We make a subdir and do the tests there.  Otherwise we can end up
  8334   # making bogus files that we don't know about and never remove.  For
  8335   # instance it was reported that on HP-UX the gcc test will end up
  8336   # making a dummy file named `D' -- because `-MD' means `put the output
  8337   # in D'.
  8338   mkdir conftest.dir
  8339   # Copy depcomp to subdir because otherwise we won't find it if we're
  8340   # using a relative directory.
  8341   cp "$am_depcomp" conftest.dir
  8342   cd conftest.dir
  8343   # We will build objects and dependencies in a subdirectory because
  8344   # it helps to detect inapplicable dependency modes.  For instance
  8345   # both Tru64's cc and ICC support -MD to output dependencies as a
  8346   # side effect of compilation, but ICC will put the dependencies in
  8347   # the current directory while Tru64 will put them in the object
  8348   # directory.
  8349   mkdir sub
  8351   am_cv_OBJC_dependencies_compiler_type=none
  8352   if test "$am_compiler_list" = ""; then
  8353      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  8354   fi
  8355   for depmode in $am_compiler_list; do
  8356     # Setup a source with many dependencies, because some compilers
  8357     # like to wrap large dependency lists on column 80 (with \), and
  8358     # we should not choose a depcomp mode which is confused by this.
  8360     # We need to recreate these files for each test, as the compiler may
  8361     # overwrite some of them when testing with obscure command lines.
  8362     # This happens at least with the AIX C compiler.
  8363     : > sub/conftest.c
  8364     for i in 1 2 3 4 5 6; do
  8365       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  8366       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  8367       # Solaris 8's {/usr,}/bin/sh.
  8368       touch sub/conftst$i.h
  8369     done
  8370     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  8372     case $depmode in
  8373     nosideeffect)
  8374       # after this tag, mechanisms are not by side-effect, so they'll
  8375       # only be used when explicitly requested
  8376       if test "x$enable_dependency_tracking" = xyes; then
  8377 	continue
  8378       else
  8379 	break
  8380       fi
  8381       ;;
  8382     none) break ;;
  8383     esac
  8384     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  8385     # mode.  It turns out that the SunPro C++ compiler does not properly
  8386     # handle `-M -o', and we need to detect this.
  8387     if depmode=$depmode \
  8388        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  8389        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  8390        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  8391          >/dev/null 2>conftest.err &&
  8392        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  8393        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  8394        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  8395       # icc doesn't choke on unknown options, it will just issue warnings
  8396       # or remarks (even with -Werror).  So we grep stderr for any message
  8397       # that says an option was ignored or not supported.
  8398       # When given -MP, icc 7.0 and 7.1 complain thusly:
  8399       #   icc: Command line warning: ignoring option '-M'; no argument required
  8400       # The diagnosis changed in icc 8.0:
  8401       #   icc: Command line remark: option '-MP' not supported
  8402       if (grep 'ignoring option' conftest.err ||
  8403           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  8404         am_cv_OBJC_dependencies_compiler_type=$depmode
  8405         break
  8406       fi
  8407     fi
  8408   done
  8410   cd ..
  8411   rm -rf conftest.dir
  8412 else
  8413   am_cv_OBJC_dependencies_compiler_type=none
  8414 fi
  8416 fi
  8417 { echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
  8418 echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }
  8419 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
  8423 if
  8424   test "x$enable_dependency_tracking" != xno \
  8425   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
  8426   am__fastdepOBJC_TRUE=
  8427   am__fastdepOBJC_FALSE='#'
  8428 else
  8429   am__fastdepOBJC_TRUE='#'
  8430   am__fastdepOBJC_FALSE=
  8431 fi
  8435 # Extract the first word of "pod2man", so it can be a program name with args.
  8436 set dummy pod2man; ac_word=$2
  8437 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  8438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8439 if test "${ac_cv_path_POD2MAN+set}" = set; then
  8440   echo $ECHO_N "(cached) $ECHO_C" >&6
  8441 else
  8442   case $POD2MAN in
  8443   [\\/]* | ?:[\\/]*)
  8444   ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
  8445   ;;
  8446   *)
  8447   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8448 for as_dir in $PATH
  8449 do
  8450   IFS=$as_save_IFS
  8451   test -z "$as_dir" && as_dir=.
  8452   for ac_exec_ext in '' $ac_executable_extensions; do
  8453   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8454     ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
  8455     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8456     break 2
  8457   fi
  8458 done
  8459 done
  8460 IFS=$as_save_IFS
  8462   ;;
  8463 esac
  8464 fi
  8465 POD2MAN=$ac_cv_path_POD2MAN
  8466 if test -n "$POD2MAN"; then
  8467   { echo "$as_me:$LINENO: result: $POD2MAN" >&5
  8468 echo "${ECHO_T}$POD2MAN" >&6; }
  8469 else
  8470   { echo "$as_me:$LINENO: result: no" >&5
  8471 echo "${ECHO_T}no" >&6; }
  8472 fi
  8475 # Extract the first word of "pod2html", so it can be a program name with args.
  8476 set dummy pod2html; ac_word=$2
  8477 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  8478 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8479 if test "${ac_cv_path_POD2HTML+set}" = set; then
  8480   echo $ECHO_N "(cached) $ECHO_C" >&6
  8481 else
  8482   case $POD2HTML in
  8483   [\\/]* | ?:[\\/]*)
  8484   ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
  8485   ;;
  8486   *)
  8487   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8488 for as_dir in $PATH
  8489 do
  8490   IFS=$as_save_IFS
  8491   test -z "$as_dir" && as_dir=.
  8492   for ac_exec_ext in '' $ac_executable_extensions; do
  8493   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8494     ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
  8495     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8496     break 2
  8497   fi
  8498 done
  8499 done
  8500 IFS=$as_save_IFS
  8502   ;;
  8503 esac
  8504 fi
  8505 POD2HTML=$ac_cv_path_POD2HTML
  8506 if test -n "$POD2HTML"; then
  8507   { echo "$as_me:$LINENO: result: $POD2HTML" >&5
  8508 echo "${ECHO_T}$POD2HTML" >&6; }
  8509 else
  8510   { echo "$as_me:$LINENO: result: no" >&5
  8511 echo "${ECHO_T}no" >&6; }
  8512 fi
  8517 # Check whether --enable-strict-warn was given.
  8518 if test "${enable_strict_warn+set}" = set; then
  8519   enableval=$enable_strict_warn; if test "$enableval" == "yes"; then
  8520       enable_strictwarn=yes
  8521     fi
  8522 fi
  8524 # Check whether --enable-translator was given.
  8525 if test "${enable_translator+set}" = set; then
  8526   enableval=$enable_translator; true
  8527 else
  8528   enable_translator=yes
  8529 fi
  8531 # Check whether --enable-optimized was given.
  8532 if test "${enable_optimized+set}" = set; then
  8533   enableval=$enable_optimized; true
  8534 else
  8535   enable_optimized=yes
  8536 fi
  8538 # Check whether --enable-shared was given.
  8539 if test "${enable_shared+set}" = set; then
  8540   enableval=$enable_shared; if test "$enableval" == "yes"; then enable_shared=yes; else enable_shared=no; fi
  8541 else
  8542   enable_shared=cond
  8543 fi
  8545 # Check whether --enable-profiled was given.
  8546 if test "${enable_profiled+set}" = set; then
  8547   enableval=$enable_profiled; if test "$enableval" == "yes"; then
  8548       enable_profiled=yes;
  8549     fi
  8550 fi
  8552 # Check whether --enable-trace was given.
  8553 if test "${enable_trace+set}" = set; then
  8554   enableval=$enable_trace; if test "$enableval" == "yes"; then
  8556 cat >>confdefs.h <<\_ACEOF
  8557 #define ENABLE_TRACE_IO 1
  8558 _ACEOF
  8560     fi
  8561 fi
  8563 # Check whether --enable-watch was given.
  8564 if test "${enable_watch+set}" = set; then
  8565   enableval=$enable_watch; if test "$enableval" == "yes"; then
  8567 cat >>confdefs.h <<\_ACEOF
  8568 #define ENABLE_WATCH 1
  8569 _ACEOF
  8571    fi
  8572 fi
  8574 # Check whether --enable-sh4stats was given.
  8575 if test "${enable_sh4stats+set}" = set; then
  8576   enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
  8578 cat >>confdefs.h <<\_ACEOF
  8579 #define ENABLE_SH4STATS 1
  8580 _ACEOF
  8582     fi
  8583 fi
  8586 # Check whether --with-osmesa was given.
  8587 if test "${with_osmesa+set}" = set; then
  8588   withval=$with_osmesa;
  8589 else
  8590   with_osmesa=no
  8591 fi
  8594 # Check whether --with-gtk was given.
  8595 if test "${with_gtk+set}" = set; then
  8596   withval=$with_gtk; with_gtk=yes
  8597 else
  8598   with_gtk=x11
  8599 fi
  8602 # Check whether --with-esd was given.
  8603 if test "${with_esd+set}" = set; then
  8604   withval=$with_esd;
  8605 fi
  8608 # Check whether --with-pulse was given.
  8609 if test "${with_pulse+set}" = set; then
  8610   withval=$with_pulse;
  8611 fi
  8614 # Check whether --with-sdl was given.
  8615 if test "${with_sdl+set}" = set; then
  8616   withval=$with_sdl;
  8617 fi
  8624 ac_ext=m
  8625 ac_cpp='$OBJCPP $CPPFLAGS'
  8626 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8627 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8628 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8629 if test -n "$ac_tool_prefix"; then
  8630   for ac_prog in gcc objcc objc cc CC
  8631   do
  8632     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  8633 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  8634 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  8635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8636 if test "${ac_cv_prog_OBJC+set}" = set; then
  8637   echo $ECHO_N "(cached) $ECHO_C" >&6
  8638 else
  8639   if test -n "$OBJC"; then
  8640   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  8641 else
  8642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8643 for as_dir in $PATH
  8644 do
  8645   IFS=$as_save_IFS
  8646   test -z "$as_dir" && as_dir=.
  8647   for ac_exec_ext in '' $ac_executable_extensions; do
  8648   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8649     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  8650     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8651     break 2
  8652   fi
  8653 done
  8654 done
  8655 IFS=$as_save_IFS
  8657 fi
  8658 fi
  8659 OBJC=$ac_cv_prog_OBJC
  8660 if test -n "$OBJC"; then
  8661   { echo "$as_me:$LINENO: result: $OBJC" >&5
  8662 echo "${ECHO_T}$OBJC" >&6; }
  8663 else
  8664   { echo "$as_me:$LINENO: result: no" >&5
  8665 echo "${ECHO_T}no" >&6; }
  8666 fi
  8669     test -n "$OBJC" && break
  8670   done
  8671 fi
  8672 if test -z "$OBJC"; then
  8673   ac_ct_OBJC=$OBJC
  8674   for ac_prog in gcc objcc objc cc CC
  8675 do
  8676   # Extract the first word of "$ac_prog", so it can be a program name with args.
  8677 set dummy $ac_prog; ac_word=$2
  8678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  8679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8680 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  8681   echo $ECHO_N "(cached) $ECHO_C" >&6
  8682 else
  8683   if test -n "$ac_ct_OBJC"; then
  8684   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  8685 else
  8686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8687 for as_dir in $PATH
  8688 do
  8689   IFS=$as_save_IFS
  8690   test -z "$as_dir" && as_dir=.
  8691   for ac_exec_ext in '' $ac_executable_extensions; do
  8692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8693     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  8694     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8695     break 2
  8696   fi
  8697 done
  8698 done
  8699 IFS=$as_save_IFS
  8701 fi
  8702 fi
  8703 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  8704 if test -n "$ac_ct_OBJC"; then
  8705   { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  8706 echo "${ECHO_T}$ac_ct_OBJC" >&6; }
  8707 else
  8708   { echo "$as_me:$LINENO: result: no" >&5
  8709 echo "${ECHO_T}no" >&6; }
  8710 fi
  8713   test -n "$ac_ct_OBJC" && break
  8714 done
  8716   if test "x$ac_ct_OBJC" = x; then
  8717     OBJC="gcc"
  8718   else
  8719     case $cross_compiling:$ac_tool_warned in
  8720 yes:)
  8721 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  8722 whose name does not start with the host triplet.  If you think this
  8723 configuration is useful to you, please write to autoconf@gnu.org." >&5
  8724 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  8725 whose name does not start with the host triplet.  If you think this
  8726 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  8727 ac_tool_warned=yes ;;
  8728 esac
  8729     OBJC=$ac_ct_OBJC
  8730   fi
  8731 fi
  8733 # Provide some information about the compiler.
  8734 echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  8735 ac_compiler=`set X $ac_compile; echo $2`
  8736 { (ac_try="$ac_compiler --version >&5"
  8737 case "(($ac_try" in
  8738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8739   *) ac_try_echo=$ac_try;;
  8740 esac
  8741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8742   (eval "$ac_compiler --version >&5") 2>&5
  8743   ac_status=$?
  8744   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8745   (exit $ac_status); }
  8746 { (ac_try="$ac_compiler -v >&5"
  8747 case "(($ac_try" in
  8748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8749   *) ac_try_echo=$ac_try;;
  8750 esac
  8751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8752   (eval "$ac_compiler -v >&5") 2>&5
  8753   ac_status=$?
  8754   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8755   (exit $ac_status); }
  8756 { (ac_try="$ac_compiler -V >&5"
  8757 case "(($ac_try" in
  8758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8759   *) ac_try_echo=$ac_try;;
  8760 esac
  8761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8762   (eval "$ac_compiler -V >&5") 2>&5
  8763   ac_status=$?
  8764   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8765   (exit $ac_status); }
  8767 { echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  8768 echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
  8769 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  8770   echo $ECHO_N "(cached) $ECHO_C" >&6
  8771 else
  8772   cat >conftest.$ac_ext <<_ACEOF
  8773 /* confdefs.h.  */
  8774 _ACEOF
  8775 cat confdefs.h >>conftest.$ac_ext
  8776 cat >>conftest.$ac_ext <<_ACEOF
  8777 /* end confdefs.h.  */
  8779 int
  8780 main ()
  8782 #ifndef __GNUC__
  8783        choke me
  8784 #endif
  8787   return 0;
  8789 _ACEOF
  8790 rm -f conftest.$ac_objext
  8791 if { (ac_try="$ac_compile"
  8792 case "(($ac_try" in
  8793   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8794   *) ac_try_echo=$ac_try;;
  8795 esac
  8796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8797   (eval "$ac_compile") 2>conftest.er1
  8798   ac_status=$?
  8799   grep -v '^ *+' conftest.er1 >conftest.err
  8800   rm -f conftest.er1
  8801   cat conftest.err >&5
  8802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8803   (exit $ac_status); } && {
  8804 	 test -z "$ac_objc_werror_flag" ||
  8805 	 test ! -s conftest.err
  8806        } && test -s conftest.$ac_objext; then
  8807   ac_compiler_gnu=yes
  8808 else
  8809   echo "$as_me: failed program was:" >&5
  8810 sed 's/^/| /' conftest.$ac_ext >&5
  8812 	ac_compiler_gnu=no
  8813 fi
  8815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8816 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  8818 fi
  8819 { echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  8820 echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
  8821 GOBJC=`test $ac_compiler_gnu = yes && echo yes`
  8822 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  8823 ac_save_OBJCFLAGS=$OBJCFLAGS
  8824 { echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  8825 echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
  8826 if test "${ac_cv_prog_objc_g+set}" = set; then
  8827   echo $ECHO_N "(cached) $ECHO_C" >&6
  8828 else
  8829   ac_save_objc_werror_flag=$ac_objc_werror_flag
  8830    ac_objc_werror_flag=yes
  8831    ac_cv_prog_objc_g=no
  8832    OBJCFLAGS="-g"
  8833    cat >conftest.$ac_ext <<_ACEOF
  8834 /* confdefs.h.  */
  8835 _ACEOF
  8836 cat confdefs.h >>conftest.$ac_ext
  8837 cat >>conftest.$ac_ext <<_ACEOF
  8838 /* end confdefs.h.  */
  8840 int
  8841 main ()
  8845   return 0;
  8847 _ACEOF
  8848 rm -f conftest.$ac_objext
  8849 if { (ac_try="$ac_compile"
  8850 case "(($ac_try" in
  8851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8852   *) ac_try_echo=$ac_try;;
  8853 esac
  8854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8855   (eval "$ac_compile") 2>conftest.er1
  8856   ac_status=$?
  8857   grep -v '^ *+' conftest.er1 >conftest.err
  8858   rm -f conftest.er1
  8859   cat conftest.err >&5
  8860   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8861   (exit $ac_status); } && {
  8862 	 test -z "$ac_objc_werror_flag" ||
  8863 	 test ! -s conftest.err
  8864        } && test -s conftest.$ac_objext; then
  8865   ac_cv_prog_objc_g=yes
  8866 else
  8867   echo "$as_me: failed program was:" >&5
  8868 sed 's/^/| /' conftest.$ac_ext >&5
  8870 	OBJCFLAGS=""
  8871       cat >conftest.$ac_ext <<_ACEOF
  8872 /* confdefs.h.  */
  8873 _ACEOF
  8874 cat confdefs.h >>conftest.$ac_ext
  8875 cat >>conftest.$ac_ext <<_ACEOF
  8876 /* end confdefs.h.  */
  8878 int
  8879 main ()
  8883   return 0;
  8885 _ACEOF
  8886 rm -f conftest.$ac_objext
  8887 if { (ac_try="$ac_compile"
  8888 case "(($ac_try" in
  8889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8890   *) ac_try_echo=$ac_try;;
  8891 esac
  8892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8893   (eval "$ac_compile") 2>conftest.er1
  8894   ac_status=$?
  8895   grep -v '^ *+' conftest.er1 >conftest.err
  8896   rm -f conftest.er1
  8897   cat conftest.err >&5
  8898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8899   (exit $ac_status); } && {
  8900 	 test -z "$ac_objc_werror_flag" ||
  8901 	 test ! -s conftest.err
  8902        } && test -s conftest.$ac_objext; then
  8904 else
  8905   echo "$as_me: failed program was:" >&5
  8906 sed 's/^/| /' conftest.$ac_ext >&5
  8908 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  8909 	 OBJCFLAGS="-g"
  8910 	 cat >conftest.$ac_ext <<_ACEOF
  8911 /* confdefs.h.  */
  8912 _ACEOF
  8913 cat confdefs.h >>conftest.$ac_ext
  8914 cat >>conftest.$ac_ext <<_ACEOF
  8915 /* end confdefs.h.  */
  8917 int
  8918 main ()
  8922   return 0;
  8924 _ACEOF
  8925 rm -f conftest.$ac_objext
  8926 if { (ac_try="$ac_compile"
  8927 case "(($ac_try" in
  8928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8929   *) ac_try_echo=$ac_try;;
  8930 esac
  8931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8932   (eval "$ac_compile") 2>conftest.er1
  8933   ac_status=$?
  8934   grep -v '^ *+' conftest.er1 >conftest.err
  8935   rm -f conftest.er1
  8936   cat conftest.err >&5
  8937   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8938   (exit $ac_status); } && {
  8939 	 test -z "$ac_objc_werror_flag" ||
  8940 	 test ! -s conftest.err
  8941        } && test -s conftest.$ac_objext; then
  8942   ac_cv_prog_objc_g=yes
  8943 else
  8944   echo "$as_me: failed program was:" >&5
  8945 sed 's/^/| /' conftest.$ac_ext >&5
  8948 fi
  8950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8951 fi
  8953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8954 fi
  8956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8957    ac_objc_werror_flag=$ac_save_objc_werror_flag
  8958 fi
  8959 { echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  8960 echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
  8961 if test "$ac_test_OBJCFLAGS" = set; then
  8962   OBJCFLAGS=$ac_save_OBJCFLAGS
  8963 elif test $ac_cv_prog_objc_g = yes; then
  8964   if test "$GOBJC" = yes; then
  8965     OBJCFLAGS="-g -O2"
  8966   else
  8967     OBJCFLAGS="-g"
  8968   fi
  8969 else
  8970   if test "$GOBJC" = yes; then
  8971     OBJCFLAGS="-O2"
  8972   else
  8973     OBJCFLAGS=
  8974   fi
  8975 fi
  8976 ac_ext=c
  8977 ac_cpp='$CPP $CPPFLAGS'
  8978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8982 { echo "$as_me:$LINENO: checking for a working Objective-C compiler" >&5
  8983 echo $ECHO_N "checking for a working Objective-C compiler... $ECHO_C" >&6; }
  8984 ac_ext=m
  8985 ac_cpp='$OBJCPP $CPPFLAGS'
  8986 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8987 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8988 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8989 cat >conftest.$ac_ext <<_ACEOF
  8990 /* confdefs.h.  */
  8991 _ACEOF
  8992 cat confdefs.h >>conftest.$ac_ext
  8993 cat >>conftest.$ac_ext <<_ACEOF
  8994 /* end confdefs.h.  */
  8995 @interface Foo @end
  8996 int
  8997 main ()
  9001   return 0;
  9003 _ACEOF
  9004 rm -f conftest.$ac_objext
  9005 if { (ac_try="$ac_compile"
  9006 case "(($ac_try" in
  9007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9008   *) ac_try_echo=$ac_try;;
  9009 esac
  9010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9011   (eval "$ac_compile") 2>conftest.er1
  9012   ac_status=$?
  9013   grep -v '^ *+' conftest.er1 >conftest.err
  9014   rm -f conftest.er1
  9015   cat conftest.err >&5
  9016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9017   (exit $ac_status); } && {
  9018 	 test -z "$ac_objc_werror_flag" ||
  9019 	 test ! -s conftest.err
  9020        } && test -s conftest.$ac_objext; then
  9021   { echo "$as_me:$LINENO: result: yes" >&5
  9022 echo "${ECHO_T}yes" >&6; }
  9024    { echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  9025 echo $ECHO_N "checking for Cocoa/Cocoa.h... $ECHO_C" >&6; }
  9026 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  9027   echo $ECHO_N "(cached) $ECHO_C" >&6
  9028 else
  9029   cat >conftest.$ac_ext <<_ACEOF
  9030 /* confdefs.h.  */
  9031 _ACEOF
  9032 cat confdefs.h >>conftest.$ac_ext
  9033 cat >>conftest.$ac_ext <<_ACEOF
  9034 /* end confdefs.h.  */
  9035 $ac_includes_default
  9037 #include <Cocoa/Cocoa.h>
  9038 _ACEOF
  9039 rm -f conftest.$ac_objext
  9040 if { (ac_try="$ac_compile"
  9041 case "(($ac_try" in
  9042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9043   *) ac_try_echo=$ac_try;;
  9044 esac
  9045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9046   (eval "$ac_compile") 2>conftest.er1
  9047   ac_status=$?
  9048   grep -v '^ *+' conftest.er1 >conftest.err
  9049   rm -f conftest.er1
  9050   cat conftest.err >&5
  9051   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9052   (exit $ac_status); } && {
  9053 	 test -z "$ac_objc_werror_flag" ||
  9054 	 test ! -s conftest.err
  9055        } && test -s conftest.$ac_objext; then
  9056   ac_cv_header_Cocoa_Cocoa_h=yes
  9057 else
  9058   echo "$as_me: failed program was:" >&5
  9059 sed 's/^/| /' conftest.$ac_ext >&5
  9061 	ac_cv_header_Cocoa_Cocoa_h=no
  9062 fi
  9064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9065 fi
  9066 { echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  9067 echo "${ECHO_T}$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  9068 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
  9070       HAVE_COCOA='yes'
  9071       APPLE_BUILD='yes'
  9072       LIBS="$LIBS -framework AppKit -framework Carbon"
  9073       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"
  9074       LXDREAMCPPFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
  9075       LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
  9077 cat >>confdefs.h <<\_ACEOF
  9078 #define HAVE_COCOA 1
  9079 _ACEOF
  9082 cat >>confdefs.h <<\_ACEOF
  9083 #define APPLE_BUILD 1
  9084 _ACEOF
  9086       if test "x$with_gtk" = "xx11"; then
  9087         with_gtk=no
  9088       fi
  9090 fi
  9095 { echo "$as_me:$LINENO: checking OBJC version" >&5
  9096 echo $ECHO_N "checking OBJC version... $ECHO_C" >&6; }
  9097 if test -n "$OBJC"; then
  9098   _GOBJC_VERSION=`$OBJC --version | $SED -ne '/(GCC)/p'`
  9099   if test -n "$_GOBJC_VERSION"; then
  9100     { echo "$as_me:$LINENO: result: GCC" >&5
  9101 echo "${ECHO_T}GCC" >&6; }
  9102       OBJCOPT="-O2"
  9103                      OBJCFLAGS="$OBJCFLAGS -fno-strict-aliasing"
  9104   else
  9105     { echo "$as_me:$LINENO: result: Unknown" >&5
  9106 echo "${ECHO_T}Unknown" >&6; }
  9107       OBJCOPT="-O2"
  9108   fi
  9109 else
  9110   { echo "$as_me:$LINENO: result: None" >&5
  9111 echo "${ECHO_T}None" >&6; }
  9113 fi
  9116 ac_ext=m
  9117 ac_cpp='$OBJCPP $CPPFLAGS'
  9118 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9119 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9120 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9122 { echo "$as_me:$LINENO: checking if $OBJC supports -msse2" >&5
  9123 echo $ECHO_N "checking if $OBJC supports -msse2... $ECHO_C" >&6; }
  9124 save_OBJCFLAGS="$OBJCFLAGS"
  9125 OBJCFLAGS="-msse2 $OBJCFLAGS"
  9126 cat >conftest.$ac_ext <<_ACEOF
  9128   /* confdefs.h.  */
  9129 _ACEOF
  9130 cat confdefs.h >>conftest.$ac_ext
  9131 cat >>conftest.$ac_ext <<_ACEOF
  9132 /* end confdefs.h.  */
  9133 int main() { return 0; }
  9134 _ACEOF
  9135 rm -f conftest.$ac_objext
  9136 if { (ac_try="$ac_compile"
  9137 case "(($ac_try" in
  9138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9139   *) ac_try_echo=$ac_try;;
  9140 esac
  9141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9142   (eval "$ac_compile") 2>conftest.er1
  9143   ac_status=$?
  9144   grep -v '^ *+' conftest.er1 >conftest.err
  9145   rm -f conftest.er1
  9146   cat conftest.err >&5
  9147   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9148   (exit $ac_status); } && {
  9149 	 test -z "$ac_objc_werror_flag" ||
  9150 	 test ! -s conftest.err
  9151        } && test -s conftest.$ac_objext; then
  9153    { echo "$as_me:$LINENO: result: yes" >&5
  9154 echo "${ECHO_T}yes" >&6; }
  9156 else
  9157   echo "$as_me: failed program was:" >&5
  9158 sed 's/^/| /' conftest.$ac_ext >&5
  9161    OBJCFLAGS="$save_OBJCFLAGS"
  9162    { echo "$as_me:$LINENO: result: no" >&5
  9163 echo "${ECHO_T}no" >&6; }
  9165 fi
  9167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9168 ac_ext=m
  9169 ac_cpp='$OBJCPP $CPPFLAGS'
  9170 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9171 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9172 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9176 ac_ext=m
  9177 ac_cpp='$OBJCPP $CPPFLAGS'
  9178 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9179 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9180 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9182 { echo "$as_me:$LINENO: checking if $OBJC supports -mfpmath=sse" >&5
  9183 echo $ECHO_N "checking if $OBJC supports -mfpmath=sse... $ECHO_C" >&6; }
  9184 save_OBJCFLAGS="$OBJCFLAGS"
  9185 OBJCFLAGS="-mfpmath=sse $OBJCFLAGS"
  9186 cat >conftest.$ac_ext <<_ACEOF
  9188   /* confdefs.h.  */
  9189 _ACEOF
  9190 cat confdefs.h >>conftest.$ac_ext
  9191 cat >>conftest.$ac_ext <<_ACEOF
  9192 /* end confdefs.h.  */
  9193 int main() { return 0; }
  9194 _ACEOF
  9195 rm -f conftest.$ac_objext
  9196 if { (ac_try="$ac_compile"
  9197 case "(($ac_try" in
  9198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9199   *) ac_try_echo=$ac_try;;
  9200 esac
  9201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9202   (eval "$ac_compile") 2>conftest.er1
  9203   ac_status=$?
  9204   grep -v '^ *+' conftest.er1 >conftest.err
  9205   rm -f conftest.er1
  9206   cat conftest.err >&5
  9207   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9208   (exit $ac_status); } && {
  9209 	 test -z "$ac_objc_werror_flag" ||
  9210 	 test ! -s conftest.err
  9211        } && test -s conftest.$ac_objext; then
  9213    { echo "$as_me:$LINENO: result: yes" >&5
  9214 echo "${ECHO_T}yes" >&6; }
  9216 else
  9217   echo "$as_me: failed program was:" >&5
  9218 sed 's/^/| /' conftest.$ac_ext >&5
  9221    OBJCFLAGS="$save_OBJCFLAGS"
  9222    { echo "$as_me:$LINENO: result: no" >&5
  9223 echo "${ECHO_T}no" >&6; }
  9225 fi
  9227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9228 ac_ext=m
  9229 ac_cpp='$OBJCPP $CPPFLAGS'
  9230 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9231 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9232 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9236 else
  9237   echo "$as_me: failed program was:" >&5
  9238 sed 's/^/| /' conftest.$ac_ext >&5
  9240 	{ echo "$as_me:$LINENO: result: No" >&5
  9241 echo "${ECHO_T}No" >&6; }
  9243 fi
  9245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
  9246 ac_ext=c
  9247 ac_cpp='$CPP $CPPFLAGS'
  9248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9256 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
  9257   GUI_COCOA_TRUE=
  9258   GUI_COCOA_FALSE='#'
  9259 else
  9260   GUI_COCOA_TRUE='#'
  9261   GUI_COCOA_FALSE=
  9262 fi
  9264 if test "x$HAVE_COCOA" = 'xyes' -a "x$with_gtk" = "xno"; then
  9266 cat >>confdefs.h <<\_ACEOF
  9267 #define OSX_BUNDLE 1
  9268 _ACEOF
  9270 fi
  9272 CFLAGS_FOR_BUILD="-O2 -std=c99"
  9273 CFLAGS="-g -fexceptions"
  9274 OBJCFLAGS="-g -fexceptions"
  9276 cat >>confdefs.h <<\_ACEOF
  9277 #define HAVE_EXCEPTIONS 1
  9278 _ACEOF
  9281 STDCFLAG="-std=c99"
  9283 _GCC_VERSION=`$CC --version | $SED -ne '/gcc/p'`
  9284 _ICC_VERSION=`$CC --version | $SED -ne '/(ICC)/p'`
  9285 { echo "$as_me:$LINENO: checking CC version" >&5
  9286 echo $ECHO_N "checking CC version... $ECHO_C" >&6; }
  9287 if test -n "$_ICC_VERSION"; then
  9288    { echo "$as_me:$LINENO: result: ICC" >&5
  9289 echo "${ECHO_T}ICC" >&6; }
  9290      CCOPT="$CFLAGS -fast"
  9291                 CFLAGS="$CFLAGS -fno-strict-aliasing"
  9292 elif test -n "$_GCC_VERSION"; then
  9293    { echo "$as_me:$LINENO: result: GCC" >&5
  9294 echo "${ECHO_T}GCC" >&6; }
  9295      CCOPT="-O2"
  9296                 CFLAGS="$CFLAGS -fno-strict-aliasing"
  9297 else
  9298    { echo "$as_me:$LINENO: result: Unknown" >&5
  9299 echo "${ECHO_T}Unknown" >&6; }
  9300      CCOPT="$CFLAGS -O2"
  9301 fi
  9304 ac_ext=c
  9305 ac_cpp='$CPP $CPPFLAGS'
  9306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9310 { echo "$as_me:$LINENO: checking if $CC supports -msse2" >&5
  9311 echo $ECHO_N "checking if $CC supports -msse2... $ECHO_C" >&6; }
  9312 save_CFLAGS="$CFLAGS"
  9313 CFLAGS="-msse2 $CFLAGS"
  9314 cat >conftest.$ac_ext <<_ACEOF
  9316   /* confdefs.h.  */
  9317 _ACEOF
  9318 cat confdefs.h >>conftest.$ac_ext
  9319 cat >>conftest.$ac_ext <<_ACEOF
  9320 /* end confdefs.h.  */
  9321 int main() { return 0; }
  9322 _ACEOF
  9323 rm -f conftest.$ac_objext
  9324 if { (ac_try="$ac_compile"
  9325 case "(($ac_try" in
  9326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9327   *) ac_try_echo=$ac_try;;
  9328 esac
  9329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9330   (eval "$ac_compile") 2>conftest.er1
  9331   ac_status=$?
  9332   grep -v '^ *+' conftest.er1 >conftest.err
  9333   rm -f conftest.er1
  9334   cat conftest.err >&5
  9335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9336   (exit $ac_status); } && {
  9337 	 test -z "$ac_c_werror_flag" ||
  9338 	 test ! -s conftest.err
  9339        } && test -s conftest.$ac_objext; then
  9341    { echo "$as_me:$LINENO: result: yes" >&5
  9342 echo "${ECHO_T}yes" >&6; }
  9344 else
  9345   echo "$as_me: failed program was:" >&5
  9346 sed 's/^/| /' conftest.$ac_ext >&5
  9349    CFLAGS="$save_CFLAGS"
  9350    { echo "$as_me:$LINENO: result: no" >&5
  9351 echo "${ECHO_T}no" >&6; }
  9353 fi
  9355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9356 ac_ext=c
  9357 ac_cpp='$CPP $CPPFLAGS'
  9358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9364 ac_ext=c
  9365 ac_cpp='$CPP $CPPFLAGS'
  9366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9370 { echo "$as_me:$LINENO: checking if $CC supports -mfpmath=sse" >&5
  9371 echo $ECHO_N "checking if $CC supports -mfpmath=sse... $ECHO_C" >&6; }
  9372 save_CFLAGS="$CFLAGS"
  9373 CFLAGS="-mfpmath=sse $CFLAGS"
  9374 cat >conftest.$ac_ext <<_ACEOF
  9376   /* confdefs.h.  */
  9377 _ACEOF
  9378 cat confdefs.h >>conftest.$ac_ext
  9379 cat >>conftest.$ac_ext <<_ACEOF
  9380 /* end confdefs.h.  */
  9381 int main() { return 0; }
  9382 _ACEOF
  9383 rm -f conftest.$ac_objext
  9384 if { (ac_try="$ac_compile"
  9385 case "(($ac_try" in
  9386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9387   *) ac_try_echo=$ac_try;;
  9388 esac
  9389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9390   (eval "$ac_compile") 2>conftest.er1
  9391   ac_status=$?
  9392   grep -v '^ *+' conftest.er1 >conftest.err
  9393   rm -f conftest.er1
  9394   cat conftest.err >&5
  9395   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9396   (exit $ac_status); } && {
  9397 	 test -z "$ac_c_werror_flag" ||
  9398 	 test ! -s conftest.err
  9399        } && test -s conftest.$ac_objext; then
  9401    { echo "$as_me:$LINENO: result: yes" >&5
  9402 echo "${ECHO_T}yes" >&6; }
  9404 else
  9405   echo "$as_me: failed program was:" >&5
  9406 sed 's/^/| /' conftest.$ac_ext >&5
  9409    CFLAGS="$save_CFLAGS"
  9410    { echo "$as_me:$LINENO: result: no" >&5
  9411 echo "${ECHO_T}no" >&6; }
  9413 fi
  9415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9416 ac_ext=c
  9417 ac_cpp='$CPP $CPPFLAGS'
  9418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9424 if test "x$enable_optimized" = "xyes"; then
  9425    CFLAGS="$CFLAGS $CCOPT"
  9426    OBJCFLAGS="$OBJCFLAGS $OBJCOPT"
  9427    if test "x$enable_profiled" != "xyes"; then
  9428               CFLAGS="$CFLAGS -fomit-frame-pointer"
  9429        OBJCFLAGS="$OBJCFLAGS -fomit-frame-pointer"
  9430    fi
  9431 else
  9432    CFLAGS="$CFLAGS -g3"
  9433    OBJCFLAGS="$OBJCFLAGS -g3"
  9434 fi
  9436 if test "x$enable_profiled" = "xyes"; then
  9437    CFLAGS="$CFLAGS -pg"
  9438    LDFLAGS="$LDFLAGS -pg";
  9439    OBJCFLAGS="$OBJCFLAGS -pg";
  9440 fi
  9442 if test "x$enable_strictwarn" = "xyes"; then
  9443    CFLAGS="$CFLAGS -Wall -Werror -Wno-unused"
  9444    OBJCFLAGS="$OBJCFLAGS -Wall -Werror -Wno-unused"
  9445 fi
  9447 if test "x$enable_shared" != "xno"; then
  9449 cat >>confdefs.h <<\_ACEOF
  9450 #define ENABLE_SHARED 1
  9451 _ACEOF
  9453    if test "x$APPLE_BUILD" = "xyes"; then
  9454       SOEXT="dylib"
  9455       PLUGINLDFLAGS="-dynamiclib -undefined dynamic_lookup"
  9456    else
  9457       SOEXT="so"
  9458       PLUGINLDFLAGS="-shared"
  9459    fi
  9460    PLUGINCFLAGS="-fPIC"
  9462    if test "${ac_cv_header_dlfcn_h+set}" = set; then
  9463   { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  9464 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
  9465 if test "${ac_cv_header_dlfcn_h+set}" = set; then
  9466   echo $ECHO_N "(cached) $ECHO_C" >&6
  9467 fi
  9468 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  9469 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
  9470 else
  9471   # Is the header compilable?
  9472 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
  9473 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
  9474 cat >conftest.$ac_ext <<_ACEOF
  9475 /* confdefs.h.  */
  9476 _ACEOF
  9477 cat confdefs.h >>conftest.$ac_ext
  9478 cat >>conftest.$ac_ext <<_ACEOF
  9479 /* end confdefs.h.  */
  9480 $ac_includes_default
  9481 #include <dlfcn.h>
  9482 _ACEOF
  9483 rm -f conftest.$ac_objext
  9484 if { (ac_try="$ac_compile"
  9485 case "(($ac_try" in
  9486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9487   *) ac_try_echo=$ac_try;;
  9488 esac
  9489 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9490   (eval "$ac_compile") 2>conftest.er1
  9491   ac_status=$?
  9492   grep -v '^ *+' conftest.er1 >conftest.err
  9493   rm -f conftest.er1
  9494   cat conftest.err >&5
  9495   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9496   (exit $ac_status); } && {
  9497 	 test -z "$ac_c_werror_flag" ||
  9498 	 test ! -s conftest.err
  9499        } && test -s conftest.$ac_objext; then
  9500   ac_header_compiler=yes
  9501 else
  9502   echo "$as_me: failed program was:" >&5
  9503 sed 's/^/| /' conftest.$ac_ext >&5
  9505 	ac_header_compiler=no
  9506 fi
  9508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9509 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9510 echo "${ECHO_T}$ac_header_compiler" >&6; }
  9512 # Is the header present?
  9513 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
  9514 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
  9515 cat >conftest.$ac_ext <<_ACEOF
  9516 /* confdefs.h.  */
  9517 _ACEOF
  9518 cat confdefs.h >>conftest.$ac_ext
  9519 cat >>conftest.$ac_ext <<_ACEOF
  9520 /* end confdefs.h.  */
  9521 #include <dlfcn.h>
  9522 _ACEOF
  9523 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9524 case "(($ac_try" in
  9525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9526   *) ac_try_echo=$ac_try;;
  9527 esac
  9528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9529   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9530   ac_status=$?
  9531   grep -v '^ *+' conftest.er1 >conftest.err
  9532   rm -f conftest.er1
  9533   cat conftest.err >&5
  9534   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9535   (exit $ac_status); } >/dev/null && {
  9536 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9537 	 test ! -s conftest.err
  9538        }; then
  9539   ac_header_preproc=yes
  9540 else
  9541   echo "$as_me: failed program was:" >&5
  9542 sed 's/^/| /' conftest.$ac_ext >&5
  9544   ac_header_preproc=no
  9545 fi
  9547 rm -f conftest.err conftest.$ac_ext
  9548 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9549 echo "${ECHO_T}$ac_header_preproc" >&6; }
  9551 # So?  What about this header?
  9552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9553   yes:no: )
  9554     { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9555 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9556     { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
  9557 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
  9558     ac_header_preproc=yes
  9559     ;;
  9560   no:yes:* )
  9561     { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
  9562 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
  9563     { echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
  9564 echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
  9565     { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
  9566 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
  9567     { echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
  9568 echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9569     { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
  9570 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
  9571     { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
  9572 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
  9574     ;;
  9575 esac
  9576 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  9577 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
  9578 if test "${ac_cv_header_dlfcn_h+set}" = set; then
  9579   echo $ECHO_N "(cached) $ECHO_C" >&6
  9580 else
  9581   ac_cv_header_dlfcn_h=$ac_header_preproc
  9582 fi
  9583 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  9584 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
  9586 fi
  9587 if test $ac_cv_header_dlfcn_h = yes; then
  9589       { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
  9590 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
  9591 if test "${ac_cv_search_dlopen+set}" = set; then
  9592   echo $ECHO_N "(cached) $ECHO_C" >&6
  9593 else
  9594   ac_func_search_save_LIBS=$LIBS
  9595 cat >conftest.$ac_ext <<_ACEOF
  9596 /* confdefs.h.  */
  9597 _ACEOF
  9598 cat confdefs.h >>conftest.$ac_ext
  9599 cat >>conftest.$ac_ext <<_ACEOF
  9600 /* end confdefs.h.  */
  9602 /* Override any GCC internal prototype to avoid an error.
  9603    Use char because int might match the return type of a GCC
  9604    builtin and then its argument prototype would still apply.  */
  9605 #ifdef __cplusplus
  9606 extern "C"
  9607 #endif
  9608 char dlopen ();
  9609 int
  9610 main ()
  9612 return dlopen ();
  9614   return 0;
  9616 _ACEOF
  9617 for ac_lib in '' dl; do
  9618   if test -z "$ac_lib"; then
  9619     ac_res="none required"
  9620   else
  9621     ac_res=-l$ac_lib
  9622     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
  9623   fi
  9624   rm -f conftest.$ac_objext conftest$ac_exeext
  9625 if { (ac_try="$ac_link"
  9626 case "(($ac_try" in
  9627   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9628   *) ac_try_echo=$ac_try;;
  9629 esac
  9630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9631   (eval "$ac_link") 2>conftest.er1
  9632   ac_status=$?
  9633   grep -v '^ *+' conftest.er1 >conftest.err
  9634   rm -f conftest.er1
  9635   cat conftest.err >&5
  9636   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9637   (exit $ac_status); } && {
  9638 	 test -z "$ac_c_werror_flag" ||
  9639 	 test ! -s conftest.err
  9640        } && test -s conftest$ac_exeext &&
  9641        $as_test_x conftest$ac_exeext; then
  9642   ac_cv_search_dlopen=$ac_res
  9643 else
  9644   echo "$as_me: failed program was:" >&5
  9645 sed 's/^/| /' conftest.$ac_ext >&5
  9648 fi
  9650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9651       conftest$ac_exeext
  9652   if test "${ac_cv_search_dlopen+set}" = set; then
  9653   break
  9654 fi
  9655 done
  9656 if test "${ac_cv_search_dlopen+set}" = set; then
  9658 else
  9659   ac_cv_search_dlopen=no
  9660 fi
  9661 rm conftest.$ac_ext
  9662 LIBS=$ac_func_search_save_LIBS
  9663 fi
  9664 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
  9665 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
  9666 ac_res=$ac_cv_search_dlopen
  9667 if test "$ac_res" != no; then
  9668   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  9669   have_dlopen=yes
  9670 fi
  9672 fi
  9675    if test "x$have_dlopen" != "xyes"; then
  9676       if test "x$enable_shared" == "xyes"; then
  9677          { { echo "$as_me:$LINENO: error: \"--enable-shared not supported on your system - can't find a working dlopen\" " >&5
  9678 echo "$as_me: error: \"--enable-shared not supported on your system - can't find a working dlopen\" " >&2;}
  9679    { (exit 1); exit 1; }; }
  9680       else
  9681          { echo "$as_me:$LINENO: WARNING: \"Statically linking all plugins\"" >&5
  9682 echo "$as_me: WARNING: \"Statically linking all plugins\"" >&2;}
  9683       fi
  9684    fi
  9686    { echo "$as_me:$LINENO: checking if linker accepts -rdynamic" >&5
  9687 echo $ECHO_N "checking if linker accepts -rdynamic... $ECHO_C" >&6; }
  9688    old_LDFLAGS="$LDFLAGS"
  9689    LDFLAGS="$LDFLAGS -rdynamic"
  9690    cat >conftest.$ac_ext <<_ACEOF
  9691 /* confdefs.h.  */
  9692 _ACEOF
  9693 cat confdefs.h >>conftest.$ac_ext
  9694 cat >>conftest.$ac_ext <<_ACEOF
  9695 /* end confdefs.h.  */
  9696 int main() { return 0; }
  9697 _ACEOF
  9698 rm -f conftest.$ac_objext conftest$ac_exeext
  9699 if { (ac_try="$ac_link"
  9700 case "(($ac_try" in
  9701   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9702   *) ac_try_echo=$ac_try;;
  9703 esac
  9704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9705   (eval "$ac_link") 2>conftest.er1
  9706   ac_status=$?
  9707   grep -v '^ *+' conftest.er1 >conftest.err
  9708   rm -f conftest.er1
  9709   cat conftest.err >&5
  9710   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9711   (exit $ac_status); } && {
  9712 	 test -z "$ac_c_werror_flag" ||
  9713 	 test ! -s conftest.err
  9714        } && test -s conftest$ac_exeext &&
  9715        $as_test_x conftest$ac_exeext; then
  9717      LXDREAMLDFLAGS="-rdynamic"
  9718      { echo "$as_me:$LINENO: result: yes" >&5
  9719 echo "${ECHO_T}yes" >&6; }
  9721 else
  9722   echo "$as_me: failed program was:" >&5
  9723 sed 's/^/| /' conftest.$ac_ext >&5
  9726      LXDREAMLDFLAGS=""
  9727      { echo "$as_me:$LINENO: result: no" >&5
  9728 echo "${ECHO_T}no" >&6; }
  9729 fi
  9731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9732       conftest$ac_exeext conftest.$ac_ext
  9733    LDFLAGS="$old_LDFLAGS"
  9739 fi
  9742 if test "x$have_dlopen" = "xyes"; then
  9743   BUILD_SHARED_TRUE=
  9744   BUILD_SHARED_FALSE='#'
  9745 else
  9746   BUILD_SHARED_TRUE='#'
  9747   BUILD_SHARED_FALSE=
  9748 fi
  9752 { echo "$as_me:$LINENO: checking support for fastcall calling conventions" >&5
  9753 echo $ECHO_N "checking support for fastcall calling conventions... $ECHO_C" >&6; };
  9754 save_CFLAGS="$CFLAGS"
  9755 CFLAGS="-Werror $save_CFLAGS"
  9756 if test "$cross_compiling" = yes; then
  9758       { echo "$as_me:$LINENO: result: no" >&5
  9759 echo "${ECHO_T}no" >&6; }
  9761 else
  9762   cat >conftest.$ac_ext <<_ACEOF
  9764   /* confdefs.h.  */
  9765 _ACEOF
  9766 cat confdefs.h >>conftest.$ac_ext
  9767 cat >>conftest.$ac_ext <<_ACEOF
  9768 /* end confdefs.h.  */
  9770 int __attribute__((regparm(3))) foo(int a, int b) { return a+b; }
  9772 int main(int argc, char *argv[])
  9774    return foo( 1, 2 ) == 3 ? 0 : 1;
  9776 _ACEOF
  9777 rm -f conftest$ac_exeext
  9778 if { (ac_try="$ac_link"
  9779 case "(($ac_try" in
  9780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9781   *) ac_try_echo=$ac_try;;
  9782 esac
  9783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9784   (eval "$ac_link") 2>&5
  9785   ac_status=$?
  9786   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9787   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  9788   { (case "(($ac_try" in
  9789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9790   *) ac_try_echo=$ac_try;;
  9791 esac
  9792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9793   (eval "$ac_try") 2>&5
  9794   ac_status=$?
  9795   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9796   (exit $ac_status); }; }; then
  9798    { echo "$as_me:$LINENO: result: yes" >&5
  9799 echo "${ECHO_T}yes" >&6; }
  9802 cat >>confdefs.h <<\_ACEOF
  9803 #define HAVE_FASTCALL 1
  9804 _ACEOF
  9807 else
  9808   echo "$as_me: program exited with status $ac_status" >&5
  9809 echo "$as_me: failed program was:" >&5
  9810 sed 's/^/| /' conftest.$ac_ext >&5
  9812 ( exit $ac_status )
  9814    { echo "$as_me:$LINENO: result: no" >&5
  9815 echo "${ECHO_T}no" >&6; }
  9817 fi
  9818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  9819 fi
  9822 CFLAGS="$save_CFLAGS"
  9825 { echo "$as_me:$LINENO: checking support for force inlining" >&5
  9826 echo $ECHO_N "checking support for force inlining... $ECHO_C" >&6; };
  9827 cat >conftest.$ac_ext <<_ACEOF
  9829   /* confdefs.h.  */
  9830 _ACEOF
  9831 cat confdefs.h >>conftest.$ac_ext
  9832 cat >>conftest.$ac_ext <<_ACEOF
  9833 /* end confdefs.h.  */
  9835 static int __attribute__((always_inline)) foo(int a, int b) { return a+b; }
  9837 int main(int argc, char *argv[])
  9839    return foo( 1, 2 ) == 3 ? 0 : 1;
  9841 _ACEOF
  9842 rm -f conftest.$ac_objext
  9843 if { (ac_try="$ac_compile"
  9844 case "(($ac_try" in
  9845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9846   *) ac_try_echo=$ac_try;;
  9847 esac
  9848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9849   (eval "$ac_compile") 2>conftest.er1
  9850   ac_status=$?
  9851   grep -v '^ *+' conftest.er1 >conftest.err
  9852   rm -f conftest.er1
  9853   cat conftest.err >&5
  9854   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9855   (exit $ac_status); } && {
  9856 	 test -z "$ac_c_werror_flag" ||
  9857 	 test ! -s conftest.err
  9858        } && test -s conftest.$ac_objext; then
  9860    FORCEINLINE="__attribute__((always_inline))"
  9861    { echo "$as_me:$LINENO: result: $FORCEINLINE" >&5
  9862 echo "${ECHO_T}$FORCEINLINE" >&6; }
  9864 else
  9865   echo "$as_me: failed program was:" >&5
  9866 sed 's/^/| /' conftest.$ac_ext >&5
  9869    FORCEINLINE=""
  9870    { echo "$as_me:$LINENO: result: no" >&5
  9871 echo "${ECHO_T}no" >&6; }
  9873 fi
  9875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9878 cat >>confdefs.h <<_ACEOF
  9879 #define FORCEINLINE $FORCEINLINE
  9880 _ACEOF
  9883 { echo "$as_me:$LINENO: checking if we have a working __builtin_frame_address()" >&5
  9884 echo $ECHO_N "checking if we have a working __builtin_frame_address()... $ECHO_C" >&6; };
  9885 if test "$cross_compiling" = yes; then
  9887    { echo "$as_me:$LINENO: result: no" >&5
  9888 echo "${ECHO_T}no" >&6; }
  9889     { echo "$as_me:$LINENO: WARNING: Memory exceptions will be slow" >&5
  9890 echo "$as_me: WARNING: Memory exceptions will be slow" >&2;}
  9891 else
  9892   cat >conftest.$ac_ext <<_ACEOF
  9894   /* confdefs.h.  */
  9895 _ACEOF
  9896 cat confdefs.h >>conftest.$ac_ext
  9897 cat >>conftest.$ac_ext <<_ACEOF
  9898 /* end confdefs.h.  */
  9900 void * __attribute__((noinline)) first_arg( void *x, void *y ) { return x; }
  9901 int __attribute__((noinline)) foo( int arg, void *exc )
  9903     if( arg < 2 ) {
  9904         *(((void * volatile *)__builtin_frame_address(0))+1) = exc;
  9906     return 0;
  9909 int main(int argc, char *argv[])
  9911    goto *first_arg(&&start, &&except);
  9913 start:
  9914    return foo( argc, &&except ) + 1;
  9916 except:
  9917    return 0;
  9919 _ACEOF
  9920 rm -f conftest$ac_exeext
  9921 if { (ac_try="$ac_link"
  9922 case "(($ac_try" in
  9923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9924   *) ac_try_echo=$ac_try;;
  9925 esac
  9926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9927   (eval "$ac_link") 2>&5
  9928   ac_status=$?
  9929   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9930   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  9931   { (case "(($ac_try" in
  9932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9933   *) ac_try_echo=$ac_try;;
  9934 esac
  9935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9936   (eval "$ac_try") 2>&5
  9937   ac_status=$?
  9938   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9939   (exit $ac_status); }; }; then
  9941    { echo "$as_me:$LINENO: result: yes" >&5
  9942 echo "${ECHO_T}yes" >&6; }
  9945 cat >>confdefs.h <<\_ACEOF
  9946 #define HAVE_FRAME_ADDRESS 1
  9947 _ACEOF
  9950 else
  9951   echo "$as_me: program exited with status $ac_status" >&5
  9952 echo "$as_me: failed program was:" >&5
  9953 sed 's/^/| /' conftest.$ac_ext >&5
  9955 ( exit $ac_status )
  9957    { echo "$as_me:$LINENO: result: no" >&5
  9958 echo "${ECHO_T}no" >&6; }
  9959     { echo "$as_me:$LINENO: WARNING: Memory exceptions will be slow" >&5
  9960 echo "$as_me: WARNING: Memory exceptions will be slow" >&2;}
  9961 fi
  9962 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  9963 fi
  9969 { echo "$as_me:$LINENO: checking for library containing listen" >&5
  9970 echo $ECHO_N "checking for library containing listen... $ECHO_C" >&6; }
  9971 if test "${ac_cv_search_listen+set}" = set; then
  9972   echo $ECHO_N "(cached) $ECHO_C" >&6
  9973 else
  9974   ac_func_search_save_LIBS=$LIBS
  9975 cat >conftest.$ac_ext <<_ACEOF
  9976 /* confdefs.h.  */
  9977 _ACEOF
  9978 cat confdefs.h >>conftest.$ac_ext
  9979 cat >>conftest.$ac_ext <<_ACEOF
  9980 /* end confdefs.h.  */
  9982 /* Override any GCC internal prototype to avoid an error.
  9983    Use char because int might match the return type of a GCC
  9984    builtin and then its argument prototype would still apply.  */
  9985 #ifdef __cplusplus
  9986 extern "C"
  9987 #endif
  9988 char listen ();
  9989 int
  9990 main ()
  9992 return listen ();
  9994   return 0;
  9996 _ACEOF
  9997 for ac_lib in '' socket; do
  9998   if test -z "$ac_lib"; then
  9999     ac_res="none required"
 10000   else
 10001     ac_res=-l$ac_lib
 10002     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 10003   fi
 10004   rm -f conftest.$ac_objext conftest$ac_exeext
 10005 if { (ac_try="$ac_link"
 10006 case "(($ac_try" in
 10007   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10008   *) ac_try_echo=$ac_try;;
 10009 esac
 10010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10011   (eval "$ac_link") 2>conftest.er1
 10012   ac_status=$?
 10013   grep -v '^ *+' conftest.er1 >conftest.err
 10014   rm -f conftest.er1
 10015   cat conftest.err >&5
 10016   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10017   (exit $ac_status); } && {
 10018 	 test -z "$ac_c_werror_flag" ||
 10019 	 test ! -s conftest.err
 10020        } && test -s conftest$ac_exeext &&
 10021        $as_test_x conftest$ac_exeext; then
 10022   ac_cv_search_listen=$ac_res
 10023 else
 10024   echo "$as_me: failed program was:" >&5
 10025 sed 's/^/| /' conftest.$ac_ext >&5
 10028 fi
 10030 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10031       conftest$ac_exeext
 10032   if test "${ac_cv_search_listen+set}" = set; then
 10033   break
 10034 fi
 10035 done
 10036 if test "${ac_cv_search_listen+set}" = set; then
 10038 else
 10039   ac_cv_search_listen=no
 10040 fi
 10041 rm conftest.$ac_ext
 10042 LIBS=$ac_func_search_save_LIBS
 10043 fi
 10044 { echo "$as_me:$LINENO: result: $ac_cv_search_listen" >&5
 10045 echo "${ECHO_T}$ac_cv_search_listen" >&6; }
 10046 ac_res=$ac_cv_search_listen
 10047 if test "$ac_res" != no; then
 10048   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 10050 fi
 10052 { echo "$as_me:$LINENO: checking for library containing inet_ntoa" >&5
 10053 echo $ECHO_N "checking for library containing inet_ntoa... $ECHO_C" >&6; }
 10054 if test "${ac_cv_search_inet_ntoa+set}" = set; then
 10055   echo $ECHO_N "(cached) $ECHO_C" >&6
 10056 else
 10057   ac_func_search_save_LIBS=$LIBS
 10058 cat >conftest.$ac_ext <<_ACEOF
 10059 /* confdefs.h.  */
 10060 _ACEOF
 10061 cat confdefs.h >>conftest.$ac_ext
 10062 cat >>conftest.$ac_ext <<_ACEOF
 10063 /* end confdefs.h.  */
 10065 /* Override any GCC internal prototype to avoid an error.
 10066    Use char because int might match the return type of a GCC
 10067    builtin and then its argument prototype would still apply.  */
 10068 #ifdef __cplusplus
 10069 extern "C"
 10070 #endif
 10071 char inet_ntoa ();
 10072 int
 10073 main ()
 10075 return inet_ntoa ();
 10077   return 0;
 10079 _ACEOF
 10080 for ac_lib in '' nsl; do
 10081   if test -z "$ac_lib"; then
 10082     ac_res="none required"
 10083   else
 10084     ac_res=-l$ac_lib
 10085     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 10086   fi
 10087   rm -f conftest.$ac_objext conftest$ac_exeext
 10088 if { (ac_try="$ac_link"
 10089 case "(($ac_try" in
 10090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10091   *) ac_try_echo=$ac_try;;
 10092 esac
 10093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10094   (eval "$ac_link") 2>conftest.er1
 10095   ac_status=$?
 10096   grep -v '^ *+' conftest.er1 >conftest.err
 10097   rm -f conftest.er1
 10098   cat conftest.err >&5
 10099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10100   (exit $ac_status); } && {
 10101 	 test -z "$ac_c_werror_flag" ||
 10102 	 test ! -s conftest.err
 10103        } && test -s conftest$ac_exeext &&
 10104        $as_test_x conftest$ac_exeext; then
 10105   ac_cv_search_inet_ntoa=$ac_res
 10106 else
 10107   echo "$as_me: failed program was:" >&5
 10108 sed 's/^/| /' conftest.$ac_ext >&5
 10111 fi
 10113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10114       conftest$ac_exeext
 10115   if test "${ac_cv_search_inet_ntoa+set}" = set; then
 10116   break
 10117 fi
 10118 done
 10119 if test "${ac_cv_search_inet_ntoa+set}" = set; then
 10121 else
 10122   ac_cv_search_inet_ntoa=no
 10123 fi
 10124 rm conftest.$ac_ext
 10125 LIBS=$ac_func_search_save_LIBS
 10126 fi
 10127 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntoa" >&5
 10128 echo "${ECHO_T}$ac_cv_search_inet_ntoa" >&6; }
 10129 ac_res=$ac_cv_search_inet_ntoa
 10130 if test "$ac_res" != no; then
 10131   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 10133 fi
 10138 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 10139 	if test -n "$ac_tool_prefix"; then
 10140   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 10141 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 10142 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 10143 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 10144 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 10145   echo $ECHO_N "(cached) $ECHO_C" >&6
 10146 else
 10147   case $PKG_CONFIG in
 10148   [\\/]* | ?:[\\/]*)
 10149   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 10150   ;;
 10151   *)
 10152   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10153 for as_dir in $PATH
 10154 do
 10155   IFS=$as_save_IFS
 10156   test -z "$as_dir" && as_dir=.
 10157   for ac_exec_ext in '' $ac_executable_extensions; do
 10158   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10159     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 10160     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10161     break 2
 10162   fi
 10163 done
 10164 done
 10165 IFS=$as_save_IFS
 10167   ;;
 10168 esac
 10169 fi
 10170 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 10171 if test -n "$PKG_CONFIG"; then
 10172   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 10173 echo "${ECHO_T}$PKG_CONFIG" >&6; }
 10174 else
 10175   { echo "$as_me:$LINENO: result: no" >&5
 10176 echo "${ECHO_T}no" >&6; }
 10177 fi
 10180 fi
 10181 if test -z "$ac_cv_path_PKG_CONFIG"; then
 10182   ac_pt_PKG_CONFIG=$PKG_CONFIG
 10183   # Extract the first word of "pkg-config", so it can be a program name with args.
 10184 set dummy pkg-config; ac_word=$2
 10185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 10186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 10187 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 10188   echo $ECHO_N "(cached) $ECHO_C" >&6
 10189 else
 10190   case $ac_pt_PKG_CONFIG in
 10191   [\\/]* | ?:[\\/]*)
 10192   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 10193   ;;
 10194   *)
 10195   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10196 for as_dir in $PATH
 10197 do
 10198   IFS=$as_save_IFS
 10199   test -z "$as_dir" && as_dir=.
 10200   for ac_exec_ext in '' $ac_executable_extensions; do
 10201   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10202     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 10203     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10204     break 2
 10205   fi
 10206 done
 10207 done
 10208 IFS=$as_save_IFS
 10210   ;;
 10211 esac
 10212 fi
 10213 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 10214 if test -n "$ac_pt_PKG_CONFIG"; then
 10215   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 10216 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 10217 else
 10218   { echo "$as_me:$LINENO: result: no" >&5
 10219 echo "${ECHO_T}no" >&6; }
 10220 fi
 10222   if test "x$ac_pt_PKG_CONFIG" = x; then
 10223     PKG_CONFIG=""
 10224   else
 10225     case $cross_compiling:$ac_tool_warned in
 10226 yes:)
 10227 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 10228 whose name does not start with the host triplet.  If you think this
 10229 configuration is useful to you, please write to autoconf@gnu.org." >&5
 10230 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 10231 whose name does not start with the host triplet.  If you think this
 10232 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 10233 ac_tool_warned=yes ;;
 10234 esac
 10235     PKG_CONFIG=$ac_pt_PKG_CONFIG
 10236   fi
 10237 else
 10238   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 10239 fi
 10241 fi
 10242 if test -n "$PKG_CONFIG"; then
 10243 	_pkg_min_version=0.9.0
 10244 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 10245 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 10246 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 10247 		{ echo "$as_me:$LINENO: result: yes" >&5
 10248 echo "${ECHO_T}yes" >&6; }
 10249 	else
 10250 		{ echo "$as_me:$LINENO: result: no" >&5
 10251 echo "${ECHO_T}no" >&6; }
 10252 		PKG_CONFIG=""
 10253 	fi
 10255 fi
 10257 pkg_failed=no
 10258 { echo "$as_me:$LINENO: checking for LIBPNG" >&5
 10259 echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
 10261 if test -n "$LIBPNG_CFLAGS"; then
 10262     pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
 10263  elif test -n "$PKG_CONFIG"; then
 10264     if test -n "$PKG_CONFIG" && \
 10265     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
 10266   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
 10267   ac_status=$?
 10268   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10269   (exit $ac_status); }; then
 10270   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
 10271 else
 10272   pkg_failed=yes
 10273 fi
 10274  else
 10275     pkg_failed=untried
 10276 fi
 10277 if test -n "$LIBPNG_LIBS"; then
 10278     pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
 10279  elif test -n "$PKG_CONFIG"; then
 10280     if test -n "$PKG_CONFIG" && \
 10281     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
 10282   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
 10283   ac_status=$?
 10284   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10285   (exit $ac_status); }; then
 10286   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
 10287 else
 10288   pkg_failed=yes
 10289 fi
 10290  else
 10291     pkg_failed=untried
 10292 fi
 10296 if test $pkg_failed = yes; then
 10298 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10299         _pkg_short_errors_supported=yes
 10300 else
 10301         _pkg_short_errors_supported=no
 10302 fi
 10303         if test $_pkg_short_errors_supported = yes; then
 10304 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng " 2>&1`
 10305         else
 10306 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng " 2>&1`
 10307         fi
 10308 	# Put the nasty error message in config.log where it belongs
 10309 	echo "$LIBPNG_PKG_ERRORS" >&5
 10311 	{ { echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
 10313 $LIBPNG_PKG_ERRORS
 10315 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10316 installed software in a non-standard prefix.
 10318 Alternatively, you may set the environment variables LIBPNG_CFLAGS
 10319 and LIBPNG_LIBS to avoid the need to call pkg-config.
 10320 See the pkg-config man page for more details.
 10321 " >&5
 10322 echo "$as_me: error: Package requirements (libpng ) were not met:
 10324 $LIBPNG_PKG_ERRORS
 10326 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10327 installed software in a non-standard prefix.
 10329 Alternatively, you may set the environment variables LIBPNG_CFLAGS
 10330 and LIBPNG_LIBS to avoid the need to call pkg-config.
 10331 See the pkg-config man page for more details.
 10332 " >&2;}
 10333    { (exit 1); exit 1; }; }
 10334 elif test $pkg_failed = untried; then
 10335 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 10336 is in your PATH or set the PKG_CONFIG environment variable to the full
 10337 path to pkg-config.
 10339 Alternatively, you may set the environment variables LIBPNG_CFLAGS
 10340 and LIBPNG_LIBS to avoid the need to call pkg-config.
 10341 See the pkg-config man page for more details.
 10343 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10344 See \`config.log' for more details." >&5
 10345 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 10346 is in your PATH or set the PKG_CONFIG environment variable to the full
 10347 path to pkg-config.
 10349 Alternatively, you may set the environment variables LIBPNG_CFLAGS
 10350 and LIBPNG_LIBS to avoid the need to call pkg-config.
 10351 See the pkg-config man page for more details.
 10353 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10354 See \`config.log' for more details." >&2;}
 10355    { (exit 1); exit 1; }; }
 10356 else
 10357 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
 10358 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
 10359         { echo "$as_me:$LINENO: result: yes" >&5
 10360 echo "${ECHO_T}yes" >&6; }
 10362 fi
 10365 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
 10366 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
 10367 if test "${ac_cv_lib_z_uncompress+set}" = set; then
 10368   echo $ECHO_N "(cached) $ECHO_C" >&6
 10369 else
 10370   ac_check_lib_save_LIBS=$LIBS
 10371 LIBS="-lz  $LIBS"
 10372 cat >conftest.$ac_ext <<_ACEOF
 10373 /* confdefs.h.  */
 10374 _ACEOF
 10375 cat confdefs.h >>conftest.$ac_ext
 10376 cat >>conftest.$ac_ext <<_ACEOF
 10377 /* end confdefs.h.  */
 10379 /* Override any GCC internal prototype to avoid an error.
 10380    Use char because int might match the return type of a GCC
 10381    builtin and then its argument prototype would still apply.  */
 10382 #ifdef __cplusplus
 10383 extern "C"
 10384 #endif
 10385 char uncompress ();
 10386 int
 10387 main ()
 10389 return uncompress ();
 10391   return 0;
 10393 _ACEOF
 10394 rm -f conftest.$ac_objext conftest$ac_exeext
 10395 if { (ac_try="$ac_link"
 10396 case "(($ac_try" in
 10397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10398   *) ac_try_echo=$ac_try;;
 10399 esac
 10400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10401   (eval "$ac_link") 2>conftest.er1
 10402   ac_status=$?
 10403   grep -v '^ *+' conftest.er1 >conftest.err
 10404   rm -f conftest.er1
 10405   cat conftest.err >&5
 10406   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10407   (exit $ac_status); } && {
 10408 	 test -z "$ac_c_werror_flag" ||
 10409 	 test ! -s conftest.err
 10410        } && test -s conftest$ac_exeext &&
 10411        $as_test_x conftest$ac_exeext; then
 10412   ac_cv_lib_z_uncompress=yes
 10413 else
 10414   echo "$as_me: failed program was:" >&5
 10415 sed 's/^/| /' conftest.$ac_ext >&5
 10417 	ac_cv_lib_z_uncompress=no
 10418 fi
 10420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10421       conftest$ac_exeext conftest.$ac_ext
 10422 LIBS=$ac_check_lib_save_LIBS
 10423 fi
 10424 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
 10425 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
 10426 if test $ac_cv_lib_z_uncompress = yes; then
 10427   cat >>confdefs.h <<_ACEOF
 10428 #define HAVE_LIBZ 1
 10429 _ACEOF
 10431   LIBS="-lz $LIBS"
 10433 else
 10435     echo "Zlib (libz.so) could not be found, but is required."
 10436     exit 1
 10437 fi
 10440 if test "x$with_gtk" = "xno"; then
 10442 pkg_failed=no
 10443 { echo "$as_me:$LINENO: checking for GLIB" >&5
 10444 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
 10446 if test -n "$GLIB_CFLAGS"; then
 10447     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
 10448  elif test -n "$PKG_CONFIG"; then
 10449     if test -n "$PKG_CONFIG" && \
 10450     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
 10451   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
 10452   ac_status=$?
 10453   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10454   (exit $ac_status); }; then
 10455   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
 10456 else
 10457   pkg_failed=yes
 10458 fi
 10459  else
 10460     pkg_failed=untried
 10461 fi
 10462 if test -n "$GLIB_LIBS"; then
 10463     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
 10464  elif test -n "$PKG_CONFIG"; then
 10465     if test -n "$PKG_CONFIG" && \
 10466     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
 10467   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
 10468   ac_status=$?
 10469   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10470   (exit $ac_status); }; then
 10471   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
 10472 else
 10473   pkg_failed=yes
 10474 fi
 10475  else
 10476     pkg_failed=untried
 10477 fi
 10481 if test $pkg_failed = yes; then
 10483 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10484         _pkg_short_errors_supported=yes
 10485 else
 10486         _pkg_short_errors_supported=no
 10487 fi
 10488         if test $_pkg_short_errors_supported = yes; then
 10489 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
 10490         else
 10491 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
 10492         fi
 10493 	# Put the nasty error message in config.log where it belongs
 10494 	echo "$GLIB_PKG_ERRORS" >&5
 10496 	{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
 10498 $GLIB_PKG_ERRORS
 10500 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10501 installed software in a non-standard prefix.
 10503 Alternatively, you may set the environment variables GLIB_CFLAGS
 10504 and GLIB_LIBS to avoid the need to call pkg-config.
 10505 See the pkg-config man page for more details.
 10506 " >&5
 10507 echo "$as_me: error: Package requirements (glib-2.0) were not met:
 10509 $GLIB_PKG_ERRORS
 10511 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10512 installed software in a non-standard prefix.
 10514 Alternatively, you may set the environment variables GLIB_CFLAGS
 10515 and GLIB_LIBS to avoid the need to call pkg-config.
 10516 See the pkg-config man page for more details.
 10517 " >&2;}
 10518    { (exit 1); exit 1; }; }
 10519 elif test $pkg_failed = untried; then
 10520 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 10521 is in your PATH or set the PKG_CONFIG environment variable to the full
 10522 path to pkg-config.
 10524 Alternatively, you may set the environment variables GLIB_CFLAGS
 10525 and GLIB_LIBS to avoid the need to call pkg-config.
 10526 See the pkg-config man page for more details.
 10528 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10529 See \`config.log' for more details." >&5
 10530 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 10531 is in your PATH or set the PKG_CONFIG environment variable to the full
 10532 path to pkg-config.
 10534 Alternatively, you may set the environment variables GLIB_CFLAGS
 10535 and GLIB_LIBS to avoid the need to call pkg-config.
 10536 See the pkg-config man page for more details.
 10538 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10539 See \`config.log' for more details." >&2;}
 10540    { (exit 1); exit 1; }; }
 10541 else
 10542 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
 10543 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
 10544         { echo "$as_me:$LINENO: result: yes" >&5
 10545 echo "${ECHO_T}yes" >&6; }
 10547 fi
 10548 else
 10550 pkg_failed=no
 10551 { echo "$as_me:$LINENO: checking for GTK" >&5
 10552 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
 10554 if test -n "$GTK_CFLAGS"; then
 10555     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 10556  elif test -n "$PKG_CONFIG"; then
 10557     if test -n "$PKG_CONFIG" && \
 10558     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
 10559   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
 10560   ac_status=$?
 10561   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10562   (exit $ac_status); }; then
 10563   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
 10564 else
 10565   pkg_failed=yes
 10566 fi
 10567  else
 10568     pkg_failed=untried
 10569 fi
 10570 if test -n "$GTK_LIBS"; then
 10571     pkg_cv_GTK_LIBS="$GTK_LIBS"
 10572  elif test -n "$PKG_CONFIG"; then
 10573     if test -n "$PKG_CONFIG" && \
 10574     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
 10575   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
 10576   ac_status=$?
 10577   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10578   (exit $ac_status); }; then
 10579   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
 10580 else
 10581   pkg_failed=yes
 10582 fi
 10583  else
 10584     pkg_failed=untried
 10585 fi
 10589 if test $pkg_failed = yes; then
 10591 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10592         _pkg_short_errors_supported=yes
 10593 else
 10594         _pkg_short_errors_supported=no
 10595 fi
 10596         if test $_pkg_short_errors_supported = yes; then
 10597 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
 10598         else
 10599 	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
 10600         fi
 10601 	# Put the nasty error message in config.log where it belongs
 10602 	echo "$GTK_PKG_ERRORS" >&5
 10604 	{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
 10606 $GTK_PKG_ERRORS
 10608 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10609 installed software in a non-standard prefix.
 10611 Alternatively, you may set the environment variables GTK_CFLAGS
 10612 and GTK_LIBS to avoid the need to call pkg-config.
 10613 See the pkg-config man page for more details.
 10614 " >&5
 10615 echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
 10617 $GTK_PKG_ERRORS
 10619 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10620 installed software in a non-standard prefix.
 10622 Alternatively, you may set the environment variables GTK_CFLAGS
 10623 and GTK_LIBS to avoid the need to call pkg-config.
 10624 See the pkg-config man page for more details.
 10625 " >&2;}
 10626    { (exit 1); exit 1; }; }
 10627 elif test $pkg_failed = untried; then
 10628 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 10629 is in your PATH or set the PKG_CONFIG environment variable to the full
 10630 path to pkg-config.
 10632 Alternatively, you may set the environment variables GTK_CFLAGS
 10633 and GTK_LIBS to avoid the need to call pkg-config.
 10634 See the pkg-config man page for more details.
 10636 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10637 See \`config.log' for more details." >&5
 10638 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 10639 is in your PATH or set the PKG_CONFIG environment variable to the full
 10640 path to pkg-config.
 10642 Alternatively, you may set the environment variables GTK_CFLAGS
 10643 and GTK_LIBS to avoid the need to call pkg-config.
 10644 See the pkg-config man page for more details.
 10646 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10647 See \`config.log' for more details." >&2;}
 10648    { (exit 1); exit 1; }; }
 10649 else
 10650 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 10651 	GTK_LIBS=$pkg_cv_GTK_LIBS
 10652         { echo "$as_me:$LINENO: result: yes" >&5
 10653 echo "${ECHO_T}yes" >&6; }
 10655        HAVE_GTK='yes'
 10657 cat >>confdefs.h <<\_ACEOF
 10658 #define HAVE_GTK 1
 10659 _ACEOF
 10662 fi
 10664       LIBS="$LIBS $GTK_LIBS"
 10665    { echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
 10666 echo $ECHO_N "checking for gdk_x11_display_get_xdisplay... $ECHO_C" >&6; }
 10667 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
 10668   echo $ECHO_N "(cached) $ECHO_C" >&6
 10669 else
 10670   cat >conftest.$ac_ext <<_ACEOF
 10671 /* confdefs.h.  */
 10672 _ACEOF
 10673 cat confdefs.h >>conftest.$ac_ext
 10674 cat >>conftest.$ac_ext <<_ACEOF
 10675 /* end confdefs.h.  */
 10676 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
 10677    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 10678 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
 10680 /* System header to define __stub macros and hopefully few prototypes,
 10681     which can conflict with char gdk_x11_display_get_xdisplay (); below.
 10682     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 10683     <limits.h> exists even on freestanding compilers.  */
 10685 #ifdef __STDC__
 10686 # include <limits.h>
 10687 #else
 10688 # include <assert.h>
 10689 #endif
 10691 #undef gdk_x11_display_get_xdisplay
 10693 /* Override any GCC internal prototype to avoid an error.
 10694    Use char because int might match the return type of a GCC
 10695    builtin and then its argument prototype would still apply.  */
 10696 #ifdef __cplusplus
 10697 extern "C"
 10698 #endif
 10699 char gdk_x11_display_get_xdisplay ();
 10700 /* The GNU C library defines this for functions which it implements
 10701     to always fail with ENOSYS.  Some functions are actually named
 10702     something starting with __ and the normal name is an alias.  */
 10703 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
 10704 choke me
 10705 #endif
 10707 int
 10708 main ()
 10710 return gdk_x11_display_get_xdisplay ();
 10712   return 0;
 10714 _ACEOF
 10715 rm -f conftest.$ac_objext conftest$ac_exeext
 10716 if { (ac_try="$ac_link"
 10717 case "(($ac_try" in
 10718   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10719   *) ac_try_echo=$ac_try;;
 10720 esac
 10721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10722   (eval "$ac_link") 2>conftest.er1
 10723   ac_status=$?
 10724   grep -v '^ *+' conftest.er1 >conftest.err
 10725   rm -f conftest.er1
 10726   cat conftest.err >&5
 10727   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10728   (exit $ac_status); } && {
 10729 	 test -z "$ac_c_werror_flag" ||
 10730 	 test ! -s conftest.err
 10731        } && test -s conftest$ac_exeext &&
 10732        $as_test_x conftest$ac_exeext; then
 10733   ac_cv_func_gdk_x11_display_get_xdisplay=yes
 10734 else
 10735   echo "$as_me: failed program was:" >&5
 10736 sed 's/^/| /' conftest.$ac_ext >&5
 10738 	ac_cv_func_gdk_x11_display_get_xdisplay=no
 10739 fi
 10741 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10742       conftest$ac_exeext conftest.$ac_ext
 10743 fi
 10744 { echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
 10745 echo "${ECHO_T}$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
 10746 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
 10748       HAVE_GTK_X11='yes'
 10750 cat >>confdefs.h <<\_ACEOF
 10751 #define HAVE_GTK_X11 1
 10752 _ACEOF
 10754 fi
 10756             GTK_LIBS="$GTK_LIBS -lX11"
 10757       LIBS="$LIBS -lX11"
 10758    { echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
 10759 echo $ECHO_N "checking for gdk_quartz_window_get_nsview... $ECHO_C" >&6; }
 10760 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
 10761   echo $ECHO_N "(cached) $ECHO_C" >&6
 10762 else
 10763   cat >conftest.$ac_ext <<_ACEOF
 10764 /* confdefs.h.  */
 10765 _ACEOF
 10766 cat confdefs.h >>conftest.$ac_ext
 10767 cat >>conftest.$ac_ext <<_ACEOF
 10768 /* end confdefs.h.  */
 10769 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
 10770    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 10771 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
 10773 /* System header to define __stub macros and hopefully few prototypes,
 10774     which can conflict with char gdk_quartz_window_get_nsview (); below.
 10775     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 10776     <limits.h> exists even on freestanding compilers.  */
 10778 #ifdef __STDC__
 10779 # include <limits.h>
 10780 #else
 10781 # include <assert.h>
 10782 #endif
 10784 #undef gdk_quartz_window_get_nsview
 10786 /* Override any GCC internal prototype to avoid an error.
 10787    Use char because int might match the return type of a GCC
 10788    builtin and then its argument prototype would still apply.  */
 10789 #ifdef __cplusplus
 10790 extern "C"
 10791 #endif
 10792 char gdk_quartz_window_get_nsview ();
 10793 /* The GNU C library defines this for functions which it implements
 10794     to always fail with ENOSYS.  Some functions are actually named
 10795     something starting with __ and the normal name is an alias.  */
 10796 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
 10797 choke me
 10798 #endif
 10800 int
 10801 main ()
 10803 return gdk_quartz_window_get_nsview ();
 10805   return 0;
 10807 _ACEOF
 10808 rm -f conftest.$ac_objext conftest$ac_exeext
 10809 if { (ac_try="$ac_link"
 10810 case "(($ac_try" in
 10811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10812   *) ac_try_echo=$ac_try;;
 10813 esac
 10814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10815   (eval "$ac_link") 2>conftest.er1
 10816   ac_status=$?
 10817   grep -v '^ *+' conftest.er1 >conftest.err
 10818   rm -f conftest.er1
 10819   cat conftest.err >&5
 10820   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10821   (exit $ac_status); } && {
 10822 	 test -z "$ac_c_werror_flag" ||
 10823 	 test ! -s conftest.err
 10824        } && test -s conftest$ac_exeext &&
 10825        $as_test_x conftest$ac_exeext; then
 10826   ac_cv_func_gdk_quartz_window_get_nsview=yes
 10827 else
 10828   echo "$as_me: failed program was:" >&5
 10829 sed 's/^/| /' conftest.$ac_ext >&5
 10831 	ac_cv_func_gdk_quartz_window_get_nsview=no
 10832 fi
 10834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10835       conftest$ac_exeext conftest.$ac_ext
 10836 fi
 10837 { echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
 10838 echo "${ECHO_T}$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
 10839 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
 10841       HAVE_GTK_OSX='yes'
 10843 cat >>confdefs.h <<\_ACEOF
 10844 #define HAVE_GTK_OSX 1
 10845 _ACEOF
 10847 fi
 10849    if test "x$HAVE_GTK_X11$HAVE_GTK_OSX" = "x"; then
 10850       { { echo "$as_me:$LINENO: error: Unable to identify GTK platform
 10851 See \`config.log' for more details." >&5
 10852 echo "$as_me: error: Unable to identify GTK platform
 10853 See \`config.log' for more details." >&2;}
 10854    { (exit 1); exit 1; }; }
 10855    fi
 10856 fi
 10860 pkg_failed=no
 10861 { echo "$as_me:$LINENO: checking for GLIB_FOR_BUILD" >&5
 10862 echo $ECHO_N "checking for GLIB_FOR_BUILD... $ECHO_C" >&6; }
 10864 if test -n "$GLIB_FOR_BUILD_CFLAGS"; then
 10865     pkg_cv_GLIB_FOR_BUILD_CFLAGS="$GLIB_FOR_BUILD_CFLAGS"
 10866  elif test -n "$PKG_CONFIG"; then
 10867     if test -n "$PKG_CONFIG" && \
 10868     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
 10869   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
 10870   ac_status=$?
 10871   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10872   (exit $ac_status); }; then
 10873   pkg_cv_GLIB_FOR_BUILD_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
 10874 else
 10875   pkg_failed=yes
 10876 fi
 10877  else
 10878     pkg_failed=untried
 10879 fi
 10880 if test -n "$GLIB_FOR_BUILD_LIBS"; then
 10881     pkg_cv_GLIB_FOR_BUILD_LIBS="$GLIB_FOR_BUILD_LIBS"
 10882  elif test -n "$PKG_CONFIG"; then
 10883     if test -n "$PKG_CONFIG" && \
 10884     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
 10885   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
 10886   ac_status=$?
 10887   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10888   (exit $ac_status); }; then
 10889   pkg_cv_GLIB_FOR_BUILD_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
 10890 else
 10891   pkg_failed=yes
 10892 fi
 10893  else
 10894     pkg_failed=untried
 10895 fi
 10899 if test $pkg_failed = yes; then
 10901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10902         _pkg_short_errors_supported=yes
 10903 else
 10904         _pkg_short_errors_supported=no
 10905 fi
 10906         if test $_pkg_short_errors_supported = yes; then
 10907 	        GLIB_FOR_BUILD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
 10908         else
 10909 	        GLIB_FOR_BUILD_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
 10910         fi
 10911 	# Put the nasty error message in config.log where it belongs
 10912 	echo "$GLIB_FOR_BUILD_PKG_ERRORS" >&5
 10914 	{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
 10916 $GLIB_FOR_BUILD_PKG_ERRORS
 10918 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10919 installed software in a non-standard prefix.
 10921 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
 10922 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
 10923 See the pkg-config man page for more details.
 10924 " >&5
 10925 echo "$as_me: error: Package requirements (glib-2.0) were not met:
 10927 $GLIB_FOR_BUILD_PKG_ERRORS
 10929 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10930 installed software in a non-standard prefix.
 10932 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
 10933 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
 10934 See the pkg-config man page for more details.
 10935 " >&2;}
 10936    { (exit 1); exit 1; }; }
 10937 elif test $pkg_failed = untried; then
 10938 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 10939 is in your PATH or set the PKG_CONFIG environment variable to the full
 10940 path to pkg-config.
 10942 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
 10943 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
 10944 See the pkg-config man page for more details.
 10946 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10947 See \`config.log' for more details." >&5
 10948 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 10949 is in your PATH or set the PKG_CONFIG environment variable to the full
 10950 path to pkg-config.
 10952 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
 10953 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
 10954 See the pkg-config man page for more details.
 10956 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10957 See \`config.log' for more details." >&2;}
 10958    { (exit 1); exit 1; }; }
 10959 else
 10960 	GLIB_FOR_BUILD_CFLAGS=$pkg_cv_GLIB_FOR_BUILD_CFLAGS
 10961 	GLIB_FOR_BUILD_LIBS=$pkg_cv_GLIB_FOR_BUILD_LIBS
 10962         { echo "$as_me:$LINENO: result: yes" >&5
 10963 echo "${ECHO_T}yes" >&6; }
 10965 fi
 10970 if test "$HAVE_GTK" = 'yes'; then
 10971   GUI_GTK_TRUE=
 10972   GUI_GTK_FALSE='#'
 10973 else
 10974   GUI_GTK_TRUE='#'
 10975   GUI_GTK_FALSE=
 10976 fi
 10980 pkg_failed=no
 10981 { echo "$as_me:$LINENO: checking for LIBISOFS" >&5
 10982 echo $ECHO_N "checking for LIBISOFS... $ECHO_C" >&6; }
 10984 if test -n "$LIBISOFS_CFLAGS"; then
 10985     pkg_cv_LIBISOFS_CFLAGS="$LIBISOFS_CFLAGS"
 10986  elif test -n "$PKG_CONFIG"; then
 10987     if test -n "$PKG_CONFIG" && \
 10988     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libisofs-1 \"") >&5
 10989   ($PKG_CONFIG --exists --print-errors "libisofs-1 ") 2>&5
 10990   ac_status=$?
 10991   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10992   (exit $ac_status); }; then
 10993   pkg_cv_LIBISOFS_CFLAGS=`$PKG_CONFIG --cflags "libisofs-1 " 2>/dev/null`
 10994 else
 10995   pkg_failed=yes
 10996 fi
 10997  else
 10998     pkg_failed=untried
 10999 fi
 11000 if test -n "$LIBISOFS_LIBS"; then
 11001     pkg_cv_LIBISOFS_LIBS="$LIBISOFS_LIBS"
 11002  elif test -n "$PKG_CONFIG"; then
 11003     if test -n "$PKG_CONFIG" && \
 11004     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libisofs-1 \"") >&5
 11005   ($PKG_CONFIG --exists --print-errors "libisofs-1 ") 2>&5
 11006   ac_status=$?
 11007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11008   (exit $ac_status); }; then
 11009   pkg_cv_LIBISOFS_LIBS=`$PKG_CONFIG --libs "libisofs-1 " 2>/dev/null`
 11010 else
 11011   pkg_failed=yes
 11012 fi
 11013  else
 11014     pkg_failed=untried
 11015 fi
 11019 if test $pkg_failed = yes; then
 11021 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 11022         _pkg_short_errors_supported=yes
 11023 else
 11024         _pkg_short_errors_supported=no
 11025 fi
 11026         if test $_pkg_short_errors_supported = yes; then
 11027 	        LIBISOFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libisofs-1 " 2>&1`
 11028         else
 11029 	        LIBISOFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libisofs-1 " 2>&1`
 11030         fi
 11031 	# Put the nasty error message in config.log where it belongs
 11032 	echo "$LIBISOFS_PKG_ERRORS" >&5
 11034 	{ { echo "$as_me:$LINENO: error: Package requirements (libisofs-1 ) were not met:
 11036 $LIBISOFS_PKG_ERRORS
 11038 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 11039 installed software in a non-standard prefix.
 11041 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
 11042 and LIBISOFS_LIBS to avoid the need to call pkg-config.
 11043 See the pkg-config man page for more details.
 11044 " >&5
 11045 echo "$as_me: error: Package requirements (libisofs-1 ) were not met:
 11047 $LIBISOFS_PKG_ERRORS
 11049 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 11050 installed software in a non-standard prefix.
 11052 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
 11053 and LIBISOFS_LIBS to avoid the need to call pkg-config.
 11054 See the pkg-config man page for more details.
 11055 " >&2;}
 11056    { (exit 1); exit 1; }; }
 11057 elif test $pkg_failed = untried; then
 11058 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 11059 is in your PATH or set the PKG_CONFIG environment variable to the full
 11060 path to pkg-config.
 11062 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
 11063 and LIBISOFS_LIBS to avoid the need to call pkg-config.
 11064 See the pkg-config man page for more details.
 11066 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 11067 See \`config.log' for more details." >&5
 11068 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 11069 is in your PATH or set the PKG_CONFIG environment variable to the full
 11070 path to pkg-config.
 11072 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
 11073 and LIBISOFS_LIBS to avoid the need to call pkg-config.
 11074 See the pkg-config man page for more details.
 11076 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 11077 See \`config.log' for more details." >&2;}
 11078    { (exit 1); exit 1; }; }
 11079 else
 11080 	LIBISOFS_CFLAGS=$pkg_cv_LIBISOFS_CFLAGS
 11081 	LIBISOFS_LIBS=$pkg_cv_LIBISOFS_LIBS
 11082         { echo "$as_me:$LINENO: result: yes" >&5
 11083 echo "${ECHO_T}yes" >&6; }
 11085 fi
 11087 if test "x$with_osmesa" != xno; then
 11091 { echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
 11092 echo $ECHO_N "checking for OSMesaCreateContext in -lOSMesa... $ECHO_C" >&6; }
 11093 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
 11094   echo $ECHO_N "(cached) $ECHO_C" >&6
 11095 else
 11096   ac_check_lib_save_LIBS=$LIBS
 11097 LIBS="-lOSMesa  $LIBS"
 11098 cat >conftest.$ac_ext <<_ACEOF
 11099 /* confdefs.h.  */
 11100 _ACEOF
 11101 cat confdefs.h >>conftest.$ac_ext
 11102 cat >>conftest.$ac_ext <<_ACEOF
 11103 /* end confdefs.h.  */
 11105 /* Override any GCC internal prototype to avoid an error.
 11106    Use char because int might match the return type of a GCC
 11107    builtin and then its argument prototype would still apply.  */
 11108 #ifdef __cplusplus
 11109 extern "C"
 11110 #endif
 11111 char OSMesaCreateContext ();
 11112 int
 11113 main ()
 11115 return OSMesaCreateContext ();
 11117   return 0;
 11119 _ACEOF
 11120 rm -f conftest.$ac_objext conftest$ac_exeext
 11121 if { (ac_try="$ac_link"
 11122 case "(($ac_try" in
 11123   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11124   *) ac_try_echo=$ac_try;;
 11125 esac
 11126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11127   (eval "$ac_link") 2>conftest.er1
 11128   ac_status=$?
 11129   grep -v '^ *+' conftest.er1 >conftest.err
 11130   rm -f conftest.er1
 11131   cat conftest.err >&5
 11132   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11133   (exit $ac_status); } && {
 11134 	 test -z "$ac_c_werror_flag" ||
 11135 	 test ! -s conftest.err
 11136        } && test -s conftest$ac_exeext &&
 11137        $as_test_x conftest$ac_exeext; then
 11138   ac_cv_lib_OSMesa_OSMesaCreateContext=yes
 11139 else
 11140   echo "$as_me: failed program was:" >&5
 11141 sed 's/^/| /' conftest.$ac_ext >&5
 11143 	ac_cv_lib_OSMesa_OSMesaCreateContext=no
 11144 fi
 11146 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11147       conftest$ac_exeext conftest.$ac_ext
 11148 LIBS=$ac_check_lib_save_LIBS
 11149 fi
 11150 { echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
 11151 echo "${ECHO_T}$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
 11152 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
 11153   cat >>confdefs.h <<_ACEOF
 11154 #define HAVE_LIBOSMESA 1
 11155 _ACEOF
 11157   LIBS="-lOSMesa $LIBS"
 11159 else
 11160   { { echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
 11161 See \`config.log' for more details." >&5
 11162 echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
 11163 See \`config.log' for more details." >&2;}
 11164    { (exit 1); exit 1; }; }
 11165 fi
 11167   if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
 11168   { echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
 11169 echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }
 11170 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
 11171   echo $ECHO_N "(cached) $ECHO_C" >&6
 11172 fi
 11173 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
 11174 echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }
 11175 else
 11176   # Is the header compilable?
 11177 { echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
 11178 echo $ECHO_N "checking GL/osmesa.h usability... $ECHO_C" >&6; }
 11179 cat >conftest.$ac_ext <<_ACEOF
 11180 /* confdefs.h.  */
 11181 _ACEOF
 11182 cat confdefs.h >>conftest.$ac_ext
 11183 cat >>conftest.$ac_ext <<_ACEOF
 11184 /* end confdefs.h.  */
 11185 $ac_includes_default
 11186 #include <GL/osmesa.h>
 11187 _ACEOF
 11188 rm -f conftest.$ac_objext
 11189 if { (ac_try="$ac_compile"
 11190 case "(($ac_try" in
 11191   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11192   *) ac_try_echo=$ac_try;;
 11193 esac
 11194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11195   (eval "$ac_compile") 2>conftest.er1
 11196   ac_status=$?
 11197   grep -v '^ *+' conftest.er1 >conftest.err
 11198   rm -f conftest.er1
 11199   cat conftest.err >&5
 11200   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11201   (exit $ac_status); } && {
 11202 	 test -z "$ac_c_werror_flag" ||
 11203 	 test ! -s conftest.err
 11204        } && test -s conftest.$ac_objext; then
 11205   ac_header_compiler=yes
 11206 else
 11207   echo "$as_me: failed program was:" >&5
 11208 sed 's/^/| /' conftest.$ac_ext >&5
 11210 	ac_header_compiler=no
 11211 fi
 11213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11214 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 11215 echo "${ECHO_T}$ac_header_compiler" >&6; }
 11217 # Is the header present?
 11218 { echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
 11219 echo $ECHO_N "checking GL/osmesa.h presence... $ECHO_C" >&6; }
 11220 cat >conftest.$ac_ext <<_ACEOF
 11221 /* confdefs.h.  */
 11222 _ACEOF
 11223 cat confdefs.h >>conftest.$ac_ext
 11224 cat >>conftest.$ac_ext <<_ACEOF
 11225 /* end confdefs.h.  */
 11226 #include <GL/osmesa.h>
 11227 _ACEOF
 11228 if { (ac_try="$ac_cpp conftest.$ac_ext"
 11229 case "(($ac_try" in
 11230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11231   *) ac_try_echo=$ac_try;;
 11232 esac
 11233 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11234   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 11235   ac_status=$?
 11236   grep -v '^ *+' conftest.er1 >conftest.err
 11237   rm -f conftest.er1
 11238   cat conftest.err >&5
 11239   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11240   (exit $ac_status); } >/dev/null && {
 11241 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 11242 	 test ! -s conftest.err
 11243        }; then
 11244   ac_header_preproc=yes
 11245 else
 11246   echo "$as_me: failed program was:" >&5
 11247 sed 's/^/| /' conftest.$ac_ext >&5
 11249   ac_header_preproc=no
 11250 fi
 11252 rm -f conftest.err conftest.$ac_ext
 11253 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 11254 echo "${ECHO_T}$ac_header_preproc" >&6; }
 11256 # So?  What about this header?
 11257 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 11258   yes:no: )
 11259     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
 11260 echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 11261     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
 11262 echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
 11263     ac_header_preproc=yes
 11264     ;;
 11265   no:yes:* )
 11266     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
 11267 echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
 11268     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&5
 11269 echo "$as_me: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&2;}
 11270     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
 11271 echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
 11272     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&5
 11273 echo "$as_me: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 11274     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
 11275 echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
 11276     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
 11277 echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
 11279     ;;
 11280 esac
 11281 { echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
 11282 echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }
 11283 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
 11284   echo $ECHO_N "(cached) $ECHO_C" >&6
 11285 else
 11286   ac_cv_header_GL_osmesa_h=$ac_header_preproc
 11287 fi
 11288 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
 11289 echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }
 11291 fi
 11292 if test $ac_cv_header_GL_osmesa_h = yes; then
 11294 else
 11295   { { echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
 11296 See \`config.log' for more details." >&5
 11297 echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
 11298 See \`config.log' for more details." >&2;}
 11299    { (exit 1); exit 1; }; }
 11300 fi
 11303   HAVE_OSMESA='yes'
 11304   VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
 11306 cat >>confdefs.h <<\_ACEOF
 11307 #define HAVE_OSMESA 1
 11308 _ACEOF
 11310 else
 11313    if test "x$APPLE_BUILD" != 'xyes'; then
 11315 pkg_failed=no
 11316 { echo "$as_me:$LINENO: checking for LIBGL" >&5
 11317 echo $ECHO_N "checking for LIBGL... $ECHO_C" >&6; }
 11319 if test -n "$LIBGL_CFLAGS"; then
 11320     pkg_cv_LIBGL_CFLAGS="$LIBGL_CFLAGS"
 11321  elif test -n "$PKG_CONFIG"; then
 11322     if test -n "$PKG_CONFIG" && \
 11323     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl \"") >&5
 11324   ($PKG_CONFIG --exists --print-errors "gl ") 2>&5
 11325   ac_status=$?
 11326   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11327   (exit $ac_status); }; then
 11328   pkg_cv_LIBGL_CFLAGS=`$PKG_CONFIG --cflags "gl " 2>/dev/null`
 11329 else
 11330   pkg_failed=yes
 11331 fi
 11332  else
 11333     pkg_failed=untried
 11334 fi
 11335 if test -n "$LIBGL_LIBS"; then
 11336     pkg_cv_LIBGL_LIBS="$LIBGL_LIBS"
 11337  elif test -n "$PKG_CONFIG"; then
 11338     if test -n "$PKG_CONFIG" && \
 11339     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl \"") >&5
 11340   ($PKG_CONFIG --exists --print-errors "gl ") 2>&5
 11341   ac_status=$?
 11342   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11343   (exit $ac_status); }; then
 11344   pkg_cv_LIBGL_LIBS=`$PKG_CONFIG --libs "gl " 2>/dev/null`
 11345 else
 11346   pkg_failed=yes
 11347 fi
 11348  else
 11349     pkg_failed=untried
 11350 fi
 11354 if test $pkg_failed = yes; then
 11356 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 11357         _pkg_short_errors_supported=yes
 11358 else
 11359         _pkg_short_errors_supported=no
 11360 fi
 11361         if test $_pkg_short_errors_supported = yes; then
 11362 	        LIBGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gl " 2>&1`
 11363         else
 11364 	        LIBGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gl " 2>&1`
 11365         fi
 11366 	# Put the nasty error message in config.log where it belongs
 11367 	echo "$LIBGL_PKG_ERRORS" >&5
 11369 	{ { echo "$as_me:$LINENO: error: Package requirements (gl ) were not met:
 11371 $LIBGL_PKG_ERRORS
 11373 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 11374 installed software in a non-standard prefix.
 11376 Alternatively, you may set the environment variables LIBGL_CFLAGS
 11377 and LIBGL_LIBS to avoid the need to call pkg-config.
 11378 See the pkg-config man page for more details.
 11379 " >&5
 11380 echo "$as_me: error: Package requirements (gl ) were not met:
 11382 $LIBGL_PKG_ERRORS
 11384 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 11385 installed software in a non-standard prefix.
 11387 Alternatively, you may set the environment variables LIBGL_CFLAGS
 11388 and LIBGL_LIBS to avoid the need to call pkg-config.
 11389 See the pkg-config man page for more details.
 11390 " >&2;}
 11391    { (exit 1); exit 1; }; }
 11392 elif test $pkg_failed = untried; then
 11393 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 11394 is in your PATH or set the PKG_CONFIG environment variable to the full
 11395 path to pkg-config.
 11397 Alternatively, you may set the environment variables LIBGL_CFLAGS
 11398 and LIBGL_LIBS to avoid the need to call pkg-config.
 11399 See the pkg-config man page for more details.
 11401 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 11402 See \`config.log' for more details." >&5
 11403 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 11404 is in your PATH or set the PKG_CONFIG environment variable to the full
 11405 path to pkg-config.
 11407 Alternatively, you may set the environment variables LIBGL_CFLAGS
 11408 and LIBGL_LIBS to avoid the need to call pkg-config.
 11409 See the pkg-config man page for more details.
 11411 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 11412 See \`config.log' for more details." >&2;}
 11413    { (exit 1); exit 1; }; }
 11414 else
 11415 	LIBGL_CFLAGS=$pkg_cv_LIBGL_CFLAGS
 11416 	LIBGL_LIBS=$pkg_cv_LIBGL_LIBS
 11417         { echo "$as_me:$LINENO: result: yes" >&5
 11418 echo "${ECHO_T}yes" >&6; }
 11420 fi
 11421                                       LIBS="$LIBS $LIBGL_LIBS";
 11422       CPPFLAGS="$CPPFLAGS $LIBGL_CFLAGS";
 11423    else
 11424       { echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
 11425 echo $ECHO_N "checking for NSOpenGLGetVersion... $ECHO_C" >&6; }
 11426 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
 11427   echo $ECHO_N "(cached) $ECHO_C" >&6
 11428 else
 11429   cat >conftest.$ac_ext <<_ACEOF
 11430 /* confdefs.h.  */
 11431 _ACEOF
 11432 cat confdefs.h >>conftest.$ac_ext
 11433 cat >>conftest.$ac_ext <<_ACEOF
 11434 /* end confdefs.h.  */
 11435 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
 11436    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11437 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
 11439 /* System header to define __stub macros and hopefully few prototypes,
 11440     which can conflict with char NSOpenGLGetVersion (); below.
 11441     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11442     <limits.h> exists even on freestanding compilers.  */
 11444 #ifdef __STDC__
 11445 # include <limits.h>
 11446 #else
 11447 # include <assert.h>
 11448 #endif
 11450 #undef NSOpenGLGetVersion
 11452 /* Override any GCC internal prototype to avoid an error.
 11453    Use char because int might match the return type of a GCC
 11454    builtin and then its argument prototype would still apply.  */
 11455 #ifdef __cplusplus
 11456 extern "C"
 11457 #endif
 11458 char NSOpenGLGetVersion ();
 11459 /* The GNU C library defines this for functions which it implements
 11460     to always fail with ENOSYS.  Some functions are actually named
 11461     something starting with __ and the normal name is an alias.  */
 11462 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
 11463 choke me
 11464 #endif
 11466 int
 11467 main ()
 11469 return NSOpenGLGetVersion ();
 11471   return 0;
 11473 _ACEOF
 11474 rm -f conftest.$ac_objext conftest$ac_exeext
 11475 if { (ac_try="$ac_link"
 11476 case "(($ac_try" in
 11477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11478   *) ac_try_echo=$ac_try;;
 11479 esac
 11480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11481   (eval "$ac_link") 2>conftest.er1
 11482   ac_status=$?
 11483   grep -v '^ *+' conftest.er1 >conftest.err
 11484   rm -f conftest.er1
 11485   cat conftest.err >&5
 11486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11487   (exit $ac_status); } && {
 11488 	 test -z "$ac_c_werror_flag" ||
 11489 	 test ! -s conftest.err
 11490        } && test -s conftest$ac_exeext &&
 11491        $as_test_x conftest$ac_exeext; then
 11492   ac_cv_func_NSOpenGLGetVersion=yes
 11493 else
 11494   echo "$as_me: failed program was:" >&5
 11495 sed 's/^/| /' conftest.$ac_ext >&5
 11497 	ac_cv_func_NSOpenGLGetVersion=no
 11498 fi
 11500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11501       conftest$ac_exeext conftest.$ac_ext
 11502 fi
 11503 { echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
 11504 echo "${ECHO_T}$ac_cv_func_NSOpenGLGetVersion" >&6; }
 11505 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
 11507          HAVE_NSGL='yes'
 11508          VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
 11510 cat >>confdefs.h <<\_ACEOF
 11511 #define HAVE_NSGL 1
 11512 _ACEOF
 11514 fi
 11516    fi
 11518    if test "x$HAVE_GTK_X11" = "xyes"; then
 11519       if test "x$APPLE_BUILD" = "xyes"; then
 11520          LIBS="$LIBS -L/usr/X11/lib -lGL"
 11521       fi
 11522       { echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
 11523 echo $ECHO_N "checking for glXQueryVersion... $ECHO_C" >&6; }
 11524 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
 11525   echo $ECHO_N "(cached) $ECHO_C" >&6
 11526 else
 11527   cat >conftest.$ac_ext <<_ACEOF
 11528 /* confdefs.h.  */
 11529 _ACEOF
 11530 cat confdefs.h >>conftest.$ac_ext
 11531 cat >>conftest.$ac_ext <<_ACEOF
 11532 /* end confdefs.h.  */
 11533 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
 11534    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11535 #define glXQueryVersion innocuous_glXQueryVersion
 11537 /* System header to define __stub macros and hopefully few prototypes,
 11538     which can conflict with char glXQueryVersion (); below.
 11539     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11540     <limits.h> exists even on freestanding compilers.  */
 11542 #ifdef __STDC__
 11543 # include <limits.h>
 11544 #else
 11545 # include <assert.h>
 11546 #endif
 11548 #undef glXQueryVersion
 11550 /* Override any GCC internal prototype to avoid an error.
 11551    Use char because int might match the return type of a GCC
 11552    builtin and then its argument prototype would still apply.  */
 11553 #ifdef __cplusplus
 11554 extern "C"
 11555 #endif
 11556 char glXQueryVersion ();
 11557 /* The GNU C library defines this for functions which it implements
 11558     to always fail with ENOSYS.  Some functions are actually named
 11559     something starting with __ and the normal name is an alias.  */
 11560 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
 11561 choke me
 11562 #endif
 11564 int
 11565 main ()
 11567 return glXQueryVersion ();
 11569   return 0;
 11571 _ACEOF
 11572 rm -f conftest.$ac_objext conftest$ac_exeext
 11573 if { (ac_try="$ac_link"
 11574 case "(($ac_try" in
 11575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11576   *) ac_try_echo=$ac_try;;
 11577 esac
 11578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11579   (eval "$ac_link") 2>conftest.er1
 11580   ac_status=$?
 11581   grep -v '^ *+' conftest.er1 >conftest.err
 11582   rm -f conftest.er1
 11583   cat conftest.err >&5
 11584   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11585   (exit $ac_status); } && {
 11586 	 test -z "$ac_c_werror_flag" ||
 11587 	 test ! -s conftest.err
 11588        } && test -s conftest$ac_exeext &&
 11589        $as_test_x conftest$ac_exeext; then
 11590   ac_cv_func_glXQueryVersion=yes
 11591 else
 11592   echo "$as_me: failed program was:" >&5
 11593 sed 's/^/| /' conftest.$ac_ext >&5
 11595 	ac_cv_func_glXQueryVersion=no
 11596 fi
 11598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11599       conftest$ac_exeext conftest.$ac_ext
 11600 fi
 11601 { echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
 11602 echo "${ECHO_T}$ac_cv_func_glXQueryVersion" >&6; }
 11603 if test $ac_cv_func_glXQueryVersion = yes; then
 11605          HAVE_GLX='yes'
 11606          VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
 11608 cat >>confdefs.h <<\_ACEOF
 11609 #define HAVE_GLX 1
 11610 _ACEOF
 11612 fi
 11614    fi
 11617 fi
 11624 if test "x$HAVE_OSMESA" = "xyes"; then
 11625   VIDEO_OSMESA_TRUE=
 11626   VIDEO_OSMESA_FALSE='#'
 11627 else
 11628   VIDEO_OSMESA_TRUE='#'
 11629   VIDEO_OSMESA_FALSE=
 11630 fi
 11634 if test "x$HAVE_GLX" = "xyes"; then
 11635   VIDEO_GLX_TRUE=
 11636   VIDEO_GLX_FALSE='#'
 11637 else
 11638   VIDEO_GLX_TRUE='#'
 11639   VIDEO_GLX_FALSE=
 11640 fi
 11644 if test "x$HAVE_NSGL" = "xyes"; then
 11645   VIDEO_NSGL_TRUE=
 11646   VIDEO_NSGL_FALSE='#'
 11647 else
 11648   VIDEO_NSGL_TRUE='#'
 11649   VIDEO_NSGL_FALSE=
 11650 fi
 11653 { echo "$as_me:$LINENO: checking for glGenFramebuffers" >&5
 11654 echo $ECHO_N "checking for glGenFramebuffers... $ECHO_C" >&6; }
 11655 if test "${ac_cv_func_glGenFramebuffers+set}" = set; then
 11656   echo $ECHO_N "(cached) $ECHO_C" >&6
 11657 else
 11658   cat >conftest.$ac_ext <<_ACEOF
 11659 /* confdefs.h.  */
 11660 _ACEOF
 11661 cat confdefs.h >>conftest.$ac_ext
 11662 cat >>conftest.$ac_ext <<_ACEOF
 11663 /* end confdefs.h.  */
 11664 /* Define glGenFramebuffers to an innocuous variant, in case <limits.h> declares glGenFramebuffers.
 11665    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11666 #define glGenFramebuffers innocuous_glGenFramebuffers
 11668 /* System header to define __stub macros and hopefully few prototypes,
 11669     which can conflict with char glGenFramebuffers (); below.
 11670     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11671     <limits.h> exists even on freestanding compilers.  */
 11673 #ifdef __STDC__
 11674 # include <limits.h>
 11675 #else
 11676 # include <assert.h>
 11677 #endif
 11679 #undef glGenFramebuffers
 11681 /* Override any GCC internal prototype to avoid an error.
 11682    Use char because int might match the return type of a GCC
 11683    builtin and then its argument prototype would still apply.  */
 11684 #ifdef __cplusplus
 11685 extern "C"
 11686 #endif
 11687 char glGenFramebuffers ();
 11688 /* The GNU C library defines this for functions which it implements
 11689     to always fail with ENOSYS.  Some functions are actually named
 11690     something starting with __ and the normal name is an alias.  */
 11691 #if defined __stub_glGenFramebuffers || defined __stub___glGenFramebuffers
 11692 choke me
 11693 #endif
 11695 int
 11696 main ()
 11698 return glGenFramebuffers ();
 11700   return 0;
 11702 _ACEOF
 11703 rm -f conftest.$ac_objext conftest$ac_exeext
 11704 if { (ac_try="$ac_link"
 11705 case "(($ac_try" in
 11706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11707   *) ac_try_echo=$ac_try;;
 11708 esac
 11709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11710   (eval "$ac_link") 2>conftest.er1
 11711   ac_status=$?
 11712   grep -v '^ *+' conftest.er1 >conftest.err
 11713   rm -f conftest.er1
 11714   cat conftest.err >&5
 11715   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11716   (exit $ac_status); } && {
 11717 	 test -z "$ac_c_werror_flag" ||
 11718 	 test ! -s conftest.err
 11719        } && test -s conftest$ac_exeext &&
 11720        $as_test_x conftest$ac_exeext; then
 11721   ac_cv_func_glGenFramebuffers=yes
 11722 else
 11723   echo "$as_me: failed program was:" >&5
 11724 sed 's/^/| /' conftest.$ac_ext >&5
 11726 	ac_cv_func_glGenFramebuffers=no
 11727 fi
 11729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11730       conftest$ac_exeext conftest.$ac_ext
 11731 fi
 11732 { echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffers" >&5
 11733 echo "${ECHO_T}$ac_cv_func_glGenFramebuffers" >&6; }
 11734 if test $ac_cv_func_glGenFramebuffers = yes; then
 11736 cat >>confdefs.h <<\_ACEOF
 11737 #define HAVE_OPENGL_FBO 1
 11738 _ACEOF
 11740 fi
 11742 { echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
 11743 echo $ECHO_N "checking for glGenFramebuffersEXT... $ECHO_C" >&6; }
 11744 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
 11745   echo $ECHO_N "(cached) $ECHO_C" >&6
 11746 else
 11747   cat >conftest.$ac_ext <<_ACEOF
 11748 /* confdefs.h.  */
 11749 _ACEOF
 11750 cat confdefs.h >>conftest.$ac_ext
 11751 cat >>conftest.$ac_ext <<_ACEOF
 11752 /* end confdefs.h.  */
 11753 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
 11754    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11755 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
 11757 /* System header to define __stub macros and hopefully few prototypes,
 11758     which can conflict with char glGenFramebuffersEXT (); below.
 11759     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11760     <limits.h> exists even on freestanding compilers.  */
 11762 #ifdef __STDC__
 11763 # include <limits.h>
 11764 #else
 11765 # include <assert.h>
 11766 #endif
 11768 #undef glGenFramebuffersEXT
 11770 /* Override any GCC internal prototype to avoid an error.
 11771    Use char because int might match the return type of a GCC
 11772    builtin and then its argument prototype would still apply.  */
 11773 #ifdef __cplusplus
 11774 extern "C"
 11775 #endif
 11776 char glGenFramebuffersEXT ();
 11777 /* The GNU C library defines this for functions which it implements
 11778     to always fail with ENOSYS.  Some functions are actually named
 11779     something starting with __ and the normal name is an alias.  */
 11780 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
 11781 choke me
 11782 #endif
 11784 int
 11785 main ()
 11787 return glGenFramebuffersEXT ();
 11789   return 0;
 11791 _ACEOF
 11792 rm -f conftest.$ac_objext conftest$ac_exeext
 11793 if { (ac_try="$ac_link"
 11794 case "(($ac_try" in
 11795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11796   *) ac_try_echo=$ac_try;;
 11797 esac
 11798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11799   (eval "$ac_link") 2>conftest.er1
 11800   ac_status=$?
 11801   grep -v '^ *+' conftest.er1 >conftest.err
 11802   rm -f conftest.er1
 11803   cat conftest.err >&5
 11804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11805   (exit $ac_status); } && {
 11806 	 test -z "$ac_c_werror_flag" ||
 11807 	 test ! -s conftest.err
 11808        } && test -s conftest$ac_exeext &&
 11809        $as_test_x conftest$ac_exeext; then
 11810   ac_cv_func_glGenFramebuffersEXT=yes
 11811 else
 11812   echo "$as_me: failed program was:" >&5
 11813 sed 's/^/| /' conftest.$ac_ext >&5
 11815 	ac_cv_func_glGenFramebuffersEXT=no
 11816 fi
 11818 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11819       conftest$ac_exeext conftest.$ac_ext
 11820 fi
 11821 { echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
 11822 echo "${ECHO_T}$ac_cv_func_glGenFramebuffersEXT" >&6; }
 11823 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
 11825 cat >>confdefs.h <<\_ACEOF
 11826 #define HAVE_OPENGL_FBO_EXT 1
 11827 _ACEOF
 11829 fi
 11831 { echo "$as_me:$LINENO: checking for glCreateShader" >&5
 11832 echo $ECHO_N "checking for glCreateShader... $ECHO_C" >&6; }
 11833 if test "${ac_cv_func_glCreateShader+set}" = set; then
 11834   echo $ECHO_N "(cached) $ECHO_C" >&6
 11835 else
 11836   cat >conftest.$ac_ext <<_ACEOF
 11837 /* confdefs.h.  */
 11838 _ACEOF
 11839 cat confdefs.h >>conftest.$ac_ext
 11840 cat >>conftest.$ac_ext <<_ACEOF
 11841 /* end confdefs.h.  */
 11842 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
 11843    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11844 #define glCreateShader innocuous_glCreateShader
 11846 /* System header to define __stub macros and hopefully few prototypes,
 11847     which can conflict with char glCreateShader (); below.
 11848     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11849     <limits.h> exists even on freestanding compilers.  */
 11851 #ifdef __STDC__
 11852 # include <limits.h>
 11853 #else
 11854 # include <assert.h>
 11855 #endif
 11857 #undef glCreateShader
 11859 /* Override any GCC internal prototype to avoid an error.
 11860    Use char because int might match the return type of a GCC
 11861    builtin and then its argument prototype would still apply.  */
 11862 #ifdef __cplusplus
 11863 extern "C"
 11864 #endif
 11865 char glCreateShader ();
 11866 /* The GNU C library defines this for functions which it implements
 11867     to always fail with ENOSYS.  Some functions are actually named
 11868     something starting with __ and the normal name is an alias.  */
 11869 #if defined __stub_glCreateShader || defined __stub___glCreateShader
 11870 choke me
 11871 #endif
 11873 int
 11874 main ()
 11876 return glCreateShader ();
 11878   return 0;
 11880 _ACEOF
 11881 rm -f conftest.$ac_objext conftest$ac_exeext
 11882 if { (ac_try="$ac_link"
 11883 case "(($ac_try" in
 11884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11885   *) ac_try_echo=$ac_try;;
 11886 esac
 11887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11888   (eval "$ac_link") 2>conftest.er1
 11889   ac_status=$?
 11890   grep -v '^ *+' conftest.er1 >conftest.err
 11891   rm -f conftest.er1
 11892   cat conftest.err >&5
 11893   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11894   (exit $ac_status); } && {
 11895 	 test -z "$ac_c_werror_flag" ||
 11896 	 test ! -s conftest.err
 11897        } && test -s conftest$ac_exeext &&
 11898        $as_test_x conftest$ac_exeext; then
 11899   ac_cv_func_glCreateShader=yes
 11900 else
 11901   echo "$as_me: failed program was:" >&5
 11902 sed 's/^/| /' conftest.$ac_ext >&5
 11904 	ac_cv_func_glCreateShader=no
 11905 fi
 11907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11908       conftest$ac_exeext conftest.$ac_ext
 11909 fi
 11910 { echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
 11911 echo "${ECHO_T}$ac_cv_func_glCreateShader" >&6; }
 11912 if test $ac_cv_func_glCreateShader = yes; then
 11914 cat >>confdefs.h <<\_ACEOF
 11915 #define HAVE_OPENGL_SHADER 1
 11916 _ACEOF
 11918 fi
 11920 { echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
 11921 echo $ECHO_N "checking for glCreateShaderObjectARB... $ECHO_C" >&6; }
 11922 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
 11923   echo $ECHO_N "(cached) $ECHO_C" >&6
 11924 else
 11925   cat >conftest.$ac_ext <<_ACEOF
 11926 /* confdefs.h.  */
 11927 _ACEOF
 11928 cat confdefs.h >>conftest.$ac_ext
 11929 cat >>conftest.$ac_ext <<_ACEOF
 11930 /* end confdefs.h.  */
 11931 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
 11932    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11933 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
 11935 /* System header to define __stub macros and hopefully few prototypes,
 11936     which can conflict with char glCreateShaderObjectARB (); below.
 11937     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11938     <limits.h> exists even on freestanding compilers.  */
 11940 #ifdef __STDC__
 11941 # include <limits.h>
 11942 #else
 11943 # include <assert.h>
 11944 #endif
 11946 #undef glCreateShaderObjectARB
 11948 /* Override any GCC internal prototype to avoid an error.
 11949    Use char because int might match the return type of a GCC
 11950    builtin and then its argument prototype would still apply.  */
 11951 #ifdef __cplusplus
 11952 extern "C"
 11953 #endif
 11954 char glCreateShaderObjectARB ();
 11955 /* The GNU C library defines this for functions which it implements
 11956     to always fail with ENOSYS.  Some functions are actually named
 11957     something starting with __ and the normal name is an alias.  */
 11958 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
 11959 choke me
 11960 #endif
 11962 int
 11963 main ()
 11965 return glCreateShaderObjectARB ();
 11967   return 0;
 11969 _ACEOF
 11970 rm -f conftest.$ac_objext conftest$ac_exeext
 11971 if { (ac_try="$ac_link"
 11972 case "(($ac_try" in
 11973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11974   *) ac_try_echo=$ac_try;;
 11975 esac
 11976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11977   (eval "$ac_link") 2>conftest.er1
 11978   ac_status=$?
 11979   grep -v '^ *+' conftest.er1 >conftest.err
 11980   rm -f conftest.er1
 11981   cat conftest.err >&5
 11982   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11983   (exit $ac_status); } && {
 11984 	 test -z "$ac_c_werror_flag" ||
 11985 	 test ! -s conftest.err
 11986        } && test -s conftest$ac_exeext &&
 11987        $as_test_x conftest$ac_exeext; then
 11988   ac_cv_func_glCreateShaderObjectARB=yes
 11989 else
 11990   echo "$as_me: failed program was:" >&5
 11991 sed 's/^/| /' conftest.$ac_ext >&5
 11993 	ac_cv_func_glCreateShaderObjectARB=no
 11994 fi
 11996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11997       conftest$ac_exeext conftest.$ac_ext
 11998 fi
 11999 { echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
 12000 echo "${ECHO_T}$ac_cv_func_glCreateShaderObjectARB" >&6; }
 12001 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
 12003 cat >>confdefs.h <<\_ACEOF
 12004 #define HAVE_OPENGL_SHADER_ARB 1
 12005 _ACEOF
 12007 fi
 12009 { echo "$as_me:$LINENO: checking for glClampColorARB" >&5
 12010 echo $ECHO_N "checking for glClampColorARB... $ECHO_C" >&6; }
 12011 if test "${ac_cv_func_glClampColorARB+set}" = set; then
 12012   echo $ECHO_N "(cached) $ECHO_C" >&6
 12013 else
 12014   cat >conftest.$ac_ext <<_ACEOF
 12015 /* confdefs.h.  */
 12016 _ACEOF
 12017 cat confdefs.h >>conftest.$ac_ext
 12018 cat >>conftest.$ac_ext <<_ACEOF
 12019 /* end confdefs.h.  */
 12020 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
 12021    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12022 #define glClampColorARB innocuous_glClampColorARB
 12024 /* System header to define __stub macros and hopefully few prototypes,
 12025     which can conflict with char glClampColorARB (); below.
 12026     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12027     <limits.h> exists even on freestanding compilers.  */
 12029 #ifdef __STDC__
 12030 # include <limits.h>
 12031 #else
 12032 # include <assert.h>
 12033 #endif
 12035 #undef glClampColorARB
 12037 /* Override any GCC internal prototype to avoid an error.
 12038    Use char because int might match the return type of a GCC
 12039    builtin and then its argument prototype would still apply.  */
 12040 #ifdef __cplusplus
 12041 extern "C"
 12042 #endif
 12043 char glClampColorARB ();
 12044 /* The GNU C library defines this for functions which it implements
 12045     to always fail with ENOSYS.  Some functions are actually named
 12046     something starting with __ and the normal name is an alias.  */
 12047 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
 12048 choke me
 12049 #endif
 12051 int
 12052 main ()
 12054 return glClampColorARB ();
 12056   return 0;
 12058 _ACEOF
 12059 rm -f conftest.$ac_objext conftest$ac_exeext
 12060 if { (ac_try="$ac_link"
 12061 case "(($ac_try" in
 12062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12063   *) ac_try_echo=$ac_try;;
 12064 esac
 12065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12066   (eval "$ac_link") 2>conftest.er1
 12067   ac_status=$?
 12068   grep -v '^ *+' conftest.er1 >conftest.err
 12069   rm -f conftest.er1
 12070   cat conftest.err >&5
 12071   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12072   (exit $ac_status); } && {
 12073 	 test -z "$ac_c_werror_flag" ||
 12074 	 test ! -s conftest.err
 12075        } && test -s conftest$ac_exeext &&
 12076        $as_test_x conftest$ac_exeext; then
 12077   ac_cv_func_glClampColorARB=yes
 12078 else
 12079   echo "$as_me: failed program was:" >&5
 12080 sed 's/^/| /' conftest.$ac_ext >&5
 12082 	ac_cv_func_glClampColorARB=no
 12083 fi
 12085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12086       conftest$ac_exeext conftest.$ac_ext
 12087 fi
 12088 { echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
 12089 echo "${ECHO_T}$ac_cv_func_glClampColorARB" >&6; }
 12090 if test $ac_cv_func_glClampColorARB = yes; then
 12092 cat >>confdefs.h <<\_ACEOF
 12093 #define HAVE_OPENGL_CLAMP_COLOR 1
 12094 _ACEOF
 12096 fi
 12098 { echo "$as_me:$LINENO: checking for glClearDepthf" >&5
 12099 echo $ECHO_N "checking for glClearDepthf... $ECHO_C" >&6; }
 12100 if test "${ac_cv_func_glClearDepthf+set}" = set; then
 12101   echo $ECHO_N "(cached) $ECHO_C" >&6
 12102 else
 12103   cat >conftest.$ac_ext <<_ACEOF
 12104 /* confdefs.h.  */
 12105 _ACEOF
 12106 cat confdefs.h >>conftest.$ac_ext
 12107 cat >>conftest.$ac_ext <<_ACEOF
 12108 /* end confdefs.h.  */
 12109 /* Define glClearDepthf to an innocuous variant, in case <limits.h> declares glClearDepthf.
 12110    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12111 #define glClearDepthf innocuous_glClearDepthf
 12113 /* System header to define __stub macros and hopefully few prototypes,
 12114     which can conflict with char glClearDepthf (); below.
 12115     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12116     <limits.h> exists even on freestanding compilers.  */
 12118 #ifdef __STDC__
 12119 # include <limits.h>
 12120 #else
 12121 # include <assert.h>
 12122 #endif
 12124 #undef glClearDepthf
 12126 /* Override any GCC internal prototype to avoid an error.
 12127    Use char because int might match the return type of a GCC
 12128    builtin and then its argument prototype would still apply.  */
 12129 #ifdef __cplusplus
 12130 extern "C"
 12131 #endif
 12132 char glClearDepthf ();
 12133 /* The GNU C library defines this for functions which it implements
 12134     to always fail with ENOSYS.  Some functions are actually named
 12135     something starting with __ and the normal name is an alias.  */
 12136 #if defined __stub_glClearDepthf || defined __stub___glClearDepthf
 12137 choke me
 12138 #endif
 12140 int
 12141 main ()
 12143 return glClearDepthf ();
 12145   return 0;
 12147 _ACEOF
 12148 rm -f conftest.$ac_objext conftest$ac_exeext
 12149 if { (ac_try="$ac_link"
 12150 case "(($ac_try" in
 12151   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12152   *) ac_try_echo=$ac_try;;
 12153 esac
 12154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12155   (eval "$ac_link") 2>conftest.er1
 12156   ac_status=$?
 12157   grep -v '^ *+' conftest.er1 >conftest.err
 12158   rm -f conftest.er1
 12159   cat conftest.err >&5
 12160   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12161   (exit $ac_status); } && {
 12162 	 test -z "$ac_c_werror_flag" ||
 12163 	 test ! -s conftest.err
 12164        } && test -s conftest$ac_exeext &&
 12165        $as_test_x conftest$ac_exeext; then
 12166   ac_cv_func_glClearDepthf=yes
 12167 else
 12168   echo "$as_me: failed program was:" >&5
 12169 sed 's/^/| /' conftest.$ac_ext >&5
 12171 	ac_cv_func_glClearDepthf=no
 12172 fi
 12174 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12175       conftest$ac_exeext conftest.$ac_ext
 12176 fi
 12177 { echo "$as_me:$LINENO: result: $ac_cv_func_glClearDepthf" >&5
 12178 echo "${ECHO_T}$ac_cv_func_glClearDepthf" >&6; }
 12179 if test $ac_cv_func_glClearDepthf = yes; then
 12181 cat >>confdefs.h <<\_ACEOF
 12182 #define HAVE_OPENGL_CLEAR_DEPTHF 1
 12183 _ACEOF
 12185 fi
 12187 { echo "$as_me:$LINENO: checking for glAreTexturesResident" >&5
 12188 echo $ECHO_N "checking for glAreTexturesResident... $ECHO_C" >&6; }
 12189 if test "${ac_cv_func_glAreTexturesResident+set}" = set; then
 12190   echo $ECHO_N "(cached) $ECHO_C" >&6
 12191 else
 12192   cat >conftest.$ac_ext <<_ACEOF
 12193 /* confdefs.h.  */
 12194 _ACEOF
 12195 cat confdefs.h >>conftest.$ac_ext
 12196 cat >>conftest.$ac_ext <<_ACEOF
 12197 /* end confdefs.h.  */
 12198 /* Define glAreTexturesResident to an innocuous variant, in case <limits.h> declares glAreTexturesResident.
 12199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12200 #define glAreTexturesResident innocuous_glAreTexturesResident
 12202 /* System header to define __stub macros and hopefully few prototypes,
 12203     which can conflict with char glAreTexturesResident (); below.
 12204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12205     <limits.h> exists even on freestanding compilers.  */
 12207 #ifdef __STDC__
 12208 # include <limits.h>
 12209 #else
 12210 # include <assert.h>
 12211 #endif
 12213 #undef glAreTexturesResident
 12215 /* Override any GCC internal prototype to avoid an error.
 12216    Use char because int might match the return type of a GCC
 12217    builtin and then its argument prototype would still apply.  */
 12218 #ifdef __cplusplus
 12219 extern "C"
 12220 #endif
 12221 char glAreTexturesResident ();
 12222 /* The GNU C library defines this for functions which it implements
 12223     to always fail with ENOSYS.  Some functions are actually named
 12224     something starting with __ and the normal name is an alias.  */
 12225 #if defined __stub_glAreTexturesResident || defined __stub___glAreTexturesResident
 12226 choke me
 12227 #endif
 12229 int
 12230 main ()
 12232 return glAreTexturesResident ();
 12234   return 0;
 12236 _ACEOF
 12237 rm -f conftest.$ac_objext conftest$ac_exeext
 12238 if { (ac_try="$ac_link"
 12239 case "(($ac_try" in
 12240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12241   *) ac_try_echo=$ac_try;;
 12242 esac
 12243 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12244   (eval "$ac_link") 2>conftest.er1
 12245   ac_status=$?
 12246   grep -v '^ *+' conftest.er1 >conftest.err
 12247   rm -f conftest.er1
 12248   cat conftest.err >&5
 12249   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12250   (exit $ac_status); } && {
 12251 	 test -z "$ac_c_werror_flag" ||
 12252 	 test ! -s conftest.err
 12253        } && test -s conftest$ac_exeext &&
 12254        $as_test_x conftest$ac_exeext; then
 12255   ac_cv_func_glAreTexturesResident=yes
 12256 else
 12257   echo "$as_me: failed program was:" >&5
 12258 sed 's/^/| /' conftest.$ac_ext >&5
 12260 	ac_cv_func_glAreTexturesResident=no
 12261 fi
 12263 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12264       conftest$ac_exeext conftest.$ac_ext
 12265 fi
 12266 { echo "$as_me:$LINENO: result: $ac_cv_func_glAreTexturesResident" >&5
 12267 echo "${ECHO_T}$ac_cv_func_glAreTexturesResident" >&6; }
 12268 if test $ac_cv_func_glAreTexturesResident = yes; then
 12270 cat >>confdefs.h <<\_ACEOF
 12271 #define HAVE_OPENGL_TEX_RESIDENT 1
 12272 _ACEOF
 12274 fi
 12276 { echo "$as_me:$LINENO: checking for glTexEnvi" >&5
 12277 echo $ECHO_N "checking for glTexEnvi... $ECHO_C" >&6; }
 12278 if test "${ac_cv_func_glTexEnvi+set}" = set; then
 12279   echo $ECHO_N "(cached) $ECHO_C" >&6
 12280 else
 12281   cat >conftest.$ac_ext <<_ACEOF
 12282 /* confdefs.h.  */
 12283 _ACEOF
 12284 cat confdefs.h >>conftest.$ac_ext
 12285 cat >>conftest.$ac_ext <<_ACEOF
 12286 /* end confdefs.h.  */
 12287 /* Define glTexEnvi to an innocuous variant, in case <limits.h> declares glTexEnvi.
 12288    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12289 #define glTexEnvi innocuous_glTexEnvi
 12291 /* System header to define __stub macros and hopefully few prototypes,
 12292     which can conflict with char glTexEnvi (); below.
 12293     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12294     <limits.h> exists even on freestanding compilers.  */
 12296 #ifdef __STDC__
 12297 # include <limits.h>
 12298 #else
 12299 # include <assert.h>
 12300 #endif
 12302 #undef glTexEnvi
 12304 /* Override any GCC internal prototype to avoid an error.
 12305    Use char because int might match the return type of a GCC
 12306    builtin and then its argument prototype would still apply.  */
 12307 #ifdef __cplusplus
 12308 extern "C"
 12309 #endif
 12310 char glTexEnvi ();
 12311 /* The GNU C library defines this for functions which it implements
 12312     to always fail with ENOSYS.  Some functions are actually named
 12313     something starting with __ and the normal name is an alias.  */
 12314 #if defined __stub_glTexEnvi || defined __stub___glTexEnvi
 12315 choke me
 12316 #endif
 12318 int
 12319 main ()
 12321 return glTexEnvi ();
 12323   return 0;
 12325 _ACEOF
 12326 rm -f conftest.$ac_objext conftest$ac_exeext
 12327 if { (ac_try="$ac_link"
 12328 case "(($ac_try" in
 12329   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12330   *) ac_try_echo=$ac_try;;
 12331 esac
 12332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12333   (eval "$ac_link") 2>conftest.er1
 12334   ac_status=$?
 12335   grep -v '^ *+' conftest.er1 >conftest.err
 12336   rm -f conftest.er1
 12337   cat conftest.err >&5
 12338   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12339   (exit $ac_status); } && {
 12340 	 test -z "$ac_c_werror_flag" ||
 12341 	 test ! -s conftest.err
 12342        } && test -s conftest$ac_exeext &&
 12343        $as_test_x conftest$ac_exeext; then
 12344   ac_cv_func_glTexEnvi=yes
 12345 else
 12346   echo "$as_me: failed program was:" >&5
 12347 sed 's/^/| /' conftest.$ac_ext >&5
 12349 	ac_cv_func_glTexEnvi=no
 12350 fi
 12352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12353       conftest$ac_exeext conftest.$ac_ext
 12354 fi
 12355 { echo "$as_me:$LINENO: result: $ac_cv_func_glTexEnvi" >&5
 12356 echo "${ECHO_T}$ac_cv_func_glTexEnvi" >&6; }
 12357 if test $ac_cv_func_glTexEnvi = yes; then
 12359 cat >>confdefs.h <<\_ACEOF
 12360 #define HAVE_OPENGL_FIXEDFUNC 1
 12361 _ACEOF
 12363 fi
 12369 if test "x$enable_translator" != "xno"; then
 12370     case $host_cpu in
 12371         i386|i486|i586|i686|x86_64)
 12372 	    SH4_TRANSLATOR="x86"
 12374 cat >>confdefs.h <<_ACEOF
 12375 #define SH4_TRANSLATOR TARGET_X86
 12376 _ACEOF
 12377 ;;
 12378     esac
 12379 fi
 12382 if test "$SH4_TRANSLATOR" = "x86"; then
 12383   BUILD_SH4X86_TRUE=
 12384   BUILD_SH4X86_FALSE='#'
 12385 else
 12386   BUILD_SH4X86_TRUE='#'
 12387   BUILD_SH4X86_FALSE=
 12388 fi
 12391 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
 12392   { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
 12393 echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
 12394 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
 12395   echo $ECHO_N "(cached) $ECHO_C" >&6
 12396 fi
 12397 { echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
 12398 echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
 12399 else
 12400   # Is the header compilable?
 12401 { echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
 12402 echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
 12403 cat >conftest.$ac_ext <<_ACEOF
 12404 /* confdefs.h.  */
 12405 _ACEOF
 12406 cat confdefs.h >>conftest.$ac_ext
 12407 cat >>conftest.$ac_ext <<_ACEOF
 12408 /* end confdefs.h.  */
 12409 $ac_includes_default
 12410 #include <CoreAudio/CoreAudio.h>
 12411 _ACEOF
 12412 rm -f conftest.$ac_objext
 12413 if { (ac_try="$ac_compile"
 12414 case "(($ac_try" in
 12415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12416   *) ac_try_echo=$ac_try;;
 12417 esac
 12418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12419   (eval "$ac_compile") 2>conftest.er1
 12420   ac_status=$?
 12421   grep -v '^ *+' conftest.er1 >conftest.err
 12422   rm -f conftest.er1
 12423   cat conftest.err >&5
 12424   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12425   (exit $ac_status); } && {
 12426 	 test -z "$ac_c_werror_flag" ||
 12427 	 test ! -s conftest.err
 12428        } && test -s conftest.$ac_objext; then
 12429   ac_header_compiler=yes
 12430 else
 12431   echo "$as_me: failed program was:" >&5
 12432 sed 's/^/| /' conftest.$ac_ext >&5
 12434 	ac_header_compiler=no
 12435 fi
 12437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12438 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 12439 echo "${ECHO_T}$ac_header_compiler" >&6; }
 12441 # Is the header present?
 12442 { echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
 12443 echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
 12444 cat >conftest.$ac_ext <<_ACEOF
 12445 /* confdefs.h.  */
 12446 _ACEOF
 12447 cat confdefs.h >>conftest.$ac_ext
 12448 cat >>conftest.$ac_ext <<_ACEOF
 12449 /* end confdefs.h.  */
 12450 #include <CoreAudio/CoreAudio.h>
 12451 _ACEOF
 12452 if { (ac_try="$ac_cpp conftest.$ac_ext"
 12453 case "(($ac_try" in
 12454   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12455   *) ac_try_echo=$ac_try;;
 12456 esac
 12457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12458   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 12459   ac_status=$?
 12460   grep -v '^ *+' conftest.er1 >conftest.err
 12461   rm -f conftest.er1
 12462   cat conftest.err >&5
 12463   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12464   (exit $ac_status); } >/dev/null && {
 12465 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 12466 	 test ! -s conftest.err
 12467        }; then
 12468   ac_header_preproc=yes
 12469 else
 12470   echo "$as_me: failed program was:" >&5
 12471 sed 's/^/| /' conftest.$ac_ext >&5
 12473   ac_header_preproc=no
 12474 fi
 12476 rm -f conftest.err conftest.$ac_ext
 12477 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 12478 echo "${ECHO_T}$ac_header_preproc" >&6; }
 12480 # So?  What about this header?
 12481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 12482   yes:no: )
 12483     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
 12484 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 12485     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
 12486 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
 12487     ac_header_preproc=yes
 12488     ;;
 12489   no:yes:* )
 12490     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
 12491 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
 12492     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
 12493 echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
 12494     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
 12495 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
 12496     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
 12497 echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 12498     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
 12499 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
 12500     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
 12501 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
 12503     ;;
 12504 esac
 12505 { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
 12506 echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
 12507 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
 12508   echo $ECHO_N "(cached) $ECHO_C" >&6
 12509 else
 12510   ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
 12511 fi
 12512 { echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
 12513 echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
 12515 fi
 12516 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
 12518      HAVE_CORE_AUDIO=yes
 12519      LIBS="$LIBS -framework CoreAudio"
 12520      AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
 12522 cat >>confdefs.h <<\_ACEOF
 12523 #define HAVE_CORE_AUDIO 1
 12524 _ACEOF
 12526 else
 12527   true
 12528 fi
 12533 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
 12534   AUDIO_OSX_TRUE=
 12535   AUDIO_OSX_FALSE='#'
 12536 else
 12537   AUDIO_OSX_TRUE='#'
 12538   AUDIO_OSX_FALSE=
 12539 fi
 12542 if test "x$with_sdl" != "xno"; then
 12544 pkg_failed=no
 12545 { echo "$as_me:$LINENO: checking for SDL" >&5
 12546 echo $ECHO_N "checking for SDL... $ECHO_C" >&6; }
 12548 if test -n "$SDL_CFLAGS"; then
 12549     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
 12550  elif test -n "$PKG_CONFIG"; then
 12551     if test -n "$PKG_CONFIG" && \
 12552     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
 12553   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
 12554   ac_status=$?
 12555   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12556   (exit $ac_status); }; then
 12557   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
 12558 else
 12559   pkg_failed=yes
 12560 fi
 12561  else
 12562     pkg_failed=untried
 12563 fi
 12564 if test -n "$SDL_LIBS"; then
 12565     pkg_cv_SDL_LIBS="$SDL_LIBS"
 12566  elif test -n "$PKG_CONFIG"; then
 12567     if test -n "$PKG_CONFIG" && \
 12568     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
 12569   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
 12570   ac_status=$?
 12571   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12572   (exit $ac_status); }; then
 12573   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
 12574 else
 12575   pkg_failed=yes
 12576 fi
 12577  else
 12578     pkg_failed=untried
 12579 fi
 12583 if test $pkg_failed = yes; then
 12585 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 12586         _pkg_short_errors_supported=yes
 12587 else
 12588         _pkg_short_errors_supported=no
 12589 fi
 12590         if test $_pkg_short_errors_supported = yes; then
 12591 	        SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl" 2>&1`
 12592         else
 12593 	        SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl" 2>&1`
 12594         fi
 12595 	# Put the nasty error message in config.log where it belongs
 12596 	echo "$SDL_PKG_ERRORS" >&5
 12598 	{ echo "$as_me:$LINENO: result: no" >&5
 12599 echo "${ECHO_T}no" >&6; }
 12601       if test "x$with_sdl" = "xyes"; then
 12602          { { echo "$as_me:$LINENO: error: \"SDL libraries could not be found (but were required)
 12603 See \`config.log' for more details." >&5
 12604 echo "$as_me: error: \"SDL libraries could not be found (but were required)
 12605 See \`config.log' for more details." >&2;}
 12606    { (exit 1); exit 1; }; }
 12607       fi
 12609 elif test $pkg_failed = untried; then
 12611       if test "x$with_sdl" = "xyes"; then
 12612          { { echo "$as_me:$LINENO: error: \"SDL libraries could not be found (but were required)
 12613 See \`config.log' for more details." >&5
 12614 echo "$as_me: error: \"SDL libraries could not be found (but were required)
 12615 See \`config.log' for more details." >&2;}
 12616    { (exit 1); exit 1; }; }
 12617       fi
 12619 else
 12620 	SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
 12621 	SDL_LIBS=$pkg_cv_SDL_LIBS
 12622         { echo "$as_me:$LINENO: result: yes" >&5
 12623 echo "${ECHO_T}yes" >&6; }
 12625        HAVE_SDL='yes'
 12626        AUDIO_DRIVERS="$AUDIO_DRIVERS sdl"
 12628 cat >>confdefs.h <<\_ACEOF
 12629 #define HAVE_SDL 1
 12630 _ACEOF
 12633 fi
 12634 fi
 12637 if test "$HAVE_SDL" = 'yes' ; then
 12638   AUDIO_SDL_TRUE=
 12639   AUDIO_SDL_FALSE='#'
 12640 else
 12641   AUDIO_SDL_TRUE='#'
 12642   AUDIO_SDL_FALSE=
 12643 fi
 12646 if test "x$with_pulse" != "xno"; then
 12648 pkg_failed=no
 12649 { echo "$as_me:$LINENO: checking for PULSE" >&5
 12650 echo $ECHO_N "checking for PULSE... $ECHO_C" >&6; }
 12652 if test -n "$PULSE_CFLAGS"; then
 12653     pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
 12654  elif test -n "$PKG_CONFIG"; then
 12655     if test -n "$PKG_CONFIG" && \
 12656     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
 12657   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
 12658   ac_status=$?
 12659   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12660   (exit $ac_status); }; then
 12661   pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
 12662 else
 12663   pkg_failed=yes
 12664 fi
 12665  else
 12666     pkg_failed=untried
 12667 fi
 12668 if test -n "$PULSE_LIBS"; then
 12669     pkg_cv_PULSE_LIBS="$PULSE_LIBS"
 12670  elif test -n "$PKG_CONFIG"; then
 12671     if test -n "$PKG_CONFIG" && \
 12672     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
 12673   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
 12674   ac_status=$?
 12675   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12676   (exit $ac_status); }; then
 12677   pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
 12678 else
 12679   pkg_failed=yes
 12680 fi
 12681  else
 12682     pkg_failed=untried
 12683 fi
 12687 if test $pkg_failed = yes; then
 12689 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 12690         _pkg_short_errors_supported=yes
 12691 else
 12692         _pkg_short_errors_supported=no
 12693 fi
 12694         if test $_pkg_short_errors_supported = yes; then
 12695 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse-simple" 2>&1`
 12696         else
 12697 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse-simple" 2>&1`
 12698         fi
 12699 	# Put the nasty error message in config.log where it belongs
 12700 	echo "$PULSE_PKG_ERRORS" >&5
 12702 	{ echo "$as_me:$LINENO: result: no" >&5
 12703 echo "${ECHO_T}no" >&6; }
 12705        if test "x$with_pulse" = "xyes"; then
 12706           { { echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
 12707 See \`config.log' for more details." >&5
 12708 echo "$as_me: error: PulseAudio audio package could not be found (but was required)
 12709 See \`config.log' for more details." >&2;}
 12710    { (exit 1); exit 1; }; }
 12711        fi
 12713 elif test $pkg_failed = untried; then
 12715        if test "x$with_pulse" = "xyes"; then
 12716           { { echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
 12717 See \`config.log' for more details." >&5
 12718 echo "$as_me: error: PulseAudio audio package could not be found (but was required)
 12719 See \`config.log' for more details." >&2;}
 12720    { (exit 1); exit 1; }; }
 12721        fi
 12723 else
 12724 	PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
 12725 	PULSE_LIBS=$pkg_cv_PULSE_LIBS
 12726         { echo "$as_me:$LINENO: result: yes" >&5
 12727 echo "${ECHO_T}yes" >&6; }
 12729        HAVE_PULSE='yes'
 12730        AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
 12732 cat >>confdefs.h <<\_ACEOF
 12733 #define HAVE_PULSE 1
 12734 _ACEOF
 12737 fi
 12738 fi
 12741 if test "$HAVE_PULSE" = 'yes' ; then
 12742   AUDIO_PULSE_TRUE=
 12743   AUDIO_PULSE_FALSE='#'
 12744 else
 12745   AUDIO_PULSE_TRUE='#'
 12746   AUDIO_PULSE_FALSE=
 12747 fi
 12750 if test "x$with_esd" != "xno"; then
 12752 pkg_failed=no
 12753 { echo "$as_me:$LINENO: checking for ESOUND" >&5
 12754 echo $ECHO_N "checking for ESOUND... $ECHO_C" >&6; }
 12756 if test -n "$ESOUND_CFLAGS"; then
 12757     pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
 12758  elif test -n "$PKG_CONFIG"; then
 12759     if test -n "$PKG_CONFIG" && \
 12760     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
 12761   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
 12762   ac_status=$?
 12763   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12764   (exit $ac_status); }; then
 12765   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
 12766 else
 12767   pkg_failed=yes
 12768 fi
 12769  else
 12770     pkg_failed=untried
 12771 fi
 12772 if test -n "$ESOUND_LIBS"; then
 12773     pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
 12774  elif test -n "$PKG_CONFIG"; then
 12775     if test -n "$PKG_CONFIG" && \
 12776     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
 12777   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
 12778   ac_status=$?
 12779   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12780   (exit $ac_status); }; then
 12781   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
 12782 else
 12783   pkg_failed=yes
 12784 fi
 12785  else
 12786     pkg_failed=untried
 12787 fi
 12791 if test $pkg_failed = yes; then
 12793 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 12794         _pkg_short_errors_supported=yes
 12795 else
 12796         _pkg_short_errors_supported=no
 12797 fi
 12798         if test $_pkg_short_errors_supported = yes; then
 12799 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "esound" 2>&1`
 12800         else
 12801 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --print-errors "esound" 2>&1`
 12802         fi
 12803 	# Put the nasty error message in config.log where it belongs
 12804 	echo "$ESOUND_PKG_ERRORS" >&5
 12806 	{ echo "$as_me:$LINENO: result: no" >&5
 12807 echo "${ECHO_T}no" >&6; }
 12809        if test "x$with_esd" = "xyes"; then
 12810           { { echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
 12811 See \`config.log' for more details." >&5
 12812 echo "$as_me: error: ESounD audio package could not be found (but was required)
 12813 See \`config.log' for more details." >&2;}
 12814    { (exit 1); exit 1; }; }
 12815        fi
 12817 elif test $pkg_failed = untried; then
 12819        if test "x$with_esd" = "xyes"; then
 12820           { { echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
 12821 See \`config.log' for more details." >&5
 12822 echo "$as_me: error: ESounD audio package could not be found (but was required)
 12823 See \`config.log' for more details." >&2;}
 12824    { (exit 1); exit 1; }; }
 12825        fi
 12827 else
 12828 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
 12829 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
 12830         { echo "$as_me:$LINENO: result: yes" >&5
 12831 echo "${ECHO_T}yes" >&6; }
 12833        HAVE_ESOUND='yes'
 12834        AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
 12836 cat >>confdefs.h <<\_ACEOF
 12837 #define HAVE_ESOUND 1
 12838 _ACEOF
 12841 fi
 12842 fi
 12845 if test "$HAVE_ESOUND" = 'yes' ; then
 12846   AUDIO_ESOUND_TRUE=
 12847   AUDIO_ESOUND_FALSE='#'
 12848 else
 12849   AUDIO_ESOUND_TRUE='#'
 12850   AUDIO_ESOUND_FALSE=
 12851 fi
 12855 pkg_failed=no
 12856 { echo "$as_me:$LINENO: checking for ALSA" >&5
 12857 echo $ECHO_N "checking for ALSA... $ECHO_C" >&6; }
 12859 if test -n "$ALSA_CFLAGS"; then
 12860     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
 12861  elif test -n "$PKG_CONFIG"; then
 12862     if test -n "$PKG_CONFIG" && \
 12863     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
 12864   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 12865   ac_status=$?
 12866   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12867   (exit $ac_status); }; then
 12868   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
 12869 else
 12870   pkg_failed=yes
 12871 fi
 12872  else
 12873     pkg_failed=untried
 12874 fi
 12875 if test -n "$ALSA_LIBS"; then
 12876     pkg_cv_ALSA_LIBS="$ALSA_LIBS"
 12877  elif test -n "$PKG_CONFIG"; then
 12878     if test -n "$PKG_CONFIG" && \
 12879     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
 12880   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 12881   ac_status=$?
 12882   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12883   (exit $ac_status); }; then
 12884   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
 12885 else
 12886   pkg_failed=yes
 12887 fi
 12888  else
 12889     pkg_failed=untried
 12890 fi
 12894 if test $pkg_failed = yes; then
 12896 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 12897         _pkg_short_errors_supported=yes
 12898 else
 12899         _pkg_short_errors_supported=no
 12900 fi
 12901         if test $_pkg_short_errors_supported = yes; then
 12902 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
 12903         else
 12904 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
 12905         fi
 12906 	# Put the nasty error message in config.log where it belongs
 12907 	echo "$ALSA_PKG_ERRORS" >&5
 12909 	{ echo "$as_me:$LINENO: result: no" >&5
 12910 echo "${ECHO_T}no" >&6; }
 12911                 true
 12912 elif test $pkg_failed = untried; then
 12913 	true
 12914 else
 12915 	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
 12916 	ALSA_LIBS=$pkg_cv_ALSA_LIBS
 12917         { echo "$as_me:$LINENO: result: yes" >&5
 12918 echo "${ECHO_T}yes" >&6; }
 12920      HAVE_ALSA='yes'
 12921      AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
 12923 cat >>confdefs.h <<\_ACEOF
 12924 #define HAVE_ALSA 1
 12925 _ACEOF
 12927 fi
 12930 if test "$HAVE_ALSA" = 'yes' ; then
 12931   AUDIO_ALSA_TRUE=
 12932   AUDIO_ALSA_FALSE='#'
 12933 else
 12934   AUDIO_ALSA_TRUE='#'
 12935   AUDIO_ALSA_FALSE=
 12936 fi
 12940 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 12941   { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
 12942 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
 12943 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 12944   echo $ECHO_N "(cached) $ECHO_C" >&6
 12945 fi
 12946 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
 12947 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
 12948 else
 12949   # Is the header compilable?
 12950 { echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
 12951 echo $ECHO_N "checking linux/cdrom.h usability... $ECHO_C" >&6; }
 12952 cat >conftest.$ac_ext <<_ACEOF
 12953 /* confdefs.h.  */
 12954 _ACEOF
 12955 cat confdefs.h >>conftest.$ac_ext
 12956 cat >>conftest.$ac_ext <<_ACEOF
 12957 /* end confdefs.h.  */
 12958 $ac_includes_default
 12959 #include <linux/cdrom.h>
 12960 _ACEOF
 12961 rm -f conftest.$ac_objext
 12962 if { (ac_try="$ac_compile"
 12963 case "(($ac_try" in
 12964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12965   *) ac_try_echo=$ac_try;;
 12966 esac
 12967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12968   (eval "$ac_compile") 2>conftest.er1
 12969   ac_status=$?
 12970   grep -v '^ *+' conftest.er1 >conftest.err
 12971   rm -f conftest.er1
 12972   cat conftest.err >&5
 12973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12974   (exit $ac_status); } && {
 12975 	 test -z "$ac_c_werror_flag" ||
 12976 	 test ! -s conftest.err
 12977        } && test -s conftest.$ac_objext; then
 12978   ac_header_compiler=yes
 12979 else
 12980   echo "$as_me: failed program was:" >&5
 12981 sed 's/^/| /' conftest.$ac_ext >&5
 12983 	ac_header_compiler=no
 12984 fi
 12986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12987 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 12988 echo "${ECHO_T}$ac_header_compiler" >&6; }
 12990 # Is the header present?
 12991 { echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
 12992 echo $ECHO_N "checking linux/cdrom.h presence... $ECHO_C" >&6; }
 12993 cat >conftest.$ac_ext <<_ACEOF
 12994 /* confdefs.h.  */
 12995 _ACEOF
 12996 cat confdefs.h >>conftest.$ac_ext
 12997 cat >>conftest.$ac_ext <<_ACEOF
 12998 /* end confdefs.h.  */
 12999 #include <linux/cdrom.h>
 13000 _ACEOF
 13001 if { (ac_try="$ac_cpp conftest.$ac_ext"
 13002 case "(($ac_try" in
 13003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13004   *) ac_try_echo=$ac_try;;
 13005 esac
 13006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13007   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 13008   ac_status=$?
 13009   grep -v '^ *+' conftest.er1 >conftest.err
 13010   rm -f conftest.er1
 13011   cat conftest.err >&5
 13012   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13013   (exit $ac_status); } >/dev/null && {
 13014 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 13015 	 test ! -s conftest.err
 13016        }; then
 13017   ac_header_preproc=yes
 13018 else
 13019   echo "$as_me: failed program was:" >&5
 13020 sed 's/^/| /' conftest.$ac_ext >&5
 13022   ac_header_preproc=no
 13023 fi
 13025 rm -f conftest.err conftest.$ac_ext
 13026 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 13027 echo "${ECHO_T}$ac_header_preproc" >&6; }
 13029 # So?  What about this header?
 13030 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 13031   yes:no: )
 13032     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
 13033 echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 13034     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
 13035 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
 13036     ac_header_preproc=yes
 13037     ;;
 13038   no:yes:* )
 13039     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
 13040 echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
 13041     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
 13042 echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
 13043     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
 13044 echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
 13045     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
 13046 echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 13047     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
 13048 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
 13049     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
 13050 echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
 13052     ;;
 13053 esac
 13054 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
 13055 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
 13056 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 13057   echo $ECHO_N "(cached) $ECHO_C" >&6
 13058 else
 13059   ac_cv_header_linux_cdrom_h=$ac_header_preproc
 13060 fi
 13061 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
 13062 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
 13064 fi
 13065 if test $ac_cv_header_linux_cdrom_h = yes; then
 13067      CDROM_DRIVER=linux
 13068           { echo "$as_me:$LINENO: checking C99 compliant kernel headers" >&5
 13069 echo $ECHO_N "checking C99 compliant kernel headers... $ECHO_C" >&6; }
 13070      old_CFLAGS="$CFLAGS"
 13071      CFLAGS="$CFLAGS $STDCFLAG"
 13072      cat >conftest.$ac_ext <<_ACEOF
 13073 /* confdefs.h.  */
 13074 _ACEOF
 13075 cat confdefs.h >>conftest.$ac_ext
 13076 cat >>conftest.$ac_ext <<_ACEOF
 13077 /* end confdefs.h.  */
 13078 #include <linux/cdrom.h>
 13079 int
 13080 main ()
 13084   return 0;
 13086 _ACEOF
 13087 rm -f conftest.$ac_objext
 13088 if { (ac_try="$ac_compile"
 13089 case "(($ac_try" in
 13090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13091   *) ac_try_echo=$ac_try;;
 13092 esac
 13093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13094   (eval "$ac_compile") 2>conftest.er1
 13095   ac_status=$?
 13096   grep -v '^ *+' conftest.er1 >conftest.err
 13097   rm -f conftest.er1
 13098   cat conftest.err >&5
 13099   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13100   (exit $ac_status); } && {
 13101 	 test -z "$ac_c_werror_flag" ||
 13102 	 test ! -s conftest.err
 13103        } && test -s conftest.$ac_objext; then
 13104   { echo "$as_me:$LINENO: result: Yes" >&5
 13105 echo "${ECHO_T}Yes" >&6; }
 13106 else
 13107   echo "$as_me: failed program was:" >&5
 13108 sed 's/^/| /' conftest.$ac_ext >&5
 13111         { echo "$as_me:$LINENO: result: No" >&5
 13112 echo "${ECHO_T}No" >&6; }
 13113         STDCFLAG="-std=gnu99"
 13114 fi
 13116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13117      CFLAGS="$old_CFLAGS"
 13119 else
 13120   true
 13121 fi
 13124 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 13125   { echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
 13126 echo $ECHO_N "checking for IOKit/IOKitLib.h... $ECHO_C" >&6; }
 13127 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 13128   echo $ECHO_N "(cached) $ECHO_C" >&6
 13129 fi
 13130 { echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
 13131 echo "${ECHO_T}$ac_cv_header_IOKit_IOKitLib_h" >&6; }
 13132 else
 13133   # Is the header compilable?
 13134 { echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
 13135 echo $ECHO_N "checking IOKit/IOKitLib.h usability... $ECHO_C" >&6; }
 13136 cat >conftest.$ac_ext <<_ACEOF
 13137 /* confdefs.h.  */
 13138 _ACEOF
 13139 cat confdefs.h >>conftest.$ac_ext
 13140 cat >>conftest.$ac_ext <<_ACEOF
 13141 /* end confdefs.h.  */
 13142 $ac_includes_default
 13143 #include <IOKit/IOKitLib.h>
 13144 _ACEOF
 13145 rm -f conftest.$ac_objext
 13146 if { (ac_try="$ac_compile"
 13147 case "(($ac_try" in
 13148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13149   *) ac_try_echo=$ac_try;;
 13150 esac
 13151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13152   (eval "$ac_compile") 2>conftest.er1
 13153   ac_status=$?
 13154   grep -v '^ *+' conftest.er1 >conftest.err
 13155   rm -f conftest.er1
 13156   cat conftest.err >&5
 13157   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13158   (exit $ac_status); } && {
 13159 	 test -z "$ac_c_werror_flag" ||
 13160 	 test ! -s conftest.err
 13161        } && test -s conftest.$ac_objext; then
 13162   ac_header_compiler=yes
 13163 else
 13164   echo "$as_me: failed program was:" >&5
 13165 sed 's/^/| /' conftest.$ac_ext >&5
 13167 	ac_header_compiler=no
 13168 fi
 13170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13171 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 13172 echo "${ECHO_T}$ac_header_compiler" >&6; }
 13174 # Is the header present?
 13175 { echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
 13176 echo $ECHO_N "checking IOKit/IOKitLib.h presence... $ECHO_C" >&6; }
 13177 cat >conftest.$ac_ext <<_ACEOF
 13178 /* confdefs.h.  */
 13179 _ACEOF
 13180 cat confdefs.h >>conftest.$ac_ext
 13181 cat >>conftest.$ac_ext <<_ACEOF
 13182 /* end confdefs.h.  */
 13183 #include <IOKit/IOKitLib.h>
 13184 _ACEOF
 13185 if { (ac_try="$ac_cpp conftest.$ac_ext"
 13186 case "(($ac_try" in
 13187   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13188   *) ac_try_echo=$ac_try;;
 13189 esac
 13190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13191   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 13192   ac_status=$?
 13193   grep -v '^ *+' conftest.er1 >conftest.err
 13194   rm -f conftest.er1
 13195   cat conftest.err >&5
 13196   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13197   (exit $ac_status); } >/dev/null && {
 13198 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 13199 	 test ! -s conftest.err
 13200        }; then
 13201   ac_header_preproc=yes
 13202 else
 13203   echo "$as_me: failed program was:" >&5
 13204 sed 's/^/| /' conftest.$ac_ext >&5
 13206   ac_header_preproc=no
 13207 fi
 13209 rm -f conftest.err conftest.$ac_ext
 13210 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 13211 echo "${ECHO_T}$ac_header_preproc" >&6; }
 13213 # So?  What about this header?
 13214 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 13215   yes:no: )
 13216     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
 13217 echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 13218     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
 13219 echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
 13220     ac_header_preproc=yes
 13221     ;;
 13222   no:yes:* )
 13223     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
 13224 echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
 13225     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&5
 13226 echo "$as_me: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&2;}
 13227     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
 13228 echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
 13229     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&5
 13230 echo "$as_me: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 13231     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
 13232 echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
 13233     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
 13234 echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
 13236     ;;
 13237 esac
 13238 { echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
 13239 echo $ECHO_N "checking for IOKit/IOKitLib.h... $ECHO_C" >&6; }
 13240 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 13241   echo $ECHO_N "(cached) $ECHO_C" >&6
 13242 else
 13243   ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
 13244 fi
 13245 { echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
 13246 echo "${ECHO_T}$ac_cv_header_IOKit_IOKitLib_h" >&6; }
 13248 fi
 13249 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
 13251      CDROM_DRIVER=osx
 13252      LIBS="$LIBS -framework IOKit"
 13253 else
 13254   true
 13255 fi
 13260 if test "x$CDROM_DRIVER" = "xlinux"; then
 13261   CDROM_LINUX_TRUE=
 13262   CDROM_LINUX_FALSE='#'
 13263 else
 13264   CDROM_LINUX_TRUE='#'
 13265   CDROM_LINUX_FALSE=
 13266 fi
 13270 if test "x$CDROM_DRIVER" = "xosx"; then
 13271   CDROM_OSX_TRUE=
 13272   CDROM_OSX_FALSE='#'
 13273 else
 13274   CDROM_OSX_TRUE='#'
 13275   CDROM_OSX_FALSE=
 13276 fi
 13280 if test "x$CDROM_DRIVER" = "x"; then
 13281   CDROM_NONE_TRUE=
 13282   CDROM_NONE_FALSE='#'
 13283 else
 13284   CDROM_NONE_TRUE='#'
 13285   CDROM_NONE_FALSE=
 13286 fi
 13288 if test "x$CDROM_DRIVER" = "xlinux"; then
 13290 cat >>confdefs.h <<\_ACEOF
 13291 #define HAVE_LINUX_CDROM 1
 13292 _ACEOF
 13294 fi
 13296 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 13297   { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
 13298 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
 13299 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 13300   echo $ECHO_N "(cached) $ECHO_C" >&6
 13301 fi
 13302 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
 13303 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
 13304 else
 13305   # Is the header compilable?
 13306 { echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
 13307 echo $ECHO_N "checking linux/joystick.h usability... $ECHO_C" >&6; }
 13308 cat >conftest.$ac_ext <<_ACEOF
 13309 /* confdefs.h.  */
 13310 _ACEOF
 13311 cat confdefs.h >>conftest.$ac_ext
 13312 cat >>conftest.$ac_ext <<_ACEOF
 13313 /* end confdefs.h.  */
 13314 $ac_includes_default
 13315 #include <linux/joystick.h>
 13316 _ACEOF
 13317 rm -f conftest.$ac_objext
 13318 if { (ac_try="$ac_compile"
 13319 case "(($ac_try" in
 13320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13321   *) ac_try_echo=$ac_try;;
 13322 esac
 13323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13324   (eval "$ac_compile") 2>conftest.er1
 13325   ac_status=$?
 13326   grep -v '^ *+' conftest.er1 >conftest.err
 13327   rm -f conftest.er1
 13328   cat conftest.err >&5
 13329   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13330   (exit $ac_status); } && {
 13331 	 test -z "$ac_c_werror_flag" ||
 13332 	 test ! -s conftest.err
 13333        } && test -s conftest.$ac_objext; then
 13334   ac_header_compiler=yes
 13335 else
 13336   echo "$as_me: failed program was:" >&5
 13337 sed 's/^/| /' conftest.$ac_ext >&5
 13339 	ac_header_compiler=no
 13340 fi
 13342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13343 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 13344 echo "${ECHO_T}$ac_header_compiler" >&6; }
 13346 # Is the header present?
 13347 { echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
 13348 echo $ECHO_N "checking linux/joystick.h presence... $ECHO_C" >&6; }
 13349 cat >conftest.$ac_ext <<_ACEOF
 13350 /* confdefs.h.  */
 13351 _ACEOF
 13352 cat confdefs.h >>conftest.$ac_ext
 13353 cat >>conftest.$ac_ext <<_ACEOF
 13354 /* end confdefs.h.  */
 13355 #include <linux/joystick.h>
 13356 _ACEOF
 13357 if { (ac_try="$ac_cpp conftest.$ac_ext"
 13358 case "(($ac_try" in
 13359   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13360   *) ac_try_echo=$ac_try;;
 13361 esac
 13362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13363   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 13364   ac_status=$?
 13365   grep -v '^ *+' conftest.er1 >conftest.err
 13366   rm -f conftest.er1
 13367   cat conftest.err >&5
 13368   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13369   (exit $ac_status); } >/dev/null && {
 13370 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 13371 	 test ! -s conftest.err
 13372        }; then
 13373   ac_header_preproc=yes
 13374 else
 13375   echo "$as_me: failed program was:" >&5
 13376 sed 's/^/| /' conftest.$ac_ext >&5
 13378   ac_header_preproc=no
 13379 fi
 13381 rm -f conftest.err conftest.$ac_ext
 13382 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 13383 echo "${ECHO_T}$ac_header_preproc" >&6; }
 13385 # So?  What about this header?
 13386 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 13387   yes:no: )
 13388     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
 13389 echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 13390     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
 13391 echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
 13392     ac_header_preproc=yes
 13393     ;;
 13394   no:yes:* )
 13395     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
 13396 echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
 13397     { echo "$as_me:$LINENO: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&5
 13398 echo "$as_me: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&2;}
 13399     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
 13400 echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
 13401     { echo "$as_me:$LINENO: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&5
 13402 echo "$as_me: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 13403     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
 13404 echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
 13405     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
 13406 echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
 13408     ;;
 13409 esac
 13410 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
 13411 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
 13412 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 13413   echo $ECHO_N "(cached) $ECHO_C" >&6
 13414 else
 13415   ac_cv_header_linux_joystick_h=$ac_header_preproc
 13416 fi
 13417 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
 13418 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
 13420 fi
 13421 if test $ac_cv_header_linux_joystick_h = yes; then
 13423     HAVE_LINUX_JOYSTICK_H=yes
 13425 cat >>confdefs.h <<\_ACEOF
 13426 #define HAVE_LINUX_JOYSTICK 1
 13427 _ACEOF
 13429     INPUT_DRIVERS="$INPUT_DRIVERS joy_linux"
 13430 else
 13431    echo "Linux Joystick support not found, building without it."
 13432 fi
 13437 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
 13438   JOY_LINUX_TRUE=
 13439   JOY_LINUX_FALSE='#'
 13440 else
 13441   JOY_LINUX_TRUE='#'
 13442   JOY_LINUX_FALSE=
 13443 fi
 13446 if test "x$with_lirc" != "xno"; then
 13447     if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
 13448   { echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
 13449 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6; }
 13450 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
 13451   echo $ECHO_N "(cached) $ECHO_C" >&6
 13452 fi
 13453 { echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
 13454 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6; }
 13455 else
 13456   # Is the header compilable?
 13457 { echo "$as_me:$LINENO: checking lirc/lirc_client.h usability" >&5
 13458 echo $ECHO_N "checking lirc/lirc_client.h usability... $ECHO_C" >&6; }
 13459 cat >conftest.$ac_ext <<_ACEOF
 13460 /* confdefs.h.  */
 13461 _ACEOF
 13462 cat confdefs.h >>conftest.$ac_ext
 13463 cat >>conftest.$ac_ext <<_ACEOF
 13464 /* end confdefs.h.  */
 13465 $ac_includes_default
 13466 #include <lirc/lirc_client.h>
 13467 _ACEOF
 13468 rm -f conftest.$ac_objext
 13469 if { (ac_try="$ac_compile"
 13470 case "(($ac_try" in
 13471   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13472   *) ac_try_echo=$ac_try;;
 13473 esac
 13474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13475   (eval "$ac_compile") 2>conftest.er1
 13476   ac_status=$?
 13477   grep -v '^ *+' conftest.er1 >conftest.err
 13478   rm -f conftest.er1
 13479   cat conftest.err >&5
 13480   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13481   (exit $ac_status); } && {
 13482 	 test -z "$ac_c_werror_flag" ||
 13483 	 test ! -s conftest.err
 13484        } && test -s conftest.$ac_objext; then
 13485   ac_header_compiler=yes
 13486 else
 13487   echo "$as_me: failed program was:" >&5
 13488 sed 's/^/| /' conftest.$ac_ext >&5
 13490 	ac_header_compiler=no
 13491 fi
 13493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13494 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 13495 echo "${ECHO_T}$ac_header_compiler" >&6; }
 13497 # Is the header present?
 13498 { echo "$as_me:$LINENO: checking lirc/lirc_client.h presence" >&5
 13499 echo $ECHO_N "checking lirc/lirc_client.h presence... $ECHO_C" >&6; }
 13500 cat >conftest.$ac_ext <<_ACEOF
 13501 /* confdefs.h.  */
 13502 _ACEOF
 13503 cat confdefs.h >>conftest.$ac_ext
 13504 cat >>conftest.$ac_ext <<_ACEOF
 13505 /* end confdefs.h.  */
 13506 #include <lirc/lirc_client.h>
 13507 _ACEOF
 13508 if { (ac_try="$ac_cpp conftest.$ac_ext"
 13509 case "(($ac_try" in
 13510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13511   *) ac_try_echo=$ac_try;;
 13512 esac
 13513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13514   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 13515   ac_status=$?
 13516   grep -v '^ *+' conftest.er1 >conftest.err
 13517   rm -f conftest.er1
 13518   cat conftest.err >&5
 13519   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13520   (exit $ac_status); } >/dev/null && {
 13521 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 13522 	 test ! -s conftest.err
 13523        }; then
 13524   ac_header_preproc=yes
 13525 else
 13526   echo "$as_me: failed program was:" >&5
 13527 sed 's/^/| /' conftest.$ac_ext >&5
 13529   ac_header_preproc=no
 13530 fi
 13532 rm -f conftest.err conftest.$ac_ext
 13533 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 13534 echo "${ECHO_T}$ac_header_preproc" >&6; }
 13536 # So?  What about this header?
 13537 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 13538   yes:no: )
 13539     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&5
 13540 echo "$as_me: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 13541     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the compiler's result" >&5
 13542 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the compiler's result" >&2;}
 13543     ac_header_preproc=yes
 13544     ;;
 13545   no:yes:* )
 13546     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&5
 13547 echo "$as_me: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&2;}
 13548     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h:     check for missing prerequisite headers?" >&5
 13549 echo "$as_me: WARNING: lirc/lirc_client.h:     check for missing prerequisite headers?" >&2;}
 13550     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: see the Autoconf documentation" >&5
 13551 echo "$as_me: WARNING: lirc/lirc_client.h: see the Autoconf documentation" >&2;}
 13552     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h:     section \"Present But Cannot Be Compiled\"" >&5
 13553 echo "$as_me: WARNING: lirc/lirc_client.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 13554     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
 13555 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;}
 13556     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: in the future, the compiler will take precedence" >&5
 13557 echo "$as_me: WARNING: lirc/lirc_client.h: in the future, the compiler will take precedence" >&2;}
 13559     ;;
 13560 esac
 13561 { echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
 13562 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6; }
 13563 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
 13564   echo $ECHO_N "(cached) $ECHO_C" >&6
 13565 else
 13566   ac_cv_header_lirc_lirc_client_h=$ac_header_preproc
 13567 fi
 13568 { echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
 13569 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6; }
 13571 fi
 13572 if test $ac_cv_header_lirc_lirc_client_h = yes; then
 13574         HAVE_LIRC_CLIENT_H=yes
 13576 cat >>confdefs.h <<\_ACEOF
 13577 #define HAVE_LIRC 1
 13578 _ACEOF
 13580         INPUT_DRIVERS="$INPUT_DRIVERS lirc"
 13582 else
 13583    echo "LIRC support not found, building without it."
 13584 fi
 13587 fi
 13590 if test "$HAVE_LIRC_CLIENT_H" = "yes"; then
 13591   INPUT_LIRC_TRUE=
 13592   INPUT_LIRC_FALSE='#'
 13593 else
 13594   INPUT_LIRC_TRUE='#'
 13595   INPUT_LIRC_FALSE=
 13596 fi
 13599 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
 13600 set dummy sh-elf-gcc; ac_word=$2
 13601 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13603 if test "${ac_cv_path_SHCC+set}" = set; then
 13604   echo $ECHO_N "(cached) $ECHO_C" >&6
 13605 else
 13606   case $SHCC in
 13607   [\\/]* | ?:[\\/]*)
 13608   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
 13609   ;;
 13610   *)
 13611   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13612 for as_dir in $PATH
 13613 do
 13614   IFS=$as_save_IFS
 13615   test -z "$as_dir" && as_dir=.
 13616   for ac_exec_ext in '' $ac_executable_extensions; do
 13617   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13618     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
 13619     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13620     break 2
 13621   fi
 13622 done
 13623 done
 13624 IFS=$as_save_IFS
 13626   ;;
 13627 esac
 13628 fi
 13629 SHCC=$ac_cv_path_SHCC
 13630 if test -n "$SHCC"; then
 13631   { echo "$as_me:$LINENO: result: $SHCC" >&5
 13632 echo "${ECHO_T}$SHCC" >&6; }
 13633 else
 13634   { echo "$as_me:$LINENO: result: no" >&5
 13635 echo "${ECHO_T}no" >&6; }
 13636 fi
 13639 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
 13640 set dummy sh-elf-ld; ac_word=$2
 13641 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13642 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13643 if test "${ac_cv_path_SHLD+set}" = set; then
 13644   echo $ECHO_N "(cached) $ECHO_C" >&6
 13645 else
 13646   case $SHLD in
 13647   [\\/]* | ?:[\\/]*)
 13648   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
 13649   ;;
 13650   *)
 13651   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13652 for as_dir in $PATH
 13653 do
 13654   IFS=$as_save_IFS
 13655   test -z "$as_dir" && as_dir=.
 13656   for ac_exec_ext in '' $ac_executable_extensions; do
 13657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13658     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
 13659     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13660     break 2
 13661   fi
 13662 done
 13663 done
 13664 IFS=$as_save_IFS
 13666   ;;
 13667 esac
 13668 fi
 13669 SHLD=$ac_cv_path_SHLD
 13670 if test -n "$SHLD"; then
 13671   { echo "$as_me:$LINENO: result: $SHLD" >&5
 13672 echo "${ECHO_T}$SHLD" >&6; }
 13673 else
 13674   { echo "$as_me:$LINENO: result: no" >&5
 13675 echo "${ECHO_T}no" >&6; }
 13676 fi
 13679 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
 13680 set dummy sh-elf-objcopy; ac_word=$2
 13681 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13683 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
 13684   echo $ECHO_N "(cached) $ECHO_C" >&6
 13685 else
 13686   case $SHOBJCOPY in
 13687   [\\/]* | ?:[\\/]*)
 13688   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
 13689   ;;
 13690   *)
 13691   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13692 for as_dir in $PATH
 13693 do
 13694   IFS=$as_save_IFS
 13695   test -z "$as_dir" && as_dir=.
 13696   for ac_exec_ext in '' $ac_executable_extensions; do
 13697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13698     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
 13699     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13700     break 2
 13701   fi
 13702 done
 13703 done
 13704 IFS=$as_save_IFS
 13706   ;;
 13707 esac
 13708 fi
 13709 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
 13710 if test -n "$SHOBJCOPY"; then
 13711   { echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
 13712 echo "${ECHO_T}$SHOBJCOPY" >&6; }
 13713 else
 13714   { echo "$as_me:$LINENO: result: no" >&5
 13715 echo "${ECHO_T}no" >&6; }
 13716 fi
 13719 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
 13720 set dummy arm-elf-gcc; ac_word=$2
 13721 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13722 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13723 if test "${ac_cv_path_ARMCC+set}" = set; then
 13724   echo $ECHO_N "(cached) $ECHO_C" >&6
 13725 else
 13726   case $ARMCC in
 13727   [\\/]* | ?:[\\/]*)
 13728   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
 13729   ;;
 13730   *)
 13731   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13732 for as_dir in $PATH
 13733 do
 13734   IFS=$as_save_IFS
 13735   test -z "$as_dir" && as_dir=.
 13736   for ac_exec_ext in '' $ac_executable_extensions; do
 13737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13738     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
 13739     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13740     break 2
 13741   fi
 13742 done
 13743 done
 13744 IFS=$as_save_IFS
 13746   ;;
 13747 esac
 13748 fi
 13749 ARMCC=$ac_cv_path_ARMCC
 13750 if test -n "$ARMCC"; then
 13751   { echo "$as_me:$LINENO: result: $ARMCC" >&5
 13752 echo "${ECHO_T}$ARMCC" >&6; }
 13753 else
 13754   { echo "$as_me:$LINENO: result: no" >&5
 13755 echo "${ECHO_T}no" >&6; }
 13756 fi
 13759 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
 13760 set dummy arm-elf-ld; ac_word=$2
 13761 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13762 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13763 if test "${ac_cv_path_ARMLD+set}" = set; then
 13764   echo $ECHO_N "(cached) $ECHO_C" >&6
 13765 else
 13766   case $ARMLD in
 13767   [\\/]* | ?:[\\/]*)
 13768   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
 13769   ;;
 13770   *)
 13771   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13772 for as_dir in $PATH
 13773 do
 13774   IFS=$as_save_IFS
 13775   test -z "$as_dir" && as_dir=.
 13776   for ac_exec_ext in '' $ac_executable_extensions; do
 13777   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13778     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
 13779     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13780     break 2
 13781   fi
 13782 done
 13783 done
 13784 IFS=$as_save_IFS
 13786   ;;
 13787 esac
 13788 fi
 13789 ARMLD=$ac_cv_path_ARMLD
 13790 if test -n "$ARMLD"; then
 13791   { echo "$as_me:$LINENO: result: $ARMLD" >&5
 13792 echo "${ECHO_T}$ARMLD" >&6; }
 13793 else
 13794   { echo "$as_me:$LINENO: result: no" >&5
 13795 echo "${ECHO_T}no" >&6; }
 13796 fi
 13799 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
 13800 set dummy arm-elf-objcopy; ac_word=$2
 13801 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13803 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
 13804   echo $ECHO_N "(cached) $ECHO_C" >&6
 13805 else
 13806   case $ARMOBJCOPY in
 13807   [\\/]* | ?:[\\/]*)
 13808   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
 13809   ;;
 13810   *)
 13811   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13812 for as_dir in $PATH
 13813 do
 13814   IFS=$as_save_IFS
 13815   test -z "$as_dir" && as_dir=.
 13816   for ac_exec_ext in '' $ac_executable_extensions; do
 13817   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13818     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
 13819     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13820     break 2
 13821   fi
 13822 done
 13823 done
 13824 IFS=$as_save_IFS
 13826   ;;
 13827 esac
 13828 fi
 13829 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
 13830 if test -n "$ARMOBJCOPY"; then
 13831   { echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
 13832 echo "${ECHO_T}$ARMOBJCOPY" >&6; }
 13833 else
 13834   { echo "$as_me:$LINENO: result: no" >&5
 13835 echo "${ECHO_T}no" >&6; }
 13836 fi
 13840 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
 13841   BUILD_SH="no"
 13842   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
 13843 else
 13844   BUILD_SH="yes"
 13845 fi
 13846 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
 13847   BUILD_ARM="no"
 13848   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
 13849 else
 13850   BUILD_ARM="yes"
 13851 fi
 13854 if test "$BUILD_SH" = "yes"; then
 13855   BUILD_SYSTEST_TRUE=
 13856   BUILD_SYSTEST_FALSE='#'
 13857 else
 13858   BUILD_SYSTEST_TRUE='#'
 13859   BUILD_SYSTEST_FALSE=
 13860 fi
 13864 if test "$BUILD_ARM" = "yes"; then
 13865   BUILD_ARMTEST_TRUE=
 13866   BUILD_ARMTEST_FALSE='#'
 13867 else
 13868   BUILD_ARMTEST_TRUE='#'
 13869   BUILD_ARMTEST_FALSE=
 13870 fi
 13873 CFLAGS="$CFLAGS $STDCFLAG"
 13875 GETTEXT_PACKAGE=lxdream
 13876 LXDREAM_LIBS="$LIBS"
 13877 LIBS=""
 13881 cat >>confdefs.h <<_ACEOF
 13882 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 13883 _ACEOF
 13886 ALL_LINGUAS="de es it nl pt_BR"
 13889 for ac_header in locale.h
 13890 do
 13891 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 13892 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 13893   { echo "$as_me:$LINENO: checking for $ac_header" >&5
 13894 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 13895 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 13896   echo $ECHO_N "(cached) $ECHO_C" >&6
 13897 fi
 13898 ac_res=`eval echo '${'$as_ac_Header'}'`
 13899 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 13900 echo "${ECHO_T}$ac_res" >&6; }
 13901 else
 13902   # Is the header compilable?
 13903 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
 13904 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 13905 cat >conftest.$ac_ext <<_ACEOF
 13906 /* confdefs.h.  */
 13907 _ACEOF
 13908 cat confdefs.h >>conftest.$ac_ext
 13909 cat >>conftest.$ac_ext <<_ACEOF
 13910 /* end confdefs.h.  */
 13911 $ac_includes_default
 13912 #include <$ac_header>
 13913 _ACEOF
 13914 rm -f conftest.$ac_objext
 13915 if { (ac_try="$ac_compile"
 13916 case "(($ac_try" in
 13917   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13918   *) ac_try_echo=$ac_try;;
 13919 esac
 13920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13921   (eval "$ac_compile") 2>conftest.er1
 13922   ac_status=$?
 13923   grep -v '^ *+' conftest.er1 >conftest.err
 13924   rm -f conftest.er1
 13925   cat conftest.err >&5
 13926   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13927   (exit $ac_status); } && {
 13928 	 test -z "$ac_c_werror_flag" ||
 13929 	 test ! -s conftest.err
 13930        } && test -s conftest.$ac_objext; then
 13931   ac_header_compiler=yes
 13932 else
 13933   echo "$as_me: failed program was:" >&5
 13934 sed 's/^/| /' conftest.$ac_ext >&5
 13936 	ac_header_compiler=no
 13937 fi
 13939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13940 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 13941 echo "${ECHO_T}$ac_header_compiler" >&6; }
 13943 # Is the header present?
 13944 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
 13945 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 13946 cat >conftest.$ac_ext <<_ACEOF
 13947 /* confdefs.h.  */
 13948 _ACEOF
 13949 cat confdefs.h >>conftest.$ac_ext
 13950 cat >>conftest.$ac_ext <<_ACEOF
 13951 /* end confdefs.h.  */
 13952 #include <$ac_header>
 13953 _ACEOF
 13954 if { (ac_try="$ac_cpp conftest.$ac_ext"
 13955 case "(($ac_try" in
 13956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13957   *) ac_try_echo=$ac_try;;
 13958 esac
 13959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13960   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 13961   ac_status=$?
 13962   grep -v '^ *+' conftest.er1 >conftest.err
 13963   rm -f conftest.er1
 13964   cat conftest.err >&5
 13965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13966   (exit $ac_status); } >/dev/null && {
 13967 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 13968 	 test ! -s conftest.err
 13969        }; then
 13970   ac_header_preproc=yes
 13971 else
 13972   echo "$as_me: failed program was:" >&5
 13973 sed 's/^/| /' conftest.$ac_ext >&5
 13975   ac_header_preproc=no
 13976 fi
 13978 rm -f conftest.err conftest.$ac_ext
 13979 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 13980 echo "${ECHO_T}$ac_header_preproc" >&6; }
 13982 # So?  What about this header?
 13983 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 13984   yes:no: )
 13985     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 13986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 13987     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 13988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 13989     ac_header_preproc=yes
 13990     ;;
 13991   no:yes:* )
 13992     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 13993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 13994     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 13995 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 13996     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 13997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 13998     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 13999 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 14000     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 14001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 14002     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 14003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 14005     ;;
 14006 esac
 14007 { echo "$as_me:$LINENO: checking for $ac_header" >&5
 14008 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 14009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 14010   echo $ECHO_N "(cached) $ECHO_C" >&6
 14011 else
 14012   eval "$as_ac_Header=\$ac_header_preproc"
 14013 fi
 14014 ac_res=`eval echo '${'$as_ac_Header'}'`
 14015 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 14016 echo "${ECHO_T}$ac_res" >&6; }
 14018 fi
 14019 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 14020   cat >>confdefs.h <<_ACEOF
 14021 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 14022 _ACEOF
 14024 fi
 14026 done
 14028     if test $ac_cv_header_locale_h = yes; then
 14029     { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 14030 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
 14031 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 14032   echo $ECHO_N "(cached) $ECHO_C" >&6
 14033 else
 14034   cat >conftest.$ac_ext <<_ACEOF
 14035 /* confdefs.h.  */
 14036 _ACEOF
 14037 cat confdefs.h >>conftest.$ac_ext
 14038 cat >>conftest.$ac_ext <<_ACEOF
 14039 /* end confdefs.h.  */
 14040 #include <locale.h>
 14041 int
 14042 main ()
 14044 return LC_MESSAGES
 14046   return 0;
 14048 _ACEOF
 14049 rm -f conftest.$ac_objext conftest$ac_exeext
 14050 if { (ac_try="$ac_link"
 14051 case "(($ac_try" in
 14052   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14053   *) ac_try_echo=$ac_try;;
 14054 esac
 14055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14056   (eval "$ac_link") 2>conftest.er1
 14057   ac_status=$?
 14058   grep -v '^ *+' conftest.er1 >conftest.err
 14059   rm -f conftest.er1
 14060   cat conftest.err >&5
 14061   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14062   (exit $ac_status); } && {
 14063 	 test -z "$ac_c_werror_flag" ||
 14064 	 test ! -s conftest.err
 14065        } && test -s conftest$ac_exeext &&
 14066        $as_test_x conftest$ac_exeext; then
 14067   am_cv_val_LC_MESSAGES=yes
 14068 else
 14069   echo "$as_me: failed program was:" >&5
 14070 sed 's/^/| /' conftest.$ac_ext >&5
 14072 	am_cv_val_LC_MESSAGES=no
 14073 fi
 14075 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14076       conftest$ac_exeext conftest.$ac_ext
 14077 fi
 14078 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 14079 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
 14080     if test $am_cv_val_LC_MESSAGES = yes; then
 14082 cat >>confdefs.h <<\_ACEOF
 14083 #define HAVE_LC_MESSAGES 1
 14084 _ACEOF
 14086     fi
 14087   fi
 14088      USE_NLS=yes
 14091     gt_cv_have_gettext=no
 14093     CATOBJEXT=NONE
 14094     XGETTEXT=:
 14095     INTLLIBS=
 14097     if test "${ac_cv_header_libintl_h+set}" = set; then
 14098   { echo "$as_me:$LINENO: checking for libintl.h" >&5
 14099 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
 14100 if test "${ac_cv_header_libintl_h+set}" = set; then
 14101   echo $ECHO_N "(cached) $ECHO_C" >&6
 14102 fi
 14103 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 14104 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
 14105 else
 14106   # Is the header compilable?
 14107 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
 14108 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
 14109 cat >conftest.$ac_ext <<_ACEOF
 14110 /* confdefs.h.  */
 14111 _ACEOF
 14112 cat confdefs.h >>conftest.$ac_ext
 14113 cat >>conftest.$ac_ext <<_ACEOF
 14114 /* end confdefs.h.  */
 14115 $ac_includes_default
 14116 #include <libintl.h>
 14117 _ACEOF
 14118 rm -f conftest.$ac_objext
 14119 if { (ac_try="$ac_compile"
 14120 case "(($ac_try" in
 14121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14122   *) ac_try_echo=$ac_try;;
 14123 esac
 14124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14125   (eval "$ac_compile") 2>conftest.er1
 14126   ac_status=$?
 14127   grep -v '^ *+' conftest.er1 >conftest.err
 14128   rm -f conftest.er1
 14129   cat conftest.err >&5
 14130   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14131   (exit $ac_status); } && {
 14132 	 test -z "$ac_c_werror_flag" ||
 14133 	 test ! -s conftest.err
 14134        } && test -s conftest.$ac_objext; then
 14135   ac_header_compiler=yes
 14136 else
 14137   echo "$as_me: failed program was:" >&5
 14138 sed 's/^/| /' conftest.$ac_ext >&5
 14140 	ac_header_compiler=no
 14141 fi
 14143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14144 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 14145 echo "${ECHO_T}$ac_header_compiler" >&6; }
 14147 # Is the header present?
 14148 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
 14149 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
 14150 cat >conftest.$ac_ext <<_ACEOF
 14151 /* confdefs.h.  */
 14152 _ACEOF
 14153 cat confdefs.h >>conftest.$ac_ext
 14154 cat >>conftest.$ac_ext <<_ACEOF
 14155 /* end confdefs.h.  */
 14156 #include <libintl.h>
 14157 _ACEOF
 14158 if { (ac_try="$ac_cpp conftest.$ac_ext"
 14159 case "(($ac_try" in
 14160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14161   *) ac_try_echo=$ac_try;;
 14162 esac
 14163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14164   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 14165   ac_status=$?
 14166   grep -v '^ *+' conftest.er1 >conftest.err
 14167   rm -f conftest.er1
 14168   cat conftest.err >&5
 14169   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14170   (exit $ac_status); } >/dev/null && {
 14171 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 14172 	 test ! -s conftest.err
 14173        }; then
 14174   ac_header_preproc=yes
 14175 else
 14176   echo "$as_me: failed program was:" >&5
 14177 sed 's/^/| /' conftest.$ac_ext >&5
 14179   ac_header_preproc=no
 14180 fi
 14182 rm -f conftest.err conftest.$ac_ext
 14183 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 14184 echo "${ECHO_T}$ac_header_preproc" >&6; }
 14186 # So?  What about this header?
 14187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 14188   yes:no: )
 14189     { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 14190 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 14191     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 14192 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 14193     ac_header_preproc=yes
 14194     ;;
 14195   no:yes:* )
 14196     { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 14197 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 14198     { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 14199 echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 14200     { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 14201 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 14202     { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 14203 echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 14204     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 14205 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 14206     { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 14207 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 14209     ;;
 14210 esac
 14211 { echo "$as_me:$LINENO: checking for libintl.h" >&5
 14212 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
 14213 if test "${ac_cv_header_libintl_h+set}" = set; then
 14214   echo $ECHO_N "(cached) $ECHO_C" >&6
 14215 else
 14216   ac_cv_header_libintl_h=$ac_header_preproc
 14217 fi
 14218 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 14219 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
 14221 fi
 14222 if test $ac_cv_header_libintl_h = yes; then
 14223   gt_cv_func_dgettext_libintl="no"
 14224       libintl_extra_libs=""
 14227       # First check in libc
 14229       { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 14230 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
 14231 if test "${gt_cv_func_ngettext_libc+set}" = set; then
 14232   echo $ECHO_N "(cached) $ECHO_C" >&6
 14233 else
 14234   cat >conftest.$ac_ext <<_ACEOF
 14235 /* confdefs.h.  */
 14236 _ACEOF
 14237 cat confdefs.h >>conftest.$ac_ext
 14238 cat >>conftest.$ac_ext <<_ACEOF
 14239 /* end confdefs.h.  */
 14241 #include <libintl.h>
 14243 int
 14244 main ()
 14246 return !ngettext ("","", 1)
 14248   return 0;
 14250 _ACEOF
 14251 rm -f conftest.$ac_objext conftest$ac_exeext
 14252 if { (ac_try="$ac_link"
 14253 case "(($ac_try" in
 14254   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14255   *) ac_try_echo=$ac_try;;
 14256 esac
 14257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14258   (eval "$ac_link") 2>conftest.er1
 14259   ac_status=$?
 14260   grep -v '^ *+' conftest.er1 >conftest.err
 14261   rm -f conftest.er1
 14262   cat conftest.err >&5
 14263   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14264   (exit $ac_status); } && {
 14265 	 test -z "$ac_c_werror_flag" ||
 14266 	 test ! -s conftest.err
 14267        } && test -s conftest$ac_exeext &&
 14268        $as_test_x conftest$ac_exeext; then
 14269   gt_cv_func_ngettext_libc=yes
 14270 else
 14271   echo "$as_me: failed program was:" >&5
 14272 sed 's/^/| /' conftest.$ac_ext >&5
 14274 	gt_cv_func_ngettext_libc=no
 14275 fi
 14277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14278       conftest$ac_exeext conftest.$ac_ext
 14280 fi
 14281 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 14282 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
 14284       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 14285 	      { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 14286 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
 14287 if test "${gt_cv_func_dgettext_libc+set}" = set; then
 14288   echo $ECHO_N "(cached) $ECHO_C" >&6
 14289 else
 14290   cat >conftest.$ac_ext <<_ACEOF
 14291 /* confdefs.h.  */
 14292 _ACEOF
 14293 cat confdefs.h >>conftest.$ac_ext
 14294 cat >>conftest.$ac_ext <<_ACEOF
 14295 /* end confdefs.h.  */
 14297 #include <libintl.h>
 14299 int
 14300 main ()
 14302 return !dgettext ("","")
 14304   return 0;
 14306 _ACEOF
 14307 rm -f conftest.$ac_objext conftest$ac_exeext
 14308 if { (ac_try="$ac_link"
 14309 case "(($ac_try" in
 14310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14311   *) ac_try_echo=$ac_try;;
 14312 esac
 14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14314   (eval "$ac_link") 2>conftest.er1
 14315   ac_status=$?
 14316   grep -v '^ *+' conftest.er1 >conftest.err
 14317   rm -f conftest.er1
 14318   cat conftest.err >&5
 14319   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14320   (exit $ac_status); } && {
 14321 	 test -z "$ac_c_werror_flag" ||
 14322 	 test ! -s conftest.err
 14323        } && test -s conftest$ac_exeext &&
 14324        $as_test_x conftest$ac_exeext; then
 14325   gt_cv_func_dgettext_libc=yes
 14326 else
 14327   echo "$as_me: failed program was:" >&5
 14328 sed 's/^/| /' conftest.$ac_ext >&5
 14330 	gt_cv_func_dgettext_libc=no
 14331 fi
 14333 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14334       conftest$ac_exeext conftest.$ac_ext
 14336 fi
 14337 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 14338 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
 14339       fi
 14341       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 14343 for ac_func in bind_textdomain_codeset
 14344 do
 14345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 14346 { echo "$as_me:$LINENO: checking for $ac_func" >&5
 14347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 14348 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 14349   echo $ECHO_N "(cached) $ECHO_C" >&6
 14350 else
 14351   cat >conftest.$ac_ext <<_ACEOF
 14352 /* confdefs.h.  */
 14353 _ACEOF
 14354 cat confdefs.h >>conftest.$ac_ext
 14355 cat >>conftest.$ac_ext <<_ACEOF
 14356 /* end confdefs.h.  */
 14357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 14358    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 14359 #define $ac_func innocuous_$ac_func
 14361 /* System header to define __stub macros and hopefully few prototypes,
 14362     which can conflict with char $ac_func (); below.
 14363     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 14364     <limits.h> exists even on freestanding compilers.  */
 14366 #ifdef __STDC__
 14367 # include <limits.h>
 14368 #else
 14369 # include <assert.h>
 14370 #endif
 14372 #undef $ac_func
 14374 /* Override any GCC internal prototype to avoid an error.
 14375    Use char because int might match the return type of a GCC
 14376    builtin and then its argument prototype would still apply.  */
 14377 #ifdef __cplusplus
 14378 extern "C"
 14379 #endif
 14380 char $ac_func ();
 14381 /* The GNU C library defines this for functions which it implements
 14382     to always fail with ENOSYS.  Some functions are actually named
 14383     something starting with __ and the normal name is an alias.  */
 14384 #if defined __stub_$ac_func || defined __stub___$ac_func
 14385 choke me
 14386 #endif
 14388 int
 14389 main ()
 14391 return $ac_func ();
 14393   return 0;
 14395 _ACEOF
 14396 rm -f conftest.$ac_objext conftest$ac_exeext
 14397 if { (ac_try="$ac_link"
 14398 case "(($ac_try" in
 14399   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14400   *) ac_try_echo=$ac_try;;
 14401 esac
 14402 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14403   (eval "$ac_link") 2>conftest.er1
 14404   ac_status=$?
 14405   grep -v '^ *+' conftest.er1 >conftest.err
 14406   rm -f conftest.er1
 14407   cat conftest.err >&5
 14408   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14409   (exit $ac_status); } && {
 14410 	 test -z "$ac_c_werror_flag" ||
 14411 	 test ! -s conftest.err
 14412        } && test -s conftest$ac_exeext &&
 14413        $as_test_x conftest$ac_exeext; then
 14414   eval "$as_ac_var=yes"
 14415 else
 14416   echo "$as_me: failed program was:" >&5
 14417 sed 's/^/| /' conftest.$ac_ext >&5
 14419 	eval "$as_ac_var=no"
 14420 fi
 14422 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14423       conftest$ac_exeext conftest.$ac_ext
 14424 fi
 14425 ac_res=`eval echo '${'$as_ac_var'}'`
 14426 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 14427 echo "${ECHO_T}$ac_res" >&6; }
 14428 if test `eval echo '${'$as_ac_var'}'` = yes; then
 14429   cat >>confdefs.h <<_ACEOF
 14430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 14431 _ACEOF
 14433 fi
 14434 done
 14436       fi
 14439       # If we don't have everything we want, check in libintl
 14441       if test "$gt_cv_func_dgettext_libc" != "yes" \
 14442 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
 14443          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 14445         { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 14446 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
 14447 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 14448   echo $ECHO_N "(cached) $ECHO_C" >&6
 14449 else
 14450   ac_check_lib_save_LIBS=$LIBS
 14451 LIBS="-lintl  $LIBS"
 14452 cat >conftest.$ac_ext <<_ACEOF
 14453 /* confdefs.h.  */
 14454 _ACEOF
 14455 cat confdefs.h >>conftest.$ac_ext
 14456 cat >>conftest.$ac_ext <<_ACEOF
 14457 /* end confdefs.h.  */
 14459 /* Override any GCC internal prototype to avoid an error.
 14460    Use char because int might match the return type of a GCC
 14461    builtin and then its argument prototype would still apply.  */
 14462 #ifdef __cplusplus
 14463 extern "C"
 14464 #endif
 14465 char bindtextdomain ();
 14466 int
 14467 main ()
 14469 return bindtextdomain ();
 14471   return 0;
 14473 _ACEOF
 14474 rm -f conftest.$ac_objext conftest$ac_exeext
 14475 if { (ac_try="$ac_link"
 14476 case "(($ac_try" in
 14477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14478   *) ac_try_echo=$ac_try;;
 14479 esac
 14480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14481   (eval "$ac_link") 2>conftest.er1
 14482   ac_status=$?
 14483   grep -v '^ *+' conftest.er1 >conftest.err
 14484   rm -f conftest.er1
 14485   cat conftest.err >&5
 14486   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14487   (exit $ac_status); } && {
 14488 	 test -z "$ac_c_werror_flag" ||
 14489 	 test ! -s conftest.err
 14490        } && test -s conftest$ac_exeext &&
 14491        $as_test_x conftest$ac_exeext; then
 14492   ac_cv_lib_intl_bindtextdomain=yes
 14493 else
 14494   echo "$as_me: failed program was:" >&5
 14495 sed 's/^/| /' conftest.$ac_ext >&5
 14497 	ac_cv_lib_intl_bindtextdomain=no
 14498 fi
 14500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14501       conftest$ac_exeext conftest.$ac_ext
 14502 LIBS=$ac_check_lib_save_LIBS
 14503 fi
 14504 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 14505 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
 14506 if test $ac_cv_lib_intl_bindtextdomain = yes; then
 14507   { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 14508 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 14509 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 14510   echo $ECHO_N "(cached) $ECHO_C" >&6
 14511 else
 14512   ac_check_lib_save_LIBS=$LIBS
 14513 LIBS="-lintl  $LIBS"
 14514 cat >conftest.$ac_ext <<_ACEOF
 14515 /* confdefs.h.  */
 14516 _ACEOF
 14517 cat confdefs.h >>conftest.$ac_ext
 14518 cat >>conftest.$ac_ext <<_ACEOF
 14519 /* end confdefs.h.  */
 14521 /* Override any GCC internal prototype to avoid an error.
 14522    Use char because int might match the return type of a GCC
 14523    builtin and then its argument prototype would still apply.  */
 14524 #ifdef __cplusplus
 14525 extern "C"
 14526 #endif
 14527 char ngettext ();
 14528 int
 14529 main ()
 14531 return ngettext ();
 14533   return 0;
 14535 _ACEOF
 14536 rm -f conftest.$ac_objext conftest$ac_exeext
 14537 if { (ac_try="$ac_link"
 14538 case "(($ac_try" in
 14539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14540   *) ac_try_echo=$ac_try;;
 14541 esac
 14542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14543   (eval "$ac_link") 2>conftest.er1
 14544   ac_status=$?
 14545   grep -v '^ *+' conftest.er1 >conftest.err
 14546   rm -f conftest.er1
 14547   cat conftest.err >&5
 14548   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14549   (exit $ac_status); } && {
 14550 	 test -z "$ac_c_werror_flag" ||
 14551 	 test ! -s conftest.err
 14552        } && test -s conftest$ac_exeext &&
 14553        $as_test_x conftest$ac_exeext; then
 14554   ac_cv_lib_intl_ngettext=yes
 14555 else
 14556   echo "$as_me: failed program was:" >&5
 14557 sed 's/^/| /' conftest.$ac_ext >&5
 14559 	ac_cv_lib_intl_ngettext=no
 14560 fi
 14562 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14563       conftest$ac_exeext conftest.$ac_ext
 14564 LIBS=$ac_check_lib_save_LIBS
 14565 fi
 14566 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 14567 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
 14568 if test $ac_cv_lib_intl_ngettext = yes; then
 14569   { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 14570 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
 14571 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 14572   echo $ECHO_N "(cached) $ECHO_C" >&6
 14573 else
 14574   ac_check_lib_save_LIBS=$LIBS
 14575 LIBS="-lintl  $LIBS"
 14576 cat >conftest.$ac_ext <<_ACEOF
 14577 /* confdefs.h.  */
 14578 _ACEOF
 14579 cat confdefs.h >>conftest.$ac_ext
 14580 cat >>conftest.$ac_ext <<_ACEOF
 14581 /* end confdefs.h.  */
 14583 /* Override any GCC internal prototype to avoid an error.
 14584    Use char because int might match the return type of a GCC
 14585    builtin and then its argument prototype would still apply.  */
 14586 #ifdef __cplusplus
 14587 extern "C"
 14588 #endif
 14589 char dgettext ();
 14590 int
 14591 main ()
 14593 return dgettext ();
 14595   return 0;
 14597 _ACEOF
 14598 rm -f conftest.$ac_objext conftest$ac_exeext
 14599 if { (ac_try="$ac_link"
 14600 case "(($ac_try" in
 14601   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14602   *) ac_try_echo=$ac_try;;
 14603 esac
 14604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14605   (eval "$ac_link") 2>conftest.er1
 14606   ac_status=$?
 14607   grep -v '^ *+' conftest.er1 >conftest.err
 14608   rm -f conftest.er1
 14609   cat conftest.err >&5
 14610   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14611   (exit $ac_status); } && {
 14612 	 test -z "$ac_c_werror_flag" ||
 14613 	 test ! -s conftest.err
 14614        } && test -s conftest$ac_exeext &&
 14615        $as_test_x conftest$ac_exeext; then
 14616   ac_cv_lib_intl_dgettext=yes
 14617 else
 14618   echo "$as_me: failed program was:" >&5
 14619 sed 's/^/| /' conftest.$ac_ext >&5
 14621 	ac_cv_lib_intl_dgettext=no
 14622 fi
 14624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14625       conftest$ac_exeext conftest.$ac_ext
 14626 LIBS=$ac_check_lib_save_LIBS
 14627 fi
 14628 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 14629 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
 14630 if test $ac_cv_lib_intl_dgettext = yes; then
 14631   gt_cv_func_dgettext_libintl=yes
 14632 fi
 14634 fi
 14636 fi
 14639 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 14640 	  { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 14641 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
 14642 	  { echo "$as_me:$LINENO: result: " >&5
 14643 echo "${ECHO_T}" >&6; }
 14644   	  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 14645 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 14646 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 14647   echo $ECHO_N "(cached) $ECHO_C" >&6
 14648 else
 14649   ac_check_lib_save_LIBS=$LIBS
 14650 LIBS="-lintl -liconv $LIBS"
 14651 cat >conftest.$ac_ext <<_ACEOF
 14652 /* confdefs.h.  */
 14653 _ACEOF
 14654 cat confdefs.h >>conftest.$ac_ext
 14655 cat >>conftest.$ac_ext <<_ACEOF
 14656 /* end confdefs.h.  */
 14658 /* Override any GCC internal prototype to avoid an error.
 14659    Use char because int might match the return type of a GCC
 14660    builtin and then its argument prototype would still apply.  */
 14661 #ifdef __cplusplus
 14662 extern "C"
 14663 #endif
 14664 char ngettext ();
 14665 int
 14666 main ()
 14668 return ngettext ();
 14670   return 0;
 14672 _ACEOF
 14673 rm -f conftest.$ac_objext conftest$ac_exeext
 14674 if { (ac_try="$ac_link"
 14675 case "(($ac_try" in
 14676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14677   *) ac_try_echo=$ac_try;;
 14678 esac
 14679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14680   (eval "$ac_link") 2>conftest.er1
 14681   ac_status=$?
 14682   grep -v '^ *+' conftest.er1 >conftest.err
 14683   rm -f conftest.er1
 14684   cat conftest.err >&5
 14685   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14686   (exit $ac_status); } && {
 14687 	 test -z "$ac_c_werror_flag" ||
 14688 	 test ! -s conftest.err
 14689        } && test -s conftest$ac_exeext &&
 14690        $as_test_x conftest$ac_exeext; then
 14691   ac_cv_lib_intl_ngettext=yes
 14692 else
 14693   echo "$as_me: failed program was:" >&5
 14694 sed 's/^/| /' conftest.$ac_ext >&5
 14696 	ac_cv_lib_intl_ngettext=no
 14697 fi
 14699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14700       conftest$ac_exeext conftest.$ac_ext
 14701 LIBS=$ac_check_lib_save_LIBS
 14702 fi
 14703 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 14704 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
 14705 if test $ac_cv_lib_intl_ngettext = yes; then
 14706   { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 14707 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
 14708 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 14709   echo $ECHO_N "(cached) $ECHO_C" >&6
 14710 else
 14711   ac_check_lib_save_LIBS=$LIBS
 14712 LIBS="-lintl -liconv $LIBS"
 14713 cat >conftest.$ac_ext <<_ACEOF
 14714 /* confdefs.h.  */
 14715 _ACEOF
 14716 cat confdefs.h >>conftest.$ac_ext
 14717 cat >>conftest.$ac_ext <<_ACEOF
 14718 /* end confdefs.h.  */
 14720 /* Override any GCC internal prototype to avoid an error.
 14721    Use char because int might match the return type of a GCC
 14722    builtin and then its argument prototype would still apply.  */
 14723 #ifdef __cplusplus
 14724 extern "C"
 14725 #endif
 14726 char dcgettext ();
 14727 int
 14728 main ()
 14730 return dcgettext ();
 14732   return 0;
 14734 _ACEOF
 14735 rm -f conftest.$ac_objext conftest$ac_exeext
 14736 if { (ac_try="$ac_link"
 14737 case "(($ac_try" in
 14738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14739   *) ac_try_echo=$ac_try;;
 14740 esac
 14741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14742   (eval "$ac_link") 2>conftest.er1
 14743   ac_status=$?
 14744   grep -v '^ *+' conftest.er1 >conftest.err
 14745   rm -f conftest.er1
 14746   cat conftest.err >&5
 14747   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14748   (exit $ac_status); } && {
 14749 	 test -z "$ac_c_werror_flag" ||
 14750 	 test ! -s conftest.err
 14751        } && test -s conftest$ac_exeext &&
 14752        $as_test_x conftest$ac_exeext; then
 14753   ac_cv_lib_intl_dcgettext=yes
 14754 else
 14755   echo "$as_me: failed program was:" >&5
 14756 sed 's/^/| /' conftest.$ac_ext >&5
 14758 	ac_cv_lib_intl_dcgettext=no
 14759 fi
 14761 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14762       conftest$ac_exeext conftest.$ac_ext
 14763 LIBS=$ac_check_lib_save_LIBS
 14764 fi
 14765 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 14766 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
 14767 if test $ac_cv_lib_intl_dcgettext = yes; then
 14768   gt_cv_func_dgettext_libintl=yes
 14769 			libintl_extra_libs=-liconv
 14770 else
 14772 fi
 14774 else
 14776 fi
 14778         fi
 14781         # If we found libintl, then check in it for bind_textdomain_codeset();
 14782         # we'll prefer libc if neither have bind_textdomain_codeset(),
 14783         # and both have dgettext and ngettext
 14785         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 14786           glib_save_LIBS="$LIBS"
 14787           LIBS="$LIBS -lintl $libintl_extra_libs"
 14788           unset ac_cv_func_bind_textdomain_codeset
 14790 for ac_func in bind_textdomain_codeset
 14791 do
 14792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 14793 { echo "$as_me:$LINENO: checking for $ac_func" >&5
 14794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 14795 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 14796   echo $ECHO_N "(cached) $ECHO_C" >&6
 14797 else
 14798   cat >conftest.$ac_ext <<_ACEOF
 14799 /* confdefs.h.  */
 14800 _ACEOF
 14801 cat confdefs.h >>conftest.$ac_ext
 14802 cat >>conftest.$ac_ext <<_ACEOF
 14803 /* end confdefs.h.  */
 14804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 14805    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 14806 #define $ac_func innocuous_$ac_func
 14808 /* System header to define __stub macros and hopefully few prototypes,
 14809     which can conflict with char $ac_func (); below.
 14810     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 14811     <limits.h> exists even on freestanding compilers.  */
 14813 #ifdef __STDC__
 14814 # include <limits.h>
 14815 #else
 14816 # include <assert.h>
 14817 #endif
 14819 #undef $ac_func
 14821 /* Override any GCC internal prototype to avoid an error.
 14822    Use char because int might match the return type of a GCC
 14823    builtin and then its argument prototype would still apply.  */
 14824 #ifdef __cplusplus
 14825 extern "C"
 14826 #endif
 14827 char $ac_func ();
 14828 /* The GNU C library defines this for functions which it implements
 14829     to always fail with ENOSYS.  Some functions are actually named
 14830     something starting with __ and the normal name is an alias.  */
 14831 #if defined __stub_$ac_func || defined __stub___$ac_func
 14832 choke me
 14833 #endif
 14835 int
 14836 main ()
 14838 return $ac_func ();
 14840   return 0;
 14842 _ACEOF
 14843 rm -f conftest.$ac_objext conftest$ac_exeext
 14844 if { (ac_try="$ac_link"
 14845 case "(($ac_try" in
 14846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14847   *) ac_try_echo=$ac_try;;
 14848 esac
 14849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14850   (eval "$ac_link") 2>conftest.er1
 14851   ac_status=$?
 14852   grep -v '^ *+' conftest.er1 >conftest.err
 14853   rm -f conftest.er1
 14854   cat conftest.err >&5
 14855   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14856   (exit $ac_status); } && {
 14857 	 test -z "$ac_c_werror_flag" ||
 14858 	 test ! -s conftest.err
 14859        } && test -s conftest$ac_exeext &&
 14860        $as_test_x conftest$ac_exeext; then
 14861   eval "$as_ac_var=yes"
 14862 else
 14863   echo "$as_me: failed program was:" >&5
 14864 sed 's/^/| /' conftest.$ac_ext >&5
 14866 	eval "$as_ac_var=no"
 14867 fi
 14869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14870       conftest$ac_exeext conftest.$ac_ext
 14871 fi
 14872 ac_res=`eval echo '${'$as_ac_var'}'`
 14873 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 14874 echo "${ECHO_T}$ac_res" >&6; }
 14875 if test `eval echo '${'$as_ac_var'}'` = yes; then
 14876   cat >>confdefs.h <<_ACEOF
 14877 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 14878 _ACEOF
 14880 fi
 14881 done
 14883           LIBS="$glib_save_LIBS"
 14885           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 14886             gt_cv_func_dgettext_libc=no
 14887           else
 14888             if test "$gt_cv_func_dgettext_libc" = "yes" \
 14889 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
 14890               gt_cv_func_dgettext_libintl=no
 14891             fi
 14892           fi
 14893         fi
 14894       fi
 14896       if test "$gt_cv_func_dgettext_libc" = "yes" \
 14897 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
 14898         gt_cv_have_gettext=yes
 14899       fi
 14901       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 14902         INTLLIBS="-lintl $libintl_extra_libs"
 14903       fi
 14905       if test "$gt_cv_have_gettext" = "yes"; then
 14907 cat >>confdefs.h <<\_ACEOF
 14908 #define HAVE_GETTEXT 1
 14909 _ACEOF
 14911 	# Extract the first word of "msgfmt", so it can be a program name with args.
 14912 set dummy msgfmt; ac_word=$2
 14913 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 14914 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 14915 if test "${ac_cv_path_MSGFMT+set}" = set; then
 14916   echo $ECHO_N "(cached) $ECHO_C" >&6
 14917 else
 14918   case "$MSGFMT" in
 14919   /*)
 14920   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 14921   ;;
 14922   *)
 14923   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 14924   for ac_dir in $PATH; do
 14925     test -z "$ac_dir" && ac_dir=.
 14926     if test -f $ac_dir/$ac_word; then
 14927       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 14928 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 14929 	break
 14930       fi
 14931     fi
 14932   done
 14933   IFS="$ac_save_ifs"
 14934   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 14935   ;;
 14936 esac
 14937 fi
 14938 MSGFMT="$ac_cv_path_MSGFMT"
 14939 if test "$MSGFMT" != "no"; then
 14940   { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 14941 echo "${ECHO_T}$MSGFMT" >&6; }
 14942 else
 14943   { echo "$as_me:$LINENO: result: no" >&5
 14944 echo "${ECHO_T}no" >&6; }
 14945 fi
 14946 	if test "$MSGFMT" != "no"; then
 14947           glib_save_LIBS="$LIBS"
 14948           LIBS="$LIBS $INTLLIBS"
 14950 for ac_func in dcgettext
 14951 do
 14952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 14953 { echo "$as_me:$LINENO: checking for $ac_func" >&5
 14954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 14955 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 14956   echo $ECHO_N "(cached) $ECHO_C" >&6
 14957 else
 14958   cat >conftest.$ac_ext <<_ACEOF
 14959 /* confdefs.h.  */
 14960 _ACEOF
 14961 cat confdefs.h >>conftest.$ac_ext
 14962 cat >>conftest.$ac_ext <<_ACEOF
 14963 /* end confdefs.h.  */
 14964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 14965    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 14966 #define $ac_func innocuous_$ac_func
 14968 /* System header to define __stub macros and hopefully few prototypes,
 14969     which can conflict with char $ac_func (); below.
 14970     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 14971     <limits.h> exists even on freestanding compilers.  */
 14973 #ifdef __STDC__
 14974 # include <limits.h>
 14975 #else
 14976 # include <assert.h>
 14977 #endif
 14979 #undef $ac_func
 14981 /* Override any GCC internal prototype to avoid an error.
 14982    Use char because int might match the return type of a GCC
 14983    builtin and then its argument prototype would still apply.  */
 14984 #ifdef __cplusplus
 14985 extern "C"
 14986 #endif
 14987 char $ac_func ();
 14988 /* The GNU C library defines this for functions which it implements
 14989     to always fail with ENOSYS.  Some functions are actually named
 14990     something starting with __ and the normal name is an alias.  */
 14991 #if defined __stub_$ac_func || defined __stub___$ac_func
 14992 choke me
 14993 #endif
 14995 int
 14996 main ()
 14998 return $ac_func ();
 15000   return 0;
 15002 _ACEOF
 15003 rm -f conftest.$ac_objext conftest$ac_exeext
 15004 if { (ac_try="$ac_link"
 15005 case "(($ac_try" in
 15006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15007   *) ac_try_echo=$ac_try;;
 15008 esac
 15009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 15010   (eval "$ac_link") 2>conftest.er1
 15011   ac_status=$?
 15012   grep -v '^ *+' conftest.er1 >conftest.err
 15013   rm -f conftest.er1
 15014   cat conftest.err >&5
 15015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15016   (exit $ac_status); } && {
 15017 	 test -z "$ac_c_werror_flag" ||
 15018 	 test ! -s conftest.err
 15019        } && test -s conftest$ac_exeext &&
 15020        $as_test_x conftest$ac_exeext; then
 15021   eval "$as_ac_var=yes"
 15022 else
 15023   echo "$as_me: failed program was:" >&5
 15024 sed 's/^/| /' conftest.$ac_ext >&5
 15026 	eval "$as_ac_var=no"
 15027 fi
 15029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15030       conftest$ac_exeext conftest.$ac_ext
 15031 fi
 15032 ac_res=`eval echo '${'$as_ac_var'}'`
 15033 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 15034 echo "${ECHO_T}$ac_res" >&6; }
 15035 if test `eval echo '${'$as_ac_var'}'` = yes; then
 15036   cat >>confdefs.h <<_ACEOF
 15037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 15038 _ACEOF
 15040 fi
 15041 done
 15043 	  MSGFMT_OPTS=
 15044 	  { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 15045 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
 15046 	  cat >conftest.foo <<_ACEOF
 15048 msgid ""
 15049 msgstr ""
 15050 "Content-Type: text/plain; charset=UTF-8\n"
 15051 "Project-Id-Version: test 1.0\n"
 15052 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
 15053 "Last-Translator: test <foo@bar.xx>\n"
 15054 "Language-Team: C <LL@li.org>\n"
 15055 "MIME-Version: 1.0\n"
 15056 "Content-Transfer-Encoding: 8bit\n"
 15058 _ACEOF
 15059 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 15060   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 15061   ac_status=$?
 15062   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15063   (exit $ac_status); }; then
 15064   MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
 15065 echo "${ECHO_T}yes" >&6; }
 15066 else { echo "$as_me:$LINENO: result: no" >&5
 15067 echo "${ECHO_T}no" >&6; }
 15068 echo "$as_me: failed input was:" >&5
 15069 sed 's/^/| /' conftest.foo >&5
 15070 fi
 15072 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 15073 set dummy gmsgfmt; ac_word=$2
 15074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 15075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 15076 if test "${ac_cv_path_GMSGFMT+set}" = set; then
 15077   echo $ECHO_N "(cached) $ECHO_C" >&6
 15078 else
 15079   case $GMSGFMT in
 15080   [\\/]* | ?:[\\/]*)
 15081   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 15082   ;;
 15083   *)
 15084   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 15085 for as_dir in $PATH
 15086 do
 15087   IFS=$as_save_IFS
 15088   test -z "$as_dir" && as_dir=.
 15089   for ac_exec_ext in '' $ac_executable_extensions; do
 15090   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 15091     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 15092     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 15093     break 2
 15094   fi
 15095 done
 15096 done
 15097 IFS=$as_save_IFS
 15099   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 15100   ;;
 15101 esac
 15102 fi
 15103 GMSGFMT=$ac_cv_path_GMSGFMT
 15104 if test -n "$GMSGFMT"; then
 15105   { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 15106 echo "${ECHO_T}$GMSGFMT" >&6; }
 15107 else
 15108   { echo "$as_me:$LINENO: result: no" >&5
 15109 echo "${ECHO_T}no" >&6; }
 15110 fi
 15113 	  # Extract the first word of "xgettext", so it can be a program name with args.
 15114 set dummy xgettext; ac_word=$2
 15115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 15116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 15117 if test "${ac_cv_path_XGETTEXT+set}" = set; then
 15118   echo $ECHO_N "(cached) $ECHO_C" >&6
 15119 else
 15120   case "$XGETTEXT" in
 15121   /*)
 15122   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 15123   ;;
 15124   *)
 15125   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 15126   for ac_dir in $PATH; do
 15127     test -z "$ac_dir" && ac_dir=.
 15128     if test -f $ac_dir/$ac_word; then
 15129       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 15130 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 15131 	break
 15132       fi
 15133     fi
 15134   done
 15135   IFS="$ac_save_ifs"
 15136   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 15137   ;;
 15138 esac
 15139 fi
 15140 XGETTEXT="$ac_cv_path_XGETTEXT"
 15141 if test "$XGETTEXT" != ":"; then
 15142   { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 15143 echo "${ECHO_T}$XGETTEXT" >&6; }
 15144 else
 15145   { echo "$as_me:$LINENO: result: no" >&5
 15146 echo "${ECHO_T}no" >&6; }
 15147 fi
 15149 	  cat >conftest.$ac_ext <<_ACEOF
 15150 /* confdefs.h.  */
 15151 _ACEOF
 15152 cat confdefs.h >>conftest.$ac_ext
 15153 cat >>conftest.$ac_ext <<_ACEOF
 15154 /* end confdefs.h.  */
 15156 int
 15157 main ()
 15159 extern int _nl_msg_cat_cntr;
 15160 			 return _nl_msg_cat_cntr
 15162   return 0;
 15164 _ACEOF
 15165 rm -f conftest.$ac_objext conftest$ac_exeext
 15166 if { (ac_try="$ac_link"
 15167 case "(($ac_try" in
 15168   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15169   *) ac_try_echo=$ac_try;;
 15170 esac
 15171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 15172   (eval "$ac_link") 2>conftest.er1
 15173   ac_status=$?
 15174   grep -v '^ *+' conftest.er1 >conftest.err
 15175   rm -f conftest.er1
 15176   cat conftest.err >&5
 15177   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15178   (exit $ac_status); } && {
 15179 	 test -z "$ac_c_werror_flag" ||
 15180 	 test ! -s conftest.err
 15181        } && test -s conftest$ac_exeext &&
 15182        $as_test_x conftest$ac_exeext; then
 15183   CATOBJEXT=.gmo
 15184              DATADIRNAME=share
 15185 else
 15186   echo "$as_me: failed program was:" >&5
 15187 sed 's/^/| /' conftest.$ac_ext >&5
 15189 	case $host in
 15190 	    *-*-solaris*)
 15191 	    	                	    	                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 15192 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 15193 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 15194   echo $ECHO_N "(cached) $ECHO_C" >&6
 15195 else
 15196   cat >conftest.$ac_ext <<_ACEOF
 15197 /* confdefs.h.  */
 15198 _ACEOF
 15199 cat confdefs.h >>conftest.$ac_ext
 15200 cat >>conftest.$ac_ext <<_ACEOF
 15201 /* end confdefs.h.  */
 15202 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 15203    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 15204 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 15206 /* System header to define __stub macros and hopefully few prototypes,
 15207     which can conflict with char bind_textdomain_codeset (); below.
 15208     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 15209     <limits.h> exists even on freestanding compilers.  */
 15211 #ifdef __STDC__
 15212 # include <limits.h>
 15213 #else
 15214 # include <assert.h>
 15215 #endif
 15217 #undef bind_textdomain_codeset
 15219 /* Override any GCC internal prototype to avoid an error.
 15220    Use char because int might match the return type of a GCC
 15221    builtin and then its argument prototype would still apply.  */
 15222 #ifdef __cplusplus
 15223 extern "C"
 15224 #endif
 15225 char bind_textdomain_codeset ();
 15226 /* The GNU C library defines this for functions which it implements
 15227     to always fail with ENOSYS.  Some functions are actually named
 15228     something starting with __ and the normal name is an alias.  */
 15229 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 15230 choke me
 15231 #endif
 15233 int
 15234 main ()
 15236 return bind_textdomain_codeset ();
 15238   return 0;
 15240 _ACEOF
 15241 rm -f conftest.$ac_objext conftest$ac_exeext
 15242 if { (ac_try="$ac_link"
 15243 case "(($ac_try" in
 15244   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15245   *) ac_try_echo=$ac_try;;
 15246 esac
 15247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 15248   (eval "$ac_link") 2>conftest.er1
 15249   ac_status=$?
 15250   grep -v '^ *+' conftest.er1 >conftest.err
 15251   rm -f conftest.er1
 15252   cat conftest.err >&5
 15253   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15254   (exit $ac_status); } && {
 15255 	 test -z "$ac_c_werror_flag" ||
 15256 	 test ! -s conftest.err
 15257        } && test -s conftest$ac_exeext &&
 15258        $as_test_x conftest$ac_exeext; then
 15259   ac_cv_func_bind_textdomain_codeset=yes
 15260 else
 15261   echo "$as_me: failed program was:" >&5
 15262 sed 's/^/| /' conftest.$ac_ext >&5
 15264 	ac_cv_func_bind_textdomain_codeset=no
 15265 fi
 15267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15268       conftest$ac_exeext conftest.$ac_ext
 15269 fi
 15270 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 15271 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
 15272 if test $ac_cv_func_bind_textdomain_codeset = yes; then
 15273   CATOBJEXT=.gmo
 15274                DATADIRNAME=share
 15275 else
 15276   CATOBJEXT=.mo
 15277                DATADIRNAME=lib
 15278 fi
 15280 	    ;;
 15281 	    *)
 15282 	    CATOBJEXT=.mo
 15283             DATADIRNAME=lib
 15284 	    ;;
 15285 	    esac
 15286 fi
 15288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15289       conftest$ac_exeext conftest.$ac_ext
 15290           LIBS="$glib_save_LIBS"
 15291 	  INSTOBJEXT=.mo
 15292 	else
 15293 	  gt_cv_have_gettext=no
 15294 	fi
 15295       fi
 15297 fi
 15301     if test "$gt_cv_have_gettext" = "yes" ; then
 15303 cat >>confdefs.h <<\_ACEOF
 15304 #define ENABLE_NLS 1
 15305 _ACEOF
 15307     fi
 15309         if test "$XGETTEXT" != ":"; then
 15310                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 15311         : ;
 15312       else
 15313         { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 15314 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
 15315         XGETTEXT=":"
 15316       fi
 15317     fi
 15319     # We need to process the po/ directory.
 15320     POSUB=po
 15322     ac_config_commands="$ac_config_commands default-1"
 15325                 for lang in $ALL_LINGUAS; do
 15326       GMOFILES="$GMOFILES $lang.gmo"
 15327       POFILES="$POFILES $lang.po"
 15328     done
 15342    if test "$gt_cv_have_gettext" = "yes"; then
 15343      if test "x$ALL_LINGUAS" = "x"; then
 15344        LINGUAS=
 15345      else
 15346        { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 15347 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
 15348        NEW_LINGUAS=
 15349        for presentlang in $ALL_LINGUAS; do
 15350          useit=no
 15351          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 15352            desiredlanguages="$LINGUAS"
 15353          else
 15354            desiredlanguages="$ALL_LINGUAS"
 15355          fi
 15356          for desiredlang in $desiredlanguages; do
 15357  	   # Use the presentlang catalog if desiredlang is
 15358            #   a. equal to presentlang, or
 15359            #   b. a variant of presentlang (because in this case,
 15360            #      presentlang can be used as a fallback for messages
 15361            #      which are not translated in the desiredlang catalog).
 15362            case "$desiredlang" in
 15363              "$presentlang"*) useit=yes;;
 15364            esac
 15365          done
 15366          if test $useit = yes; then
 15367            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 15368          fi
 15369        done
 15370        LINGUAS=$NEW_LINGUAS
 15371        { echo "$as_me:$LINENO: result: $LINGUAS" >&5
 15372 echo "${ECHO_T}$LINGUAS" >&6; }
 15373      fi
 15375           if test -n "$LINGUAS"; then
 15376        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 15377      fi
 15378    fi
 15380             MKINSTALLDIRS=
 15381    if test -n "$ac_aux_dir"; then
 15382      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 15383    fi
 15384    if test -z "$MKINSTALLDIRS"; then
 15385      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 15386    fi
 15389          test -d po || mkdir po
 15390    if test "x$srcdir" != "x."; then
 15391      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 15392        posrcprefix="$srcdir/"
 15393      else
 15394        posrcprefix="../$srcdir/"
 15395      fi
 15396    else
 15397      posrcprefix="../"
 15398    fi
 15399    rm -f po/POTFILES
 15400    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 15401 	< $srcdir/po/POTFILES.in > po/POTFILES
 15404 ac_config_files="$ac_config_files Makefile src/Makefile src/tools/Makefile po/Makefile.in test/Makefile Info.plist"
 15406 cat >confcache <<\_ACEOF
 15407 # This file is a shell script that caches the results of configure
 15408 # tests run on this system so they can be shared between configure
 15409 # scripts and configure runs, see configure's option --config-cache.
 15410 # It is not useful on other systems.  If it contains results you don't
 15411 # want to keep, you may remove or edit it.
 15413 # config.status only pays attention to the cache file if you give it
 15414 # the --recheck option to rerun configure.
 15416 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 15417 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 15418 # following values.
 15420 _ACEOF
 15422 # The following way of writing the cache mishandles newlines in values,
 15423 # but we know of no workaround that is simple, portable, and efficient.
 15424 # So, we kill variables containing newlines.
 15425 # Ultrix sh set writes to stderr and can't be redirected directly,
 15426 # and sets the high bit in the cache file unless we assign to the vars.
 15428   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 15429     eval ac_val=\$$ac_var
 15430     case $ac_val in #(
 15431     *${as_nl}*)
 15432       case $ac_var in #(
 15433       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 15434 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 15435       esac
 15436       case $ac_var in #(
 15437       _ | IFS | as_nl) ;; #(
 15438       *) $as_unset $ac_var ;;
 15439       esac ;;
 15440     esac
 15441   done
 15443   (set) 2>&1 |
 15444     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 15445     *${as_nl}ac_space=\ *)
 15446       # `set' does not quote correctly, so add quotes (double-quote
 15447       # substitution turns \\\\ into \\, and sed turns \\ into \).
 15448       sed -n \
 15449 	"s/'/'\\\\''/g;
 15450 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 15451       ;; #(
 15452     *)
 15453       # `set' quotes correctly as required by POSIX, so do not add quotes.
 15454       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 15455       ;;
 15456     esac |
 15457     sort
 15458 ) |
 15459   sed '
 15460      /^ac_cv_env_/b end
 15461      t clear
 15462      :clear
 15463      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 15464      t end
 15465      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 15466      :end' >>confcache
 15467 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 15468   if test -w "$cache_file"; then
 15469     test "x$cache_file" != "x/dev/null" &&
 15470       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 15471 echo "$as_me: updating cache $cache_file" >&6;}
 15472     cat confcache >$cache_file
 15473   else
 15474     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 15475 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 15476   fi
 15477 fi
 15478 rm -f confcache
 15480 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 15481 # Let make expand exec_prefix.
 15482 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 15484 DEFS=-DHAVE_CONFIG_H
 15486 ac_libobjs=
 15487 ac_ltlibobjs=
 15488 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 15489   # 1. Remove the extension, and $U if already installed.
 15490   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 15491   ac_i=`echo "$ac_i" | sed "$ac_script"`
 15492   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 15493   #    will be set to the directory where LIBOBJS objects are built.
 15494   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 15495   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 15496 done
 15497 LIBOBJS=$ac_libobjs
 15499 LTLIBOBJS=$ac_ltlibobjs
 15502 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 15503   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 15504 Usually this means the macro was only invoked conditionally." >&5
 15505 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 15506 Usually this means the macro was only invoked conditionally." >&2;}
 15507    { (exit 1); exit 1; }; }
 15508 fi
 15509 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 15510   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 15511 Usually this means the macro was only invoked conditionally." >&5
 15512 echo "$as_me: error: conditional \"AMDEP\" was never defined.
 15513 Usually this means the macro was only invoked conditionally." >&2;}
 15514    { (exit 1); exit 1; }; }
 15515 fi
 15516 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 15517   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 15518 Usually this means the macro was only invoked conditionally." >&5
 15519 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 15520 Usually this means the macro was only invoked conditionally." >&2;}
 15521    { (exit 1); exit 1; }; }
 15522 fi
 15523 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 15524   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 15525 Usually this means the macro was only invoked conditionally." >&5
 15526 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 15527 Usually this means the macro was only invoked conditionally." >&2;}
 15528    { (exit 1); exit 1; }; }
 15529 fi
 15530 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 15531   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 15532 Usually this means the macro was only invoked conditionally." >&5
 15533 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 15534 Usually this means the macro was only invoked conditionally." >&2;}
 15535    { (exit 1); exit 1; }; }
 15536 fi
 15537 if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then
 15538   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.
 15539 Usually this means the macro was only invoked conditionally." >&5
 15540 echo "$as_me: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.
 15541 Usually this means the macro was only invoked conditionally." >&2;}
 15542    { (exit 1); exit 1; }; }
 15543 fi
 15544 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
 15545   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
 15546 Usually this means the macro was only invoked conditionally." >&5
 15547 echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
 15548 Usually this means the macro was only invoked conditionally." >&2;}
 15549    { (exit 1); exit 1; }; }
 15550 fi
 15551 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
 15552   { { echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
 15553 Usually this means the macro was only invoked conditionally." >&5
 15554 echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
 15555 Usually this means the macro was only invoked conditionally." >&2;}
 15556    { (exit 1); exit 1; }; }
 15557 fi
 15558 if test -z "${BUILD_SHARED_TRUE}" && test -z "${BUILD_SHARED_FALSE}"; then
 15559   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SHARED\" was never defined.
 15560 Usually this means the macro was only invoked conditionally." >&5
 15561 echo "$as_me: error: conditional \"BUILD_SHARED\" was never defined.
 15562 Usually this means the macro was only invoked conditionally." >&2;}
 15563    { (exit 1); exit 1; }; }
 15564 fi
 15565 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
 15566   { { echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
 15567 Usually this means the macro was only invoked conditionally." >&5
 15568 echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
 15569 Usually this means the macro was only invoked conditionally." >&2;}
 15570    { (exit 1); exit 1; }; }
 15571 fi
 15572 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
 15573   { { echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
 15574 Usually this means the macro was only invoked conditionally." >&5
 15575 echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
 15576 Usually this means the macro was only invoked conditionally." >&2;}
 15577    { (exit 1); exit 1; }; }
 15578 fi
 15579 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
 15580   { { echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
 15581 Usually this means the macro was only invoked conditionally." >&5
 15582 echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
 15583 Usually this means the macro was only invoked conditionally." >&2;}
 15584    { (exit 1); exit 1; }; }
 15585 fi
 15586 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
 15587   { { echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
 15588 Usually this means the macro was only invoked conditionally." >&5
 15589 echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
 15590 Usually this means the macro was only invoked conditionally." >&2;}
 15591    { (exit 1); exit 1; }; }
 15592 fi
 15593 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
 15594   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
 15595 Usually this means the macro was only invoked conditionally." >&5
 15596 echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
 15597 Usually this means the macro was only invoked conditionally." >&2;}
 15598    { (exit 1); exit 1; }; }
 15599 fi
 15600 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
 15601   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
 15602 Usually this means the macro was only invoked conditionally." >&5
 15603 echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
 15604 Usually this means the macro was only invoked conditionally." >&2;}
 15605    { (exit 1); exit 1; }; }
 15606 fi
 15607 if test -z "${AUDIO_SDL_TRUE}" && test -z "${AUDIO_SDL_FALSE}"; then
 15608   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_SDL\" was never defined.
 15609 Usually this means the macro was only invoked conditionally." >&5
 15610 echo "$as_me: error: conditional \"AUDIO_SDL\" was never defined.
 15611 Usually this means the macro was only invoked conditionally." >&2;}
 15612    { (exit 1); exit 1; }; }
 15613 fi
 15614 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
 15615   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
 15616 Usually this means the macro was only invoked conditionally." >&5
 15617 echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
 15618 Usually this means the macro was only invoked conditionally." >&2;}
 15619    { (exit 1); exit 1; }; }
 15620 fi
 15621 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
 15622   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
 15623 Usually this means the macro was only invoked conditionally." >&5
 15624 echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
 15625 Usually this means the macro was only invoked conditionally." >&2;}
 15626    { (exit 1); exit 1; }; }
 15627 fi
 15628 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
 15629   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
 15630 Usually this means the macro was only invoked conditionally." >&5
 15631 echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
 15632 Usually this means the macro was only invoked conditionally." >&2;}
 15633    { (exit 1); exit 1; }; }
 15634 fi
 15635 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
 15636   { { echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
 15637 Usually this means the macro was only invoked conditionally." >&5
 15638 echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
 15639 Usually this means the macro was only invoked conditionally." >&2;}
 15640    { (exit 1); exit 1; }; }
 15641 fi
 15642 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
 15643   { { echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
 15644 Usually this means the macro was only invoked conditionally." >&5
 15645 echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
 15646 Usually this means the macro was only invoked conditionally." >&2;}
 15647    { (exit 1); exit 1; }; }
 15648 fi
 15649 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
 15650   { { echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
 15651 Usually this means the macro was only invoked conditionally." >&5
 15652 echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
 15653 Usually this means the macro was only invoked conditionally." >&2;}
 15654    { (exit 1); exit 1; }; }
 15655 fi
 15656 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
 15657   { { echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
 15658 Usually this means the macro was only invoked conditionally." >&5
 15659 echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
 15660 Usually this means the macro was only invoked conditionally." >&2;}
 15661    { (exit 1); exit 1; }; }
 15662 fi
 15663 if test -z "${INPUT_LIRC_TRUE}" && test -z "${INPUT_LIRC_FALSE}"; then
 15664   { { echo "$as_me:$LINENO: error: conditional \"INPUT_LIRC\" was never defined.
 15665 Usually this means the macro was only invoked conditionally." >&5
 15666 echo "$as_me: error: conditional \"INPUT_LIRC\" was never defined.
 15667 Usually this means the macro was only invoked conditionally." >&2;}
 15668    { (exit 1); exit 1; }; }
 15669 fi
 15670 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
 15671   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
 15672 Usually this means the macro was only invoked conditionally." >&5
 15673 echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
 15674 Usually this means the macro was only invoked conditionally." >&2;}
 15675    { (exit 1); exit 1; }; }
 15676 fi
 15677 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
 15678   { { echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
 15679 Usually this means the macro was only invoked conditionally." >&5
 15680 echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
 15681 Usually this means the macro was only invoked conditionally." >&2;}
 15682    { (exit 1); exit 1; }; }
 15683 fi
 15685 : ${CONFIG_STATUS=./config.status}
 15686 ac_clean_files_save=$ac_clean_files
 15687 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 15688 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 15689 echo "$as_me: creating $CONFIG_STATUS" >&6;}
 15690 cat >$CONFIG_STATUS <<_ACEOF
 15691 #! $SHELL
 15692 # Generated by $as_me.
 15693 # Run this file to recreate the current configuration.
 15694 # Compiler output produced by configure, useful for debugging
 15695 # configure, is in config.log if it exists.
 15697 debug=false
 15698 ac_cs_recheck=false
 15699 ac_cs_silent=false
 15700 SHELL=\${CONFIG_SHELL-$SHELL}
 15701 _ACEOF
 15703 cat >>$CONFIG_STATUS <<\_ACEOF
 15704 ## --------------------- ##
 15705 ## M4sh Initialization.  ##
 15706 ## --------------------- ##
 15708 # Be more Bourne compatible
 15709 DUALCASE=1; export DUALCASE # for MKS sh
 15710 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 15711   emulate sh
 15712   NULLCMD=:
 15713   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 15714   # is contrary to our usage.  Disable this feature.
 15715   alias -g '${1+"$@"}'='"$@"'
 15716   setopt NO_GLOB_SUBST
 15717 else
 15718   case `(set -o) 2>/dev/null` in
 15719   *posix*) set -o posix ;;
 15720 esac
 15722 fi
 15727 # PATH needs CR
 15728 # Avoid depending upon Character Ranges.
 15729 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 15730 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 15731 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 15732 as_cr_digits='0123456789'
 15733 as_cr_alnum=$as_cr_Letters$as_cr_digits
 15735 # The user is always right.
 15736 if test "${PATH_SEPARATOR+set}" != set; then
 15737   echo "#! /bin/sh" >conf$$.sh
 15738   echo  "exit 0"   >>conf$$.sh
 15739   chmod +x conf$$.sh
 15740   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 15741     PATH_SEPARATOR=';'
 15742   else
 15743     PATH_SEPARATOR=:
 15744   fi
 15745   rm -f conf$$.sh
 15746 fi
 15748 # Support unset when possible.
 15749 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 15750   as_unset=unset
 15751 else
 15752   as_unset=false
 15753 fi
 15756 # IFS
 15757 # We need space, tab and new line, in precisely that order.  Quoting is
 15758 # there to prevent editors from complaining about space-tab.
 15759 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 15760 # splitting by setting IFS to empty value.)
 15761 as_nl='
 15763 IFS=" ""	$as_nl"
 15765 # Find who we are.  Look in the path if we contain no directory separator.
 15766 case $0 in
 15767   *[\\/]* ) as_myself=$0 ;;
 15768   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 15769 for as_dir in $PATH
 15770 do
 15771   IFS=$as_save_IFS
 15772   test -z "$as_dir" && as_dir=.
 15773   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 15774 done
 15775 IFS=$as_save_IFS
 15777      ;;
 15778 esac
 15779 # We did not find ourselves, most probably we were run as `sh COMMAND'
 15780 # in which case we are not to be found in the path.
 15781 if test "x$as_myself" = x; then
 15782   as_myself=$0
 15783 fi
 15784 if test ! -f "$as_myself"; then
 15785   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 15786   { (exit 1); exit 1; }
 15787 fi
 15789 # Work around bugs in pre-3.0 UWIN ksh.
 15790 for as_var in ENV MAIL MAILPATH
 15791 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 15792 done
 15793 PS1='$ '
 15794 PS2='> '
 15795 PS4='+ '
 15797 # NLS nuisances.
 15798 for as_var in \
 15799   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 15800   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 15801   LC_TELEPHONE LC_TIME
 15802 do
 15803   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 15804     eval $as_var=C; export $as_var
 15805   else
 15806     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 15807   fi
 15808 done
 15810 # Required to use basename.
 15811 if expr a : '\(a\)' >/dev/null 2>&1 &&
 15812    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 15813   as_expr=expr
 15814 else
 15815   as_expr=false
 15816 fi
 15818 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 15819   as_basename=basename
 15820 else
 15821   as_basename=false
 15822 fi
 15825 # Name of the executable.
 15826 as_me=`$as_basename -- "$0" ||
 15827 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 15828 	 X"$0" : 'X\(//\)$' \| \
 15829 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 15830 echo X/"$0" |
 15831     sed '/^.*\/\([^/][^/]*\)\/*$/{
 15832 	    s//\1/
 15835 	  /^X\/\(\/\/\)$/{
 15836 	    s//\1/
 15839 	  /^X\/\(\/\).*/{
 15840 	    s//\1/
 15843 	  s/.*/./; q'`
 15845 # CDPATH.
 15846 $as_unset CDPATH
 15850   as_lineno_1=$LINENO
 15851   as_lineno_2=$LINENO
 15852   test "x$as_lineno_1" != "x$as_lineno_2" &&
 15853   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 15855   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 15856   # uniformly replaced by the line number.  The first 'sed' inserts a
 15857   # line-number line after each line using $LINENO; the second 'sed'
 15858   # does the real work.  The second script uses 'N' to pair each
 15859   # line-number line with the line containing $LINENO, and appends
 15860   # trailing '-' during substitution so that $LINENO is not a special
 15861   # case at line end.
 15862   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 15863   # scripts with optimization help from Paolo Bonzini.  Blame Lee
 15864   # E. McMahon (1931-1989) for sed's syntax.  :-)
 15865   sed -n '
 15867     /[$]LINENO/=
 15868   ' <$as_myself |
 15869     sed '
 15870       s/[$]LINENO.*/&-/
 15871       t lineno
 15873       :lineno
 15875       :loop
 15876       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 15877       t loop
 15878       s/-\n.*//
 15879     ' >$as_me.lineno &&
 15880   chmod +x "$as_me.lineno" ||
 15881     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 15882    { (exit 1); exit 1; }; }
 15884   # Don't try to exec as it changes $[0], causing all sort of problems
 15885   # (the dirname of $[0] is not the place where we might find the
 15886   # original and so on.  Autoconf is especially sensitive to this).
 15887   . "./$as_me.lineno"
 15888   # Exit status is that of the last command.
 15889   exit
 15893 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 15894   as_dirname=dirname
 15895 else
 15896   as_dirname=false
 15897 fi
 15899 ECHO_C= ECHO_N= ECHO_T=
 15900 case `echo -n x` in
 15901 -n*)
 15902   case `echo 'x\c'` in
 15903   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 15904   *)   ECHO_C='\c';;
 15905   esac;;
 15906 *)
 15907   ECHO_N='-n';;
 15908 esac
 15910 if expr a : '\(a\)' >/dev/null 2>&1 &&
 15911    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 15912   as_expr=expr
 15913 else
 15914   as_expr=false
 15915 fi
 15917 rm -f conf$$ conf$$.exe conf$$.file
 15918 if test -d conf$$.dir; then
 15919   rm -f conf$$.dir/conf$$.file
 15920 else
 15921   rm -f conf$$.dir
 15922   mkdir conf$$.dir
 15923 fi
 15924 echo >conf$$.file
 15925 if ln -s conf$$.file conf$$ 2>/dev/null; then
 15926   as_ln_s='ln -s'
 15927   # ... but there are two gotchas:
 15928   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 15929   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 15930   # In both cases, we have to default to `cp -p'.
 15931   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 15932     as_ln_s='cp -p'
 15933 elif ln conf$$.file conf$$ 2>/dev/null; then
 15934   as_ln_s=ln
 15935 else
 15936   as_ln_s='cp -p'
 15937 fi
 15938 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 15939 rmdir conf$$.dir 2>/dev/null
 15941 if mkdir -p . 2>/dev/null; then
 15942   as_mkdir_p=:
 15943 else
 15944   test -d ./-p && rmdir ./-p
 15945   as_mkdir_p=false
 15946 fi
 15948 if test -x / >/dev/null 2>&1; then
 15949   as_test_x='test -x'
 15950 else
 15951   if ls -dL / >/dev/null 2>&1; then
 15952     as_ls_L_option=L
 15953   else
 15954     as_ls_L_option=
 15955   fi
 15956   as_test_x='
 15957     eval sh -c '\''
 15958       if test -d "$1"; then
 15959         test -d "$1/.";
 15960       else
 15961 	case $1 in
 15962         -*)set "./$1";;
 15963 	esac;
 15964 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 15965 	???[sx]*):;;*)false;;esac;fi
 15966     '\'' sh
 15968 fi
 15969 as_executable_p=$as_test_x
 15971 # Sed expression to map a string onto a valid CPP name.
 15972 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 15974 # Sed expression to map a string onto a valid variable name.
 15975 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 15978 exec 6>&1
 15980 # Save the log message, to keep $[0] and so on meaningful, and to
 15981 # report actual input values of CONFIG_FILES etc. instead of their
 15982 # values after options handling.
 15983 ac_log="
 15984 This file was extended by $as_me, which was
 15985 generated by GNU Autoconf 2.61.  Invocation command line was
 15987   CONFIG_FILES    = $CONFIG_FILES
 15988   CONFIG_HEADERS  = $CONFIG_HEADERS
 15989   CONFIG_LINKS    = $CONFIG_LINKS
 15990   CONFIG_COMMANDS = $CONFIG_COMMANDS
 15991   $ $0 $@
 15993 on `(hostname || uname -n) 2>/dev/null | sed 1q`
 15996 _ACEOF
 15998 cat >>$CONFIG_STATUS <<_ACEOF
 15999 # Files that config.status was made for.
 16000 config_files="$ac_config_files"
 16001 config_headers="$ac_config_headers"
 16002 config_commands="$ac_config_commands"
 16004 _ACEOF
 16006 cat >>$CONFIG_STATUS <<\_ACEOF
 16007 ac_cs_usage="\
 16008 \`$as_me' instantiates files from templates according to the
 16009 current configuration.
 16011 Usage: $0 [OPTIONS] [FILE]...
 16013   -h, --help       print this help, then exit
 16014   -V, --version    print version number and configuration settings, then exit
 16015   -q, --quiet      do not print progress messages
 16016   -d, --debug      don't remove temporary files
 16017       --recheck    update $as_me by reconfiguring in the same conditions
 16018   --file=FILE[:TEMPLATE]
 16019 		   instantiate the configuration file FILE
 16020   --header=FILE[:TEMPLATE]
 16021 		   instantiate the configuration header FILE
 16023 Configuration files:
 16024 $config_files
 16026 Configuration headers:
 16027 $config_headers
 16029 Configuration commands:
 16030 $config_commands
 16032 Report bugs to <bug-autoconf@gnu.org>."
 16034 _ACEOF
 16035 cat >>$CONFIG_STATUS <<_ACEOF
 16036 ac_cs_version="\\
 16037 config.status
 16038 configured by $0, generated by GNU Autoconf 2.61,
 16039   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 16041 Copyright (C) 2006 Free Software Foundation, Inc.
 16042 This config.status script is free software; the Free Software Foundation
 16043 gives unlimited permission to copy, distribute and modify it."
 16045 ac_pwd='$ac_pwd'
 16046 srcdir='$srcdir'
 16047 INSTALL='$INSTALL'
 16048 _ACEOF
 16050 cat >>$CONFIG_STATUS <<\_ACEOF
 16051 # If no file are specified by the user, then we need to provide default
 16052 # value.  By we need to know if files were specified by the user.
 16053 ac_need_defaults=:
 16054 while test $# != 0
 16055 do
 16056   case $1 in
 16057   --*=*)
 16058     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 16059     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 16060     ac_shift=:
 16061     ;;
 16062   *)
 16063     ac_option=$1
 16064     ac_optarg=$2
 16065     ac_shift=shift
 16066     ;;
 16067   esac
 16069   case $ac_option in
 16070   # Handling of the options.
 16071   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 16072     ac_cs_recheck=: ;;
 16073   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 16074     echo "$ac_cs_version"; exit ;;
 16075   --debug | --debu | --deb | --de | --d | -d )
 16076     debug=: ;;
 16077   --file | --fil | --fi | --f )
 16078     $ac_shift
 16079     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 16080     ac_need_defaults=false;;
 16081   --header | --heade | --head | --hea )
 16082     $ac_shift
 16083     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 16084     ac_need_defaults=false;;
 16085   --he | --h)
 16086     # Conflict between --help and --header
 16087     { echo "$as_me: error: ambiguous option: $1
 16088 Try \`$0 --help' for more information." >&2
 16089    { (exit 1); exit 1; }; };;
 16090   --help | --hel | -h )
 16091     echo "$ac_cs_usage"; exit ;;
 16092   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 16093   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 16094     ac_cs_silent=: ;;
 16096   # This is an error.
 16097   -*) { echo "$as_me: error: unrecognized option: $1
 16098 Try \`$0 --help' for more information." >&2
 16099    { (exit 1); exit 1; }; } ;;
 16101   *) ac_config_targets="$ac_config_targets $1"
 16102      ac_need_defaults=false ;;
 16104   esac
 16105   shift
 16106 done
 16108 ac_configure_extra_args=
 16110 if $ac_cs_silent; then
 16111   exec 6>/dev/null
 16112   ac_configure_extra_args="$ac_configure_extra_args --silent"
 16113 fi
 16115 _ACEOF
 16116 cat >>$CONFIG_STATUS <<_ACEOF
 16117 if \$ac_cs_recheck; then
 16118   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 16119   CONFIG_SHELL=$SHELL
 16120   export CONFIG_SHELL
 16121   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 16122 fi
 16124 _ACEOF
 16125 cat >>$CONFIG_STATUS <<\_ACEOF
 16126 exec 5>>config.log
 16128   echo
 16129   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 16130 ## Running $as_me. ##
 16131 _ASBOX
 16132   echo "$ac_log"
 16133 } >&5
 16135 _ACEOF
 16136 cat >>$CONFIG_STATUS <<_ACEOF
 16138 # INIT-COMMANDS
 16140 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 16143 _ACEOF
 16145 cat >>$CONFIG_STATUS <<\_ACEOF
 16147 # Handling of arguments.
 16148 for ac_config_target in $ac_config_targets
 16149 do
 16150   case $ac_config_target in
 16151     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 16152     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 16153     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 16154     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 16155     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 16156     "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
 16157     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 16158     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 16159     "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;
 16161   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 16162 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 16163    { (exit 1); exit 1; }; };;
 16164   esac
 16165 done
 16168 # If the user did not use the arguments to specify the items to instantiate,
 16169 # then the envvar interface is used.  Set only those that are not.
 16170 # We use the long form for the default assignment because of an extremely
 16171 # bizarre bug on SunOS 4.1.3.
 16172 if $ac_need_defaults; then
 16173   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 16174   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 16175   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 16176 fi
 16178 # Have a temporary directory for convenience.  Make it in the build tree
 16179 # simply because there is no reason against having it here, and in addition,
 16180 # creating and moving files from /tmp can sometimes cause problems.
 16181 # Hook for its removal unless debugging.
 16182 # Note that there is a small window in which the directory will not be cleaned:
 16183 # after its creation but before its name has been assigned to `$tmp'.
 16184 $debug ||
 16186   tmp=
 16187   trap 'exit_status=$?
 16188   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 16189 ' 0
 16190   trap '{ (exit 1); exit 1; }' 1 2 13 15
 16192 # Create a (secure) tmp directory for tmp files.
 16195   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 16196   test -n "$tmp" && test -d "$tmp"
 16197 }  ||
 16199   tmp=./conf$$-$RANDOM
 16200   (umask 077 && mkdir "$tmp")
 16201 } ||
 16203    echo "$me: cannot create a temporary directory in ." >&2
 16204    { (exit 1); exit 1; }
 16208 # Set up the sed scripts for CONFIG_FILES section.
 16211 # No need to generate the scripts if there are no CONFIG_FILES.
 16212 # This happens for instance when ./config.status config.h
 16213 if test -n "$CONFIG_FILES"; then
 16215 _ACEOF
 16219 ac_delim='%!_!# '
 16220 for ac_last_try in false false false false false :; do
 16221   cat >conf$$subs.sed <<_ACEOF
 16222 SHELL!$SHELL$ac_delim
 16223 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 16224 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 16225 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 16226 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 16227 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 16228 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 16229 exec_prefix!$exec_prefix$ac_delim
 16230 prefix!$prefix$ac_delim
 16231 program_transform_name!$program_transform_name$ac_delim
 16232 bindir!$bindir$ac_delim
 16233 sbindir!$sbindir$ac_delim
 16234 libexecdir!$libexecdir$ac_delim
 16235 datarootdir!$datarootdir$ac_delim
 16236 datadir!$datadir$ac_delim
 16237 sysconfdir!$sysconfdir$ac_delim
 16238 sharedstatedir!$sharedstatedir$ac_delim
 16239 localstatedir!$localstatedir$ac_delim
 16240 includedir!$includedir$ac_delim
 16241 oldincludedir!$oldincludedir$ac_delim
 16242 docdir!$docdir$ac_delim
 16243 infodir!$infodir$ac_delim
 16244 htmldir!$htmldir$ac_delim
 16245 dvidir!$dvidir$ac_delim
 16246 pdfdir!$pdfdir$ac_delim
 16247 psdir!$psdir$ac_delim
 16248 libdir!$libdir$ac_delim
 16249 localedir!$localedir$ac_delim
 16250 mandir!$mandir$ac_delim
 16251 DEFS!$DEFS$ac_delim
 16252 ECHO_C!$ECHO_C$ac_delim
 16253 ECHO_N!$ECHO_N$ac_delim
 16254 ECHO_T!$ECHO_T$ac_delim
 16255 LIBS!$LIBS$ac_delim
 16256 build_alias!$build_alias$ac_delim
 16257 host_alias!$host_alias$ac_delim
 16258 target_alias!$target_alias$ac_delim
 16259 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 16260 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 16261 INSTALL_DATA!$INSTALL_DATA$ac_delim
 16262 CYGPATH_W!$CYGPATH_W$ac_delim
 16263 PACKAGE!$PACKAGE$ac_delim
 16264 VERSION!$VERSION$ac_delim
 16265 ACLOCAL!$ACLOCAL$ac_delim
 16266 AUTOCONF!$AUTOCONF$ac_delim
 16267 AUTOMAKE!$AUTOMAKE$ac_delim
 16268 AUTOHEADER!$AUTOHEADER$ac_delim
 16269 MAKEINFO!$MAKEINFO$ac_delim
 16270 install_sh!$install_sh$ac_delim
 16271 STRIP!$STRIP$ac_delim
 16272 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 16273 mkdir_p!$mkdir_p$ac_delim
 16274 AWK!$AWK$ac_delim
 16275 SET_MAKE!$SET_MAKE$ac_delim
 16276 am__leading_dot!$am__leading_dot$ac_delim
 16277 AMTAR!$AMTAR$ac_delim
 16278 am__tar!$am__tar$ac_delim
 16279 am__untar!$am__untar$ac_delim
 16280 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 16281 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 16282 MAINT!$MAINT$ac_delim
 16283 build!$build$ac_delim
 16284 build_cpu!$build_cpu$ac_delim
 16285 build_vendor!$build_vendor$ac_delim
 16286 build_os!$build_os$ac_delim
 16287 host!$host$ac_delim
 16288 host_cpu!$host_cpu$ac_delim
 16289 host_vendor!$host_vendor$ac_delim
 16290 host_os!$host_os$ac_delim
 16291 CC!$CC$ac_delim
 16292 CFLAGS!$CFLAGS$ac_delim
 16293 LDFLAGS!$LDFLAGS$ac_delim
 16294 CPPFLAGS!$CPPFLAGS$ac_delim
 16295 ac_ct_CC!$ac_ct_CC$ac_delim
 16296 EXEEXT!$EXEEXT$ac_delim
 16297 OBJEXT!$OBJEXT$ac_delim
 16298 DEPDIR!$DEPDIR$ac_delim
 16299 am__include!$am__include$ac_delim
 16300 am__quote!$am__quote$ac_delim
 16301 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 16302 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 16303 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 16304 CCDEPMODE!$CCDEPMODE$ac_delim
 16305 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 16306 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 16307 CPP!$CPP$ac_delim
 16308 CC!$CC$ac_delim
 16309 CFLAGS!$CFLAGS$ac_delim
 16310 CPPFLAGS!$CPPFLAGS$ac_delim
 16311 CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
 16312 ac_ct_CC_FOR_BUILD!$ac_ct_CC_FOR_BUILD$ac_delim
 16313 CC_FOR_BUILDDEPMODE!$CC_FOR_BUILDDEPMODE$ac_delim
 16314 am__fastdepCC_FOR_BUILD_TRUE!$am__fastdepCC_FOR_BUILD_TRUE$ac_delim
 16315 am__fastdepCC_FOR_BUILD_FALSE!$am__fastdepCC_FOR_BUILD_FALSE$ac_delim
 16316 CPP!$CPP$ac_delim
 16317 CPPFLAGS!$CPPFLAGS$ac_delim
 16318 CPP_FOR_BUILD!$CPP_FOR_BUILD$ac_delim
 16319 _ACEOF
 16321   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 16322     break
 16323   elif $ac_last_try; then
 16324     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 16325 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 16326    { (exit 1); exit 1; }; }
 16327   else
 16328     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 16329   fi
 16330 done
 16332 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 16333 if test -n "$ac_eof"; then
 16334   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 16335   ac_eof=`expr $ac_eof + 1`
 16336 fi
 16338 cat >>$CONFIG_STATUS <<_ACEOF
 16339 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 16340 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 16341 _ACEOF
 16342 sed '
 16343 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 16344 s/^/s,@/; s/!/@,|#_!!_#|/
 16345 :n
 16346 t n
 16347 s/'"$ac_delim"'$/,g/; t
 16348 s/$/\\/; p
 16349 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 16350 ' >>$CONFIG_STATUS <conf$$subs.sed
 16351 rm -f conf$$subs.sed
 16352 cat >>$CONFIG_STATUS <<_ACEOF
 16353 CEOF$ac_eof
 16354 _ACEOF
 16357 ac_delim='%!_!# '
 16358 for ac_last_try in false false false false false :; do
 16359   cat >conf$$subs.sed <<_ACEOF
 16360 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
 16361 BUILD_OBJEXT!$BUILD_OBJEXT$ac_delim
 16362 CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim
 16363 CPPFLAGS_FOR_BUILD!$CPPFLAGS_FOR_BUILD$ac_delim
 16364 OBJC!$OBJC$ac_delim
 16365 OBJCFLAGS!$OBJCFLAGS$ac_delim
 16366 ac_ct_OBJC!$ac_ct_OBJC$ac_delim
 16367 SED!$SED$ac_delim
 16368 CCAS!$CCAS$ac_delim
 16369 CCASFLAGS!$CCASFLAGS$ac_delim
 16370 GREP!$GREP$ac_delim
 16371 EGREP!$EGREP$ac_delim
 16372 OBJCDEPMODE!$OBJCDEPMODE$ac_delim
 16373 am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim
 16374 am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim
 16375 POD2MAN!$POD2MAN$ac_delim
 16376 POD2HTML!$POD2HTML$ac_delim
 16377 GUI_COCOA_TRUE!$GUI_COCOA_TRUE$ac_delim
 16378 GUI_COCOA_FALSE!$GUI_COCOA_FALSE$ac_delim
 16379 SOEXT!$SOEXT$ac_delim
 16380 PLUGINCFLAGS!$PLUGINCFLAGS$ac_delim
 16381 PLUGINLDFLAGS!$PLUGINLDFLAGS$ac_delim
 16382 LXDREAMLDFLAGS!$LXDREAMLDFLAGS$ac_delim
 16383 BUILD_SHARED_TRUE!$BUILD_SHARED_TRUE$ac_delim
 16384 BUILD_SHARED_FALSE!$BUILD_SHARED_FALSE$ac_delim
 16385 LXDREAMCPPFLAGS!$LXDREAMCPPFLAGS$ac_delim
 16386 PKG_CONFIG!$PKG_CONFIG$ac_delim
 16387 LIBPNG_CFLAGS!$LIBPNG_CFLAGS$ac_delim
 16388 LIBPNG_LIBS!$LIBPNG_LIBS$ac_delim
 16389 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
 16390 GLIB_LIBS!$GLIB_LIBS$ac_delim
 16391 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
 16392 GTK_LIBS!$GTK_LIBS$ac_delim
 16393 GLIB_FOR_BUILD_CFLAGS!$GLIB_FOR_BUILD_CFLAGS$ac_delim
 16394 GLIB_FOR_BUILD_LIBS!$GLIB_FOR_BUILD_LIBS$ac_delim
 16395 GUI_GTK_TRUE!$GUI_GTK_TRUE$ac_delim
 16396 GUI_GTK_FALSE!$GUI_GTK_FALSE$ac_delim
 16397 LIBISOFS_CFLAGS!$LIBISOFS_CFLAGS$ac_delim
 16398 LIBISOFS_LIBS!$LIBISOFS_LIBS$ac_delim
 16399 LIBGL_CFLAGS!$LIBGL_CFLAGS$ac_delim
 16400 LIBGL_LIBS!$LIBGL_LIBS$ac_delim
 16401 VIDEO_OSMESA_TRUE!$VIDEO_OSMESA_TRUE$ac_delim
 16402 VIDEO_OSMESA_FALSE!$VIDEO_OSMESA_FALSE$ac_delim
 16403 VIDEO_GLX_TRUE!$VIDEO_GLX_TRUE$ac_delim
 16404 VIDEO_GLX_FALSE!$VIDEO_GLX_FALSE$ac_delim
 16405 VIDEO_NSGL_TRUE!$VIDEO_NSGL_TRUE$ac_delim
 16406 VIDEO_NSGL_FALSE!$VIDEO_NSGL_FALSE$ac_delim
 16407 BUILD_SH4X86_TRUE!$BUILD_SH4X86_TRUE$ac_delim
 16408 BUILD_SH4X86_FALSE!$BUILD_SH4X86_FALSE$ac_delim
 16409 AUDIO_OSX_TRUE!$AUDIO_OSX_TRUE$ac_delim
 16410 AUDIO_OSX_FALSE!$AUDIO_OSX_FALSE$ac_delim
 16411 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
 16412 SDL_LIBS!$SDL_LIBS$ac_delim
 16413 AUDIO_SDL_TRUE!$AUDIO_SDL_TRUE$ac_delim
 16414 AUDIO_SDL_FALSE!$AUDIO_SDL_FALSE$ac_delim
 16415 PULSE_CFLAGS!$PULSE_CFLAGS$ac_delim
 16416 PULSE_LIBS!$PULSE_LIBS$ac_delim
 16417 AUDIO_PULSE_TRUE!$AUDIO_PULSE_TRUE$ac_delim
 16418 AUDIO_PULSE_FALSE!$AUDIO_PULSE_FALSE$ac_delim
 16419 ESOUND_CFLAGS!$ESOUND_CFLAGS$ac_delim
 16420 ESOUND_LIBS!$ESOUND_LIBS$ac_delim
 16421 AUDIO_ESOUND_TRUE!$AUDIO_ESOUND_TRUE$ac_delim
 16422 AUDIO_ESOUND_FALSE!$AUDIO_ESOUND_FALSE$ac_delim
 16423 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
 16424 ALSA_LIBS!$ALSA_LIBS$ac_delim
 16425 AUDIO_ALSA_TRUE!$AUDIO_ALSA_TRUE$ac_delim
 16426 AUDIO_ALSA_FALSE!$AUDIO_ALSA_FALSE$ac_delim
 16427 CDROM_LINUX_TRUE!$CDROM_LINUX_TRUE$ac_delim
 16428 CDROM_LINUX_FALSE!$CDROM_LINUX_FALSE$ac_delim
 16429 CDROM_OSX_TRUE!$CDROM_OSX_TRUE$ac_delim
 16430 CDROM_OSX_FALSE!$CDROM_OSX_FALSE$ac_delim
 16431 CDROM_NONE_TRUE!$CDROM_NONE_TRUE$ac_delim
 16432 CDROM_NONE_FALSE!$CDROM_NONE_FALSE$ac_delim
 16433 JOY_LINUX_TRUE!$JOY_LINUX_TRUE$ac_delim
 16434 JOY_LINUX_FALSE!$JOY_LINUX_FALSE$ac_delim
 16435 INPUT_LIRC_TRUE!$INPUT_LIRC_TRUE$ac_delim
 16436 INPUT_LIRC_FALSE!$INPUT_LIRC_FALSE$ac_delim
 16437 SHCC!$SHCC$ac_delim
 16438 SHLD!$SHLD$ac_delim
 16439 SHOBJCOPY!$SHOBJCOPY$ac_delim
 16440 ARMCC!$ARMCC$ac_delim
 16441 ARMLD!$ARMLD$ac_delim
 16442 ARMOBJCOPY!$ARMOBJCOPY$ac_delim
 16443 BUILD_SYSTEST_TRUE!$BUILD_SYSTEST_TRUE$ac_delim
 16444 BUILD_SYSTEST_FALSE!$BUILD_SYSTEST_FALSE$ac_delim
 16445 BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim
 16446 BUILD_ARMTEST_FALSE!$BUILD_ARMTEST_FALSE$ac_delim
 16447 LXDREAM_LIBS!$LXDREAM_LIBS$ac_delim
 16448 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
 16449 USE_NLS!$USE_NLS$ac_delim
 16450 MSGFMT!$MSGFMT$ac_delim
 16451 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
 16452 GMSGFMT!$GMSGFMT$ac_delim
 16453 XGETTEXT!$XGETTEXT$ac_delim
 16454 CATALOGS!$CATALOGS$ac_delim
 16455 CATOBJEXT!$CATOBJEXT$ac_delim
 16456 DATADIRNAME!$DATADIRNAME$ac_delim
 16457 _ACEOF
 16459   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 16460     break
 16461   elif $ac_last_try; then
 16462     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 16463 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 16464    { (exit 1); exit 1; }; }
 16465   else
 16466     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 16467   fi
 16468 done
 16470 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 16471 if test -n "$ac_eof"; then
 16472   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 16473   ac_eof=`expr $ac_eof + 1`
 16474 fi
 16476 cat >>$CONFIG_STATUS <<_ACEOF
 16477 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 16478 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 16479 _ACEOF
 16480 sed '
 16481 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 16482 s/^/s,@/; s/!/@,|#_!!_#|/
 16483 :n
 16484 t n
 16485 s/'"$ac_delim"'$/,g/; t
 16486 s/$/\\/; p
 16487 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 16488 ' >>$CONFIG_STATUS <conf$$subs.sed
 16489 rm -f conf$$subs.sed
 16490 cat >>$CONFIG_STATUS <<_ACEOF
 16491 CEOF$ac_eof
 16492 _ACEOF
 16495 ac_delim='%!_!# '
 16496 for ac_last_try in false false false false false :; do
 16497   cat >conf$$subs.sed <<_ACEOF
 16498 GMOFILES!$GMOFILES$ac_delim
 16499 INSTOBJEXT!$INSTOBJEXT$ac_delim
 16500 INTLLIBS!$INTLLIBS$ac_delim
 16501 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
 16502 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
 16503 POFILES!$POFILES$ac_delim
 16504 POSUB!$POSUB$ac_delim
 16505 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
 16506 LIBOBJS!$LIBOBJS$ac_delim
 16507 LTLIBOBJS!$LTLIBOBJS$ac_delim
 16508 _ACEOF
 16510   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then
 16511     break
 16512   elif $ac_last_try; then
 16513     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 16514 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 16515    { (exit 1); exit 1; }; }
 16516   else
 16517     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 16518   fi
 16519 done
 16521 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 16522 if test -n "$ac_eof"; then
 16523   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 16524   ac_eof=`expr $ac_eof + 1`
 16525 fi
 16527 cat >>$CONFIG_STATUS <<_ACEOF
 16528 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
 16529 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 16530 _ACEOF
 16531 sed '
 16532 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 16533 s/^/s,@/; s/!/@,|#_!!_#|/
 16534 :n
 16535 t n
 16536 s/'"$ac_delim"'$/,g/; t
 16537 s/$/\\/; p
 16538 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 16539 ' >>$CONFIG_STATUS <conf$$subs.sed
 16540 rm -f conf$$subs.sed
 16541 cat >>$CONFIG_STATUS <<_ACEOF
 16542 :end
 16543 s/|#_!!_#|//g
 16544 CEOF$ac_eof
 16545 _ACEOF
 16548 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 16549 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 16550 # trailing colons and then remove the whole line if VPATH becomes empty
 16551 # (actually we leave an empty line to preserve line numbers).
 16552 if test "x$srcdir" = x.; then
 16553   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 16554 s/:*\$(srcdir):*/:/
 16555 s/:*\${srcdir}:*/:/
 16556 s/:*@srcdir@:*/:/
 16557 s/^\([^=]*=[	 ]*\):*/\1/
 16558 s/:*$//
 16559 s/^[^=]*=[	 ]*$//
 16560 }'
 16561 fi
 16563 cat >>$CONFIG_STATUS <<\_ACEOF
 16564 fi # test -n "$CONFIG_FILES"
 16567 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 16568 do
 16569   case $ac_tag in
 16570   :[FHLC]) ac_mode=$ac_tag; continue;;
 16571   esac
 16572   case $ac_mode$ac_tag in
 16573   :[FHL]*:*);;
 16574   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 16575 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 16576    { (exit 1); exit 1; }; };;
 16577   :[FH]-) ac_tag=-:-;;
 16578   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 16579   esac
 16580   ac_save_IFS=$IFS
 16581   IFS=:
 16582   set x $ac_tag
 16583   IFS=$ac_save_IFS
 16584   shift
 16585   ac_file=$1
 16586   shift
 16588   case $ac_mode in
 16589   :L) ac_source=$1;;
 16590   :[FH])
 16591     ac_file_inputs=
 16592     for ac_f
 16593     do
 16594       case $ac_f in
 16595       -) ac_f="$tmp/stdin";;
 16596       *) # Look for the file first in the build tree, then in the source tree
 16597 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 16598 	 # because $ac_f cannot contain `:'.
 16599 	 test -f "$ac_f" ||
 16600 	   case $ac_f in
 16601 	   [\\/$]*) false;;
 16602 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 16603 	   esac ||
 16604 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 16605 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 16606    { (exit 1); exit 1; }; };;
 16607       esac
 16608       ac_file_inputs="$ac_file_inputs $ac_f"
 16609     done
 16611     # Let's still pretend it is `configure' which instantiates (i.e., don't
 16612     # use $as_me), people would be surprised to read:
 16613     #    /* config.h.  Generated by config.status.  */
 16614     configure_input="Generated from "`IFS=:
 16615 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 16616     if test x"$ac_file" != x-; then
 16617       configure_input="$ac_file.  $configure_input"
 16618       { echo "$as_me:$LINENO: creating $ac_file" >&5
 16619 echo "$as_me: creating $ac_file" >&6;}
 16620     fi
 16622     case $ac_tag in
 16623     *:-:* | *:-) cat >"$tmp/stdin";;
 16624     esac
 16625     ;;
 16626   esac
 16628   ac_dir=`$as_dirname -- "$ac_file" ||
 16629 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16630 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 16631 	 X"$ac_file" : 'X\(//\)$' \| \
 16632 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 16633 echo X"$ac_file" |
 16634     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16635 	    s//\1/
 16638 	  /^X\(\/\/\)[^/].*/{
 16639 	    s//\1/
 16642 	  /^X\(\/\/\)$/{
 16643 	    s//\1/
 16646 	  /^X\(\/\).*/{
 16647 	    s//\1/
 16650 	  s/.*/./; q'`
 16651   { as_dir="$ac_dir"
 16652   case $as_dir in #(
 16653   -*) as_dir=./$as_dir;;
 16654   esac
 16655   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 16656     as_dirs=
 16657     while :; do
 16658       case $as_dir in #(
 16659       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 16660       *) as_qdir=$as_dir;;
 16661       esac
 16662       as_dirs="'$as_qdir' $as_dirs"
 16663       as_dir=`$as_dirname -- "$as_dir" ||
 16664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16665 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 16666 	 X"$as_dir" : 'X\(//\)$' \| \
 16667 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 16668 echo X"$as_dir" |
 16669     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16670 	    s//\1/
 16673 	  /^X\(\/\/\)[^/].*/{
 16674 	    s//\1/
 16677 	  /^X\(\/\/\)$/{
 16678 	    s//\1/
 16681 	  /^X\(\/\).*/{
 16682 	    s//\1/
 16685 	  s/.*/./; q'`
 16686       test -d "$as_dir" && break
 16687     done
 16688     test -z "$as_dirs" || eval "mkdir $as_dirs"
 16689   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 16690 echo "$as_me: error: cannot create directory $as_dir" >&2;}
 16691    { (exit 1); exit 1; }; }; }
 16692   ac_builddir=.
 16694 case "$ac_dir" in
 16695 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 16696 *)
 16697   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 16698   # A ".." for each directory in $ac_dir_suffix.
 16699   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 16700   case $ac_top_builddir_sub in
 16701   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 16702   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 16703   esac ;;
 16704 esac
 16705 ac_abs_top_builddir=$ac_pwd
 16706 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 16707 # for backward compatibility:
 16708 ac_top_builddir=$ac_top_build_prefix
 16710 case $srcdir in
 16711   .)  # We are building in place.
 16712     ac_srcdir=.
 16713     ac_top_srcdir=$ac_top_builddir_sub
 16714     ac_abs_top_srcdir=$ac_pwd ;;
 16715   [\\/]* | ?:[\\/]* )  # Absolute name.
 16716     ac_srcdir=$srcdir$ac_dir_suffix;
 16717     ac_top_srcdir=$srcdir
 16718     ac_abs_top_srcdir=$srcdir ;;
 16719   *) # Relative name.
 16720     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 16721     ac_top_srcdir=$ac_top_build_prefix$srcdir
 16722     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 16723 esac
 16724 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 16727   case $ac_mode in
 16728   :F)
 16730   # CONFIG_FILE
 16733   case $INSTALL in
 16734   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 16735   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 16736   esac
 16737 _ACEOF
 16739 cat >>$CONFIG_STATUS <<\_ACEOF
 16740 # If the template does not know about datarootdir, expand it.
 16741 # FIXME: This hack should be removed a few years after 2.60.
 16742 ac_datarootdir_hack=; ac_datarootdir_seen=
 16744 case `sed -n '/datarootdir/ {
 16748 /@datadir@/p
 16749 /@docdir@/p
 16750 /@infodir@/p
 16751 /@localedir@/p
 16752 /@mandir@/p
 16753 ' $ac_file_inputs` in
 16754 *datarootdir*) ac_datarootdir_seen=yes;;
 16755 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 16756   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 16757 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 16758 _ACEOF
 16759 cat >>$CONFIG_STATUS <<_ACEOF
 16760   ac_datarootdir_hack='
 16761   s&@datadir@&$datadir&g
 16762   s&@docdir@&$docdir&g
 16763   s&@infodir@&$infodir&g
 16764   s&@localedir@&$localedir&g
 16765   s&@mandir@&$mandir&g
 16766     s&\\\${datarootdir}&$datarootdir&g' ;;
 16767 esac
 16768 _ACEOF
 16770 # Neutralize VPATH when `$srcdir' = `.'.
 16771 # Shell code in configure.ac might set extrasub.
 16772 # FIXME: do we really want to maintain this feature?
 16773 cat >>$CONFIG_STATUS <<_ACEOF
 16774   sed "$ac_vpsub
 16775 $extrasub
 16776 _ACEOF
 16777 cat >>$CONFIG_STATUS <<\_ACEOF
 16778 :t
 16779 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 16780 s&@configure_input@&$configure_input&;t t
 16781 s&@top_builddir@&$ac_top_builddir_sub&;t t
 16782 s&@srcdir@&$ac_srcdir&;t t
 16783 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 16784 s&@top_srcdir@&$ac_top_srcdir&;t t
 16785 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 16786 s&@builddir@&$ac_builddir&;t t
 16787 s&@abs_builddir@&$ac_abs_builddir&;t t
 16788 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 16789 s&@INSTALL@&$ac_INSTALL&;t t
 16790 $ac_datarootdir_hack
 16791 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 16793 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 16794   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 16795   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 16796   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 16797 which seems to be undefined.  Please make sure it is defined." >&5
 16798 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 16799 which seems to be undefined.  Please make sure it is defined." >&2;}
 16801   rm -f "$tmp/stdin"
 16802   case $ac_file in
 16803   -) cat "$tmp/out"; rm -f "$tmp/out";;
 16804   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 16805   esac
 16806  ;;
 16807   :H)
 16809   # CONFIG_HEADER
 16811 _ACEOF
 16813 # Transform confdefs.h into a sed script `conftest.defines', that
 16814 # substitutes the proper values into config.h.in to produce config.h.
 16815 rm -f conftest.defines conftest.tail
 16816 # First, append a space to every undef/define line, to ease matching.
 16817 echo 's/$/ /' >conftest.defines
 16818 # Then, protect against being on the right side of a sed subst, or in
 16819 # an unquoted here document, in config.status.  If some macros were
 16820 # called several times there might be several #defines for the same
 16821 # symbol, which is useless.  But do not sort them, since the last
 16822 # AC_DEFINE must be honored.
 16823 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 16824 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 16825 # NAME is the cpp macro being defined, VALUE is the value it is being given.
 16826 # PARAMS is the parameter list in the macro definition--in most cases, it's
 16827 # just an empty string.
 16828 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
 16829 ac_dB='\\)[	 (].*,\\1define\\2'
 16830 ac_dC=' '
 16831 ac_dD=' ,'
 16833 uniq confdefs.h |
 16834   sed -n '
 16835 	t rset
 16836 	:rset
 16837 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
 16838 	t ok
 16840 	:ok
 16841 	s/[\\&,]/\\&/g
 16842 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 16843 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 16844   ' >>conftest.defines
 16846 # Remove the space that was appended to ease matching.
 16847 # Then replace #undef with comments.  This is necessary, for
 16848 # example, in the case of _POSIX_SOURCE, which is predefined and required
 16849 # on some systems where configure will not decide to define it.
 16850 # (The regexp can be short, since the line contains either #define or #undef.)
 16851 echo 's/ $//
 16852 s,^[	 #]*u.*,/* & */,' >>conftest.defines
 16854 # Break up conftest.defines:
 16855 ac_max_sed_lines=50
 16857 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 16858 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 16859 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 16860 # et cetera.
 16861 ac_in='$ac_file_inputs'
 16862 ac_out='"$tmp/out1"'
 16863 ac_nxt='"$tmp/out2"'
 16865 while :
 16866 do
 16867   # Write a here document:
 16868     cat >>$CONFIG_STATUS <<_ACEOF
 16869     # First, check the format of the line:
 16870     cat >"\$tmp/defines.sed" <<\\CEOF
 16871 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
 16872 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
 16874 :def
 16875 _ACEOF
 16876   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
 16877   echo 'CEOF
 16878     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 16879   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 16880   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 16881   grep . conftest.tail >/dev/null || break
 16882   rm -f conftest.defines
 16883   mv conftest.tail conftest.defines
 16884 done
 16885 rm -f conftest.defines conftest.tail
 16887 echo "ac_result=$ac_in" >>$CONFIG_STATUS
 16888 cat >>$CONFIG_STATUS <<\_ACEOF
 16889   if test x"$ac_file" != x-; then
 16890     echo "/* $configure_input  */" >"$tmp/config.h"
 16891     cat "$ac_result" >>"$tmp/config.h"
 16892     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
 16893       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 16894 echo "$as_me: $ac_file is unchanged" >&6;}
 16895     else
 16896       rm -f $ac_file
 16897       mv "$tmp/config.h" $ac_file
 16898     fi
 16899   else
 16900     echo "/* $configure_input  */"
 16901     cat "$ac_result"
 16902   fi
 16903   rm -f "$tmp/out12"
 16904 # Compute $ac_file's index in $config_headers.
 16905 _am_stamp_count=1
 16906 for _am_header in $config_headers :; do
 16907   case $_am_header in
 16908     $ac_file | $ac_file:* )
 16909       break ;;
 16910     * )
 16911       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 16912   esac
 16913 done
 16914 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
 16915 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16916 	 X$ac_file : 'X\(//\)[^/]' \| \
 16917 	 X$ac_file : 'X\(//\)$' \| \
 16918 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
 16919 echo X$ac_file |
 16920     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16921 	    s//\1/
 16924 	  /^X\(\/\/\)[^/].*/{
 16925 	    s//\1/
 16928 	  /^X\(\/\/\)$/{
 16929 	    s//\1/
 16932 	  /^X\(\/\).*/{
 16933 	    s//\1/
 16936 	  s/.*/./; q'`/stamp-h$_am_stamp_count
 16937  ;;
 16939   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 16940 echo "$as_me: executing $ac_file commands" >&6;}
 16941  ;;
 16942   esac
 16945   case $ac_file$ac_mode in
 16946     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 16947   # Strip MF so we end up with the name of the file.
 16948   mf=`echo "$mf" | sed -e 's/:.*$//'`
 16949   # Check whether this is an Automake generated Makefile or not.
 16950   # We used to match only the files named `Makefile.in', but
 16951   # some people rename them; so instead we look at the file content.
 16952   # Grep'ing the first line is not enough: some people post-process
 16953   # each Makefile.in and add a new line on top of each file to say so.
 16954   # So let's grep whole file.
 16955   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 16956     dirpart=`$as_dirname -- "$mf" ||
 16957 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16958 	 X"$mf" : 'X\(//\)[^/]' \| \
 16959 	 X"$mf" : 'X\(//\)$' \| \
 16960 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 16961 echo X"$mf" |
 16962     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16963 	    s//\1/
 16966 	  /^X\(\/\/\)[^/].*/{
 16967 	    s//\1/
 16970 	  /^X\(\/\/\)$/{
 16971 	    s//\1/
 16974 	  /^X\(\/\).*/{
 16975 	    s//\1/
 16978 	  s/.*/./; q'`
 16979   else
 16980     continue
 16981   fi
 16982   # Extract the definition of DEPDIR, am__include, and am__quote
 16983   # from the Makefile without running `make'.
 16984   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 16985   test -z "$DEPDIR" && continue
 16986   am__include=`sed -n 's/^am__include = //p' < "$mf"`
 16987   test -z "am__include" && continue
 16988   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 16989   # When using ansi2knr, U may be empty or an underscore; expand it
 16990   U=`sed -n 's/^U = //p' < "$mf"`
 16991   # Find all dependency output files, they are included files with
 16992   # $(DEPDIR) in their names.  We invoke sed twice because it is the
 16993   # simplest approach to changing $(DEPDIR) to its actual value in the
 16994   # expansion.
 16995   for file in `sed -n "
 16996     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 16997        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 16998     # Make sure the directory exists.
 16999     test -f "$dirpart/$file" && continue
 17000     fdir=`$as_dirname -- "$file" ||
 17001 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 17002 	 X"$file" : 'X\(//\)[^/]' \| \
 17003 	 X"$file" : 'X\(//\)$' \| \
 17004 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 17005 echo X"$file" |
 17006     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 17007 	    s//\1/
 17010 	  /^X\(\/\/\)[^/].*/{
 17011 	    s//\1/
 17014 	  /^X\(\/\/\)$/{
 17015 	    s//\1/
 17018 	  /^X\(\/\).*/{
 17019 	    s//\1/
 17022 	  s/.*/./; q'`
 17023     { as_dir=$dirpart/$fdir
 17024   case $as_dir in #(
 17025   -*) as_dir=./$as_dir;;
 17026   esac
 17027   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 17028     as_dirs=
 17029     while :; do
 17030       case $as_dir in #(
 17031       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 17032       *) as_qdir=$as_dir;;
 17033       esac
 17034       as_dirs="'$as_qdir' $as_dirs"
 17035       as_dir=`$as_dirname -- "$as_dir" ||
 17036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 17037 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 17038 	 X"$as_dir" : 'X\(//\)$' \| \
 17039 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 17040 echo X"$as_dir" |
 17041     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 17042 	    s//\1/
 17045 	  /^X\(\/\/\)[^/].*/{
 17046 	    s//\1/
 17049 	  /^X\(\/\/\)$/{
 17050 	    s//\1/
 17053 	  /^X\(\/\).*/{
 17054 	    s//\1/
 17057 	  s/.*/./; q'`
 17058       test -d "$as_dir" && break
 17059     done
 17060     test -z "$as_dirs" || eval "mkdir $as_dirs"
 17061   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 17062 echo "$as_me: error: cannot create directory $as_dir" >&2;}
 17063    { (exit 1); exit 1; }; }; }
 17064     # echo "creating $dirpart/$file"
 17065     echo '# dummy' > "$dirpart/$file"
 17066   done
 17067 done
 17068  ;;
 17069     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 17070         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 17071       esac ;;
 17073   esac
 17074 done # for ac_tag
 17077 { (exit 0); exit 0; }
 17078 _ACEOF
 17079 chmod +x $CONFIG_STATUS
 17080 ac_clean_files=$ac_clean_files_save
 17083 # configure is writing to config.log, and then calls config.status.
 17084 # config.status does its own redirection, appending to config.log.
 17085 # Unfortunately, on DOS this fails, as config.log is still kept open
 17086 # by configure, so config.status won't be able to write to it; its
 17087 # output is simply discarded.  So we exec the FD to /dev/null,
 17088 # effectively closing config.log, so it can be properly (re)opened and
 17089 # appended to by config.status.  When coming back to configure, we
 17090 # need to make the FD available again.
 17091 if test "$no_create" != yes; then
 17092   ac_cs_success=:
 17093   ac_config_status_args=
 17094   test "$silent" = yes &&
 17095     ac_config_status_args="$ac_config_status_args --quiet"
 17096   exec 5>/dev/null
 17097   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 17098   exec 5>>config.log
 17099   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 17100   # would make configure fail if this is the last instruction.
 17101   $ac_cs_success || { (exit 1); exit 1; }
 17102 fi
 17104 { as_dir=test/sh4
 17105   case $as_dir in #(
 17106   -*) as_dir=./$as_dir;;
 17107   esac
 17108   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 17109     as_dirs=
 17110     while :; do
 17111       case $as_dir in #(
 17112       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 17113       *) as_qdir=$as_dir;;
 17114       esac
 17115       as_dirs="'$as_qdir' $as_dirs"
 17116       as_dir=`$as_dirname -- "$as_dir" ||
 17117 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 17118 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 17119 	 X"$as_dir" : 'X\(//\)$' \| \
 17120 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 17121 echo X"$as_dir" |
 17122     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 17123 	    s//\1/
 17126 	  /^X\(\/\/\)[^/].*/{
 17127 	    s//\1/
 17130 	  /^X\(\/\/\)$/{
 17131 	    s//\1/
 17134 	  /^X\(\/\).*/{
 17135 	    s//\1/
 17138 	  s/.*/./; q'`
 17139       test -d "$as_dir" && break
 17140     done
 17141     test -z "$as_dirs" || eval "mkdir $as_dirs"
 17142   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 17143 echo "$as_me: error: cannot create directory $as_dir" >&2;}
 17144    { (exit 1); exit 1; }; }; }
 17147 echo
 17148 echo "Configuration complete"
 17149 echo
 17151 if test "x$HAVE_GTK" = x; then
 17152   if test "x$HAVE_COCOA" = x; then
 17153      echo "  User interface: none"
 17154   else
 17155      echo "  User interface: Cocoa"
 17156   fi
 17157 else
 17158   echo "  User interface: GTK"
 17159 fi
 17161 if test "x$SH4_TRANSLATOR" = "x"; then
 17162   echo "  SH4 translator: None (emulation core only)"
 17163 else
 17164   echo "  SH4 translator: $SH4_TRANSLATOR"
 17165 fi
 17167 if test "x$VIDEO_DRIVERS" = "x"; then
 17168    echo "  Video drivers: none (no supported GL found)"
 17169 else
 17170    echo "  Video drivers: $VIDEO_DRIVERS"
 17171 fi
 17173 if test "x$AUDIO_DRIVERS" = "x"; then
 17174    echo "  Audio drivers: none (no supported output devices found)"
 17175 else
 17176    echo "  Audio drivers: $AUDIO_DRIVERS"
 17177 fi
 17179 if test "x$INPUT_DRIVERS" = "x"; then
 17180    echo "  Input drivers: none (no supported input devices found)"
 17181 else
 17182    echo "  Input drivers: $INPUT_DRIVERS"
 17183 fi
 17185 if test "x$CDROM_DRIVER" = "x"; then
 17186    echo "  CD-ROM driver: none (no supported cd-rom devices found)"
 17187 else
 17188    echo "  CD-ROM driver:  $CDROM_DRIVER"
 17189 fi
.