Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 1235:8da2f3dad9c0
prev1228:8168aa94e6d7
next1239:be3121267597
author nkeynes
date Sat Feb 25 21:27:06 2012 +1000 (12 years ago)
permissions -rwxr-xr-x
last change Fix signature of dummy function version
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 RANLIB
   724 GREP
   725 EGREP
   726 OBJCDEPMODE
   727 am__fastdepOBJC_TRUE
   728 am__fastdepOBJC_FALSE
   729 POD2MAN
   730 POD2HTML
   731 GUI_COCOA_TRUE
   732 GUI_COCOA_FALSE
   733 SOEXT
   734 PLUGINCFLAGS
   735 PLUGINLDFLAGS
   736 LXDREAMLDFLAGS
   737 BUILD_PLUGINS_TRUE
   738 BUILD_PLUGINS_FALSE
   739 LXDREAMCPPFLAGS
   740 PKG_CONFIG
   741 LIBPNG_CFLAGS
   742 LIBPNG_LIBS
   743 GLIB_CFLAGS
   744 GLIB_LIBS
   745 GTK_CFLAGS
   746 GTK_LIBS
   747 GLIB_FOR_BUILD_CFLAGS
   748 GLIB_FOR_BUILD_LIBS
   749 GUI_GTK_TRUE
   750 GUI_GTK_FALSE
   751 LIBISOFS_CFLAGS
   752 LIBISOFS_LIBS
   753 LIBGL_CFLAGS
   754 LIBGL_LIBS
   755 VIDEO_OSMESA_TRUE
   756 VIDEO_OSMESA_FALSE
   757 VIDEO_GLX_TRUE
   758 VIDEO_GLX_FALSE
   759 VIDEO_NSGL_TRUE
   760 VIDEO_NSGL_FALSE
   761 BUILD_SH4X86_TRUE
   762 BUILD_SH4X86_FALSE
   763 AUDIO_OSX_TRUE
   764 AUDIO_OSX_FALSE
   765 SDL_CFLAGS
   766 SDL_LIBS
   767 AUDIO_SDL_TRUE
   768 AUDIO_SDL_FALSE
   769 PULSE_CFLAGS
   770 PULSE_LIBS
   771 AUDIO_PULSE_TRUE
   772 AUDIO_PULSE_FALSE
   773 ESOUND_CFLAGS
   774 ESOUND_LIBS
   775 AUDIO_ESOUND_TRUE
   776 AUDIO_ESOUND_FALSE
   777 ALSA_CFLAGS
   778 ALSA_LIBS
   779 AUDIO_ALSA_TRUE
   780 AUDIO_ALSA_FALSE
   781 CDROM_LINUX_TRUE
   782 CDROM_LINUX_FALSE
   783 CDROM_OSX_TRUE
   784 CDROM_OSX_FALSE
   785 CDROM_NONE_TRUE
   786 CDROM_NONE_FALSE
   787 JOY_LINUX_TRUE
   788 JOY_LINUX_FALSE
   789 INPUT_LIRC_TRUE
   790 INPUT_LIRC_FALSE
   791 SHCC
   792 SHLD
   793 SHOBJCOPY
   794 ARMCC
   795 ARMLD
   796 ARMOBJCOPY
   797 BUILD_SYSTEST_TRUE
   798 BUILD_SYSTEST_FALSE
   799 BUILD_ARMTEST_TRUE
   800 BUILD_ARMTEST_FALSE
   801 LXDREAM_LIBS
   802 GETTEXT_PACKAGE
   803 USE_NLS
   804 MSGFMT
   805 MSGFMT_OPTS
   806 GMSGFMT
   807 XGETTEXT
   808 CATALOGS
   809 CATOBJEXT
   810 DATADIRNAME
   811 GMOFILES
   812 INSTOBJEXT
   813 INTLLIBS
   814 PO_IN_DATADIR_TRUE
   815 PO_IN_DATADIR_FALSE
   816 POFILES
   817 POSUB
   818 MKINSTALLDIRS
   819 LIBOBJS
   820 LTLIBOBJS'
   821 ac_subst_files=''
   822       ac_precious_vars='build_alias
   823 host_alias
   824 target_alias
   825 CC
   826 CFLAGS
   827 LDFLAGS
   828 LIBS
   829 CPPFLAGS
   830 CPP
   831 CC
   832 CFLAGS
   833 CPPFLAGS
   834 CPP
   835 CPPFLAGS
   836 OBJC
   837 OBJCFLAGS
   838 CCAS
   839 CCASFLAGS
   840 PKG_CONFIG
   841 LIBPNG_CFLAGS
   842 LIBPNG_LIBS
   843 GLIB_CFLAGS
   844 GLIB_LIBS
   845 GTK_CFLAGS
   846 GTK_LIBS
   847 GLIB_FOR_BUILD_CFLAGS
   848 GLIB_FOR_BUILD_LIBS
   849 LIBISOFS_CFLAGS
   850 LIBISOFS_LIBS
   851 LIBGL_CFLAGS
   852 LIBGL_LIBS
   853 SDL_CFLAGS
   854 SDL_LIBS
   855 PULSE_CFLAGS
   856 PULSE_LIBS
   857 ESOUND_CFLAGS
   858 ESOUND_LIBS
   859 ALSA_CFLAGS
   860 ALSA_LIBS'
   863 # Initialize some variables set by options.
   864 ac_init_help=
   865 ac_init_version=false
   866 # The variables have the same names as the options, with
   867 # dashes changed to underlines.
   868 cache_file=/dev/null
   869 exec_prefix=NONE
   870 no_create=
   871 no_recursion=
   872 prefix=NONE
   873 program_prefix=NONE
   874 program_suffix=NONE
   875 program_transform_name=s,x,x,
   876 silent=
   877 site=
   878 srcdir=
   879 verbose=
   880 x_includes=NONE
   881 x_libraries=NONE
   883 # Installation directory options.
   884 # These are left unexpanded so users can "make install exec_prefix=/foo"
   885 # and all the variables that are supposed to be based on exec_prefix
   886 # by default will actually change.
   887 # Use braces instead of parens because sh, perl, etc. also accept them.
   888 # (The list follows the same order as the GNU Coding Standards.)
   889 bindir='${exec_prefix}/bin'
   890 sbindir='${exec_prefix}/sbin'
   891 libexecdir='${exec_prefix}/libexec'
   892 datarootdir='${prefix}/share'
   893 datadir='${datarootdir}'
   894 sysconfdir='${prefix}/etc'
   895 sharedstatedir='${prefix}/com'
   896 localstatedir='${prefix}/var'
   897 includedir='${prefix}/include'
   898 oldincludedir='/usr/include'
   899 docdir='${datarootdir}/doc/${PACKAGE}'
   900 infodir='${datarootdir}/info'
   901 htmldir='${docdir}'
   902 dvidir='${docdir}'
   903 pdfdir='${docdir}'
   904 psdir='${docdir}'
   905 libdir='${exec_prefix}/lib'
   906 localedir='${datarootdir}/locale'
   907 mandir='${datarootdir}/man'
   909 ac_prev=
   910 ac_dashdash=
   911 for ac_option
   912 do
   913   # If the previous option needs an argument, assign it.
   914   if test -n "$ac_prev"; then
   915     eval $ac_prev=\$ac_option
   916     ac_prev=
   917     continue
   918   fi
   920   case $ac_option in
   921   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   922   *)	ac_optarg=yes ;;
   923   esac
   925   # Accept the important Cygnus configure options, so we can diagnose typos.
   927   case $ac_dashdash$ac_option in
   928   --)
   929     ac_dashdash=yes ;;
   931   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   932     ac_prev=bindir ;;
   933   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   934     bindir=$ac_optarg ;;
   936   -build | --build | --buil | --bui | --bu)
   937     ac_prev=build_alias ;;
   938   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   939     build_alias=$ac_optarg ;;
   941   -cache-file | --cache-file | --cache-fil | --cache-fi \
   942   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   943     ac_prev=cache_file ;;
   944   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   945   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   946     cache_file=$ac_optarg ;;
   948   --config-cache | -C)
   949     cache_file=config.cache ;;
   951   -datadir | --datadir | --datadi | --datad)
   952     ac_prev=datadir ;;
   953   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   954     datadir=$ac_optarg ;;
   956   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   957   | --dataroo | --dataro | --datar)
   958     ac_prev=datarootdir ;;
   959   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   960   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   961     datarootdir=$ac_optarg ;;
   963   -disable-* | --disable-*)
   964     ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   965     # Reject names that are not valid shell variable names.
   966     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   967       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   968    { (exit 1); exit 1; }; }
   969     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   970     eval enable_$ac_feature=no ;;
   972   -docdir | --docdir | --docdi | --doc | --do)
   973     ac_prev=docdir ;;
   974   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   975     docdir=$ac_optarg ;;
   977   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   978     ac_prev=dvidir ;;
   979   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   980     dvidir=$ac_optarg ;;
   982   -enable-* | --enable-*)
   983     ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   984     # Reject names that are not valid shell variable names.
   985     expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
   986       { echo "$as_me: error: invalid feature name: $ac_feature" >&2
   987    { (exit 1); exit 1; }; }
   988     ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
   989     eval enable_$ac_feature=\$ac_optarg ;;
   991   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   992   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   993   | --exec | --exe | --ex)
   994     ac_prev=exec_prefix ;;
   995   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   996   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   997   | --exec=* | --exe=* | --ex=*)
   998     exec_prefix=$ac_optarg ;;
  1000   -gas | --gas | --ga | --g)
  1001     # Obsolete; use --with-gas.
  1002     with_gas=yes ;;
  1004   -help | --help | --hel | --he | -h)
  1005     ac_init_help=long ;;
  1006   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1007     ac_init_help=recursive ;;
  1008   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1009     ac_init_help=short ;;
  1011   -host | --host | --hos | --ho)
  1012     ac_prev=host_alias ;;
  1013   -host=* | --host=* | --hos=* | --ho=*)
  1014     host_alias=$ac_optarg ;;
  1016   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1017     ac_prev=htmldir ;;
  1018   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1019   | --ht=*)
  1020     htmldir=$ac_optarg ;;
  1022   -includedir | --includedir | --includedi | --included | --include \
  1023   | --includ | --inclu | --incl | --inc)
  1024     ac_prev=includedir ;;
  1025   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1026   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1027     includedir=$ac_optarg ;;
  1029   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1030     ac_prev=infodir ;;
  1031   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1032     infodir=$ac_optarg ;;
  1034   -libdir | --libdir | --libdi | --libd)
  1035     ac_prev=libdir ;;
  1036   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1037     libdir=$ac_optarg ;;
  1039   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1040   | --libexe | --libex | --libe)
  1041     ac_prev=libexecdir ;;
  1042   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1043   | --libexe=* | --libex=* | --libe=*)
  1044     libexecdir=$ac_optarg ;;
  1046   -localedir | --localedir | --localedi | --localed | --locale)
  1047     ac_prev=localedir ;;
  1048   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1049     localedir=$ac_optarg ;;
  1051   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1052   | --localstate | --localstat | --localsta | --localst | --locals)
  1053     ac_prev=localstatedir ;;
  1054   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1055   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1056     localstatedir=$ac_optarg ;;
  1058   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1059     ac_prev=mandir ;;
  1060   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1061     mandir=$ac_optarg ;;
  1063   -nfp | --nfp | --nf)
  1064     # Obsolete; use --without-fp.
  1065     with_fp=no ;;
  1067   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1068   | --no-cr | --no-c | -n)
  1069     no_create=yes ;;
  1071   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1072   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1073     no_recursion=yes ;;
  1075   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1076   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1077   | --oldin | --oldi | --old | --ol | --o)
  1078     ac_prev=oldincludedir ;;
  1079   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1080   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1081   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1082     oldincludedir=$ac_optarg ;;
  1084   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1085     ac_prev=prefix ;;
  1086   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1087     prefix=$ac_optarg ;;
  1089   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1090   | --program-pre | --program-pr | --program-p)
  1091     ac_prev=program_prefix ;;
  1092   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1093   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1094     program_prefix=$ac_optarg ;;
  1096   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1097   | --program-suf | --program-su | --program-s)
  1098     ac_prev=program_suffix ;;
  1099   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1100   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1101     program_suffix=$ac_optarg ;;
  1103   -program-transform-name | --program-transform-name \
  1104   | --program-transform-nam | --program-transform-na \
  1105   | --program-transform-n | --program-transform- \
  1106   | --program-transform | --program-transfor \
  1107   | --program-transfo | --program-transf \
  1108   | --program-trans | --program-tran \
  1109   | --progr-tra | --program-tr | --program-t)
  1110     ac_prev=program_transform_name ;;
  1111   -program-transform-name=* | --program-transform-name=* \
  1112   | --program-transform-nam=* | --program-transform-na=* \
  1113   | --program-transform-n=* | --program-transform-=* \
  1114   | --program-transform=* | --program-transfor=* \
  1115   | --program-transfo=* | --program-transf=* \
  1116   | --program-trans=* | --program-tran=* \
  1117   | --progr-tra=* | --program-tr=* | --program-t=*)
  1118     program_transform_name=$ac_optarg ;;
  1120   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1121     ac_prev=pdfdir ;;
  1122   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1123     pdfdir=$ac_optarg ;;
  1125   -psdir | --psdir | --psdi | --psd | --ps)
  1126     ac_prev=psdir ;;
  1127   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1128     psdir=$ac_optarg ;;
  1130   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1131   | -silent | --silent | --silen | --sile | --sil)
  1132     silent=yes ;;
  1134   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1135     ac_prev=sbindir ;;
  1136   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1137   | --sbi=* | --sb=*)
  1138     sbindir=$ac_optarg ;;
  1140   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1141   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1142   | --sharedst | --shareds | --shared | --share | --shar \
  1143   | --sha | --sh)
  1144     ac_prev=sharedstatedir ;;
  1145   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1146   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1147   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1148   | --sha=* | --sh=*)
  1149     sharedstatedir=$ac_optarg ;;
  1151   -site | --site | --sit)
  1152     ac_prev=site ;;
  1153   -site=* | --site=* | --sit=*)
  1154     site=$ac_optarg ;;
  1156   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1157     ac_prev=srcdir ;;
  1158   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1159     srcdir=$ac_optarg ;;
  1161   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1162   | --syscon | --sysco | --sysc | --sys | --sy)
  1163     ac_prev=sysconfdir ;;
  1164   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1165   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1166     sysconfdir=$ac_optarg ;;
  1168   -target | --target | --targe | --targ | --tar | --ta | --t)
  1169     ac_prev=target_alias ;;
  1170   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1171     target_alias=$ac_optarg ;;
  1173   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1174     verbose=yes ;;
  1176   -version | --version | --versio | --versi | --vers | -V)
  1177     ac_init_version=: ;;
  1179   -with-* | --with-*)
  1180     ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1181     # Reject names that are not valid shell variable names.
  1182     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1183       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1184    { (exit 1); exit 1; }; }
  1185     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1186     eval with_$ac_package=\$ac_optarg ;;
  1188   -without-* | --without-*)
  1189     ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1190     # Reject names that are not valid shell variable names.
  1191     expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1192       { echo "$as_me: error: invalid package name: $ac_package" >&2
  1193    { (exit 1); exit 1; }; }
  1194     ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
  1195     eval with_$ac_package=no ;;
  1197   --x)
  1198     # Obsolete; use --with-x.
  1199     with_x=yes ;;
  1201   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1202   | --x-incl | --x-inc | --x-in | --x-i)
  1203     ac_prev=x_includes ;;
  1204   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1205   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1206     x_includes=$ac_optarg ;;
  1208   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1209   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1210     ac_prev=x_libraries ;;
  1211   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1212   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1213     x_libraries=$ac_optarg ;;
  1215   -*) { echo "$as_me: error: unrecognized option: $ac_option
  1216 Try \`$0 --help' for more information." >&2
  1217    { (exit 1); exit 1; }; }
  1218     ;;
  1220   *=*)
  1221     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1222     # Reject names that are not valid shell variable names.
  1223     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1224       { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1225    { (exit 1); exit 1; }; }
  1226     eval $ac_envvar=\$ac_optarg
  1227     export $ac_envvar ;;
  1229   *)
  1230     # FIXME: should be removed in autoconf 3.0.
  1231     echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1232     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1233       echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1234     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1235     ;;
  1237   esac
  1238 done
  1240 if test -n "$ac_prev"; then
  1241   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1242   { echo "$as_me: error: missing argument to $ac_option" >&2
  1243    { (exit 1); exit 1; }; }
  1244 fi
  1246 # Be sure to have absolute directory names.
  1247 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1248 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1249 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1250 		libdir localedir mandir
  1251 do
  1252   eval ac_val=\$$ac_var
  1253   case $ac_val in
  1254     [\\/$]* | ?:[\\/]* )  continue;;
  1255     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1256   esac
  1257   { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1258    { (exit 1); exit 1; }; }
  1259 done
  1261 # There might be people who depend on the old broken behavior: `$host'
  1262 # used to hold the argument of --host etc.
  1263 # FIXME: To remove some day.
  1264 build=$build_alias
  1265 host=$host_alias
  1266 target=$target_alias
  1268 # FIXME: To remove some day.
  1269 if test "x$host_alias" != x; then
  1270   if test "x$build_alias" = x; then
  1271     cross_compiling=maybe
  1272     echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1273     If a cross compiler is detected then cross compile mode will be used." >&2
  1274   elif test "x$build_alias" != "x$host_alias"; then
  1275     cross_compiling=yes
  1276   fi
  1277 fi
  1279 ac_tool_prefix=
  1280 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1282 test "$silent" = yes && exec 6>/dev/null
  1285 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1286 ac_ls_di=`ls -di .` &&
  1287 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1288   { echo "$as_me: error: Working directory cannot be determined" >&2
  1289    { (exit 1); exit 1; }; }
  1290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1291   { echo "$as_me: error: pwd does not report name of working directory" >&2
  1292    { (exit 1); exit 1; }; }
  1295 # Find the source files, if location was not specified.
  1296 if test -z "$srcdir"; then
  1297   ac_srcdir_defaulted=yes
  1298   # Try the directory containing this script, then the parent directory.
  1299   ac_confdir=`$as_dirname -- "$0" ||
  1300 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1301 	 X"$0" : 'X\(//\)[^/]' \| \
  1302 	 X"$0" : 'X\(//\)$' \| \
  1303 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  1304 echo X"$0" |
  1305     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1306 	    s//\1/
  1309 	  /^X\(\/\/\)[^/].*/{
  1310 	    s//\1/
  1313 	  /^X\(\/\/\)$/{
  1314 	    s//\1/
  1317 	  /^X\(\/\).*/{
  1318 	    s//\1/
  1321 	  s/.*/./; q'`
  1322   srcdir=$ac_confdir
  1323   if test ! -r "$srcdir/$ac_unique_file"; then
  1324     srcdir=..
  1325   fi
  1326 else
  1327   ac_srcdir_defaulted=no
  1328 fi
  1329 if test ! -r "$srcdir/$ac_unique_file"; then
  1330   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1331   { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1332    { (exit 1); exit 1; }; }
  1333 fi
  1334 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1335 ac_abs_confdir=`(
  1336 	cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
  1337    { (exit 1); exit 1; }; }
  1338 	pwd)`
  1339 # When building in place, set srcdir=.
  1340 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1341   srcdir=.
  1342 fi
  1343 # Remove unnecessary trailing slashes from srcdir.
  1344 # Double slashes in file names in object file debugging info
  1345 # mess up M-x gdb in Emacs.
  1346 case $srcdir in
  1347 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1348 esac
  1349 for ac_var in $ac_precious_vars; do
  1350   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1351   eval ac_env_${ac_var}_value=\$${ac_var}
  1352   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1353   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1354 done
  1357 # Report the --help message.
  1359 if test "$ac_init_help" = "long"; then
  1360   # Omit some internal or obsolete options to make the list less imposing.
  1361   # This message is too long to be a string in the A/UX 3.1 sh.
  1362   cat <<_ACEOF
  1363 \`configure' configures this package to adapt to many kinds of systems.
  1365 Usage: $0 [OPTION]... [VAR=VALUE]...
  1367 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1368 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1370 Defaults for the options are specified in brackets.
  1372 Configuration:
  1373   -h, --help              display this help and exit
  1374       --help=short        display options specific to this package
  1375       --help=recursive    display the short help of all the included packages
  1376   -V, --version           display version information and exit
  1377   -q, --quiet, --silent   do not print \`checking...' messages
  1378       --cache-file=FILE   cache test results in FILE [disabled]
  1379   -C, --config-cache      alias for \`--cache-file=config.cache'
  1380   -n, --no-create         do not create output files
  1381       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1383 Installation directories:
  1384   --prefix=PREFIX         install architecture-independent files in PREFIX
  1385 			  [$ac_default_prefix]
  1386   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1387 			  [PREFIX]
  1389 By default, \`make install' will install all the files in
  1390 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1391 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1392 for instance \`--prefix=\$HOME'.
  1394 For better control, use the options below.
  1396 Fine tuning of the installation directories:
  1397   --bindir=DIR           user executables [EPREFIX/bin]
  1398   --sbindir=DIR          system admin executables [EPREFIX/sbin]
  1399   --libexecdir=DIR       program executables [EPREFIX/libexec]
  1400   --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
  1401   --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
  1402   --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
  1403   --libdir=DIR           object code libraries [EPREFIX/lib]
  1404   --includedir=DIR       C header files [PREFIX/include]
  1405   --oldincludedir=DIR    C header files for non-gcc [/usr/include]
  1406   --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
  1407   --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
  1408   --infodir=DIR          info documentation [DATAROOTDIR/info]
  1409   --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
  1410   --mandir=DIR           man documentation [DATAROOTDIR/man]
  1411   --docdir=DIR           documentation root [DATAROOTDIR/doc/PACKAGE]
  1412   --htmldir=DIR          html documentation [DOCDIR]
  1413   --dvidir=DIR           dvi documentation [DOCDIR]
  1414   --pdfdir=DIR           pdf documentation [DOCDIR]
  1415   --psdir=DIR            ps documentation [DOCDIR]
  1416 _ACEOF
  1418   cat <<\_ACEOF
  1420 Program names:
  1421   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1422   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1423   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1425 System types:
  1426   --build=BUILD     configure for building on BUILD [guessed]
  1427   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1428 _ACEOF
  1429 fi
  1431 if test -n "$ac_init_help"; then
  1433   cat <<\_ACEOF
  1435 Optional Features:
  1436   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1437   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1438   --enable-maintainer-mode  enable make rules and dependencies not useful
  1439 			  (and sometimes confusing) to the casual installer
  1440   --disable-dependency-tracking  speeds up one-time build
  1441   --enable-dependency-tracking   do not reject slow dependency extractors
  1442   --enable-strict-warn    Enable strict compilation warnings
  1443   --disable-translator    Disable the SH4 translator (Enabled by default)
  1444   --disable-optimized     Disable compile-time optimizations (Enabled by
  1445                           default)
  1446   --enable-shared         Build drivers as shared libraries (Enabled if
  1447                           available)
  1448   --enable-profiled       Enable profiling build
  1449   --enable-trace          Enable generation of IO traces (warning: hurts
  1450                           performance)
  1451   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1452                           performance)
  1453   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1455 Optional Packages:
  1456   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1457   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1458   --with-osmesa           Build with the osmesa GL library (software
  1459                           rendering)
  1460   --with-gtk              Build with the GTK UI. Default on X11 systems
  1461   --with-esd              Build with support for the ESounD audio system
  1462   --with-pulse            Build with support for the PulseAudio audio system
  1463   --with-sdl              Build with support for SDL audio
  1465 Some influential environment variables:
  1466   CC          C compiler command
  1467   CFLAGS      C compiler flags
  1468   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1469               nonstandard directory <lib dir>
  1470   LIBS        libraries to pass to the linker, e.g. -l<library>
  1471   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1472               you have headers in a nonstandard directory <include dir>
  1473   CPP         C preprocessor
  1474   OBJC        Objective C compiler command
  1475   OBJCFLAGS   Objective C compiler flags
  1476   CCAS        assembler compiler command (defaults to CC)
  1477   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1478   PKG_CONFIG  path to pkg-config utility
  1479   LIBPNG_CFLAGS
  1480               C compiler flags for LIBPNG, overriding pkg-config
  1481   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1482   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1483   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1484   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1485   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1486   GLIB_FOR_BUILD_CFLAGS
  1487               C compiler flags for GLIB_FOR_BUILD, overriding pkg-config
  1488   GLIB_FOR_BUILD_LIBS
  1489               linker flags for GLIB_FOR_BUILD, overriding pkg-config
  1490   LIBISOFS_CFLAGS
  1491               C compiler flags for LIBISOFS, overriding pkg-config
  1492   LIBISOFS_LIBS
  1493               linker flags for LIBISOFS, overriding pkg-config
  1494   LIBGL_CFLAGS
  1495               C compiler flags for LIBGL, overriding pkg-config
  1496   LIBGL_LIBS  linker flags for LIBGL, overriding pkg-config
  1497   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
  1498   SDL_LIBS    linker flags for SDL, overriding pkg-config
  1499   PULSE_CFLAGS
  1500               C compiler flags for PULSE, overriding pkg-config
  1501   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1502   ESOUND_CFLAGS
  1503               C compiler flags for ESOUND, overriding pkg-config
  1504   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1505   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1506   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1508 Use these variables to override the choices made by `configure' or to help
  1509 it to find libraries and programs with nonstandard names/locations.
  1511 _ACEOF
  1512 ac_status=$?
  1513 fi
  1515 if test "$ac_init_help" = "recursive"; then
  1516   # If there are subdirs, report their specific --help.
  1517   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1518     test -d "$ac_dir" || continue
  1519     ac_builddir=.
  1521 case "$ac_dir" in
  1522 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1523 *)
  1524   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
  1525   # A ".." for each directory in $ac_dir_suffix.
  1526   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
  1527   case $ac_top_builddir_sub in
  1528   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1529   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1530   esac ;;
  1531 esac
  1532 ac_abs_top_builddir=$ac_pwd
  1533 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1534 # for backward compatibility:
  1535 ac_top_builddir=$ac_top_build_prefix
  1537 case $srcdir in
  1538   .)  # We are building in place.
  1539     ac_srcdir=.
  1540     ac_top_srcdir=$ac_top_builddir_sub
  1541     ac_abs_top_srcdir=$ac_pwd ;;
  1542   [\\/]* | ?:[\\/]* )  # Absolute name.
  1543     ac_srcdir=$srcdir$ac_dir_suffix;
  1544     ac_top_srcdir=$srcdir
  1545     ac_abs_top_srcdir=$srcdir ;;
  1546   *) # Relative name.
  1547     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1548     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1549     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1550 esac
  1551 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1553     cd "$ac_dir" || { ac_status=$?; continue; }
  1554     # Check for guested configure.
  1555     if test -f "$ac_srcdir/configure.gnu"; then
  1556       echo &&
  1557       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1558     elif test -f "$ac_srcdir/configure"; then
  1559       echo &&
  1560       $SHELL "$ac_srcdir/configure" --help=recursive
  1561     else
  1562       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1563     fi || ac_status=$?
  1564     cd "$ac_pwd" || { ac_status=$?; break; }
  1565   done
  1566 fi
  1568 test -n "$ac_init_help" && exit $ac_status
  1569 if $ac_init_version; then
  1570   cat <<\_ACEOF
  1571 configure
  1572 generated by GNU Autoconf 2.61
  1574 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1575 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
  1576 This configure script is free software; the Free Software Foundation
  1577 gives unlimited permission to copy, distribute and modify it.
  1578 _ACEOF
  1579   exit
  1580 fi
  1581 cat >config.log <<_ACEOF
  1582 This file contains any messages produced by compilers while
  1583 running configure, to aid debugging if configure makes a mistake.
  1585 It was created by $as_me, which was
  1586 generated by GNU Autoconf 2.61.  Invocation command line was
  1588   $ $0 $@
  1590 _ACEOF
  1591 exec 5>>config.log
  1593 cat <<_ASUNAME
  1594 ## --------- ##
  1595 ## Platform. ##
  1596 ## --------- ##
  1598 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1599 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1600 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1601 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1602 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1604 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1605 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1607 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1608 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1609 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1610 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1611 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1612 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1613 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1615 _ASUNAME
  1617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1618 for as_dir in $PATH
  1619 do
  1620   IFS=$as_save_IFS
  1621   test -z "$as_dir" && as_dir=.
  1622   echo "PATH: $as_dir"
  1623 done
  1624 IFS=$as_save_IFS
  1626 } >&5
  1628 cat >&5 <<_ACEOF
  1631 ## ----------- ##
  1632 ## Core tests. ##
  1633 ## ----------- ##
  1635 _ACEOF
  1638 # Keep a trace of the command line.
  1639 # Strip out --no-create and --no-recursion so they do not pile up.
  1640 # Strip out --silent because we don't want to record it for future runs.
  1641 # Also quote any args containing shell meta-characters.
  1642 # Make two passes to allow for proper duplicate-argument suppression.
  1643 ac_configure_args=
  1644 ac_configure_args0=
  1645 ac_configure_args1=
  1646 ac_must_keep_next=false
  1647 for ac_pass in 1 2
  1648 do
  1649   for ac_arg
  1650   do
  1651     case $ac_arg in
  1652     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1653     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1654     | -silent | --silent | --silen | --sile | --sil)
  1655       continue ;;
  1656     *\'*)
  1657       ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1658     esac
  1659     case $ac_pass in
  1660     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1661     2)
  1662       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1663       if test $ac_must_keep_next = true; then
  1664 	ac_must_keep_next=false # Got value, back to normal.
  1665       else
  1666 	case $ac_arg in
  1667 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1668 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1669 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1670 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1671 	    case "$ac_configure_args0 " in
  1672 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1673 	    esac
  1674 	    ;;
  1675 	  -* ) ac_must_keep_next=true ;;
  1676 	esac
  1677       fi
  1678       ac_configure_args="$ac_configure_args '$ac_arg'"
  1679       ;;
  1680     esac
  1681   done
  1682 done
  1683 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1684 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1686 # When interrupted or exit'd, cleanup temporary files, and complete
  1687 # config.log.  We remove comments because anyway the quotes in there
  1688 # would cause problems or look ugly.
  1689 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1690 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1691 trap 'exit_status=$?
  1692   # Save into config.log some information that might help in debugging.
  1694     echo
  1696     cat <<\_ASBOX
  1697 ## ---------------- ##
  1698 ## Cache variables. ##
  1699 ## ---------------- ##
  1700 _ASBOX
  1701     echo
  1702     # The following way of writing the cache mishandles newlines in values,
  1704   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1705     eval ac_val=\$$ac_var
  1706     case $ac_val in #(
  1707     *${as_nl}*)
  1708       case $ac_var in #(
  1709       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1710 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1711       esac
  1712       case $ac_var in #(
  1713       _ | IFS | as_nl) ;; #(
  1714       *) $as_unset $ac_var ;;
  1715       esac ;;
  1716     esac
  1717   done
  1718   (set) 2>&1 |
  1719     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1720     *${as_nl}ac_space=\ *)
  1721       sed -n \
  1722 	"s/'\''/'\''\\\\'\'''\''/g;
  1723 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1724       ;; #(
  1725     *)
  1726       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1727       ;;
  1728     esac |
  1729     sort
  1731     echo
  1733     cat <<\_ASBOX
  1734 ## ----------------- ##
  1735 ## Output variables. ##
  1736 ## ----------------- ##
  1737 _ASBOX
  1738     echo
  1739     for ac_var in $ac_subst_vars
  1740     do
  1741       eval ac_val=\$$ac_var
  1742       case $ac_val in
  1743       *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1744       esac
  1745       echo "$ac_var='\''$ac_val'\''"
  1746     done | sort
  1747     echo
  1749     if test -n "$ac_subst_files"; then
  1750       cat <<\_ASBOX
  1751 ## ------------------- ##
  1752 ## File substitutions. ##
  1753 ## ------------------- ##
  1754 _ASBOX
  1755       echo
  1756       for ac_var in $ac_subst_files
  1757       do
  1758 	eval ac_val=\$$ac_var
  1759 	case $ac_val in
  1760 	*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1761 	esac
  1762 	echo "$ac_var='\''$ac_val'\''"
  1763       done | sort
  1764       echo
  1765     fi
  1767     if test -s confdefs.h; then
  1768       cat <<\_ASBOX
  1769 ## ----------- ##
  1770 ## confdefs.h. ##
  1771 ## ----------- ##
  1772 _ASBOX
  1773       echo
  1774       cat confdefs.h
  1775       echo
  1776     fi
  1777     test "$ac_signal" != 0 &&
  1778       echo "$as_me: caught signal $ac_signal"
  1779     echo "$as_me: exit $exit_status"
  1780   } >&5
  1781   rm -f core *.core core.conftest.* &&
  1782     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1783     exit $exit_status
  1784 ' 0
  1785 for ac_signal in 1 2 13 15; do
  1786   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1787 done
  1788 ac_signal=0
  1790 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1791 rm -f -r conftest* confdefs.h
  1793 # Predefined preprocessor variables.
  1795 cat >>confdefs.h <<_ACEOF
  1796 #define PACKAGE_NAME "$PACKAGE_NAME"
  1797 _ACEOF
  1800 cat >>confdefs.h <<_ACEOF
  1801 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1802 _ACEOF
  1805 cat >>confdefs.h <<_ACEOF
  1806 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1807 _ACEOF
  1810 cat >>confdefs.h <<_ACEOF
  1811 #define PACKAGE_STRING "$PACKAGE_STRING"
  1812 _ACEOF
  1815 cat >>confdefs.h <<_ACEOF
  1816 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1817 _ACEOF
  1820 # Let the site file select an alternate cache file if it wants to.
  1821 # Prefer explicitly selected file to automatically selected ones.
  1822 if test -n "$CONFIG_SITE"; then
  1823   set x "$CONFIG_SITE"
  1824 elif test "x$prefix" != xNONE; then
  1825   set x "$prefix/share/config.site" "$prefix/etc/config.site"
  1826 else
  1827   set x "$ac_default_prefix/share/config.site" \
  1828 	"$ac_default_prefix/etc/config.site"
  1829 fi
  1830 shift
  1831 for ac_site_file
  1832 do
  1833   if test -r "$ac_site_file"; then
  1834     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1835 echo "$as_me: loading site script $ac_site_file" >&6;}
  1836     sed 's/^/| /' "$ac_site_file" >&5
  1837     . "$ac_site_file"
  1838   fi
  1839 done
  1841 if test -r "$cache_file"; then
  1842   # Some versions of bash will fail to source /dev/null (special
  1843   # files actually), so we avoid doing that.
  1844   if test -f "$cache_file"; then
  1845     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1846 echo "$as_me: loading cache $cache_file" >&6;}
  1847     case $cache_file in
  1848       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1849       *)                      . "./$cache_file";;
  1850     esac
  1851   fi
  1852 else
  1853   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1854 echo "$as_me: creating cache $cache_file" >&6;}
  1855   >$cache_file
  1856 fi
  1858 # Check that the precious variables saved in the cache have kept the same
  1859 # value.
  1860 ac_cache_corrupted=false
  1861 for ac_var in $ac_precious_vars; do
  1862   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1863   eval ac_new_set=\$ac_env_${ac_var}_set
  1864   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1865   eval ac_new_val=\$ac_env_${ac_var}_value
  1866   case $ac_old_set,$ac_new_set in
  1867     set,)
  1868       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1869 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1870       ac_cache_corrupted=: ;;
  1871     ,set)
  1872       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1873 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1874       ac_cache_corrupted=: ;;
  1875     ,);;
  1876     *)
  1877       if test "x$ac_old_val" != "x$ac_new_val"; then
  1878 	{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1879 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1880 	{ echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
  1881 echo "$as_me:   former value:  $ac_old_val" >&2;}
  1882 	{ echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
  1883 echo "$as_me:   current value: $ac_new_val" >&2;}
  1884 	ac_cache_corrupted=:
  1885       fi;;
  1886   esac
  1887   # Pass precious variables to config.status.
  1888   if test "$ac_new_set" = set; then
  1889     case $ac_new_val in
  1890     *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1891     *) ac_arg=$ac_var=$ac_new_val ;;
  1892     esac
  1893     case " $ac_configure_args " in
  1894       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1895       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1896     esac
  1897   fi
  1898 done
  1899 if $ac_cache_corrupted; then
  1900   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1901 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1902   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1903 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1904    { (exit 1); exit 1; }; }
  1905 fi
  1923 ac_ext=c
  1924 ac_cpp='$CPP $CPPFLAGS'
  1925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1930 am__api_version="1.9"
  1931 ac_aux_dir=
  1932 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1933   if test -f "$ac_dir/install-sh"; then
  1934     ac_aux_dir=$ac_dir
  1935     ac_install_sh="$ac_aux_dir/install-sh -c"
  1936     break
  1937   elif test -f "$ac_dir/install.sh"; then
  1938     ac_aux_dir=$ac_dir
  1939     ac_install_sh="$ac_aux_dir/install.sh -c"
  1940     break
  1941   elif test -f "$ac_dir/shtool"; then
  1942     ac_aux_dir=$ac_dir
  1943     ac_install_sh="$ac_aux_dir/shtool install -c"
  1944     break
  1945   fi
  1946 done
  1947 if test -z "$ac_aux_dir"; then
  1948   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1949 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1950    { (exit 1); exit 1; }; }
  1951 fi
  1953 # These three variables are undocumented and unsupported,
  1954 # and are intended to be withdrawn in a future Autoconf release.
  1955 # They can cause serious problems if a builder's source tree is in a directory
  1956 # whose full name contains unusual characters.
  1957 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1958 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1959 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1962 # Find a good install program.  We prefer a C program (faster),
  1963 # so one script is as good as another.  But avoid the broken or
  1964 # incompatible versions:
  1965 # SysV /etc/install, /usr/sbin/install
  1966 # SunOS /usr/etc/install
  1967 # IRIX /sbin/install
  1968 # AIX /bin/install
  1969 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1970 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1971 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1972 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1973 # OS/2's system install, which has a completely different semantic
  1974 # ./install, which can be erroneously created by make from ./install.sh.
  1975 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1976 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
  1977 if test -z "$INSTALL"; then
  1978 if test "${ac_cv_path_install+set}" = set; then
  1979   echo $ECHO_N "(cached) $ECHO_C" >&6
  1980 else
  1981   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1982 for as_dir in $PATH
  1983 do
  1984   IFS=$as_save_IFS
  1985   test -z "$as_dir" && as_dir=.
  1986   # Account for people who put trailing slashes in PATH elements.
  1987 case $as_dir/ in
  1988   ./ | .// | /cC/* | \
  1989   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  1990   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  1991   /usr/ucb/* ) ;;
  1992   *)
  1993     # OSF1 and SCO ODT 3.0 have their own names for install.
  1994     # Don't use installbsd from OSF since it installs stuff as root
  1995     # by default.
  1996     for ac_prog in ginstall scoinst install; do
  1997       for ac_exec_ext in '' $ac_executable_extensions; do
  1998 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  1999 	  if test $ac_prog = install &&
  2000 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2001 	    # AIX install.  It has an incompatible calling convention.
  2003 	  elif test $ac_prog = install &&
  2004 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2005 	    # program-specific install script used by HP pwplus--don't use.
  2007 	  else
  2008 	    ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2009 	    break 3
  2010 	  fi
  2011 	fi
  2012       done
  2013     done
  2014     ;;
  2015 esac
  2016 done
  2017 IFS=$as_save_IFS
  2020 fi
  2021   if test "${ac_cv_path_install+set}" = set; then
  2022     INSTALL=$ac_cv_path_install
  2023   else
  2024     # As a last resort, use the slow shell script.  Don't cache a
  2025     # value for INSTALL within a source directory, because that will
  2026     # break other packages using the cache if that directory is
  2027     # removed, or if the value is a relative name.
  2028     INSTALL=$ac_install_sh
  2029   fi
  2030 fi
  2031 { echo "$as_me:$LINENO: result: $INSTALL" >&5
  2032 echo "${ECHO_T}$INSTALL" >&6; }
  2034 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2035 # It thinks the first close brace ends the variable substitution.
  2036 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2038 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2040 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2042 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2043 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
  2044 # Just in case
  2045 sleep 1
  2046 echo timestamp > conftest.file
  2047 # Do `set' in a subshell so we don't clobber the current shell's
  2048 # arguments.  Must try -L first in case configure is actually a
  2049 # symlink; some systems play weird games with the mod time of symlinks
  2050 # (eg FreeBSD returns the mod time of the symlink's containing
  2051 # directory).
  2052 if (
  2053    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2054    if test "$*" = "X"; then
  2055       # -L didn't work.
  2056       set X `ls -t $srcdir/configure conftest.file`
  2057    fi
  2058    rm -f conftest.file
  2059    if test "$*" != "X $srcdir/configure conftest.file" \
  2060       && test "$*" != "X conftest.file $srcdir/configure"; then
  2062       # If neither matched, then we have a broken ls.  This can happen
  2063       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2064       # broken ls alias from the environment.  This has actually
  2065       # happened.  Such a system could not be considered "sane".
  2066       { { echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2067 alias in your environment" >&5
  2068 echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2069 alias in your environment" >&2;}
  2070    { (exit 1); exit 1; }; }
  2071    fi
  2073    test "$2" = conftest.file
  2075 then
  2076    # Ok.
  2078 else
  2079    { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2080 Check your system clock" >&5
  2081 echo "$as_me: error: newly created file is older than distributed files!
  2082 Check your system clock" >&2;}
  2083    { (exit 1); exit 1; }; }
  2084 fi
  2085 { echo "$as_me:$LINENO: result: yes" >&5
  2086 echo "${ECHO_T}yes" >&6; }
  2087 test "$program_prefix" != NONE &&
  2088   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2089 # Use a double $ so make ignores it.
  2090 test "$program_suffix" != NONE &&
  2091   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2092 # Double any \ or $.  echo might interpret backslashes.
  2093 # By default was `s,x,x', remove it if useless.
  2094 cat <<\_ACEOF >conftest.sed
  2095 s/[\\$]/&&/g;s/;s,x,x,$//
  2096 _ACEOF
  2097 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
  2098 rm -f conftest.sed
  2100 # expand $ac_aux_dir to an absolute path
  2101 am_aux_dir=`cd $ac_aux_dir && pwd`
  2103 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2104 # Use eval to expand $SHELL
  2105 if eval "$MISSING --run true"; then
  2106   am_missing_run="$MISSING --run "
  2107 else
  2108   am_missing_run=
  2109   { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2110 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2111 fi
  2113 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2114   # We used to keeping the `.' as first argument, in order to
  2115   # allow $(mkdir_p) to be used without argument.  As in
  2116   #   $(mkdir_p) $(somedir)
  2117   # where $(somedir) is conditionally defined.  However this is wrong
  2118   # for two reasons:
  2119   #  1. if the package is installed by a user who cannot write `.'
  2120   #     make install will fail,
  2121   #  2. the above comment should most certainly read
  2122   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2123   #     so it does not work when $(somedir) is undefined and
  2124   #     $(DESTDIR) is not.
  2125   #  To support the latter case, we have to write
  2126   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2127   #  so the `.' trick is pointless.
  2128   mkdir_p='mkdir -p --'
  2129 else
  2130   # On NextStep and OpenStep, the `mkdir' command does not
  2131   # recognize any option.  It will interpret all options as
  2132   # directories to create, and then abort because `.' already
  2133   # exists.
  2134   for d in ./-p ./--version;
  2135   do
  2136     test -d $d && rmdir $d
  2137   done
  2138   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2139   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2140     mkdir_p='$(mkinstalldirs)'
  2141   else
  2142     mkdir_p='$(install_sh) -d'
  2143   fi
  2144 fi
  2146 for ac_prog in gawk mawk nawk awk
  2147 do
  2148   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2149 set dummy $ac_prog; ac_word=$2
  2150 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2151 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2152 if test "${ac_cv_prog_AWK+set}" = set; then
  2153   echo $ECHO_N "(cached) $ECHO_C" >&6
  2154 else
  2155   if test -n "$AWK"; then
  2156   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2157 else
  2158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2159 for as_dir in $PATH
  2160 do
  2161   IFS=$as_save_IFS
  2162   test -z "$as_dir" && as_dir=.
  2163   for ac_exec_ext in '' $ac_executable_extensions; do
  2164   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2165     ac_cv_prog_AWK="$ac_prog"
  2166     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2167     break 2
  2168   fi
  2169 done
  2170 done
  2171 IFS=$as_save_IFS
  2173 fi
  2174 fi
  2175 AWK=$ac_cv_prog_AWK
  2176 if test -n "$AWK"; then
  2177   { echo "$as_me:$LINENO: result: $AWK" >&5
  2178 echo "${ECHO_T}$AWK" >&6; }
  2179 else
  2180   { echo "$as_me:$LINENO: result: no" >&5
  2181 echo "${ECHO_T}no" >&6; }
  2182 fi
  2185   test -n "$AWK" && break
  2186 done
  2188 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2189 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
  2190 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2191 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2192   echo $ECHO_N "(cached) $ECHO_C" >&6
  2193 else
  2194   cat >conftest.make <<\_ACEOF
  2195 SHELL = /bin/sh
  2196 all:
  2197 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2198 _ACEOF
  2199 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2200 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2201   *@@@%%%=?*=@@@%%%*)
  2202     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2203   *)
  2204     eval ac_cv_prog_make_${ac_make}_set=no;;
  2205 esac
  2206 rm -f conftest.make
  2207 fi
  2208 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2209   { echo "$as_me:$LINENO: result: yes" >&5
  2210 echo "${ECHO_T}yes" >&6; }
  2211   SET_MAKE=
  2212 else
  2213   { echo "$as_me:$LINENO: result: no" >&5
  2214 echo "${ECHO_T}no" >&6; }
  2215   SET_MAKE="MAKE=${MAKE-make}"
  2216 fi
  2218 rm -rf .tst 2>/dev/null
  2219 mkdir .tst 2>/dev/null
  2220 if test -d .tst; then
  2221   am__leading_dot=.
  2222 else
  2223   am__leading_dot=_
  2224 fi
  2225 rmdir .tst 2>/dev/null
  2227 # test to see if srcdir already configured
  2228 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2229    test -f $srcdir/config.status; then
  2230   { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2231 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2232    { (exit 1); exit 1; }; }
  2233 fi
  2235 # test whether we have cygpath
  2236 if test -z "$CYGPATH_W"; then
  2237   if (cygpath --version) >/dev/null 2>/dev/null; then
  2238     CYGPATH_W='cygpath -w'
  2239   else
  2240     CYGPATH_W=echo
  2241   fi
  2242 fi
  2245 # Define the identity of the package.
  2246  PACKAGE=lxdream
  2247  VERSION=0.9.1
  2250 cat >>confdefs.h <<_ACEOF
  2251 #define PACKAGE "$PACKAGE"
  2252 _ACEOF
  2255 cat >>confdefs.h <<_ACEOF
  2256 #define VERSION "$VERSION"
  2257 _ACEOF
  2259 # Some tools Automake needs.
  2261 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2264 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2267 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2270 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2273 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2275 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2277 # Installed binaries are usually stripped using `strip' when the user
  2278 # run `make install-strip'.  However `strip' might not be the right
  2279 # tool to use in cross-compilation environments, therefore Automake
  2280 # will honor the `STRIP' environment variable to overrule this program.
  2281 if test "$cross_compiling" != no; then
  2282   if test -n "$ac_tool_prefix"; then
  2283   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2284 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2285 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2286 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2287 if test "${ac_cv_prog_STRIP+set}" = set; then
  2288   echo $ECHO_N "(cached) $ECHO_C" >&6
  2289 else
  2290   if test -n "$STRIP"; then
  2291   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2292 else
  2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2294 for as_dir in $PATH
  2295 do
  2296   IFS=$as_save_IFS
  2297   test -z "$as_dir" && as_dir=.
  2298   for ac_exec_ext in '' $ac_executable_extensions; do
  2299   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2300     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2301     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2302     break 2
  2303   fi
  2304 done
  2305 done
  2306 IFS=$as_save_IFS
  2308 fi
  2309 fi
  2310 STRIP=$ac_cv_prog_STRIP
  2311 if test -n "$STRIP"; then
  2312   { echo "$as_me:$LINENO: result: $STRIP" >&5
  2313 echo "${ECHO_T}$STRIP" >&6; }
  2314 else
  2315   { echo "$as_me:$LINENO: result: no" >&5
  2316 echo "${ECHO_T}no" >&6; }
  2317 fi
  2320 fi
  2321 if test -z "$ac_cv_prog_STRIP"; then
  2322   ac_ct_STRIP=$STRIP
  2323   # Extract the first word of "strip", so it can be a program name with args.
  2324 set dummy strip; ac_word=$2
  2325 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2326 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2327 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2328   echo $ECHO_N "(cached) $ECHO_C" >&6
  2329 else
  2330   if test -n "$ac_ct_STRIP"; then
  2331   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2332 else
  2333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2334 for as_dir in $PATH
  2335 do
  2336   IFS=$as_save_IFS
  2337   test -z "$as_dir" && as_dir=.
  2338   for ac_exec_ext in '' $ac_executable_extensions; do
  2339   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2340     ac_cv_prog_ac_ct_STRIP="strip"
  2341     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2342     break 2
  2343   fi
  2344 done
  2345 done
  2346 IFS=$as_save_IFS
  2348 fi
  2349 fi
  2350 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2351 if test -n "$ac_ct_STRIP"; then
  2352   { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2353 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
  2354 else
  2355   { echo "$as_me:$LINENO: result: no" >&5
  2356 echo "${ECHO_T}no" >&6; }
  2357 fi
  2359   if test "x$ac_ct_STRIP" = x; then
  2360     STRIP=":"
  2361   else
  2362     case $cross_compiling:$ac_tool_warned in
  2363 yes:)
  2364 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2365 whose name does not start with the host triplet.  If you think this
  2366 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2367 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2368 whose name does not start with the host triplet.  If you think this
  2369 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2370 ac_tool_warned=yes ;;
  2371 esac
  2372     STRIP=$ac_ct_STRIP
  2373   fi
  2374 else
  2375   STRIP="$ac_cv_prog_STRIP"
  2376 fi
  2378 fi
  2379 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2381 # We need awk for the "check" target.  The system "awk" is bad on
  2382 # some platforms.
  2383 # Always define AMTAR for backward compatibility.
  2385 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2387 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2393 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2394 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
  2395     # Check whether --enable-maintainer-mode was given.
  2396 if test "${enable_maintainer_mode+set}" = set; then
  2397   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2398 else
  2399   USE_MAINTAINER_MODE=no
  2400 fi
  2402   { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2403 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
  2406 if test $USE_MAINTAINER_MODE = yes; then
  2407   MAINTAINER_MODE_TRUE=
  2408   MAINTAINER_MODE_FALSE='#'
  2409 else
  2410   MAINTAINER_MODE_TRUE='#'
  2411   MAINTAINER_MODE_FALSE=
  2412 fi
  2414   MAINT=$MAINTAINER_MODE_TRUE
  2417 ac_config_headers="$ac_config_headers config.h"
  2420 # Make sure we can run config.sub.
  2421 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  2422   { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  2423 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  2424    { (exit 1); exit 1; }; }
  2426 { echo "$as_me:$LINENO: checking build system type" >&5
  2427 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
  2428 if test "${ac_cv_build+set}" = set; then
  2429   echo $ECHO_N "(cached) $ECHO_C" >&6
  2430 else
  2431   ac_build_alias=$build_alias
  2432 test "x$ac_build_alias" = x &&
  2433   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2434 test "x$ac_build_alias" = x &&
  2435   { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  2436 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  2437    { (exit 1); exit 1; }; }
  2438 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2439   { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  2440 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  2441    { (exit 1); exit 1; }; }
  2443 fi
  2444 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  2445 echo "${ECHO_T}$ac_cv_build" >&6; }
  2446 case $ac_cv_build in
  2447 *-*-*) ;;
  2448 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  2449 echo "$as_me: error: invalid value of canonical build" >&2;}
  2450    { (exit 1); exit 1; }; };;
  2451 esac
  2452 build=$ac_cv_build
  2453 ac_save_IFS=$IFS; IFS='-'
  2454 set x $ac_cv_build
  2455 shift
  2456 build_cpu=$1
  2457 build_vendor=$2
  2458 shift; shift
  2459 # Remember, the first character of IFS is used to create $*,
  2460 # except with old shells:
  2461 build_os=$*
  2462 IFS=$ac_save_IFS
  2463 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2466 { echo "$as_me:$LINENO: checking host system type" >&5
  2467 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
  2468 if test "${ac_cv_host+set}" = set; then
  2469   echo $ECHO_N "(cached) $ECHO_C" >&6
  2470 else
  2471   if test "x$host_alias" = x; then
  2472   ac_cv_host=$ac_cv_build
  2473 else
  2474   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2475     { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  2476 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  2477    { (exit 1); exit 1; }; }
  2478 fi
  2480 fi
  2481 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  2482 echo "${ECHO_T}$ac_cv_host" >&6; }
  2483 case $ac_cv_host in
  2484 *-*-*) ;;
  2485 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  2486 echo "$as_me: error: invalid value of canonical host" >&2;}
  2487    { (exit 1); exit 1; }; };;
  2488 esac
  2489 host=$ac_cv_host
  2490 ac_save_IFS=$IFS; IFS='-'
  2491 set x $ac_cv_host
  2492 shift
  2493 host_cpu=$1
  2494 host_vendor=$2
  2495 shift; shift
  2496 # Remember, the first character of IFS is used to create $*,
  2497 # except with old shells:
  2498 host_os=$*
  2499 IFS=$ac_save_IFS
  2500 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2512 DEPDIR="${am__leading_dot}deps"
  2514 ac_config_commands="$ac_config_commands depfiles"
  2517 am_make=${MAKE-make}
  2518 cat > confinc << 'END'
  2519 am__doit:
  2520 	@echo done
  2521 .PHONY: am__doit
  2522 END
  2523 # If we don't find an include directive, just comment out the code.
  2524 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2525 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
  2526 am__include="#"
  2527 am__quote=
  2528 _am_result=none
  2529 # First try GNU make style include.
  2530 echo "include confinc" > confmf
  2531 # We grep out `Entering directory' and `Leaving directory'
  2532 # messages which can occur if `w' ends up in MAKEFLAGS.
  2533 # In particular we don't look at `^make:' because GNU make might
  2534 # be invoked under some other name (usually "gmake"), in which
  2535 # case it prints its new name instead of `make'.
  2536 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2537    am__include=include
  2538    am__quote=
  2539    _am_result=GNU
  2540 fi
  2541 # Now try BSD make style include.
  2542 if test "$am__include" = "#"; then
  2543    echo '.include "confinc"' > confmf
  2544    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2545       am__include=.include
  2546       am__quote="\""
  2547       _am_result=BSD
  2548    fi
  2549 fi
  2552 { echo "$as_me:$LINENO: result: $_am_result" >&5
  2553 echo "${ECHO_T}$_am_result" >&6; }
  2554 rm -f confinc confmf
  2556 # Check whether --enable-dependency-tracking was given.
  2557 if test "${enable_dependency_tracking+set}" = set; then
  2558   enableval=$enable_dependency_tracking;
  2559 fi
  2561 if test "x$enable_dependency_tracking" != xno; then
  2562   am_depcomp="$ac_aux_dir/depcomp"
  2563   AMDEPBACKSLASH='\'
  2564 fi
  2567 if test "x$enable_dependency_tracking" != xno; then
  2568   AMDEP_TRUE=
  2569   AMDEP_FALSE='#'
  2570 else
  2571   AMDEP_TRUE='#'
  2572   AMDEP_FALSE=
  2573 fi
  2577 ac_ext=c
  2578 ac_cpp='$CPP $CPPFLAGS'
  2579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2582 if test -n "$ac_tool_prefix"; then
  2583   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2584 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2585 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2587 if test "${ac_cv_prog_CC+set}" = set; then
  2588   echo $ECHO_N "(cached) $ECHO_C" >&6
  2589 else
  2590   if test -n "$CC"; then
  2591   ac_cv_prog_CC="$CC" # Let the user override the test.
  2592 else
  2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2594 for as_dir in $PATH
  2595 do
  2596   IFS=$as_save_IFS
  2597   test -z "$as_dir" && as_dir=.
  2598   for ac_exec_ext in '' $ac_executable_extensions; do
  2599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2600     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2601     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2602     break 2
  2603   fi
  2604 done
  2605 done
  2606 IFS=$as_save_IFS
  2608 fi
  2609 fi
  2610 CC=$ac_cv_prog_CC
  2611 if test -n "$CC"; then
  2612   { echo "$as_me:$LINENO: result: $CC" >&5
  2613 echo "${ECHO_T}$CC" >&6; }
  2614 else
  2615   { echo "$as_me:$LINENO: result: no" >&5
  2616 echo "${ECHO_T}no" >&6; }
  2617 fi
  2620 fi
  2621 if test -z "$ac_cv_prog_CC"; then
  2622   ac_ct_CC=$CC
  2623   # Extract the first word of "gcc", so it can be a program name with args.
  2624 set dummy gcc; ac_word=$2
  2625 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2627 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2628   echo $ECHO_N "(cached) $ECHO_C" >&6
  2629 else
  2630   if test -n "$ac_ct_CC"; then
  2631   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2632 else
  2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2634 for as_dir in $PATH
  2635 do
  2636   IFS=$as_save_IFS
  2637   test -z "$as_dir" && as_dir=.
  2638   for ac_exec_ext in '' $ac_executable_extensions; do
  2639   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2640     ac_cv_prog_ac_ct_CC="gcc"
  2641     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2642     break 2
  2643   fi
  2644 done
  2645 done
  2646 IFS=$as_save_IFS
  2648 fi
  2649 fi
  2650 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2651 if test -n "$ac_ct_CC"; then
  2652   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2653 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2654 else
  2655   { echo "$as_me:$LINENO: result: no" >&5
  2656 echo "${ECHO_T}no" >&6; }
  2657 fi
  2659   if test "x$ac_ct_CC" = x; then
  2660     CC=""
  2661   else
  2662     case $cross_compiling:$ac_tool_warned in
  2663 yes:)
  2664 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2665 whose name does not start with the host triplet.  If you think this
  2666 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2667 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2668 whose name does not start with the host triplet.  If you think this
  2669 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2670 ac_tool_warned=yes ;;
  2671 esac
  2672     CC=$ac_ct_CC
  2673   fi
  2674 else
  2675   CC="$ac_cv_prog_CC"
  2676 fi
  2678 if test -z "$CC"; then
  2679           if test -n "$ac_tool_prefix"; then
  2680     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2681 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2684 if test "${ac_cv_prog_CC+set}" = set; then
  2685   echo $ECHO_N "(cached) $ECHO_C" >&6
  2686 else
  2687   if test -n "$CC"; then
  2688   ac_cv_prog_CC="$CC" # Let the user override the test.
  2689 else
  2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2691 for as_dir in $PATH
  2692 do
  2693   IFS=$as_save_IFS
  2694   test -z "$as_dir" && as_dir=.
  2695   for ac_exec_ext in '' $ac_executable_extensions; do
  2696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2697     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2698     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2699     break 2
  2700   fi
  2701 done
  2702 done
  2703 IFS=$as_save_IFS
  2705 fi
  2706 fi
  2707 CC=$ac_cv_prog_CC
  2708 if test -n "$CC"; then
  2709   { echo "$as_me:$LINENO: result: $CC" >&5
  2710 echo "${ECHO_T}$CC" >&6; }
  2711 else
  2712   { echo "$as_me:$LINENO: result: no" >&5
  2713 echo "${ECHO_T}no" >&6; }
  2714 fi
  2717   fi
  2718 fi
  2719 if test -z "$CC"; then
  2720   # Extract the first word of "cc", so it can be a program name with args.
  2721 set dummy cc; ac_word=$2
  2722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2724 if test "${ac_cv_prog_CC+set}" = set; then
  2725   echo $ECHO_N "(cached) $ECHO_C" >&6
  2726 else
  2727   if test -n "$CC"; then
  2728   ac_cv_prog_CC="$CC" # Let the user override the test.
  2729 else
  2730   ac_prog_rejected=no
  2731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2732 for as_dir in $PATH
  2733 do
  2734   IFS=$as_save_IFS
  2735   test -z "$as_dir" && as_dir=.
  2736   for ac_exec_ext in '' $ac_executable_extensions; do
  2737   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2738     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2739        ac_prog_rejected=yes
  2740        continue
  2741      fi
  2742     ac_cv_prog_CC="cc"
  2743     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2744     break 2
  2745   fi
  2746 done
  2747 done
  2748 IFS=$as_save_IFS
  2750 if test $ac_prog_rejected = yes; then
  2751   # We found a bogon in the path, so make sure we never use it.
  2752   set dummy $ac_cv_prog_CC
  2753   shift
  2754   if test $# != 0; then
  2755     # We chose a different compiler from the bogus one.
  2756     # However, it has the same basename, so the bogon will be chosen
  2757     # first if we set CC to just the basename; use the full file name.
  2758     shift
  2759     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2760   fi
  2761 fi
  2762 fi
  2763 fi
  2764 CC=$ac_cv_prog_CC
  2765 if test -n "$CC"; then
  2766   { echo "$as_me:$LINENO: result: $CC" >&5
  2767 echo "${ECHO_T}$CC" >&6; }
  2768 else
  2769   { echo "$as_me:$LINENO: result: no" >&5
  2770 echo "${ECHO_T}no" >&6; }
  2771 fi
  2774 fi
  2775 if test -z "$CC"; then
  2776   if test -n "$ac_tool_prefix"; then
  2777   for ac_prog in cl.exe
  2778   do
  2779     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2781 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2782 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2783 if test "${ac_cv_prog_CC+set}" = set; then
  2784   echo $ECHO_N "(cached) $ECHO_C" >&6
  2785 else
  2786   if test -n "$CC"; then
  2787   ac_cv_prog_CC="$CC" # Let the user override the test.
  2788 else
  2789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2790 for as_dir in $PATH
  2791 do
  2792   IFS=$as_save_IFS
  2793   test -z "$as_dir" && as_dir=.
  2794   for ac_exec_ext in '' $ac_executable_extensions; do
  2795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2796     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2797     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2798     break 2
  2799   fi
  2800 done
  2801 done
  2802 IFS=$as_save_IFS
  2804 fi
  2805 fi
  2806 CC=$ac_cv_prog_CC
  2807 if test -n "$CC"; then
  2808   { echo "$as_me:$LINENO: result: $CC" >&5
  2809 echo "${ECHO_T}$CC" >&6; }
  2810 else
  2811   { echo "$as_me:$LINENO: result: no" >&5
  2812 echo "${ECHO_T}no" >&6; }
  2813 fi
  2816     test -n "$CC" && break
  2817   done
  2818 fi
  2819 if test -z "$CC"; then
  2820   ac_ct_CC=$CC
  2821   for ac_prog in cl.exe
  2822 do
  2823   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2824 set dummy $ac_prog; ac_word=$2
  2825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  2826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  2827 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2828   echo $ECHO_N "(cached) $ECHO_C" >&6
  2829 else
  2830   if test -n "$ac_ct_CC"; then
  2831   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2832 else
  2833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2834 for as_dir in $PATH
  2835 do
  2836   IFS=$as_save_IFS
  2837   test -z "$as_dir" && as_dir=.
  2838   for ac_exec_ext in '' $ac_executable_extensions; do
  2839   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2840     ac_cv_prog_ac_ct_CC="$ac_prog"
  2841     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2842     break 2
  2843   fi
  2844 done
  2845 done
  2846 IFS=$as_save_IFS
  2848 fi
  2849 fi
  2850 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2851 if test -n "$ac_ct_CC"; then
  2852   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2853 echo "${ECHO_T}$ac_ct_CC" >&6; }
  2854 else
  2855   { echo "$as_me:$LINENO: result: no" >&5
  2856 echo "${ECHO_T}no" >&6; }
  2857 fi
  2860   test -n "$ac_ct_CC" && break
  2861 done
  2863   if test "x$ac_ct_CC" = x; then
  2864     CC=""
  2865   else
  2866     case $cross_compiling:$ac_tool_warned in
  2867 yes:)
  2868 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2869 whose name does not start with the host triplet.  If you think this
  2870 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2871 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2872 whose name does not start with the host triplet.  If you think this
  2873 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2874 ac_tool_warned=yes ;;
  2875 esac
  2876     CC=$ac_ct_CC
  2877   fi
  2878 fi
  2880 fi
  2883 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2884 See \`config.log' for more details." >&5
  2885 echo "$as_me: error: no acceptable C compiler found in \$PATH
  2886 See \`config.log' for more details." >&2;}
  2887    { (exit 1); exit 1; }; }
  2889 # Provide some information about the compiler.
  2890 echo "$as_me:$LINENO: checking for C compiler version" >&5
  2891 ac_compiler=`set X $ac_compile; echo $2`
  2892 { (ac_try="$ac_compiler --version >&5"
  2893 case "(($ac_try" in
  2894   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2895   *) ac_try_echo=$ac_try;;
  2896 esac
  2897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2898   (eval "$ac_compiler --version >&5") 2>&5
  2899   ac_status=$?
  2900   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2901   (exit $ac_status); }
  2902 { (ac_try="$ac_compiler -v >&5"
  2903 case "(($ac_try" in
  2904   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2905   *) ac_try_echo=$ac_try;;
  2906 esac
  2907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2908   (eval "$ac_compiler -v >&5") 2>&5
  2909   ac_status=$?
  2910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2911   (exit $ac_status); }
  2912 { (ac_try="$ac_compiler -V >&5"
  2913 case "(($ac_try" in
  2914   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2915   *) ac_try_echo=$ac_try;;
  2916 esac
  2917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2918   (eval "$ac_compiler -V >&5") 2>&5
  2919   ac_status=$?
  2920   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2921   (exit $ac_status); }
  2923 cat >conftest.$ac_ext <<_ACEOF
  2924 /* confdefs.h.  */
  2925 _ACEOF
  2926 cat confdefs.h >>conftest.$ac_ext
  2927 cat >>conftest.$ac_ext <<_ACEOF
  2928 /* end confdefs.h.  */
  2930 int
  2931 main ()
  2935   return 0;
  2937 _ACEOF
  2938 ac_clean_files_save=$ac_clean_files
  2939 ac_clean_files="$ac_clean_files a.out a.exe b.out"
  2940 # Try to create an executable without -o first, disregard a.out.
  2941 # It will help us diagnose broken compilers, and finding out an intuition
  2942 # of exeext.
  2943 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2944 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
  2945 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2947 # List of possible output files, starting from the most likely.
  2948 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
  2949 # only as a last resort.  b.out is created by i960 compilers.
  2950 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
  2952 # The IRIX 6 linker writes into existing files which may not be
  2953 # executable, retaining their permissions.  Remove them first so a
  2954 # subsequent execution test works.
  2955 ac_rmfiles=
  2956 for ac_file in $ac_files
  2957 do
  2958   case $ac_file in
  2959     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  2960     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2961   esac
  2962 done
  2963 rm -f $ac_rmfiles
  2965 if { (ac_try="$ac_link_default"
  2966 case "(($ac_try" in
  2967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2968   *) ac_try_echo=$ac_try;;
  2969 esac
  2970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  2971   (eval "$ac_link_default") 2>&5
  2972   ac_status=$?
  2973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2974   (exit $ac_status); }; then
  2975   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2976 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2977 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2978 # so that the user can short-circuit this test for compilers unknown to
  2979 # Autoconf.
  2980 for ac_file in $ac_files ''
  2981 do
  2982   test -f "$ac_file" || continue
  2983   case $ac_file in
  2984     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
  2985 	;;
  2986     [ab].out )
  2987 	# We found the default executable, but exeext='' is most
  2988 	# certainly right.
  2989 	break;;
  2990     *.* )
  2991         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2992 	then :; else
  2993 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2994 	fi
  2995 	# We set ac_cv_exeext here because the later test for it is not
  2996 	# safe: cross compilers may not add the suffix if given an `-o'
  2997 	# argument, so we may need to know it at that point already.
  2998 	# Even if this section looks crufty: it has the advantage of
  2999 	# actually working.
  3000 	break;;
  3001     * )
  3002 	break;;
  3003   esac
  3004 done
  3005 test "$ac_cv_exeext" = no && ac_cv_exeext=
  3007 else
  3008   ac_file=''
  3009 fi
  3011 { echo "$as_me:$LINENO: result: $ac_file" >&5
  3012 echo "${ECHO_T}$ac_file" >&6; }
  3013 if test -z "$ac_file"; then
  3014   echo "$as_me: failed program was:" >&5
  3015 sed 's/^/| /' conftest.$ac_ext >&5
  3017 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
  3018 See \`config.log' for more details." >&5
  3019 echo "$as_me: error: C compiler cannot create executables
  3020 See \`config.log' for more details." >&2;}
  3021    { (exit 77); exit 77; }; }
  3022 fi
  3024 ac_exeext=$ac_cv_exeext
  3026 # Check that the compiler produces executables we can run.  If not, either
  3027 # the compiler is broken, or we cross compile.
  3028 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  3029 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
  3030 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  3031 # If not cross compiling, check that we can run a simple program.
  3032 if test "$cross_compiling" != yes; then
  3033   if { ac_try='./$ac_file'
  3034   { (case "(($ac_try" in
  3035   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3036   *) ac_try_echo=$ac_try;;
  3037 esac
  3038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3039   (eval "$ac_try") 2>&5
  3040   ac_status=$?
  3041   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3042   (exit $ac_status); }; }; then
  3043     cross_compiling=no
  3044   else
  3045     if test "$cross_compiling" = maybe; then
  3046 	cross_compiling=yes
  3047     else
  3048 	{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3049 If you meant to cross compile, use \`--host'.
  3050 See \`config.log' for more details." >&5
  3051 echo "$as_me: error: cannot run C compiled programs.
  3052 If you meant to cross compile, use \`--host'.
  3053 See \`config.log' for more details." >&2;}
  3054    { (exit 1); exit 1; }; }
  3055     fi
  3056   fi
  3057 fi
  3058 { echo "$as_me:$LINENO: result: yes" >&5
  3059 echo "${ECHO_T}yes" >&6; }
  3061 rm -f a.out a.exe conftest$ac_cv_exeext b.out
  3062 ac_clean_files=$ac_clean_files_save
  3063 # Check that the compiler produces executables we can run.  If not, either
  3064 # the compiler is broken, or we cross compile.
  3065 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3066 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
  3067 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3068 echo "${ECHO_T}$cross_compiling" >&6; }
  3070 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3071 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
  3072 if { (ac_try="$ac_link"
  3073 case "(($ac_try" in
  3074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3075   *) ac_try_echo=$ac_try;;
  3076 esac
  3077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3078   (eval "$ac_link") 2>&5
  3079   ac_status=$?
  3080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3081   (exit $ac_status); }; then
  3082   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3083 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3084 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3085 # `rm'.
  3086 for ac_file in conftest.exe conftest conftest.*; do
  3087   test -f "$ac_file" || continue
  3088   case $ac_file in
  3089     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
  3090     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3091 	  break;;
  3092     * ) break;;
  3093   esac
  3094 done
  3095 else
  3096   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3097 See \`config.log' for more details." >&5
  3098 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3099 See \`config.log' for more details." >&2;}
  3100    { (exit 1); exit 1; }; }
  3101 fi
  3103 rm -f conftest$ac_cv_exeext
  3104 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3105 echo "${ECHO_T}$ac_cv_exeext" >&6; }
  3107 rm -f conftest.$ac_ext
  3108 EXEEXT=$ac_cv_exeext
  3109 ac_exeext=$EXEEXT
  3110 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3111 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
  3112 if test "${ac_cv_objext+set}" = set; then
  3113   echo $ECHO_N "(cached) $ECHO_C" >&6
  3114 else
  3115   cat >conftest.$ac_ext <<_ACEOF
  3116 /* confdefs.h.  */
  3117 _ACEOF
  3118 cat confdefs.h >>conftest.$ac_ext
  3119 cat >>conftest.$ac_ext <<_ACEOF
  3120 /* end confdefs.h.  */
  3122 int
  3123 main ()
  3127   return 0;
  3129 _ACEOF
  3130 rm -f conftest.o conftest.obj
  3131 if { (ac_try="$ac_compile"
  3132 case "(($ac_try" in
  3133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3134   *) ac_try_echo=$ac_try;;
  3135 esac
  3136 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3137   (eval "$ac_compile") 2>&5
  3138   ac_status=$?
  3139   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3140   (exit $ac_status); }; then
  3141   for ac_file in conftest.o conftest.obj conftest.*; do
  3142   test -f "$ac_file" || continue;
  3143   case $ac_file in
  3144     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
  3145     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3146        break;;
  3147   esac
  3148 done
  3149 else
  3150   echo "$as_me: failed program was:" >&5
  3151 sed 's/^/| /' conftest.$ac_ext >&5
  3153 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3154 See \`config.log' for more details." >&5
  3155 echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3156 See \`config.log' for more details." >&2;}
  3157    { (exit 1); exit 1; }; }
  3158 fi
  3160 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3161 fi
  3162 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3163 echo "${ECHO_T}$ac_cv_objext" >&6; }
  3164 OBJEXT=$ac_cv_objext
  3165 ac_objext=$OBJEXT
  3166 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3167 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  3168 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3169   echo $ECHO_N "(cached) $ECHO_C" >&6
  3170 else
  3171   cat >conftest.$ac_ext <<_ACEOF
  3172 /* confdefs.h.  */
  3173 _ACEOF
  3174 cat confdefs.h >>conftest.$ac_ext
  3175 cat >>conftest.$ac_ext <<_ACEOF
  3176 /* end confdefs.h.  */
  3178 int
  3179 main ()
  3181 #ifndef __GNUC__
  3182        choke me
  3183 #endif
  3186   return 0;
  3188 _ACEOF
  3189 rm -f conftest.$ac_objext
  3190 if { (ac_try="$ac_compile"
  3191 case "(($ac_try" in
  3192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3193   *) ac_try_echo=$ac_try;;
  3194 esac
  3195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3196   (eval "$ac_compile") 2>conftest.er1
  3197   ac_status=$?
  3198   grep -v '^ *+' conftest.er1 >conftest.err
  3199   rm -f conftest.er1
  3200   cat conftest.err >&5
  3201   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3202   (exit $ac_status); } && {
  3203 	 test -z "$ac_c_werror_flag" ||
  3204 	 test ! -s conftest.err
  3205        } && test -s conftest.$ac_objext; then
  3206   ac_compiler_gnu=yes
  3207 else
  3208   echo "$as_me: failed program was:" >&5
  3209 sed 's/^/| /' conftest.$ac_ext >&5
  3211 	ac_compiler_gnu=no
  3212 fi
  3214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3215 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3217 fi
  3218 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3219 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  3220 GCC=`test $ac_compiler_gnu = yes && echo yes`
  3221 ac_test_CFLAGS=${CFLAGS+set}
  3222 ac_save_CFLAGS=$CFLAGS
  3223 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3224 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  3225 if test "${ac_cv_prog_cc_g+set}" = set; then
  3226   echo $ECHO_N "(cached) $ECHO_C" >&6
  3227 else
  3228   ac_save_c_werror_flag=$ac_c_werror_flag
  3229    ac_c_werror_flag=yes
  3230    ac_cv_prog_cc_g=no
  3231    CFLAGS="-g"
  3232    cat >conftest.$ac_ext <<_ACEOF
  3233 /* confdefs.h.  */
  3234 _ACEOF
  3235 cat confdefs.h >>conftest.$ac_ext
  3236 cat >>conftest.$ac_ext <<_ACEOF
  3237 /* end confdefs.h.  */
  3239 int
  3240 main ()
  3244   return 0;
  3246 _ACEOF
  3247 rm -f conftest.$ac_objext
  3248 if { (ac_try="$ac_compile"
  3249 case "(($ac_try" in
  3250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3251   *) ac_try_echo=$ac_try;;
  3252 esac
  3253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3254   (eval "$ac_compile") 2>conftest.er1
  3255   ac_status=$?
  3256   grep -v '^ *+' conftest.er1 >conftest.err
  3257   rm -f conftest.er1
  3258   cat conftest.err >&5
  3259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3260   (exit $ac_status); } && {
  3261 	 test -z "$ac_c_werror_flag" ||
  3262 	 test ! -s conftest.err
  3263        } && test -s conftest.$ac_objext; then
  3264   ac_cv_prog_cc_g=yes
  3265 else
  3266   echo "$as_me: failed program was:" >&5
  3267 sed 's/^/| /' conftest.$ac_ext >&5
  3269 	CFLAGS=""
  3270       cat >conftest.$ac_ext <<_ACEOF
  3271 /* confdefs.h.  */
  3272 _ACEOF
  3273 cat confdefs.h >>conftest.$ac_ext
  3274 cat >>conftest.$ac_ext <<_ACEOF
  3275 /* end confdefs.h.  */
  3277 int
  3278 main ()
  3282   return 0;
  3284 _ACEOF
  3285 rm -f conftest.$ac_objext
  3286 if { (ac_try="$ac_compile"
  3287 case "(($ac_try" in
  3288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3289   *) ac_try_echo=$ac_try;;
  3290 esac
  3291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3292   (eval "$ac_compile") 2>conftest.er1
  3293   ac_status=$?
  3294   grep -v '^ *+' conftest.er1 >conftest.err
  3295   rm -f conftest.er1
  3296   cat conftest.err >&5
  3297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3298   (exit $ac_status); } && {
  3299 	 test -z "$ac_c_werror_flag" ||
  3300 	 test ! -s conftest.err
  3301        } && test -s conftest.$ac_objext; then
  3303 else
  3304   echo "$as_me: failed program was:" >&5
  3305 sed 's/^/| /' conftest.$ac_ext >&5
  3307 	ac_c_werror_flag=$ac_save_c_werror_flag
  3308 	 CFLAGS="-g"
  3309 	 cat >conftest.$ac_ext <<_ACEOF
  3310 /* confdefs.h.  */
  3311 _ACEOF
  3312 cat confdefs.h >>conftest.$ac_ext
  3313 cat >>conftest.$ac_ext <<_ACEOF
  3314 /* end confdefs.h.  */
  3316 int
  3317 main ()
  3321   return 0;
  3323 _ACEOF
  3324 rm -f conftest.$ac_objext
  3325 if { (ac_try="$ac_compile"
  3326 case "(($ac_try" in
  3327   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3328   *) ac_try_echo=$ac_try;;
  3329 esac
  3330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3331   (eval "$ac_compile") 2>conftest.er1
  3332   ac_status=$?
  3333   grep -v '^ *+' conftest.er1 >conftest.err
  3334   rm -f conftest.er1
  3335   cat conftest.err >&5
  3336   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3337   (exit $ac_status); } && {
  3338 	 test -z "$ac_c_werror_flag" ||
  3339 	 test ! -s conftest.err
  3340        } && test -s conftest.$ac_objext; then
  3341   ac_cv_prog_cc_g=yes
  3342 else
  3343   echo "$as_me: failed program was:" >&5
  3344 sed 's/^/| /' conftest.$ac_ext >&5
  3347 fi
  3349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3350 fi
  3352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3353 fi
  3355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3356    ac_c_werror_flag=$ac_save_c_werror_flag
  3357 fi
  3358 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3359 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  3360 if test "$ac_test_CFLAGS" = set; then
  3361   CFLAGS=$ac_save_CFLAGS
  3362 elif test $ac_cv_prog_cc_g = yes; then
  3363   if test "$GCC" = yes; then
  3364     CFLAGS="-g -O2"
  3365   else
  3366     CFLAGS="-g"
  3367   fi
  3368 else
  3369   if test "$GCC" = yes; then
  3370     CFLAGS="-O2"
  3371   else
  3372     CFLAGS=
  3373   fi
  3374 fi
  3375 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3376 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  3377 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3378   echo $ECHO_N "(cached) $ECHO_C" >&6
  3379 else
  3380   ac_cv_prog_cc_c89=no
  3381 ac_save_CC=$CC
  3382 cat >conftest.$ac_ext <<_ACEOF
  3383 /* confdefs.h.  */
  3384 _ACEOF
  3385 cat confdefs.h >>conftest.$ac_ext
  3386 cat >>conftest.$ac_ext <<_ACEOF
  3387 /* end confdefs.h.  */
  3388 #include <stdarg.h>
  3389 #include <stdio.h>
  3390 #include <sys/types.h>
  3391 #include <sys/stat.h>
  3392 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3393 struct buf { int x; };
  3394 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3395 static char *e (p, i)
  3396      char **p;
  3397      int i;
  3399   return p[i];
  3401 static char *f (char * (*g) (char **, int), char **p, ...)
  3403   char *s;
  3404   va_list v;
  3405   va_start (v,p);
  3406   s = g (p, va_arg (v,int));
  3407   va_end (v);
  3408   return s;
  3411 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3412    function prototypes and stuff, but not '\xHH' hex character constants.
  3413    These don't provoke an error unfortunately, instead are silently treated
  3414    as 'x'.  The following induces an error, until -std is added to get
  3415    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3416    array size at least.  It's necessary to write '\x00'==0 to get something
  3417    that's true only with -std.  */
  3418 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3420 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3421    inside strings and character constants.  */
  3422 #define FOO(x) 'x'
  3423 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3425 int test (int i, double x);
  3426 struct s1 {int (*f) (int a);};
  3427 struct s2 {int (*f) (double a);};
  3428 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3429 int argc;
  3430 char **argv;
  3431 int
  3432 main ()
  3434 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3436   return 0;
  3438 _ACEOF
  3439 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3440 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3441 do
  3442   CC="$ac_save_CC $ac_arg"
  3443   rm -f conftest.$ac_objext
  3444 if { (ac_try="$ac_compile"
  3445 case "(($ac_try" in
  3446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3447   *) ac_try_echo=$ac_try;;
  3448 esac
  3449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3450   (eval "$ac_compile") 2>conftest.er1
  3451   ac_status=$?
  3452   grep -v '^ *+' conftest.er1 >conftest.err
  3453   rm -f conftest.er1
  3454   cat conftest.err >&5
  3455   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3456   (exit $ac_status); } && {
  3457 	 test -z "$ac_c_werror_flag" ||
  3458 	 test ! -s conftest.err
  3459        } && test -s conftest.$ac_objext; then
  3460   ac_cv_prog_cc_c89=$ac_arg
  3461 else
  3462   echo "$as_me: failed program was:" >&5
  3463 sed 's/^/| /' conftest.$ac_ext >&5
  3466 fi
  3468 rm -f core conftest.err conftest.$ac_objext
  3469   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3470 done
  3471 rm -f conftest.$ac_ext
  3472 CC=$ac_save_CC
  3474 fi
  3475 # AC_CACHE_VAL
  3476 case "x$ac_cv_prog_cc_c89" in
  3477   x)
  3478     { echo "$as_me:$LINENO: result: none needed" >&5
  3479 echo "${ECHO_T}none needed" >&6; } ;;
  3480   xno)
  3481     { echo "$as_me:$LINENO: result: unsupported" >&5
  3482 echo "${ECHO_T}unsupported" >&6; } ;;
  3483   *)
  3484     CC="$CC $ac_cv_prog_cc_c89"
  3485     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3486 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  3487 esac
  3490 ac_ext=c
  3491 ac_cpp='$CPP $CPPFLAGS'
  3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3496 depcc="$CC"   am_compiler_list=
  3498 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3499 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  3500 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3501   echo $ECHO_N "(cached) $ECHO_C" >&6
  3502 else
  3503   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3504   # We make a subdir and do the tests there.  Otherwise we can end up
  3505   # making bogus files that we don't know about and never remove.  For
  3506   # instance it was reported that on HP-UX the gcc test will end up
  3507   # making a dummy file named `D' -- because `-MD' means `put the output
  3508   # in D'.
  3509   mkdir conftest.dir
  3510   # Copy depcomp to subdir because otherwise we won't find it if we're
  3511   # using a relative directory.
  3512   cp "$am_depcomp" conftest.dir
  3513   cd conftest.dir
  3514   # We will build objects and dependencies in a subdirectory because
  3515   # it helps to detect inapplicable dependency modes.  For instance
  3516   # both Tru64's cc and ICC support -MD to output dependencies as a
  3517   # side effect of compilation, but ICC will put the dependencies in
  3518   # the current directory while Tru64 will put them in the object
  3519   # directory.
  3520   mkdir sub
  3522   am_cv_CC_dependencies_compiler_type=none
  3523   if test "$am_compiler_list" = ""; then
  3524      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3525   fi
  3526   for depmode in $am_compiler_list; do
  3527     # Setup a source with many dependencies, because some compilers
  3528     # like to wrap large dependency lists on column 80 (with \), and
  3529     # we should not choose a depcomp mode which is confused by this.
  3531     # We need to recreate these files for each test, as the compiler may
  3532     # overwrite some of them when testing with obscure command lines.
  3533     # This happens at least with the AIX C compiler.
  3534     : > sub/conftest.c
  3535     for i in 1 2 3 4 5 6; do
  3536       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3537       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3538       # Solaris 8's {/usr,}/bin/sh.
  3539       touch sub/conftst$i.h
  3540     done
  3541     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3543     case $depmode in
  3544     nosideeffect)
  3545       # after this tag, mechanisms are not by side-effect, so they'll
  3546       # only be used when explicitly requested
  3547       if test "x$enable_dependency_tracking" = xyes; then
  3548 	continue
  3549       else
  3550 	break
  3551       fi
  3552       ;;
  3553     none) break ;;
  3554     esac
  3555     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3556     # mode.  It turns out that the SunPro C++ compiler does not properly
  3557     # handle `-M -o', and we need to detect this.
  3558     if depmode=$depmode \
  3559        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3560        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3561        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3562          >/dev/null 2>conftest.err &&
  3563        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3564        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3565        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3566       # icc doesn't choke on unknown options, it will just issue warnings
  3567       # or remarks (even with -Werror).  So we grep stderr for any message
  3568       # that says an option was ignored or not supported.
  3569       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3570       #   icc: Command line warning: ignoring option '-M'; no argument required
  3571       # The diagnosis changed in icc 8.0:
  3572       #   icc: Command line remark: option '-MP' not supported
  3573       if (grep 'ignoring option' conftest.err ||
  3574           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3575         am_cv_CC_dependencies_compiler_type=$depmode
  3576         break
  3577       fi
  3578     fi
  3579   done
  3581   cd ..
  3582   rm -rf conftest.dir
  3583 else
  3584   am_cv_CC_dependencies_compiler_type=none
  3585 fi
  3587 fi
  3588 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3589 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  3590 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3594 if
  3595   test "x$enable_dependency_tracking" != xno \
  3596   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3597   am__fastdepCC_TRUE=
  3598   am__fastdepCC_FALSE='#'
  3599 else
  3600   am__fastdepCC_TRUE='#'
  3601   am__fastdepCC_FALSE=
  3602 fi
  3607         { echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3608 echo $ECHO_N "checking for strerror in -lcposix... $ECHO_C" >&6; }
  3609 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3610   echo $ECHO_N "(cached) $ECHO_C" >&6
  3611 else
  3612   ac_check_lib_save_LIBS=$LIBS
  3613 LIBS="-lcposix  $LIBS"
  3614 cat >conftest.$ac_ext <<_ACEOF
  3615 /* confdefs.h.  */
  3616 _ACEOF
  3617 cat confdefs.h >>conftest.$ac_ext
  3618 cat >>conftest.$ac_ext <<_ACEOF
  3619 /* end confdefs.h.  */
  3621 /* Override any GCC internal prototype to avoid an error.
  3622    Use char because int might match the return type of a GCC
  3623    builtin and then its argument prototype would still apply.  */
  3624 #ifdef __cplusplus
  3625 extern "C"
  3626 #endif
  3627 char strerror ();
  3628 int
  3629 main ()
  3631 return strerror ();
  3633   return 0;
  3635 _ACEOF
  3636 rm -f conftest.$ac_objext conftest$ac_exeext
  3637 if { (ac_try="$ac_link"
  3638 case "(($ac_try" in
  3639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3640   *) ac_try_echo=$ac_try;;
  3641 esac
  3642 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3643   (eval "$ac_link") 2>conftest.er1
  3644   ac_status=$?
  3645   grep -v '^ *+' conftest.er1 >conftest.err
  3646   rm -f conftest.er1
  3647   cat conftest.err >&5
  3648   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3649   (exit $ac_status); } && {
  3650 	 test -z "$ac_c_werror_flag" ||
  3651 	 test ! -s conftest.err
  3652        } && test -s conftest$ac_exeext &&
  3653        $as_test_x conftest$ac_exeext; then
  3654   ac_cv_lib_cposix_strerror=yes
  3655 else
  3656   echo "$as_me: failed program was:" >&5
  3657 sed 's/^/| /' conftest.$ac_ext >&5
  3659 	ac_cv_lib_cposix_strerror=no
  3660 fi
  3662 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3663       conftest$ac_exeext conftest.$ac_ext
  3664 LIBS=$ac_check_lib_save_LIBS
  3665 fi
  3666 { echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3667 echo "${ECHO_T}$ac_cv_lib_cposix_strerror" >&6; }
  3668 if test $ac_cv_lib_cposix_strerror = yes; then
  3669   LIBS="$LIBS -lcposix"
  3670 fi
  3674 ac_ext=c
  3675 ac_cpp='$CPP $CPPFLAGS'
  3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3679 if test -n "$ac_tool_prefix"; then
  3680   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3681 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3682 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3684 if test "${ac_cv_prog_CC+set}" = set; then
  3685   echo $ECHO_N "(cached) $ECHO_C" >&6
  3686 else
  3687   if test -n "$CC"; then
  3688   ac_cv_prog_CC="$CC" # Let the user override the test.
  3689 else
  3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3691 for as_dir in $PATH
  3692 do
  3693   IFS=$as_save_IFS
  3694   test -z "$as_dir" && as_dir=.
  3695   for ac_exec_ext in '' $ac_executable_extensions; do
  3696   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3697     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3698     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3699     break 2
  3700   fi
  3701 done
  3702 done
  3703 IFS=$as_save_IFS
  3705 fi
  3706 fi
  3707 CC=$ac_cv_prog_CC
  3708 if test -n "$CC"; then
  3709   { echo "$as_me:$LINENO: result: $CC" >&5
  3710 echo "${ECHO_T}$CC" >&6; }
  3711 else
  3712   { echo "$as_me:$LINENO: result: no" >&5
  3713 echo "${ECHO_T}no" >&6; }
  3714 fi
  3717 fi
  3718 if test -z "$ac_cv_prog_CC"; then
  3719   ac_ct_CC=$CC
  3720   # Extract the first word of "gcc", so it can be a program name with args.
  3721 set dummy gcc; ac_word=$2
  3722 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3725   echo $ECHO_N "(cached) $ECHO_C" >&6
  3726 else
  3727   if test -n "$ac_ct_CC"; then
  3728   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3729 else
  3730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3731 for as_dir in $PATH
  3732 do
  3733   IFS=$as_save_IFS
  3734   test -z "$as_dir" && as_dir=.
  3735   for ac_exec_ext in '' $ac_executable_extensions; do
  3736   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3737     ac_cv_prog_ac_ct_CC="gcc"
  3738     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3739     break 2
  3740   fi
  3741 done
  3742 done
  3743 IFS=$as_save_IFS
  3745 fi
  3746 fi
  3747 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3748 if test -n "$ac_ct_CC"; then
  3749   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3750 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3751 else
  3752   { echo "$as_me:$LINENO: result: no" >&5
  3753 echo "${ECHO_T}no" >&6; }
  3754 fi
  3756   if test "x$ac_ct_CC" = x; then
  3757     CC=""
  3758   else
  3759     case $cross_compiling:$ac_tool_warned in
  3760 yes:)
  3761 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3762 whose name does not start with the host triplet.  If you think this
  3763 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3764 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3765 whose name does not start with the host triplet.  If you think this
  3766 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3767 ac_tool_warned=yes ;;
  3768 esac
  3769     CC=$ac_ct_CC
  3770   fi
  3771 else
  3772   CC="$ac_cv_prog_CC"
  3773 fi
  3775 if test -z "$CC"; then
  3776           if test -n "$ac_tool_prefix"; then
  3777     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3778 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3779 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3780 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3781 if test "${ac_cv_prog_CC+set}" = set; then
  3782   echo $ECHO_N "(cached) $ECHO_C" >&6
  3783 else
  3784   if test -n "$CC"; then
  3785   ac_cv_prog_CC="$CC" # Let the user override the test.
  3786 else
  3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3788 for as_dir in $PATH
  3789 do
  3790   IFS=$as_save_IFS
  3791   test -z "$as_dir" && as_dir=.
  3792   for ac_exec_ext in '' $ac_executable_extensions; do
  3793   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3794     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3795     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3796     break 2
  3797   fi
  3798 done
  3799 done
  3800 IFS=$as_save_IFS
  3802 fi
  3803 fi
  3804 CC=$ac_cv_prog_CC
  3805 if test -n "$CC"; then
  3806   { echo "$as_me:$LINENO: result: $CC" >&5
  3807 echo "${ECHO_T}$CC" >&6; }
  3808 else
  3809   { echo "$as_me:$LINENO: result: no" >&5
  3810 echo "${ECHO_T}no" >&6; }
  3811 fi
  3814   fi
  3815 fi
  3816 if test -z "$CC"; then
  3817   # Extract the first word of "cc", so it can be a program name with args.
  3818 set dummy cc; ac_word=$2
  3819 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3821 if test "${ac_cv_prog_CC+set}" = set; then
  3822   echo $ECHO_N "(cached) $ECHO_C" >&6
  3823 else
  3824   if test -n "$CC"; then
  3825   ac_cv_prog_CC="$CC" # Let the user override the test.
  3826 else
  3827   ac_prog_rejected=no
  3828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3829 for as_dir in $PATH
  3830 do
  3831   IFS=$as_save_IFS
  3832   test -z "$as_dir" && as_dir=.
  3833   for ac_exec_ext in '' $ac_executable_extensions; do
  3834   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3835     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3836        ac_prog_rejected=yes
  3837        continue
  3838      fi
  3839     ac_cv_prog_CC="cc"
  3840     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3841     break 2
  3842   fi
  3843 done
  3844 done
  3845 IFS=$as_save_IFS
  3847 if test $ac_prog_rejected = yes; then
  3848   # We found a bogon in the path, so make sure we never use it.
  3849   set dummy $ac_cv_prog_CC
  3850   shift
  3851   if test $# != 0; then
  3852     # We chose a different compiler from the bogus one.
  3853     # However, it has the same basename, so the bogon will be chosen
  3854     # first if we set CC to just the basename; use the full file name.
  3855     shift
  3856     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3857   fi
  3858 fi
  3859 fi
  3860 fi
  3861 CC=$ac_cv_prog_CC
  3862 if test -n "$CC"; then
  3863   { echo "$as_me:$LINENO: result: $CC" >&5
  3864 echo "${ECHO_T}$CC" >&6; }
  3865 else
  3866   { echo "$as_me:$LINENO: result: no" >&5
  3867 echo "${ECHO_T}no" >&6; }
  3868 fi
  3871 fi
  3872 if test -z "$CC"; then
  3873   if test -n "$ac_tool_prefix"; then
  3874   for ac_prog in cl.exe
  3875   do
  3876     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3877 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3878 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3879 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3880 if test "${ac_cv_prog_CC+set}" = set; then
  3881   echo $ECHO_N "(cached) $ECHO_C" >&6
  3882 else
  3883   if test -n "$CC"; then
  3884   ac_cv_prog_CC="$CC" # Let the user override the test.
  3885 else
  3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3887 for as_dir in $PATH
  3888 do
  3889   IFS=$as_save_IFS
  3890   test -z "$as_dir" && as_dir=.
  3891   for ac_exec_ext in '' $ac_executable_extensions; do
  3892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3893     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3894     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3895     break 2
  3896   fi
  3897 done
  3898 done
  3899 IFS=$as_save_IFS
  3901 fi
  3902 fi
  3903 CC=$ac_cv_prog_CC
  3904 if test -n "$CC"; then
  3905   { echo "$as_me:$LINENO: result: $CC" >&5
  3906 echo "${ECHO_T}$CC" >&6; }
  3907 else
  3908   { echo "$as_me:$LINENO: result: no" >&5
  3909 echo "${ECHO_T}no" >&6; }
  3910 fi
  3913     test -n "$CC" && break
  3914   done
  3915 fi
  3916 if test -z "$CC"; then
  3917   ac_ct_CC=$CC
  3918   for ac_prog in cl.exe
  3919 do
  3920   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3921 set dummy $ac_prog; ac_word=$2
  3922 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  3923 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  3924 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3925   echo $ECHO_N "(cached) $ECHO_C" >&6
  3926 else
  3927   if test -n "$ac_ct_CC"; then
  3928   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3929 else
  3930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3931 for as_dir in $PATH
  3932 do
  3933   IFS=$as_save_IFS
  3934   test -z "$as_dir" && as_dir=.
  3935   for ac_exec_ext in '' $ac_executable_extensions; do
  3936   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3937     ac_cv_prog_ac_ct_CC="$ac_prog"
  3938     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3939     break 2
  3940   fi
  3941 done
  3942 done
  3943 IFS=$as_save_IFS
  3945 fi
  3946 fi
  3947 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3948 if test -n "$ac_ct_CC"; then
  3949   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3950 echo "${ECHO_T}$ac_ct_CC" >&6; }
  3951 else
  3952   { echo "$as_me:$LINENO: result: no" >&5
  3953 echo "${ECHO_T}no" >&6; }
  3954 fi
  3957   test -n "$ac_ct_CC" && break
  3958 done
  3960   if test "x$ac_ct_CC" = x; then
  3961     CC=""
  3962   else
  3963     case $cross_compiling:$ac_tool_warned in
  3964 yes:)
  3965 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3966 whose name does not start with the host triplet.  If you think this
  3967 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3968 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3969 whose name does not start with the host triplet.  If you think this
  3970 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3971 ac_tool_warned=yes ;;
  3972 esac
  3973     CC=$ac_ct_CC
  3974   fi
  3975 fi
  3977 fi
  3980 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3981 See \`config.log' for more details." >&5
  3982 echo "$as_me: error: no acceptable C compiler found in \$PATH
  3983 See \`config.log' for more details." >&2;}
  3984    { (exit 1); exit 1; }; }
  3986 # Provide some information about the compiler.
  3987 echo "$as_me:$LINENO: checking for C compiler version" >&5
  3988 ac_compiler=`set X $ac_compile; echo $2`
  3989 { (ac_try="$ac_compiler --version >&5"
  3990 case "(($ac_try" in
  3991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3992   *) ac_try_echo=$ac_try;;
  3993 esac
  3994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  3995   (eval "$ac_compiler --version >&5") 2>&5
  3996   ac_status=$?
  3997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3998   (exit $ac_status); }
  3999 { (ac_try="$ac_compiler -v >&5"
  4000 case "(($ac_try" in
  4001   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4002   *) ac_try_echo=$ac_try;;
  4003 esac
  4004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4005   (eval "$ac_compiler -v >&5") 2>&5
  4006   ac_status=$?
  4007   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4008   (exit $ac_status); }
  4009 { (ac_try="$ac_compiler -V >&5"
  4010 case "(($ac_try" in
  4011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4012   *) ac_try_echo=$ac_try;;
  4013 esac
  4014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4015   (eval "$ac_compiler -V >&5") 2>&5
  4016   ac_status=$?
  4017   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4018   (exit $ac_status); }
  4020 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4021 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4022 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4023   echo $ECHO_N "(cached) $ECHO_C" >&6
  4024 else
  4025   cat >conftest.$ac_ext <<_ACEOF
  4026 /* confdefs.h.  */
  4027 _ACEOF
  4028 cat confdefs.h >>conftest.$ac_ext
  4029 cat >>conftest.$ac_ext <<_ACEOF
  4030 /* end confdefs.h.  */
  4032 int
  4033 main ()
  4035 #ifndef __GNUC__
  4036        choke me
  4037 #endif
  4040   return 0;
  4042 _ACEOF
  4043 rm -f conftest.$ac_objext
  4044 if { (ac_try="$ac_compile"
  4045 case "(($ac_try" in
  4046   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4047   *) ac_try_echo=$ac_try;;
  4048 esac
  4049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4050   (eval "$ac_compile") 2>conftest.er1
  4051   ac_status=$?
  4052   grep -v '^ *+' conftest.er1 >conftest.err
  4053   rm -f conftest.er1
  4054   cat conftest.err >&5
  4055   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4056   (exit $ac_status); } && {
  4057 	 test -z "$ac_c_werror_flag" ||
  4058 	 test ! -s conftest.err
  4059        } && test -s conftest.$ac_objext; then
  4060   ac_compiler_gnu=yes
  4061 else
  4062   echo "$as_me: failed program was:" >&5
  4063 sed 's/^/| /' conftest.$ac_ext >&5
  4065 	ac_compiler_gnu=no
  4066 fi
  4068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4069 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4071 fi
  4072 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4073 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4074 GCC=`test $ac_compiler_gnu = yes && echo yes`
  4075 ac_test_CFLAGS=${CFLAGS+set}
  4076 ac_save_CFLAGS=$CFLAGS
  4077 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4078 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4079 if test "${ac_cv_prog_cc_g+set}" = set; then
  4080   echo $ECHO_N "(cached) $ECHO_C" >&6
  4081 else
  4082   ac_save_c_werror_flag=$ac_c_werror_flag
  4083    ac_c_werror_flag=yes
  4084    ac_cv_prog_cc_g=no
  4085    CFLAGS="-g"
  4086    cat >conftest.$ac_ext <<_ACEOF
  4087 /* confdefs.h.  */
  4088 _ACEOF
  4089 cat confdefs.h >>conftest.$ac_ext
  4090 cat >>conftest.$ac_ext <<_ACEOF
  4091 /* end confdefs.h.  */
  4093 int
  4094 main ()
  4098   return 0;
  4100 _ACEOF
  4101 rm -f conftest.$ac_objext
  4102 if { (ac_try="$ac_compile"
  4103 case "(($ac_try" in
  4104   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4105   *) ac_try_echo=$ac_try;;
  4106 esac
  4107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4108   (eval "$ac_compile") 2>conftest.er1
  4109   ac_status=$?
  4110   grep -v '^ *+' conftest.er1 >conftest.err
  4111   rm -f conftest.er1
  4112   cat conftest.err >&5
  4113   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4114   (exit $ac_status); } && {
  4115 	 test -z "$ac_c_werror_flag" ||
  4116 	 test ! -s conftest.err
  4117        } && test -s conftest.$ac_objext; then
  4118   ac_cv_prog_cc_g=yes
  4119 else
  4120   echo "$as_me: failed program was:" >&5
  4121 sed 's/^/| /' conftest.$ac_ext >&5
  4123 	CFLAGS=""
  4124       cat >conftest.$ac_ext <<_ACEOF
  4125 /* confdefs.h.  */
  4126 _ACEOF
  4127 cat confdefs.h >>conftest.$ac_ext
  4128 cat >>conftest.$ac_ext <<_ACEOF
  4129 /* end confdefs.h.  */
  4131 int
  4132 main ()
  4136   return 0;
  4138 _ACEOF
  4139 rm -f conftest.$ac_objext
  4140 if { (ac_try="$ac_compile"
  4141 case "(($ac_try" in
  4142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4143   *) ac_try_echo=$ac_try;;
  4144 esac
  4145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4146   (eval "$ac_compile") 2>conftest.er1
  4147   ac_status=$?
  4148   grep -v '^ *+' conftest.er1 >conftest.err
  4149   rm -f conftest.er1
  4150   cat conftest.err >&5
  4151   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4152   (exit $ac_status); } && {
  4153 	 test -z "$ac_c_werror_flag" ||
  4154 	 test ! -s conftest.err
  4155        } && test -s conftest.$ac_objext; then
  4157 else
  4158   echo "$as_me: failed program was:" >&5
  4159 sed 's/^/| /' conftest.$ac_ext >&5
  4161 	ac_c_werror_flag=$ac_save_c_werror_flag
  4162 	 CFLAGS="-g"
  4163 	 cat >conftest.$ac_ext <<_ACEOF
  4164 /* confdefs.h.  */
  4165 _ACEOF
  4166 cat confdefs.h >>conftest.$ac_ext
  4167 cat >>conftest.$ac_ext <<_ACEOF
  4168 /* end confdefs.h.  */
  4170 int
  4171 main ()
  4175   return 0;
  4177 _ACEOF
  4178 rm -f conftest.$ac_objext
  4179 if { (ac_try="$ac_compile"
  4180 case "(($ac_try" in
  4181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4182   *) ac_try_echo=$ac_try;;
  4183 esac
  4184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4185   (eval "$ac_compile") 2>conftest.er1
  4186   ac_status=$?
  4187   grep -v '^ *+' conftest.er1 >conftest.err
  4188   rm -f conftest.er1
  4189   cat conftest.err >&5
  4190   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4191   (exit $ac_status); } && {
  4192 	 test -z "$ac_c_werror_flag" ||
  4193 	 test ! -s conftest.err
  4194        } && test -s conftest.$ac_objext; then
  4195   ac_cv_prog_cc_g=yes
  4196 else
  4197   echo "$as_me: failed program was:" >&5
  4198 sed 's/^/| /' conftest.$ac_ext >&5
  4201 fi
  4203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4204 fi
  4206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4207 fi
  4209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4210    ac_c_werror_flag=$ac_save_c_werror_flag
  4211 fi
  4212 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4213 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4214 if test "$ac_test_CFLAGS" = set; then
  4215   CFLAGS=$ac_save_CFLAGS
  4216 elif test $ac_cv_prog_cc_g = yes; then
  4217   if test "$GCC" = yes; then
  4218     CFLAGS="-g -O2"
  4219   else
  4220     CFLAGS="-g"
  4221   fi
  4222 else
  4223   if test "$GCC" = yes; then
  4224     CFLAGS="-O2"
  4225   else
  4226     CFLAGS=
  4227   fi
  4228 fi
  4229 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4230 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  4231 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4232   echo $ECHO_N "(cached) $ECHO_C" >&6
  4233 else
  4234   ac_cv_prog_cc_c89=no
  4235 ac_save_CC=$CC
  4236 cat >conftest.$ac_ext <<_ACEOF
  4237 /* confdefs.h.  */
  4238 _ACEOF
  4239 cat confdefs.h >>conftest.$ac_ext
  4240 cat >>conftest.$ac_ext <<_ACEOF
  4241 /* end confdefs.h.  */
  4242 #include <stdarg.h>
  4243 #include <stdio.h>
  4244 #include <sys/types.h>
  4245 #include <sys/stat.h>
  4246 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4247 struct buf { int x; };
  4248 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4249 static char *e (p, i)
  4250      char **p;
  4251      int i;
  4253   return p[i];
  4255 static char *f (char * (*g) (char **, int), char **p, ...)
  4257   char *s;
  4258   va_list v;
  4259   va_start (v,p);
  4260   s = g (p, va_arg (v,int));
  4261   va_end (v);
  4262   return s;
  4265 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4266    function prototypes and stuff, but not '\xHH' hex character constants.
  4267    These don't provoke an error unfortunately, instead are silently treated
  4268    as 'x'.  The following induces an error, until -std is added to get
  4269    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4270    array size at least.  It's necessary to write '\x00'==0 to get something
  4271    that's true only with -std.  */
  4272 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4274 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4275    inside strings and character constants.  */
  4276 #define FOO(x) 'x'
  4277 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4279 int test (int i, double x);
  4280 struct s1 {int (*f) (int a);};
  4281 struct s2 {int (*f) (double a);};
  4282 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4283 int argc;
  4284 char **argv;
  4285 int
  4286 main ()
  4288 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4290   return 0;
  4292 _ACEOF
  4293 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4294 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4295 do
  4296   CC="$ac_save_CC $ac_arg"
  4297   rm -f conftest.$ac_objext
  4298 if { (ac_try="$ac_compile"
  4299 case "(($ac_try" in
  4300   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4301   *) ac_try_echo=$ac_try;;
  4302 esac
  4303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4304   (eval "$ac_compile") 2>conftest.er1
  4305   ac_status=$?
  4306   grep -v '^ *+' conftest.er1 >conftest.err
  4307   rm -f conftest.er1
  4308   cat conftest.err >&5
  4309   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4310   (exit $ac_status); } && {
  4311 	 test -z "$ac_c_werror_flag" ||
  4312 	 test ! -s conftest.err
  4313        } && test -s conftest.$ac_objext; then
  4314   ac_cv_prog_cc_c89=$ac_arg
  4315 else
  4316   echo "$as_me: failed program was:" >&5
  4317 sed 's/^/| /' conftest.$ac_ext >&5
  4320 fi
  4322 rm -f core conftest.err conftest.$ac_objext
  4323   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4324 done
  4325 rm -f conftest.$ac_ext
  4326 CC=$ac_save_CC
  4328 fi
  4329 # AC_CACHE_VAL
  4330 case "x$ac_cv_prog_cc_c89" in
  4331   x)
  4332     { echo "$as_me:$LINENO: result: none needed" >&5
  4333 echo "${ECHO_T}none needed" >&6; } ;;
  4334   xno)
  4335     { echo "$as_me:$LINENO: result: unsupported" >&5
  4336 echo "${ECHO_T}unsupported" >&6; } ;;
  4337   *)
  4338     CC="$CC $ac_cv_prog_cc_c89"
  4339     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4340 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  4341 esac
  4344 ac_ext=c
  4345 ac_cpp='$CPP $CPPFLAGS'
  4346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4350 depcc="$CC"   am_compiler_list=
  4352 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4353 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  4354 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4355   echo $ECHO_N "(cached) $ECHO_C" >&6
  4356 else
  4357   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4358   # We make a subdir and do the tests there.  Otherwise we can end up
  4359   # making bogus files that we don't know about and never remove.  For
  4360   # instance it was reported that on HP-UX the gcc test will end up
  4361   # making a dummy file named `D' -- because `-MD' means `put the output
  4362   # in D'.
  4363   mkdir conftest.dir
  4364   # Copy depcomp to subdir because otherwise we won't find it if we're
  4365   # using a relative directory.
  4366   cp "$am_depcomp" conftest.dir
  4367   cd conftest.dir
  4368   # We will build objects and dependencies in a subdirectory because
  4369   # it helps to detect inapplicable dependency modes.  For instance
  4370   # both Tru64's cc and ICC support -MD to output dependencies as a
  4371   # side effect of compilation, but ICC will put the dependencies in
  4372   # the current directory while Tru64 will put them in the object
  4373   # directory.
  4374   mkdir sub
  4376   am_cv_CC_dependencies_compiler_type=none
  4377   if test "$am_compiler_list" = ""; then
  4378      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4379   fi
  4380   for depmode in $am_compiler_list; do
  4381     # Setup a source with many dependencies, because some compilers
  4382     # like to wrap large dependency lists on column 80 (with \), and
  4383     # we should not choose a depcomp mode which is confused by this.
  4385     # We need to recreate these files for each test, as the compiler may
  4386     # overwrite some of them when testing with obscure command lines.
  4387     # This happens at least with the AIX C compiler.
  4388     : > sub/conftest.c
  4389     for i in 1 2 3 4 5 6; do
  4390       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4391       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4392       # Solaris 8's {/usr,}/bin/sh.
  4393       touch sub/conftst$i.h
  4394     done
  4395     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4397     case $depmode in
  4398     nosideeffect)
  4399       # after this tag, mechanisms are not by side-effect, so they'll
  4400       # only be used when explicitly requested
  4401       if test "x$enable_dependency_tracking" = xyes; then
  4402 	continue
  4403       else
  4404 	break
  4405       fi
  4406       ;;
  4407     none) break ;;
  4408     esac
  4409     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4410     # mode.  It turns out that the SunPro C++ compiler does not properly
  4411     # handle `-M -o', and we need to detect this.
  4412     if depmode=$depmode \
  4413        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4414        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4415        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4416          >/dev/null 2>conftest.err &&
  4417        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4418        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4419        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4420       # icc doesn't choke on unknown options, it will just issue warnings
  4421       # or remarks (even with -Werror).  So we grep stderr for any message
  4422       # that says an option was ignored or not supported.
  4423       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4424       #   icc: Command line warning: ignoring option '-M'; no argument required
  4425       # The diagnosis changed in icc 8.0:
  4426       #   icc: Command line remark: option '-MP' not supported
  4427       if (grep 'ignoring option' conftest.err ||
  4428           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4429         am_cv_CC_dependencies_compiler_type=$depmode
  4430         break
  4431       fi
  4432     fi
  4433   done
  4435   cd ..
  4436   rm -rf conftest.dir
  4437 else
  4438   am_cv_CC_dependencies_compiler_type=none
  4439 fi
  4441 fi
  4442 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4443 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  4444 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4448 if
  4449   test "x$enable_dependency_tracking" != xno \
  4450   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4451   am__fastdepCC_TRUE=
  4452   am__fastdepCC_FALSE='#'
  4453 else
  4454   am__fastdepCC_TRUE='#'
  4455   am__fastdepCC_FALSE=
  4456 fi
  4459 ac_ext=c
  4460 ac_cpp='$CPP $CPPFLAGS'
  4461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4464 if test -n "$ac_tool_prefix"; then
  4465   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4466 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4467 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4468 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4469 if test "${ac_cv_prog_CC+set}" = set; then
  4470   echo $ECHO_N "(cached) $ECHO_C" >&6
  4471 else
  4472   if test -n "$CC"; then
  4473   ac_cv_prog_CC="$CC" # Let the user override the test.
  4474 else
  4475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4476 for as_dir in $PATH
  4477 do
  4478   IFS=$as_save_IFS
  4479   test -z "$as_dir" && as_dir=.
  4480   for ac_exec_ext in '' $ac_executable_extensions; do
  4481   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4482     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4483     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4484     break 2
  4485   fi
  4486 done
  4487 done
  4488 IFS=$as_save_IFS
  4490 fi
  4491 fi
  4492 CC=$ac_cv_prog_CC
  4493 if test -n "$CC"; then
  4494   { echo "$as_me:$LINENO: result: $CC" >&5
  4495 echo "${ECHO_T}$CC" >&6; }
  4496 else
  4497   { echo "$as_me:$LINENO: result: no" >&5
  4498 echo "${ECHO_T}no" >&6; }
  4499 fi
  4502 fi
  4503 if test -z "$ac_cv_prog_CC"; then
  4504   ac_ct_CC=$CC
  4505   # Extract the first word of "gcc", so it can be a program name with args.
  4506 set dummy gcc; ac_word=$2
  4507 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4509 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4510   echo $ECHO_N "(cached) $ECHO_C" >&6
  4511 else
  4512   if test -n "$ac_ct_CC"; then
  4513   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4514 else
  4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4516 for as_dir in $PATH
  4517 do
  4518   IFS=$as_save_IFS
  4519   test -z "$as_dir" && as_dir=.
  4520   for ac_exec_ext in '' $ac_executable_extensions; do
  4521   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4522     ac_cv_prog_ac_ct_CC="gcc"
  4523     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4524     break 2
  4525   fi
  4526 done
  4527 done
  4528 IFS=$as_save_IFS
  4530 fi
  4531 fi
  4532 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4533 if test -n "$ac_ct_CC"; then
  4534   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4535 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4536 else
  4537   { echo "$as_me:$LINENO: result: no" >&5
  4538 echo "${ECHO_T}no" >&6; }
  4539 fi
  4541   if test "x$ac_ct_CC" = x; then
  4542     CC=""
  4543   else
  4544     case $cross_compiling:$ac_tool_warned in
  4545 yes:)
  4546 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4547 whose name does not start with the host triplet.  If you think this
  4548 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4549 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4550 whose name does not start with the host triplet.  If you think this
  4551 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4552 ac_tool_warned=yes ;;
  4553 esac
  4554     CC=$ac_ct_CC
  4555   fi
  4556 else
  4557   CC="$ac_cv_prog_CC"
  4558 fi
  4560 if test -z "$CC"; then
  4561           if test -n "$ac_tool_prefix"; then
  4562     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4563 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4564 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4565 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4566 if test "${ac_cv_prog_CC+set}" = set; then
  4567   echo $ECHO_N "(cached) $ECHO_C" >&6
  4568 else
  4569   if test -n "$CC"; then
  4570   ac_cv_prog_CC="$CC" # Let the user override the test.
  4571 else
  4572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4573 for as_dir in $PATH
  4574 do
  4575   IFS=$as_save_IFS
  4576   test -z "$as_dir" && as_dir=.
  4577   for ac_exec_ext in '' $ac_executable_extensions; do
  4578   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4579     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4580     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4581     break 2
  4582   fi
  4583 done
  4584 done
  4585 IFS=$as_save_IFS
  4587 fi
  4588 fi
  4589 CC=$ac_cv_prog_CC
  4590 if test -n "$CC"; then
  4591   { echo "$as_me:$LINENO: result: $CC" >&5
  4592 echo "${ECHO_T}$CC" >&6; }
  4593 else
  4594   { echo "$as_me:$LINENO: result: no" >&5
  4595 echo "${ECHO_T}no" >&6; }
  4596 fi
  4599   fi
  4600 fi
  4601 if test -z "$CC"; then
  4602   # Extract the first word of "cc", so it can be a program name with args.
  4603 set dummy cc; ac_word=$2
  4604 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4606 if test "${ac_cv_prog_CC+set}" = set; then
  4607   echo $ECHO_N "(cached) $ECHO_C" >&6
  4608 else
  4609   if test -n "$CC"; then
  4610   ac_cv_prog_CC="$CC" # Let the user override the test.
  4611 else
  4612   ac_prog_rejected=no
  4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4614 for as_dir in $PATH
  4615 do
  4616   IFS=$as_save_IFS
  4617   test -z "$as_dir" && as_dir=.
  4618   for ac_exec_ext in '' $ac_executable_extensions; do
  4619   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4620     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4621        ac_prog_rejected=yes
  4622        continue
  4623      fi
  4624     ac_cv_prog_CC="cc"
  4625     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4626     break 2
  4627   fi
  4628 done
  4629 done
  4630 IFS=$as_save_IFS
  4632 if test $ac_prog_rejected = yes; then
  4633   # We found a bogon in the path, so make sure we never use it.
  4634   set dummy $ac_cv_prog_CC
  4635   shift
  4636   if test $# != 0; then
  4637     # We chose a different compiler from the bogus one.
  4638     # However, it has the same basename, so the bogon will be chosen
  4639     # first if we set CC to just the basename; use the full file name.
  4640     shift
  4641     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4642   fi
  4643 fi
  4644 fi
  4645 fi
  4646 CC=$ac_cv_prog_CC
  4647 if test -n "$CC"; then
  4648   { echo "$as_me:$LINENO: result: $CC" >&5
  4649 echo "${ECHO_T}$CC" >&6; }
  4650 else
  4651   { echo "$as_me:$LINENO: result: no" >&5
  4652 echo "${ECHO_T}no" >&6; }
  4653 fi
  4656 fi
  4657 if test -z "$CC"; then
  4658   if test -n "$ac_tool_prefix"; then
  4659   for ac_prog in cl.exe
  4660   do
  4661     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4663 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4664 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4665 if test "${ac_cv_prog_CC+set}" = set; then
  4666   echo $ECHO_N "(cached) $ECHO_C" >&6
  4667 else
  4668   if test -n "$CC"; then
  4669   ac_cv_prog_CC="$CC" # Let the user override the test.
  4670 else
  4671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4672 for as_dir in $PATH
  4673 do
  4674   IFS=$as_save_IFS
  4675   test -z "$as_dir" && as_dir=.
  4676   for ac_exec_ext in '' $ac_executable_extensions; do
  4677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4678     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4679     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4680     break 2
  4681   fi
  4682 done
  4683 done
  4684 IFS=$as_save_IFS
  4686 fi
  4687 fi
  4688 CC=$ac_cv_prog_CC
  4689 if test -n "$CC"; then
  4690   { echo "$as_me:$LINENO: result: $CC" >&5
  4691 echo "${ECHO_T}$CC" >&6; }
  4692 else
  4693   { echo "$as_me:$LINENO: result: no" >&5
  4694 echo "${ECHO_T}no" >&6; }
  4695 fi
  4698     test -n "$CC" && break
  4699   done
  4700 fi
  4701 if test -z "$CC"; then
  4702   ac_ct_CC=$CC
  4703   for ac_prog in cl.exe
  4704 do
  4705   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4706 set dummy $ac_prog; ac_word=$2
  4707 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  4708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  4709 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4710   echo $ECHO_N "(cached) $ECHO_C" >&6
  4711 else
  4712   if test -n "$ac_ct_CC"; then
  4713   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4714 else
  4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4716 for as_dir in $PATH
  4717 do
  4718   IFS=$as_save_IFS
  4719   test -z "$as_dir" && as_dir=.
  4720   for ac_exec_ext in '' $ac_executable_extensions; do
  4721   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4722     ac_cv_prog_ac_ct_CC="$ac_prog"
  4723     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4724     break 2
  4725   fi
  4726 done
  4727 done
  4728 IFS=$as_save_IFS
  4730 fi
  4731 fi
  4732 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4733 if test -n "$ac_ct_CC"; then
  4734   { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4735 echo "${ECHO_T}$ac_ct_CC" >&6; }
  4736 else
  4737   { echo "$as_me:$LINENO: result: no" >&5
  4738 echo "${ECHO_T}no" >&6; }
  4739 fi
  4742   test -n "$ac_ct_CC" && break
  4743 done
  4745   if test "x$ac_ct_CC" = x; then
  4746     CC=""
  4747   else
  4748     case $cross_compiling:$ac_tool_warned in
  4749 yes:)
  4750 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4751 whose name does not start with the host triplet.  If you think this
  4752 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4753 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4754 whose name does not start with the host triplet.  If you think this
  4755 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4756 ac_tool_warned=yes ;;
  4757 esac
  4758     CC=$ac_ct_CC
  4759   fi
  4760 fi
  4762 fi
  4765 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4766 See \`config.log' for more details." >&5
  4767 echo "$as_me: error: no acceptable C compiler found in \$PATH
  4768 See \`config.log' for more details." >&2;}
  4769    { (exit 1); exit 1; }; }
  4771 # Provide some information about the compiler.
  4772 echo "$as_me:$LINENO: checking for C compiler version" >&5
  4773 ac_compiler=`set X $ac_compile; echo $2`
  4774 { (ac_try="$ac_compiler --version >&5"
  4775 case "(($ac_try" in
  4776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4777   *) ac_try_echo=$ac_try;;
  4778 esac
  4779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4780   (eval "$ac_compiler --version >&5") 2>&5
  4781   ac_status=$?
  4782   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4783   (exit $ac_status); }
  4784 { (ac_try="$ac_compiler -v >&5"
  4785 case "(($ac_try" in
  4786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4787   *) ac_try_echo=$ac_try;;
  4788 esac
  4789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4790   (eval "$ac_compiler -v >&5") 2>&5
  4791   ac_status=$?
  4792   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4793   (exit $ac_status); }
  4794 { (ac_try="$ac_compiler -V >&5"
  4795 case "(($ac_try" in
  4796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4797   *) ac_try_echo=$ac_try;;
  4798 esac
  4799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4800   (eval "$ac_compiler -V >&5") 2>&5
  4801   ac_status=$?
  4802   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4803   (exit $ac_status); }
  4805 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4806 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  4807 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4808   echo $ECHO_N "(cached) $ECHO_C" >&6
  4809 else
  4810   cat >conftest.$ac_ext <<_ACEOF
  4811 /* confdefs.h.  */
  4812 _ACEOF
  4813 cat confdefs.h >>conftest.$ac_ext
  4814 cat >>conftest.$ac_ext <<_ACEOF
  4815 /* end confdefs.h.  */
  4817 int
  4818 main ()
  4820 #ifndef __GNUC__
  4821        choke me
  4822 #endif
  4825   return 0;
  4827 _ACEOF
  4828 rm -f conftest.$ac_objext
  4829 if { (ac_try="$ac_compile"
  4830 case "(($ac_try" in
  4831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4832   *) ac_try_echo=$ac_try;;
  4833 esac
  4834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4835   (eval "$ac_compile") 2>conftest.er1
  4836   ac_status=$?
  4837   grep -v '^ *+' conftest.er1 >conftest.err
  4838   rm -f conftest.er1
  4839   cat conftest.err >&5
  4840   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4841   (exit $ac_status); } && {
  4842 	 test -z "$ac_c_werror_flag" ||
  4843 	 test ! -s conftest.err
  4844        } && test -s conftest.$ac_objext; then
  4845   ac_compiler_gnu=yes
  4846 else
  4847   echo "$as_me: failed program was:" >&5
  4848 sed 's/^/| /' conftest.$ac_ext >&5
  4850 	ac_compiler_gnu=no
  4851 fi
  4853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4854 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4856 fi
  4857 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4858 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  4859 GCC=`test $ac_compiler_gnu = yes && echo yes`
  4860 ac_test_CFLAGS=${CFLAGS+set}
  4861 ac_save_CFLAGS=$CFLAGS
  4862 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4863 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
  4864 if test "${ac_cv_prog_cc_g+set}" = set; then
  4865   echo $ECHO_N "(cached) $ECHO_C" >&6
  4866 else
  4867   ac_save_c_werror_flag=$ac_c_werror_flag
  4868    ac_c_werror_flag=yes
  4869    ac_cv_prog_cc_g=no
  4870    CFLAGS="-g"
  4871    cat >conftest.$ac_ext <<_ACEOF
  4872 /* confdefs.h.  */
  4873 _ACEOF
  4874 cat confdefs.h >>conftest.$ac_ext
  4875 cat >>conftest.$ac_ext <<_ACEOF
  4876 /* end confdefs.h.  */
  4878 int
  4879 main ()
  4883   return 0;
  4885 _ACEOF
  4886 rm -f conftest.$ac_objext
  4887 if { (ac_try="$ac_compile"
  4888 case "(($ac_try" in
  4889   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4890   *) ac_try_echo=$ac_try;;
  4891 esac
  4892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4893   (eval "$ac_compile") 2>conftest.er1
  4894   ac_status=$?
  4895   grep -v '^ *+' conftest.er1 >conftest.err
  4896   rm -f conftest.er1
  4897   cat conftest.err >&5
  4898   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4899   (exit $ac_status); } && {
  4900 	 test -z "$ac_c_werror_flag" ||
  4901 	 test ! -s conftest.err
  4902        } && test -s conftest.$ac_objext; then
  4903   ac_cv_prog_cc_g=yes
  4904 else
  4905   echo "$as_me: failed program was:" >&5
  4906 sed 's/^/| /' conftest.$ac_ext >&5
  4908 	CFLAGS=""
  4909       cat >conftest.$ac_ext <<_ACEOF
  4910 /* confdefs.h.  */
  4911 _ACEOF
  4912 cat confdefs.h >>conftest.$ac_ext
  4913 cat >>conftest.$ac_ext <<_ACEOF
  4914 /* end confdefs.h.  */
  4916 int
  4917 main ()
  4921   return 0;
  4923 _ACEOF
  4924 rm -f conftest.$ac_objext
  4925 if { (ac_try="$ac_compile"
  4926 case "(($ac_try" in
  4927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4928   *) ac_try_echo=$ac_try;;
  4929 esac
  4930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4931   (eval "$ac_compile") 2>conftest.er1
  4932   ac_status=$?
  4933   grep -v '^ *+' conftest.er1 >conftest.err
  4934   rm -f conftest.er1
  4935   cat conftest.err >&5
  4936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4937   (exit $ac_status); } && {
  4938 	 test -z "$ac_c_werror_flag" ||
  4939 	 test ! -s conftest.err
  4940        } && test -s conftest.$ac_objext; then
  4942 else
  4943   echo "$as_me: failed program was:" >&5
  4944 sed 's/^/| /' conftest.$ac_ext >&5
  4946 	ac_c_werror_flag=$ac_save_c_werror_flag
  4947 	 CFLAGS="-g"
  4948 	 cat >conftest.$ac_ext <<_ACEOF
  4949 /* confdefs.h.  */
  4950 _ACEOF
  4951 cat confdefs.h >>conftest.$ac_ext
  4952 cat >>conftest.$ac_ext <<_ACEOF
  4953 /* end confdefs.h.  */
  4955 int
  4956 main ()
  4960   return 0;
  4962 _ACEOF
  4963 rm -f conftest.$ac_objext
  4964 if { (ac_try="$ac_compile"
  4965 case "(($ac_try" in
  4966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4967   *) ac_try_echo=$ac_try;;
  4968 esac
  4969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  4970   (eval "$ac_compile") 2>conftest.er1
  4971   ac_status=$?
  4972   grep -v '^ *+' conftest.er1 >conftest.err
  4973   rm -f conftest.er1
  4974   cat conftest.err >&5
  4975   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4976   (exit $ac_status); } && {
  4977 	 test -z "$ac_c_werror_flag" ||
  4978 	 test ! -s conftest.err
  4979        } && test -s conftest.$ac_objext; then
  4980   ac_cv_prog_cc_g=yes
  4981 else
  4982   echo "$as_me: failed program was:" >&5
  4983 sed 's/^/| /' conftest.$ac_ext >&5
  4986 fi
  4988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4989 fi
  4991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4992 fi
  4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4995    ac_c_werror_flag=$ac_save_c_werror_flag
  4996 fi
  4997 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4998 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
  4999 if test "$ac_test_CFLAGS" = set; then
  5000   CFLAGS=$ac_save_CFLAGS
  5001 elif test $ac_cv_prog_cc_g = yes; then
  5002   if test "$GCC" = yes; then
  5003     CFLAGS="-g -O2"
  5004   else
  5005     CFLAGS="-g"
  5006   fi
  5007 else
  5008   if test "$GCC" = yes; then
  5009     CFLAGS="-O2"
  5010   else
  5011     CFLAGS=
  5012   fi
  5013 fi
  5014 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  5015 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
  5016 if test "${ac_cv_prog_cc_c89+set}" = set; then
  5017   echo $ECHO_N "(cached) $ECHO_C" >&6
  5018 else
  5019   ac_cv_prog_cc_c89=no
  5020 ac_save_CC=$CC
  5021 cat >conftest.$ac_ext <<_ACEOF
  5022 /* confdefs.h.  */
  5023 _ACEOF
  5024 cat confdefs.h >>conftest.$ac_ext
  5025 cat >>conftest.$ac_ext <<_ACEOF
  5026 /* end confdefs.h.  */
  5027 #include <stdarg.h>
  5028 #include <stdio.h>
  5029 #include <sys/types.h>
  5030 #include <sys/stat.h>
  5031 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5032 struct buf { int x; };
  5033 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5034 static char *e (p, i)
  5035      char **p;
  5036      int i;
  5038   return p[i];
  5040 static char *f (char * (*g) (char **, int), char **p, ...)
  5042   char *s;
  5043   va_list v;
  5044   va_start (v,p);
  5045   s = g (p, va_arg (v,int));
  5046   va_end (v);
  5047   return s;
  5050 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5051    function prototypes and stuff, but not '\xHH' hex character constants.
  5052    These don't provoke an error unfortunately, instead are silently treated
  5053    as 'x'.  The following induces an error, until -std is added to get
  5054    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5055    array size at least.  It's necessary to write '\x00'==0 to get something
  5056    that's true only with -std.  */
  5057 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5059 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5060    inside strings and character constants.  */
  5061 #define FOO(x) 'x'
  5062 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5064 int test (int i, double x);
  5065 struct s1 {int (*f) (int a);};
  5066 struct s2 {int (*f) (double a);};
  5067 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5068 int argc;
  5069 char **argv;
  5070 int
  5071 main ()
  5073 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5075   return 0;
  5077 _ACEOF
  5078 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5079 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5080 do
  5081   CC="$ac_save_CC $ac_arg"
  5082   rm -f conftest.$ac_objext
  5083 if { (ac_try="$ac_compile"
  5084 case "(($ac_try" in
  5085   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5086   *) ac_try_echo=$ac_try;;
  5087 esac
  5088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5089   (eval "$ac_compile") 2>conftest.er1
  5090   ac_status=$?
  5091   grep -v '^ *+' conftest.er1 >conftest.err
  5092   rm -f conftest.er1
  5093   cat conftest.err >&5
  5094   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5095   (exit $ac_status); } && {
  5096 	 test -z "$ac_c_werror_flag" ||
  5097 	 test ! -s conftest.err
  5098        } && test -s conftest.$ac_objext; then
  5099   ac_cv_prog_cc_c89=$ac_arg
  5100 else
  5101   echo "$as_me: failed program was:" >&5
  5102 sed 's/^/| /' conftest.$ac_ext >&5
  5105 fi
  5107 rm -f core conftest.err conftest.$ac_objext
  5108   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5109 done
  5110 rm -f conftest.$ac_ext
  5111 CC=$ac_save_CC
  5113 fi
  5114 # AC_CACHE_VAL
  5115 case "x$ac_cv_prog_cc_c89" in
  5116   x)
  5117     { echo "$as_me:$LINENO: result: none needed" >&5
  5118 echo "${ECHO_T}none needed" >&6; } ;;
  5119   xno)
  5120     { echo "$as_me:$LINENO: result: unsupported" >&5
  5121 echo "${ECHO_T}unsupported" >&6; } ;;
  5122   *)
  5123     CC="$CC $ac_cv_prog_cc_c89"
  5124     { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5125 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
  5126 esac
  5129 ac_ext=c
  5130 ac_cpp='$CPP $CPPFLAGS'
  5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5135 depcc="$CC"   am_compiler_list=
  5137 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5138 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  5139 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5140   echo $ECHO_N "(cached) $ECHO_C" >&6
  5141 else
  5142   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5143   # We make a subdir and do the tests there.  Otherwise we can end up
  5144   # making bogus files that we don't know about and never remove.  For
  5145   # instance it was reported that on HP-UX the gcc test will end up
  5146   # making a dummy file named `D' -- because `-MD' means `put the output
  5147   # in D'.
  5148   mkdir conftest.dir
  5149   # Copy depcomp to subdir because otherwise we won't find it if we're
  5150   # using a relative directory.
  5151   cp "$am_depcomp" conftest.dir
  5152   cd conftest.dir
  5153   # We will build objects and dependencies in a subdirectory because
  5154   # it helps to detect inapplicable dependency modes.  For instance
  5155   # both Tru64's cc and ICC support -MD to output dependencies as a
  5156   # side effect of compilation, but ICC will put the dependencies in
  5157   # the current directory while Tru64 will put them in the object
  5158   # directory.
  5159   mkdir sub
  5161   am_cv_CC_dependencies_compiler_type=none
  5162   if test "$am_compiler_list" = ""; then
  5163      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5164   fi
  5165   for depmode in $am_compiler_list; do
  5166     # Setup a source with many dependencies, because some compilers
  5167     # like to wrap large dependency lists on column 80 (with \), and
  5168     # we should not choose a depcomp mode which is confused by this.
  5170     # We need to recreate these files for each test, as the compiler may
  5171     # overwrite some of them when testing with obscure command lines.
  5172     # This happens at least with the AIX C compiler.
  5173     : > sub/conftest.c
  5174     for i in 1 2 3 4 5 6; do
  5175       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5176       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5177       # Solaris 8's {/usr,}/bin/sh.
  5178       touch sub/conftst$i.h
  5179     done
  5180     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5182     case $depmode in
  5183     nosideeffect)
  5184       # after this tag, mechanisms are not by side-effect, so they'll
  5185       # only be used when explicitly requested
  5186       if test "x$enable_dependency_tracking" = xyes; then
  5187 	continue
  5188       else
  5189 	break
  5190       fi
  5191       ;;
  5192     none) break ;;
  5193     esac
  5194     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5195     # mode.  It turns out that the SunPro C++ compiler does not properly
  5196     # handle `-M -o', and we need to detect this.
  5197     if depmode=$depmode \
  5198        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5199        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5200        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5201          >/dev/null 2>conftest.err &&
  5202        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5203        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5204        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5205       # icc doesn't choke on unknown options, it will just issue warnings
  5206       # or remarks (even with -Werror).  So we grep stderr for any message
  5207       # that says an option was ignored or not supported.
  5208       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5209       #   icc: Command line warning: ignoring option '-M'; no argument required
  5210       # The diagnosis changed in icc 8.0:
  5211       #   icc: Command line remark: option '-MP' not supported
  5212       if (grep 'ignoring option' conftest.err ||
  5213           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5214         am_cv_CC_dependencies_compiler_type=$depmode
  5215         break
  5216       fi
  5217     fi
  5218   done
  5220   cd ..
  5221   rm -rf conftest.dir
  5222 else
  5223   am_cv_CC_dependencies_compiler_type=none
  5224 fi
  5226 fi
  5227 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5228 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
  5229 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5233 if
  5234   test "x$enable_dependency_tracking" != xno \
  5235   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5236   am__fastdepCC_TRUE=
  5237   am__fastdepCC_FALSE='#'
  5238 else
  5239   am__fastdepCC_TRUE='#'
  5240   am__fastdepCC_FALSE=
  5241 fi
  5245 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5247 ac_ext=c
  5248 ac_cpp='$CPP $CPPFLAGS'
  5249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5252 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5253 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  5254 # On Suns, sometimes $CPP names a directory.
  5255 if test -n "$CPP" && test -d "$CPP"; then
  5256   CPP=
  5257 fi
  5258 if test -z "$CPP"; then
  5259   if test "${ac_cv_prog_CPP+set}" = set; then
  5260   echo $ECHO_N "(cached) $ECHO_C" >&6
  5261 else
  5262       # Double quotes because CPP needs to be expanded
  5263     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5264     do
  5265       ac_preproc_ok=false
  5266 for ac_c_preproc_warn_flag in '' yes
  5267 do
  5268   # Use a header file that comes with gcc, so configuring glibc
  5269   # with a fresh cross-compiler works.
  5270   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5271   # <limits.h> exists even on freestanding compilers.
  5272   # On the NeXT, cc -E runs the code through the compiler's parser,
  5273   # not just through cpp. "Syntax error" is here to catch this case.
  5274   cat >conftest.$ac_ext <<_ACEOF
  5275 /* confdefs.h.  */
  5276 _ACEOF
  5277 cat confdefs.h >>conftest.$ac_ext
  5278 cat >>conftest.$ac_ext <<_ACEOF
  5279 /* end confdefs.h.  */
  5280 #ifdef __STDC__
  5281 # include <limits.h>
  5282 #else
  5283 # include <assert.h>
  5284 #endif
  5285 		     Syntax error
  5286 _ACEOF
  5287 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5288 case "(($ac_try" in
  5289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5290   *) ac_try_echo=$ac_try;;
  5291 esac
  5292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5293   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5294   ac_status=$?
  5295   grep -v '^ *+' conftest.er1 >conftest.err
  5296   rm -f conftest.er1
  5297   cat conftest.err >&5
  5298   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5299   (exit $ac_status); } >/dev/null && {
  5300 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5301 	 test ! -s conftest.err
  5302        }; then
  5304 else
  5305   echo "$as_me: failed program was:" >&5
  5306 sed 's/^/| /' conftest.$ac_ext >&5
  5308   # Broken: fails on valid input.
  5309 continue
  5310 fi
  5312 rm -f conftest.err conftest.$ac_ext
  5314   # OK, works on sane cases.  Now check whether nonexistent headers
  5315   # can be detected and how.
  5316   cat >conftest.$ac_ext <<_ACEOF
  5317 /* confdefs.h.  */
  5318 _ACEOF
  5319 cat confdefs.h >>conftest.$ac_ext
  5320 cat >>conftest.$ac_ext <<_ACEOF
  5321 /* end confdefs.h.  */
  5322 #include <ac_nonexistent.h>
  5323 _ACEOF
  5324 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5325 case "(($ac_try" in
  5326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5327   *) ac_try_echo=$ac_try;;
  5328 esac
  5329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5330   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5331   ac_status=$?
  5332   grep -v '^ *+' conftest.er1 >conftest.err
  5333   rm -f conftest.er1
  5334   cat conftest.err >&5
  5335   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5336   (exit $ac_status); } >/dev/null && {
  5337 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5338 	 test ! -s conftest.err
  5339        }; then
  5340   # Broken: success on invalid input.
  5341 continue
  5342 else
  5343   echo "$as_me: failed program was:" >&5
  5344 sed 's/^/| /' conftest.$ac_ext >&5
  5346   # Passes both tests.
  5347 ac_preproc_ok=:
  5348 break
  5349 fi
  5351 rm -f conftest.err conftest.$ac_ext
  5353 done
  5354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5355 rm -f conftest.err conftest.$ac_ext
  5356 if $ac_preproc_ok; then
  5357   break
  5358 fi
  5360     done
  5361     ac_cv_prog_CPP=$CPP
  5363 fi
  5364   CPP=$ac_cv_prog_CPP
  5365 else
  5366   ac_cv_prog_CPP=$CPP
  5367 fi
  5368 { echo "$as_me:$LINENO: result: $CPP" >&5
  5369 echo "${ECHO_T}$CPP" >&6; }
  5370 ac_preproc_ok=false
  5371 for ac_c_preproc_warn_flag in '' yes
  5372 do
  5373   # Use a header file that comes with gcc, so configuring glibc
  5374   # with a fresh cross-compiler works.
  5375   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5376   # <limits.h> exists even on freestanding compilers.
  5377   # On the NeXT, cc -E runs the code through the compiler's parser,
  5378   # not just through cpp. "Syntax error" is here to catch this case.
  5379   cat >conftest.$ac_ext <<_ACEOF
  5380 /* confdefs.h.  */
  5381 _ACEOF
  5382 cat confdefs.h >>conftest.$ac_ext
  5383 cat >>conftest.$ac_ext <<_ACEOF
  5384 /* end confdefs.h.  */
  5385 #ifdef __STDC__
  5386 # include <limits.h>
  5387 #else
  5388 # include <assert.h>
  5389 #endif
  5390 		     Syntax error
  5391 _ACEOF
  5392 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5393 case "(($ac_try" in
  5394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5395   *) ac_try_echo=$ac_try;;
  5396 esac
  5397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5398   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5399   ac_status=$?
  5400   grep -v '^ *+' conftest.er1 >conftest.err
  5401   rm -f conftest.er1
  5402   cat conftest.err >&5
  5403   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5404   (exit $ac_status); } >/dev/null && {
  5405 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5406 	 test ! -s conftest.err
  5407        }; then
  5409 else
  5410   echo "$as_me: failed program was:" >&5
  5411 sed 's/^/| /' conftest.$ac_ext >&5
  5413   # Broken: fails on valid input.
  5414 continue
  5415 fi
  5417 rm -f conftest.err conftest.$ac_ext
  5419   # OK, works on sane cases.  Now check whether nonexistent headers
  5420   # can be detected and how.
  5421   cat >conftest.$ac_ext <<_ACEOF
  5422 /* confdefs.h.  */
  5423 _ACEOF
  5424 cat confdefs.h >>conftest.$ac_ext
  5425 cat >>conftest.$ac_ext <<_ACEOF
  5426 /* end confdefs.h.  */
  5427 #include <ac_nonexistent.h>
  5428 _ACEOF
  5429 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5430 case "(($ac_try" in
  5431   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5432   *) ac_try_echo=$ac_try;;
  5433 esac
  5434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5435   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5436   ac_status=$?
  5437   grep -v '^ *+' conftest.er1 >conftest.err
  5438   rm -f conftest.er1
  5439   cat conftest.err >&5
  5440   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5441   (exit $ac_status); } >/dev/null && {
  5442 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5443 	 test ! -s conftest.err
  5444        }; then
  5445   # Broken: success on invalid input.
  5446 continue
  5447 else
  5448   echo "$as_me: failed program was:" >&5
  5449 sed 's/^/| /' conftest.$ac_ext >&5
  5451   # Passes both tests.
  5452 ac_preproc_ok=:
  5453 break
  5454 fi
  5456 rm -f conftest.err conftest.$ac_ext
  5458 done
  5459 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5460 rm -f conftest.err conftest.$ac_ext
  5461 if $ac_preproc_ok; then
  5463 else
  5464   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5465 See \`config.log' for more details." >&5
  5466 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5467 See \`config.log' for more details." >&2;}
  5468    { (exit 1); exit 1; }; }
  5469 fi
  5471 ac_ext=c
  5472 ac_cpp='$CPP $CPPFLAGS'
  5473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5478 ac_main_cc="$CC"
  5479 test -n "$build_alias" && ac_build_tool_prefix=$build_alias-
  5481 if test -z "$CC_FOR_BUILD"; then
  5482     if test "$#" = yes; then
  5483   { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  5484 See \`config.log' for more details." >&5
  5485 echo "$as_me: error: cannot run test program while cross compiling
  5486 See \`config.log' for more details." >&2;}
  5487    { (exit 1); exit 1; }; }
  5488 else
  5489   cat >conftest.$ac_ext <<_ACEOF
  5490 int main(){return 0;}
  5491 _ACEOF
  5492 rm -f conftest$ac_exeext
  5493 if { (ac_try="$ac_link"
  5494 case "(($ac_try" in
  5495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5496   *) ac_try_echo=$ac_try;;
  5497 esac
  5498 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5499   (eval "$ac_link") 2>&5
  5500   ac_status=$?
  5501   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5502   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5503   { (case "(($ac_try" in
  5504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5505   *) ac_try_echo=$ac_try;;
  5506 esac
  5507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5508   (eval "$ac_try") 2>&5
  5509   ac_status=$?
  5510   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5511   (exit $ac_status); }; }; then
  5512   CC_FOR_BUILD="$CC"
  5513 else
  5514   echo "$as_me: program exited with status $ac_status" >&5
  5515 echo "$as_me: failed program was:" >&5
  5516 sed 's/^/| /' conftest.$ac_ext >&5
  5518 fi
  5519 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5520 fi
  5523 fi
  5526 ac_ext=c
  5527 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  5528 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  5529 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5530 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  5531 if test -n "$ac_build_tool_prefix"; then
  5532   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  5533 set dummy ${ac_build_tool_prefix}gcc; ac_word=$2
  5534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5536 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5537   echo $ECHO_N "(cached) $ECHO_C" >&6
  5538 else
  5539   if test -n "$CC_FOR_BUILD"; then
  5540   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5541 else
  5542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5543 for as_dir in $PATH
  5544 do
  5545   IFS=$as_save_IFS
  5546   test -z "$as_dir" && as_dir=.
  5547   for ac_exec_ext in '' $ac_executable_extensions; do
  5548   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5549     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}gcc"
  5550     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5551     break 2
  5552   fi
  5553 done
  5554 done
  5555 IFS=$as_save_IFS
  5557 fi
  5558 fi
  5559 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5560 if test -n "$CC_FOR_BUILD"; then
  5561   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5562 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5563 else
  5564   { echo "$as_me:$LINENO: result: no" >&5
  5565 echo "${ECHO_T}no" >&6; }
  5566 fi
  5569 fi
  5570 if test -z "$ac_cv_prog_CC_FOR_BUILD"; then
  5571   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
  5572   # Extract the first word of "gcc", so it can be a program name with args.
  5573 set dummy gcc; ac_word=$2
  5574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5576 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
  5577   echo $ECHO_N "(cached) $ECHO_C" >&6
  5578 else
  5579   if test -n "$ac_ct_CC_FOR_BUILD"; then
  5580   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
  5581 else
  5582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5583 for as_dir in $PATH
  5584 do
  5585   IFS=$as_save_IFS
  5586   test -z "$as_dir" && as_dir=.
  5587   for ac_exec_ext in '' $ac_executable_extensions; do
  5588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5589     ac_cv_prog_ac_ct_CC_FOR_BUILD="gcc"
  5590     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5591     break 2
  5592   fi
  5593 done
  5594 done
  5595 IFS=$as_save_IFS
  5597 fi
  5598 fi
  5599 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
  5600 if test -n "$ac_ct_CC_FOR_BUILD"; then
  5601   { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
  5602 echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
  5603 else
  5604   { echo "$as_me:$LINENO: result: no" >&5
  5605 echo "${ECHO_T}no" >&6; }
  5606 fi
  5608   if test "x$ac_ct_CC_FOR_BUILD" = x; then
  5609     CC_FOR_BUILD=""
  5610   else
  5611     case $#:$ac_tool_warned in
  5612 yes:)
  5613 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5614 whose name does not start with the build triplet.  If you think this
  5615 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5616 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5617 whose name does not start with the build triplet.  If you think this
  5618 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5619 ac_tool_warned=yes ;;
  5620 esac
  5621     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
  5622   fi
  5623 else
  5624   CC_FOR_BUILD="$ac_cv_prog_CC_FOR_BUILD"
  5625 fi
  5627 if test -z "$CC_FOR_BUILD"; then
  5628           if test -n "$ac_build_tool_prefix"; then
  5629     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  5630 set dummy ${ac_build_tool_prefix}cc; ac_word=$2
  5631 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5632 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5633 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5634   echo $ECHO_N "(cached) $ECHO_C" >&6
  5635 else
  5636   if test -n "$CC_FOR_BUILD"; then
  5637   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5638 else
  5639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5640 for as_dir in $PATH
  5641 do
  5642   IFS=$as_save_IFS
  5643   test -z "$as_dir" && as_dir=.
  5644   for ac_exec_ext in '' $ac_executable_extensions; do
  5645   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5646     ac_cv_prog_CC_FOR_BUILD="${ac_build_tool_prefix}cc"
  5647     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5648     break 2
  5649   fi
  5650 done
  5651 done
  5652 IFS=$as_save_IFS
  5654 fi
  5655 fi
  5656 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5657 if test -n "$CC_FOR_BUILD"; then
  5658   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5659 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5660 else
  5661   { echo "$as_me:$LINENO: result: no" >&5
  5662 echo "${ECHO_T}no" >&6; }
  5663 fi
  5666   fi
  5667 fi
  5668 if test -z "$CC_FOR_BUILD"; then
  5669   # Extract the first word of "cc", so it can be a program name with args.
  5670 set dummy cc; ac_word=$2
  5671 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5673 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5674   echo $ECHO_N "(cached) $ECHO_C" >&6
  5675 else
  5676   if test -n "$CC_FOR_BUILD"; then
  5677   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5678 else
  5679   ac_prog_rejected=no
  5680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5681 for as_dir in $PATH
  5682 do
  5683   IFS=$as_save_IFS
  5684   test -z "$as_dir" && as_dir=.
  5685   for ac_exec_ext in '' $ac_executable_extensions; do
  5686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5687     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  5688        ac_prog_rejected=yes
  5689        continue
  5690      fi
  5691     ac_cv_prog_CC_FOR_BUILD="cc"
  5692     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5693     break 2
  5694   fi
  5695 done
  5696 done
  5697 IFS=$as_save_IFS
  5699 if test $ac_prog_rejected = yes; then
  5700   # We found a bogon in the path, so make sure we never use it.
  5701   set dummy $ac_cv_prog_CC_FOR_BUILD
  5702   shift
  5703   if test $# != 0; then
  5704     # We chose a different compiler from the bogus one.
  5705     # However, it has the same basename, so the bogon will be chosen
  5706     # first if we set CC_FOR_BUILD to just the basename; use the full file name.
  5707     shift
  5708     ac_cv_prog_CC_FOR_BUILD="$as_dir/$ac_word${1+' '}$@"
  5709   fi
  5710 fi
  5711 fi
  5712 fi
  5713 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5714 if test -n "$CC_FOR_BUILD"; then
  5715   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5716 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5717 else
  5718   { echo "$as_me:$LINENO: result: no" >&5
  5719 echo "${ECHO_T}no" >&6; }
  5720 fi
  5723 fi
  5724 if test -z "$CC_FOR_BUILD"; then
  5725   if test -n "$ac_build_tool_prefix"; then
  5726   for ac_prog in cl.exe
  5727   do
  5728     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5729 set dummy $ac_build_tool_prefix$ac_prog; ac_word=$2
  5730 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5732 if test "${ac_cv_prog_CC_FOR_BUILD+set}" = set; then
  5733   echo $ECHO_N "(cached) $ECHO_C" >&6
  5734 else
  5735   if test -n "$CC_FOR_BUILD"; then
  5736   ac_cv_prog_CC_FOR_BUILD="$CC_FOR_BUILD" # Let the user override the test.
  5737 else
  5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5739 for as_dir in $PATH
  5740 do
  5741   IFS=$as_save_IFS
  5742   test -z "$as_dir" && as_dir=.
  5743   for ac_exec_ext in '' $ac_executable_extensions; do
  5744   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5745     ac_cv_prog_CC_FOR_BUILD="$ac_build_tool_prefix$ac_prog"
  5746     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5747     break 2
  5748   fi
  5749 done
  5750 done
  5751 IFS=$as_save_IFS
  5753 fi
  5754 fi
  5755 CC_FOR_BUILD=$ac_cv_prog_CC_FOR_BUILD
  5756 if test -n "$CC_FOR_BUILD"; then
  5757   { echo "$as_me:$LINENO: result: $CC_FOR_BUILD" >&5
  5758 echo "${ECHO_T}$CC_FOR_BUILD" >&6; }
  5759 else
  5760   { echo "$as_me:$LINENO: result: no" >&5
  5761 echo "${ECHO_T}no" >&6; }
  5762 fi
  5765     test -n "$CC_FOR_BUILD" && break
  5766   done
  5767 fi
  5768 if test -z "$CC_FOR_BUILD"; then
  5769   ac_ct_CC_FOR_BUILD=$CC_FOR_BUILD
  5770   for ac_prog in cl.exe
  5771 do
  5772   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5773 set dummy $ac_prog; ac_word=$2
  5774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  5775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  5776 if test "${ac_cv_prog_ac_ct_CC_FOR_BUILD+set}" = set; then
  5777   echo $ECHO_N "(cached) $ECHO_C" >&6
  5778 else
  5779   if test -n "$ac_ct_CC_FOR_BUILD"; then
  5780   ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_ct_CC_FOR_BUILD" # Let the user override the test.
  5781 else
  5782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5783 for as_dir in $PATH
  5784 do
  5785   IFS=$as_save_IFS
  5786   test -z "$as_dir" && as_dir=.
  5787   for ac_exec_ext in '' $ac_executable_extensions; do
  5788   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5789     ac_cv_prog_ac_ct_CC_FOR_BUILD="$ac_prog"
  5790     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5791     break 2
  5792   fi
  5793 done
  5794 done
  5795 IFS=$as_save_IFS
  5797 fi
  5798 fi
  5799 ac_ct_CC_FOR_BUILD=$ac_cv_prog_ac_ct_CC_FOR_BUILD
  5800 if test -n "$ac_ct_CC_FOR_BUILD"; then
  5801   { echo "$as_me:$LINENO: result: $ac_ct_CC_FOR_BUILD" >&5
  5802 echo "${ECHO_T}$ac_ct_CC_FOR_BUILD" >&6; }
  5803 else
  5804   { echo "$as_me:$LINENO: result: no" >&5
  5805 echo "${ECHO_T}no" >&6; }
  5806 fi
  5809   test -n "$ac_ct_CC_FOR_BUILD" && break
  5810 done
  5812   if test "x$ac_ct_CC_FOR_BUILD" = x; then
  5813     CC_FOR_BUILD=""
  5814   else
  5815     case $#:$ac_tool_warned in
  5816 yes:)
  5817 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5818 whose name does not start with the build triplet.  If you think this
  5819 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5820 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5821 whose name does not start with the build triplet.  If you think this
  5822 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5823 ac_tool_warned=yes ;;
  5824 esac
  5825     CC_FOR_BUILD=$ac_ct_CC_FOR_BUILD
  5826   fi
  5827 fi
  5829 fi
  5832 test -z "$CC_FOR_BUILD" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  5833 See \`config.log' for more details." >&5
  5834 echo "$as_me: error: no acceptable C compiler found in \$PATH
  5835 See \`config.log' for more details." >&2;}
  5836    { (exit 1); exit 1; }; }
  5838 # Provide some information about the compiler.
  5839 echo "$as_me:$LINENO: checking for C compiler version" >&5
  5840 ac_compiler=`set X $ac_build_compile; echo $2`
  5841 { (ac_try="$ac_compiler --version >&5"
  5842 case "(($ac_try" in
  5843   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5844   *) ac_try_echo=$ac_try;;
  5845 esac
  5846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5847   (eval "$ac_compiler --version >&5") 2>&5
  5848   ac_status=$?
  5849   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5850   (exit $ac_status); }
  5851 { (ac_try="$ac_compiler -v >&5"
  5852 case "(($ac_try" in
  5853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5854   *) ac_try_echo=$ac_try;;
  5855 esac
  5856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5857   (eval "$ac_compiler -v >&5") 2>&5
  5858   ac_status=$?
  5859   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5860   (exit $ac_status); }
  5861 { (ac_try="$ac_compiler -V >&5"
  5862 case "(($ac_try" in
  5863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5864   *) ac_try_echo=$ac_try;;
  5865 esac
  5866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5867   (eval "$ac_compiler -V >&5") 2>&5
  5868   ac_status=$?
  5869   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5870   (exit $ac_status); }
  5872 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  5873 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
  5874 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  5875   echo $ECHO_N "(cached) $ECHO_C" >&6
  5876 else
  5877   cat >conftest.$ac_ext <<_ACEOF
  5878 /* confdefs.h.  */
  5879 _ACEOF
  5880 cat confdefs.h >>conftest.$ac_ext
  5881 cat >>conftest.$ac_ext <<_ACEOF
  5882 /* end confdefs.h.  */
  5884 int
  5885 main ()
  5887 #ifndef __GNUC__
  5888        choke me
  5889 #endif
  5892   return 0;
  5894 _ACEOF
  5895 rm -f conftest.$ac_build_objext
  5896 if { (ac_try="$ac_build_compile"
  5897 case "(($ac_try" in
  5898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5899   *) ac_try_echo=$ac_try;;
  5900 esac
  5901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5902   (eval "$ac_build_compile") 2>conftest.er1
  5903   ac_status=$?
  5904   grep -v '^ *+' conftest.er1 >conftest.err
  5905   rm -f conftest.er1
  5906   cat conftest.err >&5
  5907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5908   (exit $ac_status); } && {
  5909 	 test -z "$ac_c_werror_flag" ||
  5910 	 test ! -s conftest.err
  5911        } && test -s conftest.$ac_build_objext; then
  5912   ac_build_compiler_gnu=yes
  5913 else
  5914   echo "$as_me: failed program was:" >&5
  5915 sed 's/^/| /' conftest.$ac_ext >&5
  5917 	ac_build_compiler_gnu=no
  5918 fi
  5920 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  5921 ac_cv_c_compiler_gnu=$ac_build_compiler_gnu
  5923 fi
  5924 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  5925 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
  5926 GCC=`test $ac_build_compiler_gnu = yes && echo yes`
  5927 ac_test_CFLAGS=${CFLAGS_FOR_BUILD+set}
  5928 ac_save_CFLAGS=$CFLAGS_FOR_BUILD
  5929 { echo "$as_me:$LINENO: checking whether $CC_FOR_BUILD accepts -g" >&5
  5930 echo $ECHO_N "checking whether $CC_FOR_BUILD accepts -g... $ECHO_C" >&6; }
  5931 if test "${ac_cv_build_prog_cc_g+set}" = set; then
  5932   echo $ECHO_N "(cached) $ECHO_C" >&6
  5933 else
  5934   ac_save_c_werror_flag=$ac_c_werror_flag
  5935    ac_c_werror_flag=yes
  5936    ac_cv_build_prog_cc_g=no
  5937    CFLAGS_FOR_BUILD="-g"
  5938    cat >conftest.$ac_ext <<_ACEOF
  5939 /* confdefs.h.  */
  5940 _ACEOF
  5941 cat confdefs.h >>conftest.$ac_ext
  5942 cat >>conftest.$ac_ext <<_ACEOF
  5943 /* end confdefs.h.  */
  5945 int
  5946 main ()
  5950   return 0;
  5952 _ACEOF
  5953 rm -f conftest.$ac_build_objext
  5954 if { (ac_try="$ac_build_compile"
  5955 case "(($ac_try" in
  5956   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5957   *) ac_try_echo=$ac_try;;
  5958 esac
  5959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5960   (eval "$ac_build_compile") 2>conftest.er1
  5961   ac_status=$?
  5962   grep -v '^ *+' conftest.er1 >conftest.err
  5963   rm -f conftest.er1
  5964   cat conftest.err >&5
  5965   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5966   (exit $ac_status); } && {
  5967 	 test -z "$ac_c_werror_flag" ||
  5968 	 test ! -s conftest.err
  5969        } && test -s conftest.$ac_build_objext; then
  5970   ac_cv_build_prog_cc_g=yes
  5971 else
  5972   echo "$as_me: failed program was:" >&5
  5973 sed 's/^/| /' conftest.$ac_ext >&5
  5975 	CFLAGS_FOR_BUILD=""
  5976       cat >conftest.$ac_ext <<_ACEOF
  5977 /* confdefs.h.  */
  5978 _ACEOF
  5979 cat confdefs.h >>conftest.$ac_ext
  5980 cat >>conftest.$ac_ext <<_ACEOF
  5981 /* end confdefs.h.  */
  5983 int
  5984 main ()
  5988   return 0;
  5990 _ACEOF
  5991 rm -f conftest.$ac_build_objext
  5992 if { (ac_try="$ac_build_compile"
  5993 case "(($ac_try" in
  5994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5995   *) ac_try_echo=$ac_try;;
  5996 esac
  5997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  5998   (eval "$ac_build_compile") 2>conftest.er1
  5999   ac_status=$?
  6000   grep -v '^ *+' conftest.er1 >conftest.err
  6001   rm -f conftest.er1
  6002   cat conftest.err >&5
  6003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6004   (exit $ac_status); } && {
  6005 	 test -z "$ac_c_werror_flag" ||
  6006 	 test ! -s conftest.err
  6007        } && test -s conftest.$ac_build_objext; then
  6009 else
  6010   echo "$as_me: failed program was:" >&5
  6011 sed 's/^/| /' conftest.$ac_ext >&5
  6013 	ac_c_werror_flag=$ac_save_c_werror_flag
  6014 	 CFLAGS_FOR_BUILD="-g"
  6015 	 cat >conftest.$ac_ext <<_ACEOF
  6016 /* confdefs.h.  */
  6017 _ACEOF
  6018 cat confdefs.h >>conftest.$ac_ext
  6019 cat >>conftest.$ac_ext <<_ACEOF
  6020 /* end confdefs.h.  */
  6022 int
  6023 main ()
  6027   return 0;
  6029 _ACEOF
  6030 rm -f conftest.$ac_build_objext
  6031 if { (ac_try="$ac_build_compile"
  6032 case "(($ac_try" in
  6033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6034   *) ac_try_echo=$ac_try;;
  6035 esac
  6036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6037   (eval "$ac_build_compile") 2>conftest.er1
  6038   ac_status=$?
  6039   grep -v '^ *+' conftest.er1 >conftest.err
  6040   rm -f conftest.er1
  6041   cat conftest.err >&5
  6042   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6043   (exit $ac_status); } && {
  6044 	 test -z "$ac_c_werror_flag" ||
  6045 	 test ! -s conftest.err
  6046        } && test -s conftest.$ac_build_objext; then
  6047   ac_cv_build_prog_cc_g=yes
  6048 else
  6049   echo "$as_me: failed program was:" >&5
  6050 sed 's/^/| /' conftest.$ac_ext >&5
  6053 fi
  6055 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6056 fi
  6058 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6059 fi
  6061 rm -f core conftest.err conftest.$ac_build_objext conftest.$ac_ext
  6062    ac_c_werror_flag=$ac_save_c_werror_flag
  6063 fi
  6064 { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_g" >&5
  6065 echo "${ECHO_T}$ac_cv_build_prog_cc_g" >&6; }
  6066 if test "$ac_test_CFLAGS" = set; then
  6067   CFLAGS_FOR_BUILD=$ac_save_CFLAGS
  6068 elif test $ac_cv_build_prog_cc_g = yes; then
  6069   if test "$GCC" = yes; then
  6070     CFLAGS_FOR_BUILD="-g -O2"
  6071   else
  6072     CFLAGS_FOR_BUILD="-g"
  6073   fi
  6074 else
  6075   if test "$GCC" = yes; then
  6076     CFLAGS_FOR_BUILD="-O2"
  6077   else
  6078     CFLAGS_FOR_BUILD=
  6079   fi
  6080 fi
  6081 { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
  6082 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
  6083 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6084   echo $ECHO_N "(cached) $ECHO_C" >&6
  6085 else
  6086   ac_cv_build_prog_cc_stdc=no
  6087 ac_save_CC=$CC_FOR_BUILD
  6088 cat >conftest.$ac_ext <<_ACEOF
  6089 /* confdefs.h.  */
  6090 _ACEOF
  6091 cat confdefs.h >>conftest.$ac_ext
  6092 cat >>conftest.$ac_ext <<_ACEOF
  6093 /* end confdefs.h.  */
  6094 #include <stdarg.h>
  6095 #include <stdio.h>
  6096 #include <sys/types.h>
  6097 #include <sys/stat.h>
  6098 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  6099 struct buf { int x; };
  6100 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  6101 static char *e (p, i)
  6102      char **p;
  6103      int i;
  6105   return p[i];
  6107 static char *f (char * (*g) (char **, int), char **p, ...)
  6109   char *s;
  6110   va_list v;
  6111   va_start (v,p);
  6112   s = g (p, va_arg (v,int));
  6113   va_end (v);
  6114   return s;
  6117 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  6118    function prototypes and stuff, but not '\xHH' hex character constants.
  6119    These don't provoke an error unfortunately, instead are silently treated
  6120    as 'x'.  The following induces an error, until -std is added to get
  6121    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  6122    array size at least.  It's necessary to write '\x00'==0 to get something
  6123    that's true only with -std.  */
  6124 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  6126 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  6127    inside strings and character constants.  */
  6128 #define FOO(x) 'x'
  6129 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  6131 int test (int i, double x);
  6132 struct s1 {int (*f) (int a);};
  6133 struct s2 {int (*f) (double a);};
  6134 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  6135 int argc;
  6136 char **argv;
  6137 int
  6138 main ()
  6140 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  6142   return 0;
  6144 _ACEOF
  6145 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  6146 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  6147 do
  6148   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6149   rm -f conftest.$ac_build_objext
  6150 if { (ac_try="$ac_build_compile"
  6151 case "(($ac_try" in
  6152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6153   *) ac_try_echo=$ac_try;;
  6154 esac
  6155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6156   (eval "$ac_build_compile") 2>conftest.er1
  6157   ac_status=$?
  6158   grep -v '^ *+' conftest.er1 >conftest.err
  6159   rm -f conftest.er1
  6160   cat conftest.err >&5
  6161   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6162   (exit $ac_status); } && {
  6163 	 test -z "$ac_c_werror_flag" ||
  6164 	 test ! -s conftest.err
  6165        } && test -s conftest.$ac_build_objext; then
  6166   ac_cv_build_prog_cc_stdc=$ac_arg
  6167 else
  6168   echo "$as_me: failed program was:" >&5
  6169 sed 's/^/| /' conftest.$ac_ext >&5
  6172 fi
  6174 rm -f core conftest.err conftest.$ac_build_objext
  6175   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6176 done
  6177 rm -f conftest.$ac_ext
  6178 CC_FOR_BUILD=$ac_save_CC
  6180 fi
  6181 # AC_CACHE_VAL
  6182 case "x$ac_cv_build_prog_cc_stdc" in
  6183   x)
  6184     { echo "$as_me:$LINENO: result: none needed" >&5
  6185 echo "${ECHO_T}none needed" >&6; } ;;
  6186   xno)
  6187     { echo "$as_me:$LINENO: result: unsupported" >&5
  6188 echo "${ECHO_T}unsupported" >&6; } ;;
  6189   *)
  6190     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6191     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6192 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6193 esac
  6196 ac_ext=c
  6197 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  6198 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  6199 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6200 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  6202 depcc="$CC_FOR_BUILD"   am_compiler_list=
  6204 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  6205 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  6206 if test "${am_cv_CC_FOR_BUILD_dependencies_compiler_type+set}" = set; then
  6207   echo $ECHO_N "(cached) $ECHO_C" >&6
  6208 else
  6209   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  6210   # We make a subdir and do the tests there.  Otherwise we can end up
  6211   # making bogus files that we don't know about and never remove.  For
  6212   # instance it was reported that on HP-UX the gcc test will end up
  6213   # making a dummy file named `D' -- because `-MD' means `put the output
  6214   # in D'.
  6215   mkdir conftest.dir
  6216   # Copy depcomp to subdir because otherwise we won't find it if we're
  6217   # using a relative directory.
  6218   cp "$am_depcomp" conftest.dir
  6219   cd conftest.dir
  6220   # We will build objects and dependencies in a subdirectory because
  6221   # it helps to detect inapplicable dependency modes.  For instance
  6222   # both Tru64's cc and ICC support -MD to output dependencies as a
  6223   # side effect of compilation, but ICC will put the dependencies in
  6224   # the current directory while Tru64 will put them in the object
  6225   # directory.
  6226   mkdir sub
  6228   am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
  6229   if test "$am_compiler_list" = ""; then
  6230      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  6231   fi
  6232   for depmode in $am_compiler_list; do
  6233     # Setup a source with many dependencies, because some compilers
  6234     # like to wrap large dependency lists on column 80 (with \), and
  6235     # we should not choose a depcomp mode which is confused by this.
  6237     # We need to recreate these files for each test, as the compiler may
  6238     # overwrite some of them when testing with obscure command lines.
  6239     # This happens at least with the AIX C compiler.
  6240     : > sub/conftest.c
  6241     for i in 1 2 3 4 5 6; do
  6242       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  6243       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  6244       # Solaris 8's {/usr,}/bin/sh.
  6245       touch sub/conftst$i.h
  6246     done
  6247     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  6249     case $depmode in
  6250     nosideeffect)
  6251       # after this tag, mechanisms are not by side-effect, so they'll
  6252       # only be used when explicitly requested
  6253       if test "x$enable_dependency_tracking" = xyes; then
  6254 	continue
  6255       else
  6256 	break
  6257       fi
  6258       ;;
  6259     none) break ;;
  6260     esac
  6261     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  6262     # mode.  It turns out that the SunPro C++ compiler does not properly
  6263     # handle `-M -o', and we need to detect this.
  6264     if depmode=$depmode \
  6265        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  6266        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  6267        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  6268          >/dev/null 2>conftest.err &&
  6269        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  6270        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  6271        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  6272       # icc doesn't choke on unknown options, it will just issue warnings
  6273       # or remarks (even with -Werror).  So we grep stderr for any message
  6274       # that says an option was ignored or not supported.
  6275       # When given -MP, icc 7.0 and 7.1 complain thusly:
  6276       #   icc: Command line warning: ignoring option '-M'; no argument required
  6277       # The diagnosis changed in icc 8.0:
  6278       #   icc: Command line remark: option '-MP' not supported
  6279       if (grep 'ignoring option' conftest.err ||
  6280           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  6281         am_cv_CC_FOR_BUILD_dependencies_compiler_type=$depmode
  6282         break
  6283       fi
  6284     fi
  6285   done
  6287   cd ..
  6288   rm -rf conftest.dir
  6289 else
  6290   am_cv_CC_FOR_BUILD_dependencies_compiler_type=none
  6291 fi
  6293 fi
  6294 { echo "$as_me:$LINENO: result: $am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&5
  6295 echo "${ECHO_T}$am_cv_CC_FOR_BUILD_dependencies_compiler_type" >&6; }
  6296 CC_FOR_BUILDDEPMODE=depmode=$am_cv_CC_FOR_BUILD_dependencies_compiler_type
  6300 if
  6301   test "x$enable_dependency_tracking" != xno \
  6302   && test "$am_cv_CC_FOR_BUILD_dependencies_compiler_type" = gcc3; then
  6303   am__fastdepCC_FOR_BUILD_TRUE=
  6304   am__fastdepCC_FOR_BUILD_FALSE='#'
  6305 else
  6306   am__fastdepCC_FOR_BUILD_TRUE='#'
  6307   am__fastdepCC_FOR_BUILD_FALSE=
  6308 fi
  6311    case $ac_cv_build_prog_cc_stdc in
  6312   no) ac_cv_build_prog_cc_stdc=no; ac_cv_build_prog_cc_stdc=no ;;
  6313   *) { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C99" >&5
  6314 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C99... $ECHO_C" >&6; }
  6315 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6316   echo $ECHO_N "(cached) $ECHO_C" >&6
  6317 else
  6318   ac_cv_build_prog_cc_stdc=no
  6319 ac_save_CC=$CC_FOR_BUILD
  6320 cat >conftest.$ac_ext <<_ACEOF
  6321 /* confdefs.h.  */
  6322 _ACEOF
  6323 cat confdefs.h >>conftest.$ac_ext
  6324 cat >>conftest.$ac_ext <<_ACEOF
  6325 /* end confdefs.h.  */
  6326 #include <stdarg.h>
  6327 #include <stdbool.h>
  6328 #include <stdlib.h>
  6329 #include <wchar.h>
  6330 #include <stdio.h>
  6332 // Check varargs macros.  These examples are taken from C99 6.10.3.5.
  6333 #define debug(...) fprintf (stderr, __VA_ARGS__)
  6334 #define showlist(...) puts (#__VA_ARGS__)
  6335 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
  6336 static void
  6337 test_varargs_macros (void)
  6339   int x = 1234;
  6340   int y = 5678;
  6341   debug ("Flag");
  6342   debug ("X = %d\n", x);
  6343   showlist (The first, second, and third items.);
  6344   report (x>y, "x is %d but y is %d", x, y);
  6347 // Check long long types.
  6348 #define BIG64 18446744073709551615ull
  6349 #define BIG32 4294967295ul
  6350 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
  6351 #if !BIG_OK
  6352   your preprocessor is broken;
  6353 #endif
  6354 #if BIG_OK
  6355 #else
  6356   your preprocessor is broken;
  6357 #endif
  6358 static long long int bignum = -9223372036854775807LL;
  6359 static unsigned long long int ubignum = BIG64;
  6361 struct incomplete_array
  6363   int datasize;
  6364   double data[];
  6365 };
  6367 struct named_init {
  6368   int number;
  6369   const wchar_t *name;
  6370   double average;
  6371 };
  6373 typedef const char *ccp;
  6375 static inline int
  6376 test_restrict (ccp restrict text)
  6378   // See if C++-style comments work.
  6379   // Iterate through items via the restricted pointer.
  6380   // Also check for declarations in for loops.
  6381   for (unsigned int i = 0; *(text+i) != '\0'; ++i)
  6382     continue;
  6383   return 0;
  6386 // Check varargs and va_copy.
  6387 static void
  6388 test_varargs (const char *format, ...)
  6390   va_list args;
  6391   va_start (args, format);
  6392   va_list args_copy;
  6393   va_copy (args_copy, args);
  6395   const char *str;
  6396   int number;
  6397   float fnumber;
  6399   while (*format)
  6401       switch (*format++)
  6403 	case 's': // string
  6404 	  str = va_arg (args_copy, const char *);
  6405 	  break;
  6406 	case 'd': // int
  6407 	  number = va_arg (args_copy, int);
  6408 	  break;
  6409 	case 'f': // float
  6410 	  fnumber = va_arg (args_copy, double);
  6411 	  break;
  6412 	default:
  6413 	  break;
  6416   va_end (args_copy);
  6417   va_end (args);
  6420 int
  6421 main ()
  6424   // Check bool.
  6425   _Bool success = false;
  6427   // Check restrict.
  6428   if (test_restrict ("String literal") == 0)
  6429     success = true;
  6430   char *restrict newvar = "Another string";
  6432   // Check varargs.
  6433   test_varargs ("s, d' f .", "string", 65, 34.234);
  6434   test_varargs_macros ();
  6436   // Check flexible array members.
  6437   struct incomplete_array *ia =
  6438     malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
  6439   ia->datasize = 10;
  6440   for (int i = 0; i < ia->datasize; ++i)
  6441     ia->data[i] = i * 1.234;
  6443   // Check named initializers.
  6444   struct named_init ni = {
  6445     .number = 34,
  6446     .name = L"Test wide string",
  6447     .average = 543.34343,
  6448   };
  6450   ni.number = 58;
  6452   int dynamic_array[ni.number];
  6453   dynamic_array[ni.number - 1] = 543;
  6455   // work around unused variable warnings
  6456   return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
  6457 	  || dynamic_array[ni.number - 1] != 543);
  6460   return 0;
  6462 _ACEOF
  6463 for ac_arg in '' -std=gnu99 -c99 -qlanglvl=extc99
  6464 do
  6465   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6466   rm -f conftest.$ac_build_objext
  6467 if { (ac_try="$ac_build_compile"
  6468 case "(($ac_try" in
  6469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6470   *) ac_try_echo=$ac_try;;
  6471 esac
  6472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6473   (eval "$ac_build_compile") 2>conftest.er1
  6474   ac_status=$?
  6475   grep -v '^ *+' conftest.er1 >conftest.err
  6476   rm -f conftest.er1
  6477   cat conftest.err >&5
  6478   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6479   (exit $ac_status); } && {
  6480 	 test -z "$ac_c_werror_flag" ||
  6481 	 test ! -s conftest.err
  6482        } && test -s conftest.$ac_build_objext; then
  6483   ac_cv_build_prog_cc_stdc=$ac_arg
  6484 else
  6485   echo "$as_me: failed program was:" >&5
  6486 sed 's/^/| /' conftest.$ac_ext >&5
  6489 fi
  6491 rm -f core conftest.err conftest.$ac_build_objext
  6492   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6493 done
  6494 rm -f conftest.$ac_ext
  6495 CC_FOR_BUILD=$ac_save_CC
  6497 fi
  6498 # AC_CACHE_VAL
  6499 case "x$ac_cv_build_prog_cc_stdc" in
  6500   x)
  6501     { echo "$as_me:$LINENO: result: none needed" >&5
  6502 echo "${ECHO_T}none needed" >&6; } ;;
  6503   xno)
  6504     { echo "$as_me:$LINENO: result: unsupported" >&5
  6505 echo "${ECHO_T}unsupported" >&6; } ;;
  6506   *)
  6507     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6508     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6509 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6510 esac
  6511 if test "x$ac_cv_build_prog_cc_stdc" != xno; then
  6512   ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
  6513 else
  6514   { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO C89" >&5
  6515 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO C89... $ECHO_C" >&6; }
  6516 if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6517   echo $ECHO_N "(cached) $ECHO_C" >&6
  6518 else
  6519   ac_cv_build_prog_cc_stdc=no
  6520 ac_save_CC=$CC_FOR_BUILD
  6521 cat >conftest.$ac_ext <<_ACEOF
  6522 /* confdefs.h.  */
  6523 _ACEOF
  6524 cat confdefs.h >>conftest.$ac_ext
  6525 cat >>conftest.$ac_ext <<_ACEOF
  6526 /* end confdefs.h.  */
  6527 #include <stdarg.h>
  6528 #include <stdio.h>
  6529 #include <sys/types.h>
  6530 #include <sys/stat.h>
  6531 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  6532 struct buf { int x; };
  6533 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  6534 static char *e (p, i)
  6535      char **p;
  6536      int i;
  6538   return p[i];
  6540 static char *f (char * (*g) (char **, int), char **p, ...)
  6542   char *s;
  6543   va_list v;
  6544   va_start (v,p);
  6545   s = g (p, va_arg (v,int));
  6546   va_end (v);
  6547   return s;
  6550 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  6551    function prototypes and stuff, but not '\xHH' hex character constants.
  6552    These don't provoke an error unfortunately, instead are silently treated
  6553    as 'x'.  The following induces an error, until -std is added to get
  6554    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  6555    array size at least.  It's necessary to write '\x00'==0 to get something
  6556    that's true only with -std.  */
  6557 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  6559 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  6560    inside strings and character constants.  */
  6561 #define FOO(x) 'x'
  6562 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  6564 int test (int i, double x);
  6565 struct s1 {int (*f) (int a);};
  6566 struct s2 {int (*f) (double a);};
  6567 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  6568 int argc;
  6569 char **argv;
  6570 int
  6571 main ()
  6573 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  6575   return 0;
  6577 _ACEOF
  6578 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  6579 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  6580 do
  6581   CC_FOR_BUILD="$ac_save_CC $ac_arg"
  6582   rm -f conftest.$ac_build_objext
  6583 if { (ac_try="$ac_build_compile"
  6584 case "(($ac_try" in
  6585   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6586   *) ac_try_echo=$ac_try;;
  6587 esac
  6588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6589   (eval "$ac_build_compile") 2>conftest.er1
  6590   ac_status=$?
  6591   grep -v '^ *+' conftest.er1 >conftest.err
  6592   rm -f conftest.er1
  6593   cat conftest.err >&5
  6594   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6595   (exit $ac_status); } && {
  6596 	 test -z "$ac_c_werror_flag" ||
  6597 	 test ! -s conftest.err
  6598        } && test -s conftest.$ac_build_objext; then
  6599   ac_cv_build_prog_cc_stdc=$ac_arg
  6600 else
  6601   echo "$as_me: failed program was:" >&5
  6602 sed 's/^/| /' conftest.$ac_ext >&5
  6605 fi
  6607 rm -f core conftest.err conftest.$ac_build_objext
  6608   test "x$ac_cv_build_prog_cc_stdc" != "xno" && break
  6609 done
  6610 rm -f conftest.$ac_ext
  6611 CC_FOR_BUILD=$ac_save_CC
  6613 fi
  6614 # AC_CACHE_VAL
  6615 case "x$ac_cv_build_prog_cc_stdc" in
  6616   x)
  6617     { echo "$as_me:$LINENO: result: none needed" >&5
  6618 echo "${ECHO_T}none needed" >&6; } ;;
  6619   xno)
  6620     { echo "$as_me:$LINENO: result: unsupported" >&5
  6621 echo "${ECHO_T}unsupported" >&6; } ;;
  6622   *)
  6623     CC_FOR_BUILD="$CC_FOR_BUILD $ac_cv_build_prog_cc_stdc"
  6624     { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6625 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6626 esac
  6627 if test "x$ac_cv_build_prog_cc_stdc" != xno; then
  6628   ac_cv_build_prog_cc_stdc=$ac_cv_build_prog_cc_stdc
  6629 else
  6630   ac_cv_build_prog_cc_stdc=no
  6631 fi
  6634 fi
  6636  ;;
  6637 esac
  6638   { echo "$as_me:$LINENO: checking for $CC_FOR_BUILD option to accept ISO Standard C" >&5
  6639 echo $ECHO_N "checking for $CC_FOR_BUILD option to accept ISO Standard C... $ECHO_C" >&6; }
  6640   if test "${ac_cv_build_prog_cc_stdc+set}" = set; then
  6641   echo $ECHO_N "(cached) $ECHO_C" >&6
  6642 fi
  6644   case $ac_cv_build_prog_cc_stdc in
  6645   no) { echo "$as_me:$LINENO: result: unsupported" >&5
  6646 echo "${ECHO_T}unsupported" >&6; } ;;
  6647   '') { echo "$as_me:$LINENO: result: none needed" >&5
  6648 echo "${ECHO_T}none needed" >&6; } ;;
  6649   *) { echo "$as_me:$LINENO: result: $ac_cv_build_prog_cc_stdc" >&5
  6650 echo "${ECHO_T}$ac_cv_build_prog_cc_stdc" >&6; } ;;
  6651 esac
  6654 ac_ext=c
  6655 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  6656 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  6657 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6658 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  6659 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  6660 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
  6661 # On Suns, sometimes $CPP names a directory.
  6662 if test -n "$CPP_FOR_BUILD" && test -d "$CPP_FOR_BUILD"; then
  6663   CPP_FOR_BUILD=
  6664 fi
  6665 if test -z "$CPP_FOR_BUILD"; then
  6666   if test "${ac_cv_build_prog_CPP+set}" = set; then
  6667   echo $ECHO_N "(cached) $ECHO_C" >&6
  6668 else
  6669       # Double quotes because CPP needs to be expanded
  6670     for CPP_FOR_BUILD in "$CC_FOR_BUILD -E" "$CC_FOR_BUILD -E -traditional-cpp" "/lib/cpp"
  6671     do
  6672       ac_preproc_ok=false
  6673 for ac_c_preproc_warn_flag in '' yes
  6674 do
  6675   # Use a header file that comes with gcc, so configuring glibc
  6676   # with a fresh cross-compiler works.
  6677   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6678   # <limits.h> exists even on freestanding compilers.
  6679   # On the NeXT, cc -E runs the code through the compiler's parser,
  6680   # not just through cpp. "Syntax error" is here to catch this case.
  6681   cat >conftest.$ac_ext <<_ACEOF
  6682 /* confdefs.h.  */
  6683 _ACEOF
  6684 cat confdefs.h >>conftest.$ac_ext
  6685 cat >>conftest.$ac_ext <<_ACEOF
  6686 /* end confdefs.h.  */
  6687 #ifdef __STDC__
  6688 # include <limits.h>
  6689 #else
  6690 # include <assert.h>
  6691 #endif
  6692 		     Syntax error
  6693 _ACEOF
  6694 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6695 case "(($ac_try" in
  6696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6697   *) ac_try_echo=$ac_try;;
  6698 esac
  6699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6700   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6701   ac_status=$?
  6702   grep -v '^ *+' conftest.er1 >conftest.err
  6703   rm -f conftest.er1
  6704   cat conftest.err >&5
  6705   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6706   (exit $ac_status); } >/dev/null && {
  6707 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6708 	 test ! -s conftest.err
  6709        }; then
  6711 else
  6712   echo "$as_me: failed program was:" >&5
  6713 sed 's/^/| /' conftest.$ac_ext >&5
  6715   # Broken: fails on valid input.
  6716 continue
  6717 fi
  6719 rm -f conftest.err conftest.$ac_ext
  6721   # OK, works on sane cases.  Now check whether nonexistent headers
  6722   # can be detected and how.
  6723   cat >conftest.$ac_ext <<_ACEOF
  6724 /* confdefs.h.  */
  6725 _ACEOF
  6726 cat confdefs.h >>conftest.$ac_ext
  6727 cat >>conftest.$ac_ext <<_ACEOF
  6728 /* end confdefs.h.  */
  6729 #include <ac_nonexistent.h>
  6730 _ACEOF
  6731 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6732 case "(($ac_try" in
  6733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6734   *) ac_try_echo=$ac_try;;
  6735 esac
  6736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6737   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6738   ac_status=$?
  6739   grep -v '^ *+' conftest.er1 >conftest.err
  6740   rm -f conftest.er1
  6741   cat conftest.err >&5
  6742   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6743   (exit $ac_status); } >/dev/null && {
  6744 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6745 	 test ! -s conftest.err
  6746        }; then
  6747   # Broken: success on invalid input.
  6748 continue
  6749 else
  6750   echo "$as_me: failed program was:" >&5
  6751 sed 's/^/| /' conftest.$ac_ext >&5
  6753   # Passes both tests.
  6754 ac_preproc_ok=:
  6755 break
  6756 fi
  6758 rm -f conftest.err conftest.$ac_ext
  6760 done
  6761 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6762 rm -f conftest.err conftest.$ac_ext
  6763 if $ac_preproc_ok; then
  6764   break
  6765 fi
  6767     done
  6768     ac_cv_build_prog_CPP=$CPP_FOR_BUILD
  6770 fi
  6771   CPP_FOR_BUILD=$ac_cv_build_prog_CPP
  6772 else
  6773   ac_cv_build_prog_CPP=$CPP_FOR_BUILD
  6774 fi
  6775 { echo "$as_me:$LINENO: result: $CPP_FOR_BUILD" >&5
  6776 echo "${ECHO_T}$CPP_FOR_BUILD" >&6; }
  6777 ac_preproc_ok=false
  6778 for ac_c_preproc_warn_flag in '' yes
  6779 do
  6780   # Use a header file that comes with gcc, so configuring glibc
  6781   # with a fresh cross-compiler works.
  6782   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6783   # <limits.h> exists even on freestanding compilers.
  6784   # On the NeXT, cc -E runs the code through the compiler's parser,
  6785   # not just through cpp. "Syntax error" is here to catch this case.
  6786   cat >conftest.$ac_ext <<_ACEOF
  6787 /* confdefs.h.  */
  6788 _ACEOF
  6789 cat confdefs.h >>conftest.$ac_ext
  6790 cat >>conftest.$ac_ext <<_ACEOF
  6791 /* end confdefs.h.  */
  6792 #ifdef __STDC__
  6793 # include <limits.h>
  6794 #else
  6795 # include <assert.h>
  6796 #endif
  6797 		     Syntax error
  6798 _ACEOF
  6799 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6800 case "(($ac_try" in
  6801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6802   *) ac_try_echo=$ac_try;;
  6803 esac
  6804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6805   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6806   ac_status=$?
  6807   grep -v '^ *+' conftest.er1 >conftest.err
  6808   rm -f conftest.er1
  6809   cat conftest.err >&5
  6810   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6811   (exit $ac_status); } >/dev/null && {
  6812 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6813 	 test ! -s conftest.err
  6814        }; then
  6816 else
  6817   echo "$as_me: failed program was:" >&5
  6818 sed 's/^/| /' conftest.$ac_ext >&5
  6820   # Broken: fails on valid input.
  6821 continue
  6822 fi
  6824 rm -f conftest.err conftest.$ac_ext
  6826   # OK, works on sane cases.  Now check whether nonexistent headers
  6827   # can be detected and how.
  6828   cat >conftest.$ac_ext <<_ACEOF
  6829 /* confdefs.h.  */
  6830 _ACEOF
  6831 cat confdefs.h >>conftest.$ac_ext
  6832 cat >>conftest.$ac_ext <<_ACEOF
  6833 /* end confdefs.h.  */
  6834 #include <ac_nonexistent.h>
  6835 _ACEOF
  6836 if { (ac_try="$ac_build_cpp conftest.$ac_ext"
  6837 case "(($ac_try" in
  6838   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6839   *) ac_try_echo=$ac_try;;
  6840 esac
  6841 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  6842   (eval "$ac_build_cpp conftest.$ac_ext") 2>conftest.er1
  6843   ac_status=$?
  6844   grep -v '^ *+' conftest.er1 >conftest.err
  6845   rm -f conftest.er1
  6846   cat conftest.err >&5
  6847   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6848   (exit $ac_status); } >/dev/null && {
  6849 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6850 	 test ! -s conftest.err
  6851        }; then
  6852   # Broken: success on invalid input.
  6853 continue
  6854 else
  6855   echo "$as_me: failed program was:" >&5
  6856 sed 's/^/| /' conftest.$ac_ext >&5
  6858   # Passes both tests.
  6859 ac_preproc_ok=:
  6860 break
  6861 fi
  6863 rm -f conftest.err conftest.$ac_ext
  6865 done
  6866 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6867 rm -f conftest.err conftest.$ac_ext
  6868 if $ac_preproc_ok; then
  6870 else
  6871   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
  6872 See \`config.log' for more details." >&5
  6873 echo "$as_me: error: C preprocessor \"$CPP_FOR_BUILD\" fails sanity check
  6874 See \`config.log' for more details." >&2;}
  6875    { (exit 1); exit 1; }; }
  6876 fi
  6878 ac_ext=c
  6879 ac_build_cpp='$CPP_FOR_BUILD $CPPFLAGS_FOR_BUILD'
  6880 ac_build_compile='$CC_FOR_BUILD -c $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD conftest.$ac_ext >&5'
  6881 ac_build_link='$CC_FOR_BUILD -o conftest$ac_build_exeext $CFLAGS_FOR_BUILD $CPPFLAGS_FOR_BUILD $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6882 ac_build_compiler_gnu=$ac_cv_c_compiler_gnu
  6887 BUILD_EXEEXT=$ac_build_exeext
  6888 BUILD_OBJEXT=$ac_build_objext
  6890 ac_ext=m
  6891 ac_cpp='$OBJCPP $CPPFLAGS'
  6892 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6893 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6894 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  6895 if test -n "$ac_tool_prefix"; then
  6896   for ac_prog in gcc objcc objc cc CC
  6897   do
  6898     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  6899 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  6900 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6901 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6902 if test "${ac_cv_prog_OBJC+set}" = set; then
  6903   echo $ECHO_N "(cached) $ECHO_C" >&6
  6904 else
  6905   if test -n "$OBJC"; then
  6906   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  6907 else
  6908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6909 for as_dir in $PATH
  6910 do
  6911   IFS=$as_save_IFS
  6912   test -z "$as_dir" && as_dir=.
  6913   for ac_exec_ext in '' $ac_executable_extensions; do
  6914   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6915     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  6916     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6917     break 2
  6918   fi
  6919 done
  6920 done
  6921 IFS=$as_save_IFS
  6923 fi
  6924 fi
  6925 OBJC=$ac_cv_prog_OBJC
  6926 if test -n "$OBJC"; then
  6927   { echo "$as_me:$LINENO: result: $OBJC" >&5
  6928 echo "${ECHO_T}$OBJC" >&6; }
  6929 else
  6930   { echo "$as_me:$LINENO: result: no" >&5
  6931 echo "${ECHO_T}no" >&6; }
  6932 fi
  6935     test -n "$OBJC" && break
  6936   done
  6937 fi
  6938 if test -z "$OBJC"; then
  6939   ac_ct_OBJC=$OBJC
  6940   for ac_prog in gcc objcc objc cc CC
  6941 do
  6942   # Extract the first word of "$ac_prog", so it can be a program name with args.
  6943 set dummy $ac_prog; ac_word=$2
  6944 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  6945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  6946 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  6947   echo $ECHO_N "(cached) $ECHO_C" >&6
  6948 else
  6949   if test -n "$ac_ct_OBJC"; then
  6950   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  6951 else
  6952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6953 for as_dir in $PATH
  6954 do
  6955   IFS=$as_save_IFS
  6956   test -z "$as_dir" && as_dir=.
  6957   for ac_exec_ext in '' $ac_executable_extensions; do
  6958   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6959     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  6960     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6961     break 2
  6962   fi
  6963 done
  6964 done
  6965 IFS=$as_save_IFS
  6967 fi
  6968 fi
  6969 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  6970 if test -n "$ac_ct_OBJC"; then
  6971   { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  6972 echo "${ECHO_T}$ac_ct_OBJC" >&6; }
  6973 else
  6974   { echo "$as_me:$LINENO: result: no" >&5
  6975 echo "${ECHO_T}no" >&6; }
  6976 fi
  6979   test -n "$ac_ct_OBJC" && break
  6980 done
  6982   if test "x$ac_ct_OBJC" = x; then
  6983     OBJC="gcc"
  6984   else
  6985     case $cross_compiling:$ac_tool_warned in
  6986 yes:)
  6987 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  6988 whose name does not start with the host triplet.  If you think this
  6989 configuration is useful to you, please write to autoconf@gnu.org." >&5
  6990 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6991 whose name does not start with the host triplet.  If you think this
  6992 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6993 ac_tool_warned=yes ;;
  6994 esac
  6995     OBJC=$ac_ct_OBJC
  6996   fi
  6997 fi
  6999 # Provide some information about the compiler.
  7000 echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  7001 ac_compiler=`set X $ac_compile; echo $2`
  7002 { (ac_try="$ac_compiler --version >&5"
  7003 case "(($ac_try" in
  7004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7005   *) ac_try_echo=$ac_try;;
  7006 esac
  7007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7008   (eval "$ac_compiler --version >&5") 2>&5
  7009   ac_status=$?
  7010   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7011   (exit $ac_status); }
  7012 { (ac_try="$ac_compiler -v >&5"
  7013 case "(($ac_try" in
  7014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7015   *) ac_try_echo=$ac_try;;
  7016 esac
  7017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7018   (eval "$ac_compiler -v >&5") 2>&5
  7019   ac_status=$?
  7020   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7021   (exit $ac_status); }
  7022 { (ac_try="$ac_compiler -V >&5"
  7023 case "(($ac_try" in
  7024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7025   *) ac_try_echo=$ac_try;;
  7026 esac
  7027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7028   (eval "$ac_compiler -V >&5") 2>&5
  7029   ac_status=$?
  7030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7031   (exit $ac_status); }
  7033 { echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  7034 echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
  7035 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  7036   echo $ECHO_N "(cached) $ECHO_C" >&6
  7037 else
  7038   cat >conftest.$ac_ext <<_ACEOF
  7039 /* confdefs.h.  */
  7040 _ACEOF
  7041 cat confdefs.h >>conftest.$ac_ext
  7042 cat >>conftest.$ac_ext <<_ACEOF
  7043 /* end confdefs.h.  */
  7045 int
  7046 main ()
  7048 #ifndef __GNUC__
  7049        choke me
  7050 #endif
  7053   return 0;
  7055 _ACEOF
  7056 rm -f conftest.$ac_objext
  7057 if { (ac_try="$ac_compile"
  7058 case "(($ac_try" in
  7059   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7060   *) ac_try_echo=$ac_try;;
  7061 esac
  7062 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7063   (eval "$ac_compile") 2>conftest.er1
  7064   ac_status=$?
  7065   grep -v '^ *+' conftest.er1 >conftest.err
  7066   rm -f conftest.er1
  7067   cat conftest.err >&5
  7068   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7069   (exit $ac_status); } && {
  7070 	 test -z "$ac_objc_werror_flag" ||
  7071 	 test ! -s conftest.err
  7072        } && test -s conftest.$ac_objext; then
  7073   ac_compiler_gnu=yes
  7074 else
  7075   echo "$as_me: failed program was:" >&5
  7076 sed 's/^/| /' conftest.$ac_ext >&5
  7078 	ac_compiler_gnu=no
  7079 fi
  7081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7082 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  7084 fi
  7085 { echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  7086 echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
  7087 GOBJC=`test $ac_compiler_gnu = yes && echo yes`
  7088 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  7089 ac_save_OBJCFLAGS=$OBJCFLAGS
  7090 { echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  7091 echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
  7092 if test "${ac_cv_prog_objc_g+set}" = set; then
  7093   echo $ECHO_N "(cached) $ECHO_C" >&6
  7094 else
  7095   ac_save_objc_werror_flag=$ac_objc_werror_flag
  7096    ac_objc_werror_flag=yes
  7097    ac_cv_prog_objc_g=no
  7098    OBJCFLAGS="-g"
  7099    cat >conftest.$ac_ext <<_ACEOF
  7100 /* confdefs.h.  */
  7101 _ACEOF
  7102 cat confdefs.h >>conftest.$ac_ext
  7103 cat >>conftest.$ac_ext <<_ACEOF
  7104 /* end confdefs.h.  */
  7106 int
  7107 main ()
  7111   return 0;
  7113 _ACEOF
  7114 rm -f conftest.$ac_objext
  7115 if { (ac_try="$ac_compile"
  7116 case "(($ac_try" in
  7117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7118   *) ac_try_echo=$ac_try;;
  7119 esac
  7120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7121   (eval "$ac_compile") 2>conftest.er1
  7122   ac_status=$?
  7123   grep -v '^ *+' conftest.er1 >conftest.err
  7124   rm -f conftest.er1
  7125   cat conftest.err >&5
  7126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7127   (exit $ac_status); } && {
  7128 	 test -z "$ac_objc_werror_flag" ||
  7129 	 test ! -s conftest.err
  7130        } && test -s conftest.$ac_objext; then
  7131   ac_cv_prog_objc_g=yes
  7132 else
  7133   echo "$as_me: failed program was:" >&5
  7134 sed 's/^/| /' conftest.$ac_ext >&5
  7136 	OBJCFLAGS=""
  7137       cat >conftest.$ac_ext <<_ACEOF
  7138 /* confdefs.h.  */
  7139 _ACEOF
  7140 cat confdefs.h >>conftest.$ac_ext
  7141 cat >>conftest.$ac_ext <<_ACEOF
  7142 /* end confdefs.h.  */
  7144 int
  7145 main ()
  7149   return 0;
  7151 _ACEOF
  7152 rm -f conftest.$ac_objext
  7153 if { (ac_try="$ac_compile"
  7154 case "(($ac_try" in
  7155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7156   *) ac_try_echo=$ac_try;;
  7157 esac
  7158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7159   (eval "$ac_compile") 2>conftest.er1
  7160   ac_status=$?
  7161   grep -v '^ *+' conftest.er1 >conftest.err
  7162   rm -f conftest.er1
  7163   cat conftest.err >&5
  7164   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7165   (exit $ac_status); } && {
  7166 	 test -z "$ac_objc_werror_flag" ||
  7167 	 test ! -s conftest.err
  7168        } && test -s conftest.$ac_objext; then
  7170 else
  7171   echo "$as_me: failed program was:" >&5
  7172 sed 's/^/| /' conftest.$ac_ext >&5
  7174 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  7175 	 OBJCFLAGS="-g"
  7176 	 cat >conftest.$ac_ext <<_ACEOF
  7177 /* confdefs.h.  */
  7178 _ACEOF
  7179 cat confdefs.h >>conftest.$ac_ext
  7180 cat >>conftest.$ac_ext <<_ACEOF
  7181 /* end confdefs.h.  */
  7183 int
  7184 main ()
  7188   return 0;
  7190 _ACEOF
  7191 rm -f conftest.$ac_objext
  7192 if { (ac_try="$ac_compile"
  7193 case "(($ac_try" in
  7194   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7195   *) ac_try_echo=$ac_try;;
  7196 esac
  7197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7198   (eval "$ac_compile") 2>conftest.er1
  7199   ac_status=$?
  7200   grep -v '^ *+' conftest.er1 >conftest.err
  7201   rm -f conftest.er1
  7202   cat conftest.err >&5
  7203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7204   (exit $ac_status); } && {
  7205 	 test -z "$ac_objc_werror_flag" ||
  7206 	 test ! -s conftest.err
  7207        } && test -s conftest.$ac_objext; then
  7208   ac_cv_prog_objc_g=yes
  7209 else
  7210   echo "$as_me: failed program was:" >&5
  7211 sed 's/^/| /' conftest.$ac_ext >&5
  7214 fi
  7216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7217 fi
  7219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7220 fi
  7222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7223    ac_objc_werror_flag=$ac_save_objc_werror_flag
  7224 fi
  7225 { echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  7226 echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
  7227 if test "$ac_test_OBJCFLAGS" = set; then
  7228   OBJCFLAGS=$ac_save_OBJCFLAGS
  7229 elif test $ac_cv_prog_objc_g = yes; then
  7230   if test "$GOBJC" = yes; then
  7231     OBJCFLAGS="-g -O2"
  7232   else
  7233     OBJCFLAGS="-g"
  7234   fi
  7235 else
  7236   if test "$GOBJC" = yes; then
  7237     OBJCFLAGS="-O2"
  7238   else
  7239     OBJCFLAGS=
  7240   fi
  7241 fi
  7242 ac_ext=c
  7243 ac_cpp='$CPP $CPPFLAGS'
  7244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7248 { echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  7249 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
  7250 if test "${ac_cv_path_SED+set}" = set; then
  7251   echo $ECHO_N "(cached) $ECHO_C" >&6
  7252 else
  7253             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  7254      for ac_i in 1 2 3 4 5 6 7; do
  7255        ac_script="$ac_script$as_nl$ac_script"
  7256      done
  7257      echo "$ac_script" | sed 99q >conftest.sed
  7258      $as_unset ac_script || ac_script=
  7259      # Extract the first word of "sed gsed" to use in msg output
  7260 if test -z "$SED"; then
  7261 set dummy sed gsed; ac_prog_name=$2
  7262 if test "${ac_cv_path_SED+set}" = set; then
  7263   echo $ECHO_N "(cached) $ECHO_C" >&6
  7264 else
  7265   ac_path_SED_found=false
  7266 # Loop through the user's path and test for each of PROGNAME-LIST
  7267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7268 for as_dir in $PATH
  7269 do
  7270   IFS=$as_save_IFS
  7271   test -z "$as_dir" && as_dir=.
  7272   for ac_prog in sed gsed; do
  7273   for ac_exec_ext in '' $ac_executable_extensions; do
  7274     ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  7275     { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  7276     # Check for GNU ac_path_SED and select it if it is found.
  7277   # Check for GNU $ac_path_SED
  7278 case `"$ac_path_SED" --version 2>&1` in
  7279 *GNU*)
  7280   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  7281 *)
  7282   ac_count=0
  7283   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  7284   while :
  7285   do
  7286     cat "conftest.in" "conftest.in" >"conftest.tmp"
  7287     mv "conftest.tmp" "conftest.in"
  7288     cp "conftest.in" "conftest.nl"
  7289     echo '' >> "conftest.nl"
  7290     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7291     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7292     ac_count=`expr $ac_count + 1`
  7293     if test $ac_count -gt ${ac_path_SED_max-0}; then
  7294       # Best one so far, save it but keep looking for a better one
  7295       ac_cv_path_SED="$ac_path_SED"
  7296       ac_path_SED_max=$ac_count
  7297     fi
  7298     # 10*(2^10) chars as input seems more than enough
  7299     test $ac_count -gt 10 && break
  7300   done
  7301   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7302 esac
  7305     $ac_path_SED_found && break 3
  7306   done
  7307 done
  7309 done
  7310 IFS=$as_save_IFS
  7313 fi
  7315 SED="$ac_cv_path_SED"
  7316 if test -z "$SED"; then
  7317   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in \$PATH" >&5
  7318 echo "$as_me: error: no acceptable $ac_prog_name could be found in \$PATH" >&2;}
  7319    { (exit 1); exit 1; }; }
  7320 fi
  7322 else
  7323   ac_cv_path_SED=$SED
  7324 fi
  7326 fi
  7327 { echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  7328 echo "${ECHO_T}$ac_cv_path_SED" >&6; }
  7329  SED="$ac_cv_path_SED"
  7330   rm -f conftest.sed
  7332 # By default we simply use the C compiler to build assembly code.
  7334 test "${CCAS+set}" = set || CCAS=$CC
  7335 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  7339 if test -n "$ac_tool_prefix"; then
  7340   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  7341 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  7342 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  7343 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  7344 if test "${ac_cv_prog_RANLIB+set}" = set; then
  7345   echo $ECHO_N "(cached) $ECHO_C" >&6
  7346 else
  7347   if test -n "$RANLIB"; then
  7348   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  7349 else
  7350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7351 for as_dir in $PATH
  7352 do
  7353   IFS=$as_save_IFS
  7354   test -z "$as_dir" && as_dir=.
  7355   for ac_exec_ext in '' $ac_executable_extensions; do
  7356   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7357     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  7358     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7359     break 2
  7360   fi
  7361 done
  7362 done
  7363 IFS=$as_save_IFS
  7365 fi
  7366 fi
  7367 RANLIB=$ac_cv_prog_RANLIB
  7368 if test -n "$RANLIB"; then
  7369   { echo "$as_me:$LINENO: result: $RANLIB" >&5
  7370 echo "${ECHO_T}$RANLIB" >&6; }
  7371 else
  7372   { echo "$as_me:$LINENO: result: no" >&5
  7373 echo "${ECHO_T}no" >&6; }
  7374 fi
  7377 fi
  7378 if test -z "$ac_cv_prog_RANLIB"; then
  7379   ac_ct_RANLIB=$RANLIB
  7380   # Extract the first word of "ranlib", so it can be a program name with args.
  7381 set dummy ranlib; ac_word=$2
  7382 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  7383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  7384 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  7385   echo $ECHO_N "(cached) $ECHO_C" >&6
  7386 else
  7387   if test -n "$ac_ct_RANLIB"; then
  7388   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  7389 else
  7390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7391 for as_dir in $PATH
  7392 do
  7393   IFS=$as_save_IFS
  7394   test -z "$as_dir" && as_dir=.
  7395   for ac_exec_ext in '' $ac_executable_extensions; do
  7396   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7397     ac_cv_prog_ac_ct_RANLIB="ranlib"
  7398     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7399     break 2
  7400   fi
  7401 done
  7402 done
  7403 IFS=$as_save_IFS
  7405 fi
  7406 fi
  7407 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  7408 if test -n "$ac_ct_RANLIB"; then
  7409   { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  7410 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
  7411 else
  7412   { echo "$as_me:$LINENO: result: no" >&5
  7413 echo "${ECHO_T}no" >&6; }
  7414 fi
  7416   if test "x$ac_ct_RANLIB" = x; then
  7417     RANLIB=":"
  7418   else
  7419     case $cross_compiling:$ac_tool_warned in
  7420 yes:)
  7421 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  7422 whose name does not start with the host triplet.  If you think this
  7423 configuration is useful to you, please write to autoconf@gnu.org." >&5
  7424 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  7425 whose name does not start with the host triplet.  If you think this
  7426 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  7427 ac_tool_warned=yes ;;
  7428 esac
  7429     RANLIB=$ac_ct_RANLIB
  7430   fi
  7431 else
  7432   RANLIB="$ac_cv_prog_RANLIB"
  7433 fi
  7436 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  7437 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
  7438 if test "${ac_cv_path_GREP+set}" = set; then
  7439   echo $ECHO_N "(cached) $ECHO_C" >&6
  7440 else
  7441   # Extract the first word of "grep ggrep" to use in msg output
  7442 if test -z "$GREP"; then
  7443 set dummy grep ggrep; ac_prog_name=$2
  7444 if test "${ac_cv_path_GREP+set}" = set; then
  7445   echo $ECHO_N "(cached) $ECHO_C" >&6
  7446 else
  7447   ac_path_GREP_found=false
  7448 # Loop through the user's path and test for each of PROGNAME-LIST
  7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7450 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  7451 do
  7452   IFS=$as_save_IFS
  7453   test -z "$as_dir" && as_dir=.
  7454   for ac_prog in grep ggrep; do
  7455   for ac_exec_ext in '' $ac_executable_extensions; do
  7456     ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  7457     { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  7458     # Check for GNU ac_path_GREP and select it if it is found.
  7459   # Check for GNU $ac_path_GREP
  7460 case `"$ac_path_GREP" --version 2>&1` in
  7461 *GNU*)
  7462   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  7463 *)
  7464   ac_count=0
  7465   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  7466   while :
  7467   do
  7468     cat "conftest.in" "conftest.in" >"conftest.tmp"
  7469     mv "conftest.tmp" "conftest.in"
  7470     cp "conftest.in" "conftest.nl"
  7471     echo 'GREP' >> "conftest.nl"
  7472     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7473     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7474     ac_count=`expr $ac_count + 1`
  7475     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  7476       # Best one so far, save it but keep looking for a better one
  7477       ac_cv_path_GREP="$ac_path_GREP"
  7478       ac_path_GREP_max=$ac_count
  7479     fi
  7480     # 10*(2^10) chars as input seems more than enough
  7481     test $ac_count -gt 10 && break
  7482   done
  7483   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7484 esac
  7487     $ac_path_GREP_found && break 3
  7488   done
  7489 done
  7491 done
  7492 IFS=$as_save_IFS
  7495 fi
  7497 GREP="$ac_cv_path_GREP"
  7498 if test -z "$GREP"; then
  7499   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  7500 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  7501    { (exit 1); exit 1; }; }
  7502 fi
  7504 else
  7505   ac_cv_path_GREP=$GREP
  7506 fi
  7509 fi
  7510 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  7511 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
  7512  GREP="$ac_cv_path_GREP"
  7515 { echo "$as_me:$LINENO: checking for egrep" >&5
  7516 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
  7517 if test "${ac_cv_path_EGREP+set}" = set; then
  7518   echo $ECHO_N "(cached) $ECHO_C" >&6
  7519 else
  7520   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  7521    then ac_cv_path_EGREP="$GREP -E"
  7522    else
  7523      # Extract the first word of "egrep" to use in msg output
  7524 if test -z "$EGREP"; then
  7525 set dummy egrep; ac_prog_name=$2
  7526 if test "${ac_cv_path_EGREP+set}" = set; then
  7527   echo $ECHO_N "(cached) $ECHO_C" >&6
  7528 else
  7529   ac_path_EGREP_found=false
  7530 # Loop through the user's path and test for each of PROGNAME-LIST
  7531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7532 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  7533 do
  7534   IFS=$as_save_IFS
  7535   test -z "$as_dir" && as_dir=.
  7536   for ac_prog in egrep; do
  7537   for ac_exec_ext in '' $ac_executable_extensions; do
  7538     ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  7539     { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  7540     # Check for GNU ac_path_EGREP and select it if it is found.
  7541   # Check for GNU $ac_path_EGREP
  7542 case `"$ac_path_EGREP" --version 2>&1` in
  7543 *GNU*)
  7544   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  7545 *)
  7546   ac_count=0
  7547   echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
  7548   while :
  7549   do
  7550     cat "conftest.in" "conftest.in" >"conftest.tmp"
  7551     mv "conftest.tmp" "conftest.in"
  7552     cp "conftest.in" "conftest.nl"
  7553     echo 'EGREP' >> "conftest.nl"
  7554     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  7555     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  7556     ac_count=`expr $ac_count + 1`
  7557     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  7558       # Best one so far, save it but keep looking for a better one
  7559       ac_cv_path_EGREP="$ac_path_EGREP"
  7560       ac_path_EGREP_max=$ac_count
  7561     fi
  7562     # 10*(2^10) chars as input seems more than enough
  7563     test $ac_count -gt 10 && break
  7564   done
  7565   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  7566 esac
  7569     $ac_path_EGREP_found && break 3
  7570   done
  7571 done
  7573 done
  7574 IFS=$as_save_IFS
  7577 fi
  7579 EGREP="$ac_cv_path_EGREP"
  7580 if test -z "$EGREP"; then
  7581   { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  7582 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  7583    { (exit 1); exit 1; }; }
  7584 fi
  7586 else
  7587   ac_cv_path_EGREP=$EGREP
  7588 fi
  7591    fi
  7592 fi
  7593 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  7594 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
  7595  EGREP="$ac_cv_path_EGREP"
  7598 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  7599 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  7600 if test "${ac_cv_header_stdc+set}" = set; then
  7601   echo $ECHO_N "(cached) $ECHO_C" >&6
  7602 else
  7603   cat >conftest.$ac_ext <<_ACEOF
  7604 /* confdefs.h.  */
  7605 _ACEOF
  7606 cat confdefs.h >>conftest.$ac_ext
  7607 cat >>conftest.$ac_ext <<_ACEOF
  7608 /* end confdefs.h.  */
  7609 #include <stdlib.h>
  7610 #include <stdarg.h>
  7611 #include <string.h>
  7612 #include <float.h>
  7614 int
  7615 main ()
  7619   return 0;
  7621 _ACEOF
  7622 rm -f conftest.$ac_objext
  7623 if { (ac_try="$ac_compile"
  7624 case "(($ac_try" in
  7625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7626   *) ac_try_echo=$ac_try;;
  7627 esac
  7628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7629   (eval "$ac_compile") 2>conftest.er1
  7630   ac_status=$?
  7631   grep -v '^ *+' conftest.er1 >conftest.err
  7632   rm -f conftest.er1
  7633   cat conftest.err >&5
  7634   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7635   (exit $ac_status); } && {
  7636 	 test -z "$ac_c_werror_flag" ||
  7637 	 test ! -s conftest.err
  7638        } && test -s conftest.$ac_objext; then
  7639   ac_cv_header_stdc=yes
  7640 else
  7641   echo "$as_me: failed program was:" >&5
  7642 sed 's/^/| /' conftest.$ac_ext >&5
  7644 	ac_cv_header_stdc=no
  7645 fi
  7647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7649 if test $ac_cv_header_stdc = yes; then
  7650   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  7651   cat >conftest.$ac_ext <<_ACEOF
  7652 /* confdefs.h.  */
  7653 _ACEOF
  7654 cat confdefs.h >>conftest.$ac_ext
  7655 cat >>conftest.$ac_ext <<_ACEOF
  7656 /* end confdefs.h.  */
  7657 #include <string.h>
  7659 _ACEOF
  7660 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7661   $EGREP "memchr" >/dev/null 2>&1; then
  7663 else
  7664   ac_cv_header_stdc=no
  7665 fi
  7666 rm -f conftest*
  7668 fi
  7670 if test $ac_cv_header_stdc = yes; then
  7671   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  7672   cat >conftest.$ac_ext <<_ACEOF
  7673 /* confdefs.h.  */
  7674 _ACEOF
  7675 cat confdefs.h >>conftest.$ac_ext
  7676 cat >>conftest.$ac_ext <<_ACEOF
  7677 /* end confdefs.h.  */
  7678 #include <stdlib.h>
  7680 _ACEOF
  7681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  7682   $EGREP "free" >/dev/null 2>&1; then
  7684 else
  7685   ac_cv_header_stdc=no
  7686 fi
  7687 rm -f conftest*
  7689 fi
  7691 if test $ac_cv_header_stdc = yes; then
  7692   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  7693   if test "$cross_compiling" = yes; then
  7695 else
  7696   cat >conftest.$ac_ext <<_ACEOF
  7697 /* confdefs.h.  */
  7698 _ACEOF
  7699 cat confdefs.h >>conftest.$ac_ext
  7700 cat >>conftest.$ac_ext <<_ACEOF
  7701 /* end confdefs.h.  */
  7702 #include <ctype.h>
  7703 #include <stdlib.h>
  7704 #if ((' ' & 0x0FF) == 0x020)
  7705 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  7706 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  7707 #else
  7708 # define ISLOWER(c) \
  7709 		   (('a' <= (c) && (c) <= 'i') \
  7710 		     || ('j' <= (c) && (c) <= 'r') \
  7711 		     || ('s' <= (c) && (c) <= 'z'))
  7712 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  7713 #endif
  7715 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  7716 int
  7717 main ()
  7719   int i;
  7720   for (i = 0; i < 256; i++)
  7721     if (XOR (islower (i), ISLOWER (i))
  7722 	|| toupper (i) != TOUPPER (i))
  7723       return 2;
  7724   return 0;
  7726 _ACEOF
  7727 rm -f conftest$ac_exeext
  7728 if { (ac_try="$ac_link"
  7729 case "(($ac_try" in
  7730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7731   *) ac_try_echo=$ac_try;;
  7732 esac
  7733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7734   (eval "$ac_link") 2>&5
  7735   ac_status=$?
  7736   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7737   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7738   { (case "(($ac_try" in
  7739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7740   *) ac_try_echo=$ac_try;;
  7741 esac
  7742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7743   (eval "$ac_try") 2>&5
  7744   ac_status=$?
  7745   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7746   (exit $ac_status); }; }; then
  7748 else
  7749   echo "$as_me: program exited with status $ac_status" >&5
  7750 echo "$as_me: failed program was:" >&5
  7751 sed 's/^/| /' conftest.$ac_ext >&5
  7753 ( exit $ac_status )
  7754 ac_cv_header_stdc=no
  7755 fi
  7756 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7757 fi
  7760 fi
  7761 fi
  7762 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  7763 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  7764 if test $ac_cv_header_stdc = yes; then
  7766 cat >>confdefs.h <<\_ACEOF
  7767 #define STDC_HEADERS 1
  7768 _ACEOF
  7770 fi
  7772 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  7782 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  7783 		  inttypes.h stdint.h unistd.h
  7784 do
  7785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7786 { echo "$as_me:$LINENO: checking for $ac_header" >&5
  7787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
  7788 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7789   echo $ECHO_N "(cached) $ECHO_C" >&6
  7790 else
  7791   cat >conftest.$ac_ext <<_ACEOF
  7792 /* confdefs.h.  */
  7793 _ACEOF
  7794 cat confdefs.h >>conftest.$ac_ext
  7795 cat >>conftest.$ac_ext <<_ACEOF
  7796 /* end confdefs.h.  */
  7797 $ac_includes_default
  7799 #include <$ac_header>
  7800 _ACEOF
  7801 rm -f conftest.$ac_objext
  7802 if { (ac_try="$ac_compile"
  7803 case "(($ac_try" in
  7804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7805   *) ac_try_echo=$ac_try;;
  7806 esac
  7807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7808   (eval "$ac_compile") 2>conftest.er1
  7809   ac_status=$?
  7810   grep -v '^ *+' conftest.er1 >conftest.err
  7811   rm -f conftest.er1
  7812   cat conftest.err >&5
  7813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7814   (exit $ac_status); } && {
  7815 	 test -z "$ac_c_werror_flag" ||
  7816 	 test ! -s conftest.err
  7817        } && test -s conftest.$ac_objext; then
  7818   eval "$as_ac_Header=yes"
  7819 else
  7820   echo "$as_me: failed program was:" >&5
  7821 sed 's/^/| /' conftest.$ac_ext >&5
  7823 	eval "$as_ac_Header=no"
  7824 fi
  7826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7827 fi
  7828 ac_res=`eval echo '${'$as_ac_Header'}'`
  7829 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
  7830 echo "${ECHO_T}$ac_res" >&6; }
  7831 if test `eval echo '${'$as_ac_Header'}'` = yes; then
  7832   cat >>confdefs.h <<_ACEOF
  7833 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7834 _ACEOF
  7836 fi
  7838 done
  7841 { echo "$as_me:$LINENO: checking for void *" >&5
  7842 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
  7843 if test "${ac_cv_type_void_p+set}" = set; then
  7844   echo $ECHO_N "(cached) $ECHO_C" >&6
  7845 else
  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_new_;
  7854 int
  7855 main ()
  7857 if ((ac__type_new_ *) 0)
  7858   return 0;
  7859 if (sizeof (ac__type_new_))
  7860   return 0;
  7862   return 0;
  7864 _ACEOF
  7865 rm -f conftest.$ac_objext
  7866 if { (ac_try="$ac_compile"
  7867 case "(($ac_try" in
  7868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7869   *) ac_try_echo=$ac_try;;
  7870 esac
  7871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7872   (eval "$ac_compile") 2>conftest.er1
  7873   ac_status=$?
  7874   grep -v '^ *+' conftest.er1 >conftest.err
  7875   rm -f conftest.er1
  7876   cat conftest.err >&5
  7877   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7878   (exit $ac_status); } && {
  7879 	 test -z "$ac_c_werror_flag" ||
  7880 	 test ! -s conftest.err
  7881        } && test -s conftest.$ac_objext; then
  7882   ac_cv_type_void_p=yes
  7883 else
  7884   echo "$as_me: failed program was:" >&5
  7885 sed 's/^/| /' conftest.$ac_ext >&5
  7887 	ac_cv_type_void_p=no
  7888 fi
  7890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7891 fi
  7892 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
  7893 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
  7895 # The cast to long int works around a bug in the HP C Compiler
  7896 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  7897 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  7898 # This bug is HP SR number 8606223364.
  7899 { echo "$as_me:$LINENO: checking size of void *" >&5
  7900 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
  7901 if test "${ac_cv_sizeof_void_p+set}" = set; then
  7902   echo $ECHO_N "(cached) $ECHO_C" >&6
  7903 else
  7904   if test "$cross_compiling" = yes; then
  7905   # Depending upon the size, compute the lo and hi bounds.
  7906 cat >conftest.$ac_ext <<_ACEOF
  7907 /* confdefs.h.  */
  7908 _ACEOF
  7909 cat confdefs.h >>conftest.$ac_ext
  7910 cat >>conftest.$ac_ext <<_ACEOF
  7911 /* end confdefs.h.  */
  7912 $ac_includes_default
  7913    typedef void * ac__type_sizeof_;
  7914 int
  7915 main ()
  7917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
  7918 test_array [0] = 0
  7921   return 0;
  7923 _ACEOF
  7924 rm -f conftest.$ac_objext
  7925 if { (ac_try="$ac_compile"
  7926 case "(($ac_try" in
  7927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7928   *) ac_try_echo=$ac_try;;
  7929 esac
  7930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7931   (eval "$ac_compile") 2>conftest.er1
  7932   ac_status=$?
  7933   grep -v '^ *+' conftest.er1 >conftest.err
  7934   rm -f conftest.er1
  7935   cat conftest.err >&5
  7936   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7937   (exit $ac_status); } && {
  7938 	 test -z "$ac_c_werror_flag" ||
  7939 	 test ! -s conftest.err
  7940        } && test -s conftest.$ac_objext; then
  7941   ac_lo=0 ac_mid=0
  7942   while :; do
  7943     cat >conftest.$ac_ext <<_ACEOF
  7944 /* confdefs.h.  */
  7945 _ACEOF
  7946 cat confdefs.h >>conftest.$ac_ext
  7947 cat >>conftest.$ac_ext <<_ACEOF
  7948 /* end confdefs.h.  */
  7949 $ac_includes_default
  7950    typedef void * ac__type_sizeof_;
  7951 int
  7952 main ()
  7954 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  7955 test_array [0] = 0
  7958   return 0;
  7960 _ACEOF
  7961 rm -f conftest.$ac_objext
  7962 if { (ac_try="$ac_compile"
  7963 case "(($ac_try" in
  7964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7965   *) ac_try_echo=$ac_try;;
  7966 esac
  7967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  7968   (eval "$ac_compile") 2>conftest.er1
  7969   ac_status=$?
  7970   grep -v '^ *+' conftest.er1 >conftest.err
  7971   rm -f conftest.er1
  7972   cat conftest.err >&5
  7973   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7974   (exit $ac_status); } && {
  7975 	 test -z "$ac_c_werror_flag" ||
  7976 	 test ! -s conftest.err
  7977        } && test -s conftest.$ac_objext; then
  7978   ac_hi=$ac_mid; break
  7979 else
  7980   echo "$as_me: failed program was:" >&5
  7981 sed 's/^/| /' conftest.$ac_ext >&5
  7983 	ac_lo=`expr $ac_mid + 1`
  7984 			if test $ac_lo -le $ac_mid; then
  7985 			  ac_lo= ac_hi=
  7986 			  break
  7987 			fi
  7988 			ac_mid=`expr 2 '*' $ac_mid + 1`
  7989 fi
  7991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7992   done
  7993 else
  7994   echo "$as_me: failed program was:" >&5
  7995 sed 's/^/| /' conftest.$ac_ext >&5
  7997 	cat >conftest.$ac_ext <<_ACEOF
  7998 /* confdefs.h.  */
  7999 _ACEOF
  8000 cat confdefs.h >>conftest.$ac_ext
  8001 cat >>conftest.$ac_ext <<_ACEOF
  8002 /* end confdefs.h.  */
  8003 $ac_includes_default
  8004    typedef void * ac__type_sizeof_;
  8005 int
  8006 main ()
  8008 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
  8009 test_array [0] = 0
  8012   return 0;
  8014 _ACEOF
  8015 rm -f conftest.$ac_objext
  8016 if { (ac_try="$ac_compile"
  8017 case "(($ac_try" in
  8018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8019   *) ac_try_echo=$ac_try;;
  8020 esac
  8021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8022   (eval "$ac_compile") 2>conftest.er1
  8023   ac_status=$?
  8024   grep -v '^ *+' conftest.er1 >conftest.err
  8025   rm -f conftest.er1
  8026   cat conftest.err >&5
  8027   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8028   (exit $ac_status); } && {
  8029 	 test -z "$ac_c_werror_flag" ||
  8030 	 test ! -s conftest.err
  8031        } && test -s conftest.$ac_objext; then
  8032   ac_hi=-1 ac_mid=-1
  8033   while :; do
  8034     cat >conftest.$ac_ext <<_ACEOF
  8035 /* confdefs.h.  */
  8036 _ACEOF
  8037 cat confdefs.h >>conftest.$ac_ext
  8038 cat >>conftest.$ac_ext <<_ACEOF
  8039 /* end confdefs.h.  */
  8040 $ac_includes_default
  8041    typedef void * ac__type_sizeof_;
  8042 int
  8043 main ()
  8045 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
  8046 test_array [0] = 0
  8049   return 0;
  8051 _ACEOF
  8052 rm -f conftest.$ac_objext
  8053 if { (ac_try="$ac_compile"
  8054 case "(($ac_try" in
  8055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8056   *) ac_try_echo=$ac_try;;
  8057 esac
  8058 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8059   (eval "$ac_compile") 2>conftest.er1
  8060   ac_status=$?
  8061   grep -v '^ *+' conftest.er1 >conftest.err
  8062   rm -f conftest.er1
  8063   cat conftest.err >&5
  8064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8065   (exit $ac_status); } && {
  8066 	 test -z "$ac_c_werror_flag" ||
  8067 	 test ! -s conftest.err
  8068        } && test -s conftest.$ac_objext; then
  8069   ac_lo=$ac_mid; break
  8070 else
  8071   echo "$as_me: failed program was:" >&5
  8072 sed 's/^/| /' conftest.$ac_ext >&5
  8074 	ac_hi=`expr '(' $ac_mid ')' - 1`
  8075 			if test $ac_mid -le $ac_hi; then
  8076 			  ac_lo= ac_hi=
  8077 			  break
  8078 			fi
  8079 			ac_mid=`expr 2 '*' $ac_mid`
  8080 fi
  8082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8083   done
  8084 else
  8085   echo "$as_me: failed program was:" >&5
  8086 sed 's/^/| /' conftest.$ac_ext >&5
  8088 	ac_lo= ac_hi=
  8089 fi
  8091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8092 fi
  8094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8095 # Binary search between lo and hi bounds.
  8096 while test "x$ac_lo" != "x$ac_hi"; do
  8097   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  8098   cat >conftest.$ac_ext <<_ACEOF
  8099 /* confdefs.h.  */
  8100 _ACEOF
  8101 cat confdefs.h >>conftest.$ac_ext
  8102 cat >>conftest.$ac_ext <<_ACEOF
  8103 /* end confdefs.h.  */
  8104 $ac_includes_default
  8105    typedef void * ac__type_sizeof_;
  8106 int
  8107 main ()
  8109 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
  8110 test_array [0] = 0
  8113   return 0;
  8115 _ACEOF
  8116 rm -f conftest.$ac_objext
  8117 if { (ac_try="$ac_compile"
  8118 case "(($ac_try" in
  8119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8120   *) ac_try_echo=$ac_try;;
  8121 esac
  8122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8123   (eval "$ac_compile") 2>conftest.er1
  8124   ac_status=$?
  8125   grep -v '^ *+' conftest.er1 >conftest.err
  8126   rm -f conftest.er1
  8127   cat conftest.err >&5
  8128   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8129   (exit $ac_status); } && {
  8130 	 test -z "$ac_c_werror_flag" ||
  8131 	 test ! -s conftest.err
  8132        } && test -s conftest.$ac_objext; then
  8133   ac_hi=$ac_mid
  8134 else
  8135   echo "$as_me: failed program was:" >&5
  8136 sed 's/^/| /' conftest.$ac_ext >&5
  8138 	ac_lo=`expr '(' $ac_mid ')' + 1`
  8139 fi
  8141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8142 done
  8143 case $ac_lo in
  8144 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  8145 '') if test "$ac_cv_type_void_p" = yes; then
  8146      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  8147 See \`config.log' for more details." >&5
  8148 echo "$as_me: error: cannot compute sizeof (void *)
  8149 See \`config.log' for more details." >&2;}
  8150    { (exit 77); exit 77; }; }
  8151    else
  8152      ac_cv_sizeof_void_p=0
  8153    fi ;;
  8154 esac
  8155 else
  8156   cat >conftest.$ac_ext <<_ACEOF
  8157 /* confdefs.h.  */
  8158 _ACEOF
  8159 cat confdefs.h >>conftest.$ac_ext
  8160 cat >>conftest.$ac_ext <<_ACEOF
  8161 /* end confdefs.h.  */
  8162 $ac_includes_default
  8163    typedef void * ac__type_sizeof_;
  8164 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
  8165 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
  8166 #include <stdio.h>
  8167 #include <stdlib.h>
  8168 int
  8169 main ()
  8172   FILE *f = fopen ("conftest.val", "w");
  8173   if (! f)
  8174     return 1;
  8175   if (((long int) (sizeof (ac__type_sizeof_))) < 0)
  8177       long int i = longval ();
  8178       if (i != ((long int) (sizeof (ac__type_sizeof_))))
  8179 	return 1;
  8180       fprintf (f, "%ld\n", i);
  8182   else
  8184       unsigned long int i = ulongval ();
  8185       if (i != ((long int) (sizeof (ac__type_sizeof_))))
  8186 	return 1;
  8187       fprintf (f, "%lu\n", i);
  8189   return ferror (f) || fclose (f) != 0;
  8192   return 0;
  8194 _ACEOF
  8195 rm -f conftest$ac_exeext
  8196 if { (ac_try="$ac_link"
  8197 case "(($ac_try" in
  8198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8199   *) ac_try_echo=$ac_try;;
  8200 esac
  8201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8202   (eval "$ac_link") 2>&5
  8203   ac_status=$?
  8204   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8205   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  8206   { (case "(($ac_try" in
  8207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8208   *) ac_try_echo=$ac_try;;
  8209 esac
  8210 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8211   (eval "$ac_try") 2>&5
  8212   ac_status=$?
  8213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8214   (exit $ac_status); }; }; then
  8215   ac_cv_sizeof_void_p=`cat conftest.val`
  8216 else
  8217   echo "$as_me: program exited with status $ac_status" >&5
  8218 echo "$as_me: failed program was:" >&5
  8219 sed 's/^/| /' conftest.$ac_ext >&5
  8221 ( exit $ac_status )
  8222 if test "$ac_cv_type_void_p" = yes; then
  8223      { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  8224 See \`config.log' for more details." >&5
  8225 echo "$as_me: error: cannot compute sizeof (void *)
  8226 See \`config.log' for more details." >&2;}
  8227    { (exit 77); exit 77; }; }
  8228    else
  8229      ac_cv_sizeof_void_p=0
  8230    fi
  8231 fi
  8232 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8233 fi
  8234 rm -f conftest.val
  8235 fi
  8236 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  8237 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
  8241 cat >>confdefs.h <<_ACEOF
  8242 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  8243 _ACEOF
  8246 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  8247 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
  8248 if test "${ac_cv_header_stdc+set}" = set; then
  8249   echo $ECHO_N "(cached) $ECHO_C" >&6
  8250 else
  8251   cat >conftest.$ac_ext <<_ACEOF
  8252 /* confdefs.h.  */
  8253 _ACEOF
  8254 cat confdefs.h >>conftest.$ac_ext
  8255 cat >>conftest.$ac_ext <<_ACEOF
  8256 /* end confdefs.h.  */
  8257 #include <stdlib.h>
  8258 #include <stdarg.h>
  8259 #include <string.h>
  8260 #include <float.h>
  8262 int
  8263 main ()
  8267   return 0;
  8269 _ACEOF
  8270 rm -f conftest.$ac_objext
  8271 if { (ac_try="$ac_compile"
  8272 case "(($ac_try" in
  8273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8274   *) ac_try_echo=$ac_try;;
  8275 esac
  8276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8277   (eval "$ac_compile") 2>conftest.er1
  8278   ac_status=$?
  8279   grep -v '^ *+' conftest.er1 >conftest.err
  8280   rm -f conftest.er1
  8281   cat conftest.err >&5
  8282   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8283   (exit $ac_status); } && {
  8284 	 test -z "$ac_c_werror_flag" ||
  8285 	 test ! -s conftest.err
  8286        } && test -s conftest.$ac_objext; then
  8287   ac_cv_header_stdc=yes
  8288 else
  8289   echo "$as_me: failed program was:" >&5
  8290 sed 's/^/| /' conftest.$ac_ext >&5
  8292 	ac_cv_header_stdc=no
  8293 fi
  8295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8297 if test $ac_cv_header_stdc = yes; then
  8298   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  8299   cat >conftest.$ac_ext <<_ACEOF
  8300 /* confdefs.h.  */
  8301 _ACEOF
  8302 cat confdefs.h >>conftest.$ac_ext
  8303 cat >>conftest.$ac_ext <<_ACEOF
  8304 /* end confdefs.h.  */
  8305 #include <string.h>
  8307 _ACEOF
  8308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8309   $EGREP "memchr" >/dev/null 2>&1; then
  8311 else
  8312   ac_cv_header_stdc=no
  8313 fi
  8314 rm -f conftest*
  8316 fi
  8318 if test $ac_cv_header_stdc = yes; then
  8319   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  8320   cat >conftest.$ac_ext <<_ACEOF
  8321 /* confdefs.h.  */
  8322 _ACEOF
  8323 cat confdefs.h >>conftest.$ac_ext
  8324 cat >>conftest.$ac_ext <<_ACEOF
  8325 /* end confdefs.h.  */
  8326 #include <stdlib.h>
  8328 _ACEOF
  8329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  8330   $EGREP "free" >/dev/null 2>&1; then
  8332 else
  8333   ac_cv_header_stdc=no
  8334 fi
  8335 rm -f conftest*
  8337 fi
  8339 if test $ac_cv_header_stdc = yes; then
  8340   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  8341   if test "$cross_compiling" = yes; then
  8343 else
  8344   cat >conftest.$ac_ext <<_ACEOF
  8345 /* confdefs.h.  */
  8346 _ACEOF
  8347 cat confdefs.h >>conftest.$ac_ext
  8348 cat >>conftest.$ac_ext <<_ACEOF
  8349 /* end confdefs.h.  */
  8350 #include <ctype.h>
  8351 #include <stdlib.h>
  8352 #if ((' ' & 0x0FF) == 0x020)
  8353 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  8354 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  8355 #else
  8356 # define ISLOWER(c) \
  8357 		   (('a' <= (c) && (c) <= 'i') \
  8358 		     || ('j' <= (c) && (c) <= 'r') \
  8359 		     || ('s' <= (c) && (c) <= 'z'))
  8360 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  8361 #endif
  8363 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  8364 int
  8365 main ()
  8367   int i;
  8368   for (i = 0; i < 256; i++)
  8369     if (XOR (islower (i), ISLOWER (i))
  8370 	|| toupper (i) != TOUPPER (i))
  8371       return 2;
  8372   return 0;
  8374 _ACEOF
  8375 rm -f conftest$ac_exeext
  8376 if { (ac_try="$ac_link"
  8377 case "(($ac_try" in
  8378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8379   *) ac_try_echo=$ac_try;;
  8380 esac
  8381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8382   (eval "$ac_link") 2>&5
  8383   ac_status=$?
  8384   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8385   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  8386   { (case "(($ac_try" in
  8387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8388   *) ac_try_echo=$ac_try;;
  8389 esac
  8390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8391   (eval "$ac_try") 2>&5
  8392   ac_status=$?
  8393   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8394   (exit $ac_status); }; }; then
  8396 else
  8397   echo "$as_me: program exited with status $ac_status" >&5
  8398 echo "$as_me: failed program was:" >&5
  8399 sed 's/^/| /' conftest.$ac_ext >&5
  8401 ( exit $ac_status )
  8402 ac_cv_header_stdc=no
  8403 fi
  8404 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  8405 fi
  8408 fi
  8409 fi
  8410 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  8411 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
  8412 if test $ac_cv_header_stdc = yes; then
  8414 cat >>confdefs.h <<\_ACEOF
  8415 #define STDC_HEADERS 1
  8416 _ACEOF
  8418 fi
  8422 depcc="$OBJC" am_compiler_list='gcc3 gcc'
  8424 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  8425 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
  8426 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
  8427   echo $ECHO_N "(cached) $ECHO_C" >&6
  8428 else
  8429   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  8430   # We make a subdir and do the tests there.  Otherwise we can end up
  8431   # making bogus files that we don't know about and never remove.  For
  8432   # instance it was reported that on HP-UX the gcc test will end up
  8433   # making a dummy file named `D' -- because `-MD' means `put the output
  8434   # in D'.
  8435   mkdir conftest.dir
  8436   # Copy depcomp to subdir because otherwise we won't find it if we're
  8437   # using a relative directory.
  8438   cp "$am_depcomp" conftest.dir
  8439   cd conftest.dir
  8440   # We will build objects and dependencies in a subdirectory because
  8441   # it helps to detect inapplicable dependency modes.  For instance
  8442   # both Tru64's cc and ICC support -MD to output dependencies as a
  8443   # side effect of compilation, but ICC will put the dependencies in
  8444   # the current directory while Tru64 will put them in the object
  8445   # directory.
  8446   mkdir sub
  8448   am_cv_OBJC_dependencies_compiler_type=none
  8449   if test "$am_compiler_list" = ""; then
  8450      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  8451   fi
  8452   for depmode in $am_compiler_list; do
  8453     # Setup a source with many dependencies, because some compilers
  8454     # like to wrap large dependency lists on column 80 (with \), and
  8455     # we should not choose a depcomp mode which is confused by this.
  8457     # We need to recreate these files for each test, as the compiler may
  8458     # overwrite some of them when testing with obscure command lines.
  8459     # This happens at least with the AIX C compiler.
  8460     : > sub/conftest.c
  8461     for i in 1 2 3 4 5 6; do
  8462       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  8463       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  8464       # Solaris 8's {/usr,}/bin/sh.
  8465       touch sub/conftst$i.h
  8466     done
  8467     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  8469     case $depmode in
  8470     nosideeffect)
  8471       # after this tag, mechanisms are not by side-effect, so they'll
  8472       # only be used when explicitly requested
  8473       if test "x$enable_dependency_tracking" = xyes; then
  8474 	continue
  8475       else
  8476 	break
  8477       fi
  8478       ;;
  8479     none) break ;;
  8480     esac
  8481     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  8482     # mode.  It turns out that the SunPro C++ compiler does not properly
  8483     # handle `-M -o', and we need to detect this.
  8484     if depmode=$depmode \
  8485        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  8486        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  8487        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  8488          >/dev/null 2>conftest.err &&
  8489        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  8490        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  8491        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  8492       # icc doesn't choke on unknown options, it will just issue warnings
  8493       # or remarks (even with -Werror).  So we grep stderr for any message
  8494       # that says an option was ignored or not supported.
  8495       # When given -MP, icc 7.0 and 7.1 complain thusly:
  8496       #   icc: Command line warning: ignoring option '-M'; no argument required
  8497       # The diagnosis changed in icc 8.0:
  8498       #   icc: Command line remark: option '-MP' not supported
  8499       if (grep 'ignoring option' conftest.err ||
  8500           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  8501         am_cv_OBJC_dependencies_compiler_type=$depmode
  8502         break
  8503       fi
  8504     fi
  8505   done
  8507   cd ..
  8508   rm -rf conftest.dir
  8509 else
  8510   am_cv_OBJC_dependencies_compiler_type=none
  8511 fi
  8513 fi
  8514 { echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
  8515 echo "${ECHO_T}$am_cv_OBJC_dependencies_compiler_type" >&6; }
  8516 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
  8520 if
  8521   test "x$enable_dependency_tracking" != xno \
  8522   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
  8523   am__fastdepOBJC_TRUE=
  8524   am__fastdepOBJC_FALSE='#'
  8525 else
  8526   am__fastdepOBJC_TRUE='#'
  8527   am__fastdepOBJC_FALSE=
  8528 fi
  8532 # Extract the first word of "pod2man", so it can be a program name with args.
  8533 set dummy pod2man; ac_word=$2
  8534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  8535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8536 if test "${ac_cv_path_POD2MAN+set}" = set; then
  8537   echo $ECHO_N "(cached) $ECHO_C" >&6
  8538 else
  8539   case $POD2MAN in
  8540   [\\/]* | ?:[\\/]*)
  8541   ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
  8542   ;;
  8543   *)
  8544   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8545 for as_dir in $PATH
  8546 do
  8547   IFS=$as_save_IFS
  8548   test -z "$as_dir" && as_dir=.
  8549   for ac_exec_ext in '' $ac_executable_extensions; do
  8550   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8551     ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
  8552     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8553     break 2
  8554   fi
  8555 done
  8556 done
  8557 IFS=$as_save_IFS
  8559   ;;
  8560 esac
  8561 fi
  8562 POD2MAN=$ac_cv_path_POD2MAN
  8563 if test -n "$POD2MAN"; then
  8564   { echo "$as_me:$LINENO: result: $POD2MAN" >&5
  8565 echo "${ECHO_T}$POD2MAN" >&6; }
  8566 else
  8567   { echo "$as_me:$LINENO: result: no" >&5
  8568 echo "${ECHO_T}no" >&6; }
  8569 fi
  8572 # Extract the first word of "pod2html", so it can be a program name with args.
  8573 set dummy pod2html; ac_word=$2
  8574 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  8575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8576 if test "${ac_cv_path_POD2HTML+set}" = set; then
  8577   echo $ECHO_N "(cached) $ECHO_C" >&6
  8578 else
  8579   case $POD2HTML in
  8580   [\\/]* | ?:[\\/]*)
  8581   ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
  8582   ;;
  8583   *)
  8584   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8585 for as_dir in $PATH
  8586 do
  8587   IFS=$as_save_IFS
  8588   test -z "$as_dir" && as_dir=.
  8589   for ac_exec_ext in '' $ac_executable_extensions; do
  8590   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8591     ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
  8592     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8593     break 2
  8594   fi
  8595 done
  8596 done
  8597 IFS=$as_save_IFS
  8599   ;;
  8600 esac
  8601 fi
  8602 POD2HTML=$ac_cv_path_POD2HTML
  8603 if test -n "$POD2HTML"; then
  8604   { echo "$as_me:$LINENO: result: $POD2HTML" >&5
  8605 echo "${ECHO_T}$POD2HTML" >&6; }
  8606 else
  8607   { echo "$as_me:$LINENO: result: no" >&5
  8608 echo "${ECHO_T}no" >&6; }
  8609 fi
  8614 cat >>confdefs.h <<_ACEOF
  8615 #define BUILD_SED_PROG "${SED}"
  8616 _ACEOF
  8619 cat >>confdefs.h <<_ACEOF
  8620 #define BUILD_CPP_PROG "${CPP}"
  8621 _ACEOF
  8625 # Check whether --enable-strict-warn was given.
  8626 if test "${enable_strict_warn+set}" = set; then
  8627   enableval=$enable_strict_warn; if test "$enableval" == "yes"; then
  8628       enable_strictwarn=yes
  8629     fi
  8630 fi
  8632 # Check whether --enable-translator was given.
  8633 if test "${enable_translator+set}" = set; then
  8634   enableval=$enable_translator; true
  8635 else
  8636   enable_translator=yes
  8637 fi
  8639 # Check whether --enable-optimized was given.
  8640 if test "${enable_optimized+set}" = set; then
  8641   enableval=$enable_optimized; true
  8642 else
  8643   enable_optimized=yes
  8644 fi
  8646 # Check whether --enable-shared was given.
  8647 if test "${enable_shared+set}" = set; then
  8648   enableval=$enable_shared; if test "$enableval" == "yes"; then enable_shared=yes; else enable_shared=no; fi
  8649 else
  8650   enable_shared=cond
  8651 fi
  8653 # Check whether --enable-profiled was given.
  8654 if test "${enable_profiled+set}" = set; then
  8655   enableval=$enable_profiled; if test "$enableval" == "yes"; then
  8656       enable_profiled=yes;
  8657     fi
  8658 fi
  8660 # Check whether --enable-trace was given.
  8661 if test "${enable_trace+set}" = set; then
  8662   enableval=$enable_trace; if test "$enableval" == "yes"; then
  8664 cat >>confdefs.h <<\_ACEOF
  8665 #define ENABLE_TRACE_IO 1
  8666 _ACEOF
  8668     fi
  8669 fi
  8671 # Check whether --enable-watch was given.
  8672 if test "${enable_watch+set}" = set; then
  8673   enableval=$enable_watch; if test "$enableval" == "yes"; then
  8675 cat >>confdefs.h <<\_ACEOF
  8676 #define ENABLE_WATCH 1
  8677 _ACEOF
  8679    fi
  8680 fi
  8682 # Check whether --enable-sh4stats was given.
  8683 if test "${enable_sh4stats+set}" = set; then
  8684   enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
  8686 cat >>confdefs.h <<\_ACEOF
  8687 #define ENABLE_SH4STATS 1
  8688 _ACEOF
  8690     fi
  8691 fi
  8694 # Check whether --with-osmesa was given.
  8695 if test "${with_osmesa+set}" = set; then
  8696   withval=$with_osmesa;
  8697 else
  8698   with_osmesa=no
  8699 fi
  8702 # Check whether --with-gtk was given.
  8703 if test "${with_gtk+set}" = set; then
  8704   withval=$with_gtk; with_gtk=yes
  8705 else
  8706   with_gtk=x11
  8707 fi
  8710 # Check whether --with-esd was given.
  8711 if test "${with_esd+set}" = set; then
  8712   withval=$with_esd;
  8713 fi
  8716 # Check whether --with-pulse was given.
  8717 if test "${with_pulse+set}" = set; then
  8718   withval=$with_pulse;
  8719 fi
  8722 # Check whether --with-sdl was given.
  8723 if test "${with_sdl+set}" = set; then
  8724   withval=$with_sdl;
  8725 fi
  8732 ac_ext=m
  8733 ac_cpp='$OBJCPP $CPPFLAGS'
  8734 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8735 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8736 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8737 if test -n "$ac_tool_prefix"; then
  8738   for ac_prog in gcc objcc objc cc CC
  8739   do
  8740     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  8741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  8742 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  8743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8744 if test "${ac_cv_prog_OBJC+set}" = set; then
  8745   echo $ECHO_N "(cached) $ECHO_C" >&6
  8746 else
  8747   if test -n "$OBJC"; then
  8748   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  8749 else
  8750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8751 for as_dir in $PATH
  8752 do
  8753   IFS=$as_save_IFS
  8754   test -z "$as_dir" && as_dir=.
  8755   for ac_exec_ext in '' $ac_executable_extensions; do
  8756   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8757     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  8758     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8759     break 2
  8760   fi
  8761 done
  8762 done
  8763 IFS=$as_save_IFS
  8765 fi
  8766 fi
  8767 OBJC=$ac_cv_prog_OBJC
  8768 if test -n "$OBJC"; then
  8769   { echo "$as_me:$LINENO: result: $OBJC" >&5
  8770 echo "${ECHO_T}$OBJC" >&6; }
  8771 else
  8772   { echo "$as_me:$LINENO: result: no" >&5
  8773 echo "${ECHO_T}no" >&6; }
  8774 fi
  8777     test -n "$OBJC" && break
  8778   done
  8779 fi
  8780 if test -z "$OBJC"; then
  8781   ac_ct_OBJC=$OBJC
  8782   for ac_prog in gcc objcc objc cc CC
  8783 do
  8784   # Extract the first word of "$ac_prog", so it can be a program name with args.
  8785 set dummy $ac_prog; ac_word=$2
  8786 { echo "$as_me:$LINENO: checking for $ac_word" >&5
  8787 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
  8788 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  8789   echo $ECHO_N "(cached) $ECHO_C" >&6
  8790 else
  8791   if test -n "$ac_ct_OBJC"; then
  8792   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  8793 else
  8794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8795 for as_dir in $PATH
  8796 do
  8797   IFS=$as_save_IFS
  8798   test -z "$as_dir" && as_dir=.
  8799   for ac_exec_ext in '' $ac_executable_extensions; do
  8800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8801     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  8802     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8803     break 2
  8804   fi
  8805 done
  8806 done
  8807 IFS=$as_save_IFS
  8809 fi
  8810 fi
  8811 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  8812 if test -n "$ac_ct_OBJC"; then
  8813   { echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  8814 echo "${ECHO_T}$ac_ct_OBJC" >&6; }
  8815 else
  8816   { echo "$as_me:$LINENO: result: no" >&5
  8817 echo "${ECHO_T}no" >&6; }
  8818 fi
  8821   test -n "$ac_ct_OBJC" && break
  8822 done
  8824   if test "x$ac_ct_OBJC" = x; then
  8825     OBJC="gcc"
  8826   else
  8827     case $cross_compiling:$ac_tool_warned in
  8828 yes:)
  8829 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  8830 whose name does not start with the host triplet.  If you think this
  8831 configuration is useful to you, please write to autoconf@gnu.org." >&5
  8832 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  8833 whose name does not start with the host triplet.  If you think this
  8834 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  8835 ac_tool_warned=yes ;;
  8836 esac
  8837     OBJC=$ac_ct_OBJC
  8838   fi
  8839 fi
  8841 # Provide some information about the compiler.
  8842 echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  8843 ac_compiler=`set X $ac_compile; echo $2`
  8844 { (ac_try="$ac_compiler --version >&5"
  8845 case "(($ac_try" in
  8846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8847   *) ac_try_echo=$ac_try;;
  8848 esac
  8849 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8850   (eval "$ac_compiler --version >&5") 2>&5
  8851   ac_status=$?
  8852   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8853   (exit $ac_status); }
  8854 { (ac_try="$ac_compiler -v >&5"
  8855 case "(($ac_try" in
  8856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8857   *) ac_try_echo=$ac_try;;
  8858 esac
  8859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8860   (eval "$ac_compiler -v >&5") 2>&5
  8861   ac_status=$?
  8862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8863   (exit $ac_status); }
  8864 { (ac_try="$ac_compiler -V >&5"
  8865 case "(($ac_try" in
  8866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8867   *) ac_try_echo=$ac_try;;
  8868 esac
  8869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8870   (eval "$ac_compiler -V >&5") 2>&5
  8871   ac_status=$?
  8872   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8873   (exit $ac_status); }
  8875 { echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  8876 echo $ECHO_N "checking whether we are using the GNU Objective C compiler... $ECHO_C" >&6; }
  8877 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  8878   echo $ECHO_N "(cached) $ECHO_C" >&6
  8879 else
  8880   cat >conftest.$ac_ext <<_ACEOF
  8881 /* confdefs.h.  */
  8882 _ACEOF
  8883 cat confdefs.h >>conftest.$ac_ext
  8884 cat >>conftest.$ac_ext <<_ACEOF
  8885 /* end confdefs.h.  */
  8887 int
  8888 main ()
  8890 #ifndef __GNUC__
  8891        choke me
  8892 #endif
  8895   return 0;
  8897 _ACEOF
  8898 rm -f conftest.$ac_objext
  8899 if { (ac_try="$ac_compile"
  8900 case "(($ac_try" in
  8901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8902   *) ac_try_echo=$ac_try;;
  8903 esac
  8904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8905   (eval "$ac_compile") 2>conftest.er1
  8906   ac_status=$?
  8907   grep -v '^ *+' conftest.er1 >conftest.err
  8908   rm -f conftest.er1
  8909   cat conftest.err >&5
  8910   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8911   (exit $ac_status); } && {
  8912 	 test -z "$ac_objc_werror_flag" ||
  8913 	 test ! -s conftest.err
  8914        } && test -s conftest.$ac_objext; then
  8915   ac_compiler_gnu=yes
  8916 else
  8917   echo "$as_me: failed program was:" >&5
  8918 sed 's/^/| /' conftest.$ac_ext >&5
  8920 	ac_compiler_gnu=no
  8921 fi
  8923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8924 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  8926 fi
  8927 { echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  8928 echo "${ECHO_T}$ac_cv_objc_compiler_gnu" >&6; }
  8929 GOBJC=`test $ac_compiler_gnu = yes && echo yes`
  8930 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  8931 ac_save_OBJCFLAGS=$OBJCFLAGS
  8932 { echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  8933 echo $ECHO_N "checking whether $OBJC accepts -g... $ECHO_C" >&6; }
  8934 if test "${ac_cv_prog_objc_g+set}" = set; then
  8935   echo $ECHO_N "(cached) $ECHO_C" >&6
  8936 else
  8937   ac_save_objc_werror_flag=$ac_objc_werror_flag
  8938    ac_objc_werror_flag=yes
  8939    ac_cv_prog_objc_g=no
  8940    OBJCFLAGS="-g"
  8941    cat >conftest.$ac_ext <<_ACEOF
  8942 /* confdefs.h.  */
  8943 _ACEOF
  8944 cat confdefs.h >>conftest.$ac_ext
  8945 cat >>conftest.$ac_ext <<_ACEOF
  8946 /* end confdefs.h.  */
  8948 int
  8949 main ()
  8953   return 0;
  8955 _ACEOF
  8956 rm -f conftest.$ac_objext
  8957 if { (ac_try="$ac_compile"
  8958 case "(($ac_try" in
  8959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8960   *) ac_try_echo=$ac_try;;
  8961 esac
  8962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  8963   (eval "$ac_compile") 2>conftest.er1
  8964   ac_status=$?
  8965   grep -v '^ *+' conftest.er1 >conftest.err
  8966   rm -f conftest.er1
  8967   cat conftest.err >&5
  8968   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8969   (exit $ac_status); } && {
  8970 	 test -z "$ac_objc_werror_flag" ||
  8971 	 test ! -s conftest.err
  8972        } && test -s conftest.$ac_objext; then
  8973   ac_cv_prog_objc_g=yes
  8974 else
  8975   echo "$as_me: failed program was:" >&5
  8976 sed 's/^/| /' conftest.$ac_ext >&5
  8978 	OBJCFLAGS=""
  8979       cat >conftest.$ac_ext <<_ACEOF
  8980 /* confdefs.h.  */
  8981 _ACEOF
  8982 cat confdefs.h >>conftest.$ac_ext
  8983 cat >>conftest.$ac_ext <<_ACEOF
  8984 /* end confdefs.h.  */
  8986 int
  8987 main ()
  8991   return 0;
  8993 _ACEOF
  8994 rm -f conftest.$ac_objext
  8995 if { (ac_try="$ac_compile"
  8996 case "(($ac_try" in
  8997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8998   *) ac_try_echo=$ac_try;;
  8999 esac
  9000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9001   (eval "$ac_compile") 2>conftest.er1
  9002   ac_status=$?
  9003   grep -v '^ *+' conftest.er1 >conftest.err
  9004   rm -f conftest.er1
  9005   cat conftest.err >&5
  9006   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9007   (exit $ac_status); } && {
  9008 	 test -z "$ac_objc_werror_flag" ||
  9009 	 test ! -s conftest.err
  9010        } && test -s conftest.$ac_objext; then
  9012 else
  9013   echo "$as_me: failed program was:" >&5
  9014 sed 's/^/| /' conftest.$ac_ext >&5
  9016 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  9017 	 OBJCFLAGS="-g"
  9018 	 cat >conftest.$ac_ext <<_ACEOF
  9019 /* confdefs.h.  */
  9020 _ACEOF
  9021 cat confdefs.h >>conftest.$ac_ext
  9022 cat >>conftest.$ac_ext <<_ACEOF
  9023 /* end confdefs.h.  */
  9025 int
  9026 main ()
  9030   return 0;
  9032 _ACEOF
  9033 rm -f conftest.$ac_objext
  9034 if { (ac_try="$ac_compile"
  9035 case "(($ac_try" in
  9036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9037   *) ac_try_echo=$ac_try;;
  9038 esac
  9039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9040   (eval "$ac_compile") 2>conftest.er1
  9041   ac_status=$?
  9042   grep -v '^ *+' conftest.er1 >conftest.err
  9043   rm -f conftest.er1
  9044   cat conftest.err >&5
  9045   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9046   (exit $ac_status); } && {
  9047 	 test -z "$ac_objc_werror_flag" ||
  9048 	 test ! -s conftest.err
  9049        } && test -s conftest.$ac_objext; then
  9050   ac_cv_prog_objc_g=yes
  9051 else
  9052   echo "$as_me: failed program was:" >&5
  9053 sed 's/^/| /' conftest.$ac_ext >&5
  9056 fi
  9058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9059 fi
  9061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9062 fi
  9064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9065    ac_objc_werror_flag=$ac_save_objc_werror_flag
  9066 fi
  9067 { echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  9068 echo "${ECHO_T}$ac_cv_prog_objc_g" >&6; }
  9069 if test "$ac_test_OBJCFLAGS" = set; then
  9070   OBJCFLAGS=$ac_save_OBJCFLAGS
  9071 elif test $ac_cv_prog_objc_g = yes; then
  9072   if test "$GOBJC" = yes; then
  9073     OBJCFLAGS="-g -O2"
  9074   else
  9075     OBJCFLAGS="-g"
  9076   fi
  9077 else
  9078   if test "$GOBJC" = yes; then
  9079     OBJCFLAGS="-O2"
  9080   else
  9081     OBJCFLAGS=
  9082   fi
  9083 fi
  9084 ac_ext=c
  9085 ac_cpp='$CPP $CPPFLAGS'
  9086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9090 { echo "$as_me:$LINENO: checking for a working Objective-C compiler" >&5
  9091 echo $ECHO_N "checking for a working Objective-C compiler... $ECHO_C" >&6; }
  9092 ac_ext=m
  9093 ac_cpp='$OBJCPP $CPPFLAGS'
  9094 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9095 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9096 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9097 cat >conftest.$ac_ext <<_ACEOF
  9098 /* confdefs.h.  */
  9099 _ACEOF
  9100 cat confdefs.h >>conftest.$ac_ext
  9101 cat >>conftest.$ac_ext <<_ACEOF
  9102 /* end confdefs.h.  */
  9103 @interface Foo @end
  9104 int
  9105 main ()
  9109   return 0;
  9111 _ACEOF
  9112 rm -f conftest.$ac_objext
  9113 if { (ac_try="$ac_compile"
  9114 case "(($ac_try" in
  9115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9116   *) ac_try_echo=$ac_try;;
  9117 esac
  9118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9119   (eval "$ac_compile") 2>conftest.er1
  9120   ac_status=$?
  9121   grep -v '^ *+' conftest.er1 >conftest.err
  9122   rm -f conftest.er1
  9123   cat conftest.err >&5
  9124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9125   (exit $ac_status); } && {
  9126 	 test -z "$ac_objc_werror_flag" ||
  9127 	 test ! -s conftest.err
  9128        } && test -s conftest.$ac_objext; then
  9129   { echo "$as_me:$LINENO: result: yes" >&5
  9130 echo "${ECHO_T}yes" >&6; }
  9132    { echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  9133 echo $ECHO_N "checking for Cocoa/Cocoa.h... $ECHO_C" >&6; }
  9134 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  9135   echo $ECHO_N "(cached) $ECHO_C" >&6
  9136 else
  9137   cat >conftest.$ac_ext <<_ACEOF
  9138 /* confdefs.h.  */
  9139 _ACEOF
  9140 cat confdefs.h >>conftest.$ac_ext
  9141 cat >>conftest.$ac_ext <<_ACEOF
  9142 /* end confdefs.h.  */
  9143 $ac_includes_default
  9145 #include <Cocoa/Cocoa.h>
  9146 _ACEOF
  9147 rm -f conftest.$ac_objext
  9148 if { (ac_try="$ac_compile"
  9149 case "(($ac_try" in
  9150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9151   *) ac_try_echo=$ac_try;;
  9152 esac
  9153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9154   (eval "$ac_compile") 2>conftest.er1
  9155   ac_status=$?
  9156   grep -v '^ *+' conftest.er1 >conftest.err
  9157   rm -f conftest.er1
  9158   cat conftest.err >&5
  9159   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9160   (exit $ac_status); } && {
  9161 	 test -z "$ac_objc_werror_flag" ||
  9162 	 test ! -s conftest.err
  9163        } && test -s conftest.$ac_objext; then
  9164   ac_cv_header_Cocoa_Cocoa_h=yes
  9165 else
  9166   echo "$as_me: failed program was:" >&5
  9167 sed 's/^/| /' conftest.$ac_ext >&5
  9169 	ac_cv_header_Cocoa_Cocoa_h=no
  9170 fi
  9172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9173 fi
  9174 { echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  9175 echo "${ECHO_T}$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  9176 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
  9178       HAVE_COCOA='yes'
  9179       APPLE_BUILD='yes'
  9180       LIBS="$LIBS -framework AppKit -framework Carbon"
  9181       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"
  9182       LXDREAMCPPFLAGS="-DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
  9183       LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
  9185 cat >>confdefs.h <<\_ACEOF
  9186 #define HAVE_COCOA 1
  9187 _ACEOF
  9190 cat >>confdefs.h <<\_ACEOF
  9191 #define APPLE_BUILD 1
  9192 _ACEOF
  9194       if test "x$with_gtk" = "xx11"; then
  9195         with_gtk=no
  9196       fi
  9198 fi
  9203 { echo "$as_me:$LINENO: checking OBJC version" >&5
  9204 echo $ECHO_N "checking OBJC version... $ECHO_C" >&6; }
  9205 if test -n "$OBJC"; then
  9206   _GOBJC_VERSION=`$OBJC --version | $SED -ne '/(GCC)/p'`
  9207   if test -n "$_GOBJC_VERSION"; then
  9208     { echo "$as_me:$LINENO: result: GCC" >&5
  9209 echo "${ECHO_T}GCC" >&6; }
  9210       OBJCOPT="-O2"
  9211                      OBJCFLAGS="$OBJCFLAGS -fno-strict-aliasing"
  9212   else
  9213     { echo "$as_me:$LINENO: result: Unknown" >&5
  9214 echo "${ECHO_T}Unknown" >&6; }
  9215       OBJCOPT="-O2"
  9216   fi
  9217 else
  9218   { echo "$as_me:$LINENO: result: None" >&5
  9219 echo "${ECHO_T}None" >&6; }
  9221 fi
  9224 ac_ext=m
  9225 ac_cpp='$OBJCPP $CPPFLAGS'
  9226 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9227 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9228 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9230 { echo "$as_me:$LINENO: checking if $OBJC supports -msse2" >&5
  9231 echo $ECHO_N "checking if $OBJC supports -msse2... $ECHO_C" >&6; }
  9232 save_OBJCFLAGS="$OBJCFLAGS"
  9233 OBJCFLAGS="-msse2 $OBJCFLAGS"
  9234 cat >conftest.$ac_ext <<_ACEOF
  9236   /* confdefs.h.  */
  9237 _ACEOF
  9238 cat confdefs.h >>conftest.$ac_ext
  9239 cat >>conftest.$ac_ext <<_ACEOF
  9240 /* end confdefs.h.  */
  9241 int main() { return 0; }
  9242 _ACEOF
  9243 rm -f conftest.$ac_objext
  9244 if { (ac_try="$ac_compile"
  9245 case "(($ac_try" in
  9246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9247   *) ac_try_echo=$ac_try;;
  9248 esac
  9249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9250   (eval "$ac_compile") 2>conftest.er1
  9251   ac_status=$?
  9252   grep -v '^ *+' conftest.er1 >conftest.err
  9253   rm -f conftest.er1
  9254   cat conftest.err >&5
  9255   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9256   (exit $ac_status); } && {
  9257 	 test -z "$ac_objc_werror_flag" ||
  9258 	 test ! -s conftest.err
  9259        } && test -s conftest.$ac_objext; then
  9261    { echo "$as_me:$LINENO: result: yes" >&5
  9262 echo "${ECHO_T}yes" >&6; }
  9264 else
  9265   echo "$as_me: failed program was:" >&5
  9266 sed 's/^/| /' conftest.$ac_ext >&5
  9269    OBJCFLAGS="$save_OBJCFLAGS"
  9270    { echo "$as_me:$LINENO: result: no" >&5
  9271 echo "${ECHO_T}no" >&6; }
  9273 fi
  9275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9276 ac_ext=m
  9277 ac_cpp='$OBJCPP $CPPFLAGS'
  9278 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9279 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9280 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9284 ac_ext=m
  9285 ac_cpp='$OBJCPP $CPPFLAGS'
  9286 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9287 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9288 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9290 { echo "$as_me:$LINENO: checking if $OBJC supports -mfpmath=sse" >&5
  9291 echo $ECHO_N "checking if $OBJC supports -mfpmath=sse... $ECHO_C" >&6; }
  9292 save_OBJCFLAGS="$OBJCFLAGS"
  9293 OBJCFLAGS="-mfpmath=sse $OBJCFLAGS"
  9294 cat >conftest.$ac_ext <<_ACEOF
  9296   /* confdefs.h.  */
  9297 _ACEOF
  9298 cat confdefs.h >>conftest.$ac_ext
  9299 cat >>conftest.$ac_ext <<_ACEOF
  9300 /* end confdefs.h.  */
  9301 int main() { return 0; }
  9302 _ACEOF
  9303 rm -f conftest.$ac_objext
  9304 if { (ac_try="$ac_compile"
  9305 case "(($ac_try" in
  9306   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9307   *) ac_try_echo=$ac_try;;
  9308 esac
  9309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9310   (eval "$ac_compile") 2>conftest.er1
  9311   ac_status=$?
  9312   grep -v '^ *+' conftest.er1 >conftest.err
  9313   rm -f conftest.er1
  9314   cat conftest.err >&5
  9315   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9316   (exit $ac_status); } && {
  9317 	 test -z "$ac_objc_werror_flag" ||
  9318 	 test ! -s conftest.err
  9319        } && test -s conftest.$ac_objext; then
  9321    { echo "$as_me:$LINENO: result: yes" >&5
  9322 echo "${ECHO_T}yes" >&6; }
  9324 else
  9325   echo "$as_me: failed program was:" >&5
  9326 sed 's/^/| /' conftest.$ac_ext >&5
  9329    OBJCFLAGS="$save_OBJCFLAGS"
  9330    { echo "$as_me:$LINENO: result: no" >&5
  9331 echo "${ECHO_T}no" >&6; }
  9333 fi
  9335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9336 ac_ext=m
  9337 ac_cpp='$OBJCPP $CPPFLAGS'
  9338 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9339 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9340 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  9344 else
  9345   echo "$as_me: failed program was:" >&5
  9346 sed 's/^/| /' conftest.$ac_ext >&5
  9348 	{ echo "$as_me:$LINENO: result: No" >&5
  9349 echo "${ECHO_T}No" >&6; }
  9351 fi
  9353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
  9354 ac_ext=c
  9355 ac_cpp='$CPP $CPPFLAGS'
  9356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9364 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
  9365   GUI_COCOA_TRUE=
  9366   GUI_COCOA_FALSE='#'
  9367 else
  9368   GUI_COCOA_TRUE='#'
  9369   GUI_COCOA_FALSE=
  9370 fi
  9372 if test "x$HAVE_COCOA" = 'xyes' -a "x$with_gtk" = "xno"; then
  9374 cat >>confdefs.h <<\_ACEOF
  9375 #define OSX_BUNDLE 1
  9376 _ACEOF
  9378 fi
  9380 CFLAGS_FOR_BUILD="-O2 -std=c99"
  9381 CFLAGS="-g -fexceptions"
  9382 OBJCFLAGS="-g -fexceptions"
  9384 cat >>confdefs.h <<\_ACEOF
  9385 #define HAVE_EXCEPTIONS 1
  9386 _ACEOF
  9389 STDCFLAG="-std=c99"
  9391 _GCC_VERSION=`$CC --version | $SED -ne '/gcc/p'`
  9392 _ICC_VERSION=`$CC --version | $SED -ne '/(ICC)/p'`
  9393 { echo "$as_me:$LINENO: checking CC version" >&5
  9394 echo $ECHO_N "checking CC version... $ECHO_C" >&6; }
  9395 if test -n "$_ICC_VERSION"; then
  9396    { echo "$as_me:$LINENO: result: ICC" >&5
  9397 echo "${ECHO_T}ICC" >&6; }
  9398      CCOPT="$CFLAGS -fast"
  9399                 CFLAGS="$CFLAGS -fno-strict-aliasing"
  9400 elif test -n "$_GCC_VERSION"; then
  9401    { echo "$as_me:$LINENO: result: GCC" >&5
  9402 echo "${ECHO_T}GCC" >&6; }
  9403      CCOPT="-O2"
  9404                 CFLAGS="$CFLAGS -fno-strict-aliasing"
  9405 else
  9406    { echo "$as_me:$LINENO: result: Unknown" >&5
  9407 echo "${ECHO_T}Unknown" >&6; }
  9408      CCOPT="$CFLAGS -O2"
  9409 fi
  9412 ac_ext=c
  9413 ac_cpp='$CPP $CPPFLAGS'
  9414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9418 { echo "$as_me:$LINENO: checking if $CC supports -msse2" >&5
  9419 echo $ECHO_N "checking if $CC supports -msse2... $ECHO_C" >&6; }
  9420 save_CFLAGS="$CFLAGS"
  9421 CFLAGS="-msse2 $CFLAGS"
  9422 cat >conftest.$ac_ext <<_ACEOF
  9424   /* confdefs.h.  */
  9425 _ACEOF
  9426 cat confdefs.h >>conftest.$ac_ext
  9427 cat >>conftest.$ac_ext <<_ACEOF
  9428 /* end confdefs.h.  */
  9429 int main() { return 0; }
  9430 _ACEOF
  9431 rm -f conftest.$ac_objext
  9432 if { (ac_try="$ac_compile"
  9433 case "(($ac_try" in
  9434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9435   *) ac_try_echo=$ac_try;;
  9436 esac
  9437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9438   (eval "$ac_compile") 2>conftest.er1
  9439   ac_status=$?
  9440   grep -v '^ *+' conftest.er1 >conftest.err
  9441   rm -f conftest.er1
  9442   cat conftest.err >&5
  9443   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9444   (exit $ac_status); } && {
  9445 	 test -z "$ac_c_werror_flag" ||
  9446 	 test ! -s conftest.err
  9447        } && test -s conftest.$ac_objext; then
  9449    { echo "$as_me:$LINENO: result: yes" >&5
  9450 echo "${ECHO_T}yes" >&6; }
  9452 else
  9453   echo "$as_me: failed program was:" >&5
  9454 sed 's/^/| /' conftest.$ac_ext >&5
  9457    CFLAGS="$save_CFLAGS"
  9458    { echo "$as_me:$LINENO: result: no" >&5
  9459 echo "${ECHO_T}no" >&6; }
  9461 fi
  9463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9464 ac_ext=c
  9465 ac_cpp='$CPP $CPPFLAGS'
  9466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9472 ac_ext=c
  9473 ac_cpp='$CPP $CPPFLAGS'
  9474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9478 { echo "$as_me:$LINENO: checking if $CC supports -mfpmath=sse" >&5
  9479 echo $ECHO_N "checking if $CC supports -mfpmath=sse... $ECHO_C" >&6; }
  9480 save_CFLAGS="$CFLAGS"
  9481 CFLAGS="-mfpmath=sse $CFLAGS"
  9482 cat >conftest.$ac_ext <<_ACEOF
  9484   /* confdefs.h.  */
  9485 _ACEOF
  9486 cat confdefs.h >>conftest.$ac_ext
  9487 cat >>conftest.$ac_ext <<_ACEOF
  9488 /* end confdefs.h.  */
  9489 int main() { return 0; }
  9490 _ACEOF
  9491 rm -f conftest.$ac_objext
  9492 if { (ac_try="$ac_compile"
  9493 case "(($ac_try" in
  9494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9495   *) ac_try_echo=$ac_try;;
  9496 esac
  9497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9498   (eval "$ac_compile") 2>conftest.er1
  9499   ac_status=$?
  9500   grep -v '^ *+' conftest.er1 >conftest.err
  9501   rm -f conftest.er1
  9502   cat conftest.err >&5
  9503   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9504   (exit $ac_status); } && {
  9505 	 test -z "$ac_c_werror_flag" ||
  9506 	 test ! -s conftest.err
  9507        } && test -s conftest.$ac_objext; then
  9509    { echo "$as_me:$LINENO: result: yes" >&5
  9510 echo "${ECHO_T}yes" >&6; }
  9512 else
  9513   echo "$as_me: failed program was:" >&5
  9514 sed 's/^/| /' conftest.$ac_ext >&5
  9517    CFLAGS="$save_CFLAGS"
  9518    { echo "$as_me:$LINENO: result: no" >&5
  9519 echo "${ECHO_T}no" >&6; }
  9521 fi
  9523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9524 ac_ext=c
  9525 ac_cpp='$CPP $CPPFLAGS'
  9526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  9527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  9528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  9532 if test "x$enable_optimized" = "xyes"; then
  9533    CFLAGS="$CFLAGS $CCOPT"
  9534    OBJCFLAGS="$OBJCFLAGS $OBJCOPT"
  9535    if test "x$enable_profiled" != "xyes"; then
  9536               CFLAGS="$CFLAGS -fomit-frame-pointer"
  9537        OBJCFLAGS="$OBJCFLAGS -fomit-frame-pointer"
  9538    fi
  9539 else
  9540    CFLAGS="$CFLAGS -g3"
  9541    OBJCFLAGS="$OBJCFLAGS -g3"
  9542 fi
  9544 if test "x$enable_profiled" = "xyes"; then
  9545    CFLAGS="$CFLAGS -pg"
  9546    LDFLAGS="$LDFLAGS -pg";
  9547    OBJCFLAGS="$OBJCFLAGS -pg";
  9548 fi
  9550 if test "x$enable_strictwarn" = "xyes"; then
  9551    CFLAGS="$CFLAGS -Wall -Werror -Wno-unused"
  9552    OBJCFLAGS="$OBJCFLAGS -Wall -Werror -Wno-unused"
  9553 fi
  9555 if test "x$enable_shared" != "xno"; then
  9556    if test "x$APPLE_BUILD" = "xyes"; then
  9557       SOEXT="dylib"
  9558       PLUGINLDFLAGS="-dynamiclib -undefined dynamic_lookup"
  9559    else
  9560       SOEXT="so"
  9561       PLUGINLDFLAGS="-shared"
  9562    fi
  9563    PLUGINCFLAGS="-fPIC"
  9565    if test "${ac_cv_header_dlfcn_h+set}" = set; then
  9566   { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  9567 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
  9568 if test "${ac_cv_header_dlfcn_h+set}" = set; then
  9569   echo $ECHO_N "(cached) $ECHO_C" >&6
  9570 fi
  9571 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  9572 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
  9573 else
  9574   # Is the header compilable?
  9575 { echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
  9576 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
  9577 cat >conftest.$ac_ext <<_ACEOF
  9578 /* confdefs.h.  */
  9579 _ACEOF
  9580 cat confdefs.h >>conftest.$ac_ext
  9581 cat >>conftest.$ac_ext <<_ACEOF
  9582 /* end confdefs.h.  */
  9583 $ac_includes_default
  9584 #include <dlfcn.h>
  9585 _ACEOF
  9586 rm -f conftest.$ac_objext
  9587 if { (ac_try="$ac_compile"
  9588 case "(($ac_try" in
  9589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9590   *) ac_try_echo=$ac_try;;
  9591 esac
  9592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9593   (eval "$ac_compile") 2>conftest.er1
  9594   ac_status=$?
  9595   grep -v '^ *+' conftest.er1 >conftest.err
  9596   rm -f conftest.er1
  9597   cat conftest.err >&5
  9598   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9599   (exit $ac_status); } && {
  9600 	 test -z "$ac_c_werror_flag" ||
  9601 	 test ! -s conftest.err
  9602        } && test -s conftest.$ac_objext; then
  9603   ac_header_compiler=yes
  9604 else
  9605   echo "$as_me: failed program was:" >&5
  9606 sed 's/^/| /' conftest.$ac_ext >&5
  9608 	ac_header_compiler=no
  9609 fi
  9611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9612 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9613 echo "${ECHO_T}$ac_header_compiler" >&6; }
  9615 # Is the header present?
  9616 { echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
  9617 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
  9618 cat >conftest.$ac_ext <<_ACEOF
  9619 /* confdefs.h.  */
  9620 _ACEOF
  9621 cat confdefs.h >>conftest.$ac_ext
  9622 cat >>conftest.$ac_ext <<_ACEOF
  9623 /* end confdefs.h.  */
  9624 #include <dlfcn.h>
  9625 _ACEOF
  9626 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9627 case "(($ac_try" in
  9628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9629   *) ac_try_echo=$ac_try;;
  9630 esac
  9631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9632   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9633   ac_status=$?
  9634   grep -v '^ *+' conftest.er1 >conftest.err
  9635   rm -f conftest.er1
  9636   cat conftest.err >&5
  9637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9638   (exit $ac_status); } >/dev/null && {
  9639 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9640 	 test ! -s conftest.err
  9641        }; then
  9642   ac_header_preproc=yes
  9643 else
  9644   echo "$as_me: failed program was:" >&5
  9645 sed 's/^/| /' conftest.$ac_ext >&5
  9647   ac_header_preproc=no
  9648 fi
  9650 rm -f conftest.err conftest.$ac_ext
  9651 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9652 echo "${ECHO_T}$ac_header_preproc" >&6; }
  9654 # So?  What about this header?
  9655 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9656   yes:no: )
  9657     { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9658 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9659     { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
  9660 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
  9661     ac_header_preproc=yes
  9662     ;;
  9663   no:yes:* )
  9664     { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
  9665 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
  9666     { echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
  9667 echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
  9668     { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
  9669 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
  9670     { echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
  9671 echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9672     { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
  9673 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
  9674     { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
  9675 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
  9677     ;;
  9678 esac
  9679 { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
  9680 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
  9681 if test "${ac_cv_header_dlfcn_h+set}" = set; then
  9682   echo $ECHO_N "(cached) $ECHO_C" >&6
  9683 else
  9684   ac_cv_header_dlfcn_h=$ac_header_preproc
  9685 fi
  9686 { echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
  9687 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
  9689 fi
  9690 if test $ac_cv_header_dlfcn_h = yes; then
  9692       { echo "$as_me:$LINENO: checking for library containing dlopen" >&5
  9693 echo $ECHO_N "checking for library containing dlopen... $ECHO_C" >&6; }
  9694 if test "${ac_cv_search_dlopen+set}" = set; then
  9695   echo $ECHO_N "(cached) $ECHO_C" >&6
  9696 else
  9697   ac_func_search_save_LIBS=$LIBS
  9698 cat >conftest.$ac_ext <<_ACEOF
  9699 /* confdefs.h.  */
  9700 _ACEOF
  9701 cat confdefs.h >>conftest.$ac_ext
  9702 cat >>conftest.$ac_ext <<_ACEOF
  9703 /* end confdefs.h.  */
  9705 /* Override any GCC internal prototype to avoid an error.
  9706    Use char because int might match the return type of a GCC
  9707    builtin and then its argument prototype would still apply.  */
  9708 #ifdef __cplusplus
  9709 extern "C"
  9710 #endif
  9711 char dlopen ();
  9712 int
  9713 main ()
  9715 return dlopen ();
  9717   return 0;
  9719 _ACEOF
  9720 for ac_lib in '' dl; do
  9721   if test -z "$ac_lib"; then
  9722     ac_res="none required"
  9723   else
  9724     ac_res=-l$ac_lib
  9725     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
  9726   fi
  9727   rm -f conftest.$ac_objext conftest$ac_exeext
  9728 if { (ac_try="$ac_link"
  9729 case "(($ac_try" in
  9730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9731   *) ac_try_echo=$ac_try;;
  9732 esac
  9733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9734   (eval "$ac_link") 2>conftest.er1
  9735   ac_status=$?
  9736   grep -v '^ *+' conftest.er1 >conftest.err
  9737   rm -f conftest.er1
  9738   cat conftest.err >&5
  9739   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9740   (exit $ac_status); } && {
  9741 	 test -z "$ac_c_werror_flag" ||
  9742 	 test ! -s conftest.err
  9743        } && test -s conftest$ac_exeext &&
  9744        $as_test_x conftest$ac_exeext; then
  9745   ac_cv_search_dlopen=$ac_res
  9746 else
  9747   echo "$as_me: failed program was:" >&5
  9748 sed 's/^/| /' conftest.$ac_ext >&5
  9751 fi
  9753 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9754       conftest$ac_exeext
  9755   if test "${ac_cv_search_dlopen+set}" = set; then
  9756   break
  9757 fi
  9758 done
  9759 if test "${ac_cv_search_dlopen+set}" = set; then
  9761 else
  9762   ac_cv_search_dlopen=no
  9763 fi
  9764 rm conftest.$ac_ext
  9765 LIBS=$ac_func_search_save_LIBS
  9766 fi
  9767 { echo "$as_me:$LINENO: result: $ac_cv_search_dlopen" >&5
  9768 echo "${ECHO_T}$ac_cv_search_dlopen" >&6; }
  9769 ac_res=$ac_cv_search_dlopen
  9770 if test "$ac_res" != no; then
  9771   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  9772   have_dlopen=yes
  9773 fi
  9775 fi
  9778    if test "x$have_dlopen" != "xyes"; then
  9779       if test "x$enable_shared" == "xyes"; then
  9780          { { echo "$as_me:$LINENO: error: \"--enable-shared not supported on your system - can't find a working dlopen\" " >&5
  9781 echo "$as_me: error: \"--enable-shared not supported on your system - can't find a working dlopen\" " >&2;}
  9782    { (exit 1); exit 1; }; }
  9783       else
  9784          { echo "$as_me:$LINENO: WARNING: \"Statically linking all plugins\"" >&5
  9785 echo "$as_me: WARNING: \"Statically linking all plugins\"" >&2;}
  9786       fi
  9787    fi
  9789    { echo "$as_me:$LINENO: checking if linker accepts -rdynamic" >&5
  9790 echo $ECHO_N "checking if linker accepts -rdynamic... $ECHO_C" >&6; }
  9791    old_LDFLAGS="$LDFLAGS"
  9792    LDFLAGS="$LDFLAGS -rdynamic"
  9793    cat >conftest.$ac_ext <<_ACEOF
  9794 /* confdefs.h.  */
  9795 _ACEOF
  9796 cat confdefs.h >>conftest.$ac_ext
  9797 cat >>conftest.$ac_ext <<_ACEOF
  9798 /* end confdefs.h.  */
  9799 int main() { return 0; }
  9800 _ACEOF
  9801 rm -f conftest.$ac_objext conftest$ac_exeext
  9802 if { (ac_try="$ac_link"
  9803 case "(($ac_try" in
  9804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9805   *) ac_try_echo=$ac_try;;
  9806 esac
  9807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9808   (eval "$ac_link") 2>conftest.er1
  9809   ac_status=$?
  9810   grep -v '^ *+' conftest.er1 >conftest.err
  9811   rm -f conftest.er1
  9812   cat conftest.err >&5
  9813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9814   (exit $ac_status); } && {
  9815 	 test -z "$ac_c_werror_flag" ||
  9816 	 test ! -s conftest.err
  9817        } && test -s conftest$ac_exeext &&
  9818        $as_test_x conftest$ac_exeext; then
  9820      LXDREAMLDFLAGS="-rdynamic"
  9821      { echo "$as_me:$LINENO: result: yes" >&5
  9822 echo "${ECHO_T}yes" >&6; }
  9824 else
  9825   echo "$as_me: failed program was:" >&5
  9826 sed 's/^/| /' conftest.$ac_ext >&5
  9829      LXDREAMLDFLAGS=""
  9830      { echo "$as_me:$LINENO: result: no" >&5
  9831 echo "${ECHO_T}no" >&6; }
  9832 fi
  9834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9835       conftest$ac_exeext conftest.$ac_ext
  9836    LDFLAGS="$old_LDFLAGS"
  9842 fi
  9843 if test "x$have_dlopen" = "xyes"; then
  9845 cat >>confdefs.h <<\_ACEOF
  9846 #define BUILD_PLUGINS 1
  9847 _ACEOF
  9849 fi
  9852 if test "x$have_dlopen" = "xyes"; then
  9853   BUILD_PLUGINS_TRUE=
  9854   BUILD_PLUGINS_FALSE='#'
  9855 else
  9856   BUILD_PLUGINS_TRUE='#'
  9857   BUILD_PLUGINS_FALSE=
  9858 fi
  9862 { echo "$as_me:$LINENO: checking support for fastcall calling conventions" >&5
  9863 echo $ECHO_N "checking support for fastcall calling conventions... $ECHO_C" >&6; };
  9864 save_CFLAGS="$CFLAGS"
  9865 CFLAGS="-Werror $save_CFLAGS"
  9866 if test "$cross_compiling" = yes; then
  9868       { echo "$as_me:$LINENO: result: no" >&5
  9869 echo "${ECHO_T}no" >&6; }
  9871 else
  9872   cat >conftest.$ac_ext <<_ACEOF
  9874   /* confdefs.h.  */
  9875 _ACEOF
  9876 cat confdefs.h >>conftest.$ac_ext
  9877 cat >>conftest.$ac_ext <<_ACEOF
  9878 /* end confdefs.h.  */
  9880 int __attribute__((regparm(3))) foo(int a, int b) { return a+b; }
  9882 int main(int argc, char *argv[])
  9884    return foo( 1, 2 ) == 3 ? 0 : 1;
  9886 _ACEOF
  9887 rm -f conftest$ac_exeext
  9888 if { (ac_try="$ac_link"
  9889 case "(($ac_try" in
  9890   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9891   *) ac_try_echo=$ac_try;;
  9892 esac
  9893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9894   (eval "$ac_link") 2>&5
  9895   ac_status=$?
  9896   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9897   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  9898   { (case "(($ac_try" in
  9899   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9900   *) ac_try_echo=$ac_try;;
  9901 esac
  9902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9903   (eval "$ac_try") 2>&5
  9904   ac_status=$?
  9905   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9906   (exit $ac_status); }; }; then
  9908    { echo "$as_me:$LINENO: result: yes" >&5
  9909 echo "${ECHO_T}yes" >&6; }
  9912 cat >>confdefs.h <<\_ACEOF
  9913 #define HAVE_FASTCALL 1
  9914 _ACEOF
  9917 else
  9918   echo "$as_me: program exited with status $ac_status" >&5
  9919 echo "$as_me: failed program was:" >&5
  9920 sed 's/^/| /' conftest.$ac_ext >&5
  9922 ( exit $ac_status )
  9924    { echo "$as_me:$LINENO: result: no" >&5
  9925 echo "${ECHO_T}no" >&6; }
  9927 fi
  9928 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  9929 fi
  9932 CFLAGS="$save_CFLAGS"
  9935 { echo "$as_me:$LINENO: checking support for force inlining" >&5
  9936 echo $ECHO_N "checking support for force inlining... $ECHO_C" >&6; };
  9937 cat >conftest.$ac_ext <<_ACEOF
  9939   /* confdefs.h.  */
  9940 _ACEOF
  9941 cat confdefs.h >>conftest.$ac_ext
  9942 cat >>conftest.$ac_ext <<_ACEOF
  9943 /* end confdefs.h.  */
  9945 static int __attribute__((always_inline)) foo(int a, int b) { return a+b; }
  9947 int main(int argc, char *argv[])
  9949    return foo( 1, 2 ) == 3 ? 0 : 1;
  9951 _ACEOF
  9952 rm -f conftest.$ac_objext
  9953 if { (ac_try="$ac_compile"
  9954 case "(($ac_try" in
  9955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9956   *) ac_try_echo=$ac_try;;
  9957 esac
  9958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
  9959   (eval "$ac_compile") 2>conftest.er1
  9960   ac_status=$?
  9961   grep -v '^ *+' conftest.er1 >conftest.err
  9962   rm -f conftest.er1
  9963   cat conftest.err >&5
  9964   echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9965   (exit $ac_status); } && {
  9966 	 test -z "$ac_c_werror_flag" ||
  9967 	 test ! -s conftest.err
  9968        } && test -s conftest.$ac_objext; then
  9970    FORCEINLINE="__attribute__((always_inline))"
  9971    { echo "$as_me:$LINENO: result: $FORCEINLINE" >&5
  9972 echo "${ECHO_T}$FORCEINLINE" >&6; }
  9974 else
  9975   echo "$as_me: failed program was:" >&5
  9976 sed 's/^/| /' conftest.$ac_ext >&5
  9979    FORCEINLINE=""
  9980    { echo "$as_me:$LINENO: result: no" >&5
  9981 echo "${ECHO_T}no" >&6; }
  9983 fi
  9985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9988 cat >>confdefs.h <<_ACEOF
  9989 #define FORCEINLINE $FORCEINLINE
  9990 _ACEOF
  9993 { echo "$as_me:$LINENO: checking if we have a working __builtin_frame_address()" >&5
  9994 echo $ECHO_N "checking if we have a working __builtin_frame_address()... $ECHO_C" >&6; };
  9995 if test "$cross_compiling" = yes; then
  9997    { echo "$as_me:$LINENO: result: no" >&5
  9998 echo "${ECHO_T}no" >&6; }
  9999     { echo "$as_me:$LINENO: WARNING: Memory exceptions will be slow" >&5
 10000 echo "$as_me: WARNING: Memory exceptions will be slow" >&2;}
 10001 else
 10002   cat >conftest.$ac_ext <<_ACEOF
 10004   /* confdefs.h.  */
 10005 _ACEOF
 10006 cat confdefs.h >>conftest.$ac_ext
 10007 cat >>conftest.$ac_ext <<_ACEOF
 10008 /* end confdefs.h.  */
 10010 void * __attribute__((noinline)) first_arg( void *x, void *y ) { return x; }
 10011 int __attribute__((noinline)) foo( int arg, void *exc )
 10013     if( arg < 2 ) {
 10014         *(((void * volatile *)__builtin_frame_address(0))+1) = exc;
 10016     return 0;
 10019 int main(int argc, char *argv[])
 10021    goto *first_arg(&&start, &&except);
 10023 start:
 10024    return foo( argc, &&except ) + 1;
 10026 except:
 10027    return 0;
 10029 _ACEOF
 10030 rm -f conftest$ac_exeext
 10031 if { (ac_try="$ac_link"
 10032 case "(($ac_try" in
 10033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10034   *) ac_try_echo=$ac_try;;
 10035 esac
 10036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10037   (eval "$ac_link") 2>&5
 10038   ac_status=$?
 10039   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10040   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 10041   { (case "(($ac_try" in
 10042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10043   *) ac_try_echo=$ac_try;;
 10044 esac
 10045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10046   (eval "$ac_try") 2>&5
 10047   ac_status=$?
 10048   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10049   (exit $ac_status); }; }; then
 10051    { echo "$as_me:$LINENO: result: yes" >&5
 10052 echo "${ECHO_T}yes" >&6; }
 10055 cat >>confdefs.h <<\_ACEOF
 10056 #define HAVE_FRAME_ADDRESS 1
 10057 _ACEOF
 10060 else
 10061   echo "$as_me: program exited with status $ac_status" >&5
 10062 echo "$as_me: failed program was:" >&5
 10063 sed 's/^/| /' conftest.$ac_ext >&5
 10065 ( exit $ac_status )
 10067    { echo "$as_me:$LINENO: result: no" >&5
 10068 echo "${ECHO_T}no" >&6; }
 10069     { echo "$as_me:$LINENO: WARNING: Memory exceptions will be slow" >&5
 10070 echo "$as_me: WARNING: Memory exceptions will be slow" >&2;}
 10071 fi
 10072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 10073 fi
 10079 { echo "$as_me:$LINENO: checking for library containing listen" >&5
 10080 echo $ECHO_N "checking for library containing listen... $ECHO_C" >&6; }
 10081 if test "${ac_cv_search_listen+set}" = set; then
 10082   echo $ECHO_N "(cached) $ECHO_C" >&6
 10083 else
 10084   ac_func_search_save_LIBS=$LIBS
 10085 cat >conftest.$ac_ext <<_ACEOF
 10086 /* confdefs.h.  */
 10087 _ACEOF
 10088 cat confdefs.h >>conftest.$ac_ext
 10089 cat >>conftest.$ac_ext <<_ACEOF
 10090 /* end confdefs.h.  */
 10092 /* Override any GCC internal prototype to avoid an error.
 10093    Use char because int might match the return type of a GCC
 10094    builtin and then its argument prototype would still apply.  */
 10095 #ifdef __cplusplus
 10096 extern "C"
 10097 #endif
 10098 char listen ();
 10099 int
 10100 main ()
 10102 return listen ();
 10104   return 0;
 10106 _ACEOF
 10107 for ac_lib in '' socket; do
 10108   if test -z "$ac_lib"; then
 10109     ac_res="none required"
 10110   else
 10111     ac_res=-l$ac_lib
 10112     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 10113   fi
 10114   rm -f conftest.$ac_objext conftest$ac_exeext
 10115 if { (ac_try="$ac_link"
 10116 case "(($ac_try" in
 10117   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10118   *) ac_try_echo=$ac_try;;
 10119 esac
 10120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10121   (eval "$ac_link") 2>conftest.er1
 10122   ac_status=$?
 10123   grep -v '^ *+' conftest.er1 >conftest.err
 10124   rm -f conftest.er1
 10125   cat conftest.err >&5
 10126   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10127   (exit $ac_status); } && {
 10128 	 test -z "$ac_c_werror_flag" ||
 10129 	 test ! -s conftest.err
 10130        } && test -s conftest$ac_exeext &&
 10131        $as_test_x conftest$ac_exeext; then
 10132   ac_cv_search_listen=$ac_res
 10133 else
 10134   echo "$as_me: failed program was:" >&5
 10135 sed 's/^/| /' conftest.$ac_ext >&5
 10138 fi
 10140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10141       conftest$ac_exeext
 10142   if test "${ac_cv_search_listen+set}" = set; then
 10143   break
 10144 fi
 10145 done
 10146 if test "${ac_cv_search_listen+set}" = set; then
 10148 else
 10149   ac_cv_search_listen=no
 10150 fi
 10151 rm conftest.$ac_ext
 10152 LIBS=$ac_func_search_save_LIBS
 10153 fi
 10154 { echo "$as_me:$LINENO: result: $ac_cv_search_listen" >&5
 10155 echo "${ECHO_T}$ac_cv_search_listen" >&6; }
 10156 ac_res=$ac_cv_search_listen
 10157 if test "$ac_res" != no; then
 10158   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 10160 fi
 10162 { echo "$as_me:$LINENO: checking for library containing inet_ntoa" >&5
 10163 echo $ECHO_N "checking for library containing inet_ntoa... $ECHO_C" >&6; }
 10164 if test "${ac_cv_search_inet_ntoa+set}" = set; then
 10165   echo $ECHO_N "(cached) $ECHO_C" >&6
 10166 else
 10167   ac_func_search_save_LIBS=$LIBS
 10168 cat >conftest.$ac_ext <<_ACEOF
 10169 /* confdefs.h.  */
 10170 _ACEOF
 10171 cat confdefs.h >>conftest.$ac_ext
 10172 cat >>conftest.$ac_ext <<_ACEOF
 10173 /* end confdefs.h.  */
 10175 /* Override any GCC internal prototype to avoid an error.
 10176    Use char because int might match the return type of a GCC
 10177    builtin and then its argument prototype would still apply.  */
 10178 #ifdef __cplusplus
 10179 extern "C"
 10180 #endif
 10181 char inet_ntoa ();
 10182 int
 10183 main ()
 10185 return inet_ntoa ();
 10187   return 0;
 10189 _ACEOF
 10190 for ac_lib in '' nsl; do
 10191   if test -z "$ac_lib"; then
 10192     ac_res="none required"
 10193   else
 10194     ac_res=-l$ac_lib
 10195     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 10196   fi
 10197   rm -f conftest.$ac_objext conftest$ac_exeext
 10198 if { (ac_try="$ac_link"
 10199 case "(($ac_try" in
 10200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10201   *) ac_try_echo=$ac_try;;
 10202 esac
 10203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10204   (eval "$ac_link") 2>conftest.er1
 10205   ac_status=$?
 10206   grep -v '^ *+' conftest.er1 >conftest.err
 10207   rm -f conftest.er1
 10208   cat conftest.err >&5
 10209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10210   (exit $ac_status); } && {
 10211 	 test -z "$ac_c_werror_flag" ||
 10212 	 test ! -s conftest.err
 10213        } && test -s conftest$ac_exeext &&
 10214        $as_test_x conftest$ac_exeext; then
 10215   ac_cv_search_inet_ntoa=$ac_res
 10216 else
 10217   echo "$as_me: failed program was:" >&5
 10218 sed 's/^/| /' conftest.$ac_ext >&5
 10221 fi
 10223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10224       conftest$ac_exeext
 10225   if test "${ac_cv_search_inet_ntoa+set}" = set; then
 10226   break
 10227 fi
 10228 done
 10229 if test "${ac_cv_search_inet_ntoa+set}" = set; then
 10231 else
 10232   ac_cv_search_inet_ntoa=no
 10233 fi
 10234 rm conftest.$ac_ext
 10235 LIBS=$ac_func_search_save_LIBS
 10236 fi
 10237 { echo "$as_me:$LINENO: result: $ac_cv_search_inet_ntoa" >&5
 10238 echo "${ECHO_T}$ac_cv_search_inet_ntoa" >&6; }
 10239 ac_res=$ac_cv_search_inet_ntoa
 10240 if test "$ac_res" != no; then
 10241   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 10243 fi
 10248 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 10249 	if test -n "$ac_tool_prefix"; then
 10250   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 10251 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
 10252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 10253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 10254 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
 10255   echo $ECHO_N "(cached) $ECHO_C" >&6
 10256 else
 10257   case $PKG_CONFIG in
 10258   [\\/]* | ?:[\\/]*)
 10259   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
 10260   ;;
 10261   *)
 10262   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10263 for as_dir in $PATH
 10264 do
 10265   IFS=$as_save_IFS
 10266   test -z "$as_dir" && as_dir=.
 10267   for ac_exec_ext in '' $ac_executable_extensions; do
 10268   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10269     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 10270     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10271     break 2
 10272   fi
 10273 done
 10274 done
 10275 IFS=$as_save_IFS
 10277   ;;
 10278 esac
 10279 fi
 10280 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
 10281 if test -n "$PKG_CONFIG"; then
 10282   { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
 10283 echo "${ECHO_T}$PKG_CONFIG" >&6; }
 10284 else
 10285   { echo "$as_me:$LINENO: result: no" >&5
 10286 echo "${ECHO_T}no" >&6; }
 10287 fi
 10290 fi
 10291 if test -z "$ac_cv_path_PKG_CONFIG"; then
 10292   ac_pt_PKG_CONFIG=$PKG_CONFIG
 10293   # Extract the first word of "pkg-config", so it can be a program name with args.
 10294 set dummy pkg-config; ac_word=$2
 10295 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 10296 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 10297 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 10298   echo $ECHO_N "(cached) $ECHO_C" >&6
 10299 else
 10300   case $ac_pt_PKG_CONFIG in
 10301   [\\/]* | ?:[\\/]*)
 10302   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 10303   ;;
 10304   *)
 10305   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10306 for as_dir in $PATH
 10307 do
 10308   IFS=$as_save_IFS
 10309   test -z "$as_dir" && as_dir=.
 10310   for ac_exec_ext in '' $ac_executable_extensions; do
 10311   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10312     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 10313     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10314     break 2
 10315   fi
 10316 done
 10317 done
 10318 IFS=$as_save_IFS
 10320   ;;
 10321 esac
 10322 fi
 10323 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 10324 if test -n "$ac_pt_PKG_CONFIG"; then
 10325   { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 10326 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
 10327 else
 10328   { echo "$as_me:$LINENO: result: no" >&5
 10329 echo "${ECHO_T}no" >&6; }
 10330 fi
 10332   if test "x$ac_pt_PKG_CONFIG" = x; then
 10333     PKG_CONFIG=""
 10334   else
 10335     case $cross_compiling:$ac_tool_warned in
 10336 yes:)
 10337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
 10338 whose name does not start with the host triplet.  If you think this
 10339 configuration is useful to you, please write to autoconf@gnu.org." >&5
 10340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
 10341 whose name does not start with the host triplet.  If you think this
 10342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
 10343 ac_tool_warned=yes ;;
 10344 esac
 10345     PKG_CONFIG=$ac_pt_PKG_CONFIG
 10346   fi
 10347 else
 10348   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 10349 fi
 10351 fi
 10352 if test -n "$PKG_CONFIG"; then
 10353 	_pkg_min_version=0.9.0
 10354 	{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 10355 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
 10356 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 10357 		{ echo "$as_me:$LINENO: result: yes" >&5
 10358 echo "${ECHO_T}yes" >&6; }
 10359 	else
 10360 		{ echo "$as_me:$LINENO: result: no" >&5
 10361 echo "${ECHO_T}no" >&6; }
 10362 		PKG_CONFIG=""
 10363 	fi
 10365 fi
 10367 pkg_failed=no
 10368 { echo "$as_me:$LINENO: checking for LIBPNG" >&5
 10369 echo $ECHO_N "checking for LIBPNG... $ECHO_C" >&6; }
 10371 if test -n "$LIBPNG_CFLAGS"; then
 10372     pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
 10373  elif test -n "$PKG_CONFIG"; then
 10374     if test -n "$PKG_CONFIG" && \
 10375     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
 10376   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
 10377   ac_status=$?
 10378   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10379   (exit $ac_status); }; then
 10380   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
 10381 else
 10382   pkg_failed=yes
 10383 fi
 10384  else
 10385     pkg_failed=untried
 10386 fi
 10387 if test -n "$LIBPNG_LIBS"; then
 10388     pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
 10389  elif test -n "$PKG_CONFIG"; then
 10390     if test -n "$PKG_CONFIG" && \
 10391     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
 10392   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
 10393   ac_status=$?
 10394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10395   (exit $ac_status); }; then
 10396   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
 10397 else
 10398   pkg_failed=yes
 10399 fi
 10400  else
 10401     pkg_failed=untried
 10402 fi
 10406 if test $pkg_failed = yes; then
 10408 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10409         _pkg_short_errors_supported=yes
 10410 else
 10411         _pkg_short_errors_supported=no
 10412 fi
 10413         if test $_pkg_short_errors_supported = yes; then
 10414 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng " 2>&1`
 10415         else
 10416 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng " 2>&1`
 10417         fi
 10418 	# Put the nasty error message in config.log where it belongs
 10419 	echo "$LIBPNG_PKG_ERRORS" >&5
 10421 	{ { echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
 10423 $LIBPNG_PKG_ERRORS
 10425 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10426 installed software in a non-standard prefix.
 10428 Alternatively, you may set the environment variables LIBPNG_CFLAGS
 10429 and LIBPNG_LIBS to avoid the need to call pkg-config.
 10430 See the pkg-config man page for more details.
 10431 " >&5
 10432 echo "$as_me: error: Package requirements (libpng ) were not met:
 10434 $LIBPNG_PKG_ERRORS
 10436 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10437 installed software in a non-standard prefix.
 10439 Alternatively, you may set the environment variables LIBPNG_CFLAGS
 10440 and LIBPNG_LIBS to avoid the need to call pkg-config.
 10441 See the pkg-config man page for more details.
 10442 " >&2;}
 10443    { (exit 1); exit 1; }; }
 10444 elif test $pkg_failed = untried; then
 10445 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 10446 is in your PATH or set the PKG_CONFIG environment variable to the full
 10447 path to pkg-config.
 10449 Alternatively, you may set the environment variables LIBPNG_CFLAGS
 10450 and LIBPNG_LIBS to avoid the need to call pkg-config.
 10451 See the pkg-config man page for more details.
 10453 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10454 See \`config.log' for more details." >&5
 10455 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 10456 is in your PATH or set the PKG_CONFIG environment variable to the full
 10457 path to pkg-config.
 10459 Alternatively, you may set the environment variables LIBPNG_CFLAGS
 10460 and LIBPNG_LIBS to avoid the need to call pkg-config.
 10461 See the pkg-config man page for more details.
 10463 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10464 See \`config.log' for more details." >&2;}
 10465    { (exit 1); exit 1; }; }
 10466 else
 10467 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
 10468 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
 10469         { echo "$as_me:$LINENO: result: yes" >&5
 10470 echo "${ECHO_T}yes" >&6; }
 10472 fi
 10475 { echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
 10476 echo $ECHO_N "checking for uncompress in -lz... $ECHO_C" >&6; }
 10477 if test "${ac_cv_lib_z_uncompress+set}" = set; then
 10478   echo $ECHO_N "(cached) $ECHO_C" >&6
 10479 else
 10480   ac_check_lib_save_LIBS=$LIBS
 10481 LIBS="-lz  $LIBS"
 10482 cat >conftest.$ac_ext <<_ACEOF
 10483 /* confdefs.h.  */
 10484 _ACEOF
 10485 cat confdefs.h >>conftest.$ac_ext
 10486 cat >>conftest.$ac_ext <<_ACEOF
 10487 /* end confdefs.h.  */
 10489 /* Override any GCC internal prototype to avoid an error.
 10490    Use char because int might match the return type of a GCC
 10491    builtin and then its argument prototype would still apply.  */
 10492 #ifdef __cplusplus
 10493 extern "C"
 10494 #endif
 10495 char uncompress ();
 10496 int
 10497 main ()
 10499 return uncompress ();
 10501   return 0;
 10503 _ACEOF
 10504 rm -f conftest.$ac_objext conftest$ac_exeext
 10505 if { (ac_try="$ac_link"
 10506 case "(($ac_try" in
 10507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10508   *) ac_try_echo=$ac_try;;
 10509 esac
 10510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10511   (eval "$ac_link") 2>conftest.er1
 10512   ac_status=$?
 10513   grep -v '^ *+' conftest.er1 >conftest.err
 10514   rm -f conftest.er1
 10515   cat conftest.err >&5
 10516   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10517   (exit $ac_status); } && {
 10518 	 test -z "$ac_c_werror_flag" ||
 10519 	 test ! -s conftest.err
 10520        } && test -s conftest$ac_exeext &&
 10521        $as_test_x conftest$ac_exeext; then
 10522   ac_cv_lib_z_uncompress=yes
 10523 else
 10524   echo "$as_me: failed program was:" >&5
 10525 sed 's/^/| /' conftest.$ac_ext >&5
 10527 	ac_cv_lib_z_uncompress=no
 10528 fi
 10530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10531       conftest$ac_exeext conftest.$ac_ext
 10532 LIBS=$ac_check_lib_save_LIBS
 10533 fi
 10534 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
 10535 echo "${ECHO_T}$ac_cv_lib_z_uncompress" >&6; }
 10536 if test $ac_cv_lib_z_uncompress = yes; then
 10537   cat >>confdefs.h <<_ACEOF
 10538 #define HAVE_LIBZ 1
 10539 _ACEOF
 10541   LIBS="-lz $LIBS"
 10543 else
 10545     echo "Zlib (libz.so) could not be found, but is required."
 10546     exit 1
 10547 fi
 10550 if test "x$with_gtk" = "xno"; then
 10552 pkg_failed=no
 10553 { echo "$as_me:$LINENO: checking for GLIB" >&5
 10554 echo $ECHO_N "checking for GLIB... $ECHO_C" >&6; }
 10556 if test -n "$GLIB_CFLAGS"; then
 10557     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
 10558  elif test -n "$PKG_CONFIG"; then
 10559     if test -n "$PKG_CONFIG" && \
 10560     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
 10561   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
 10562   ac_status=$?
 10563   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10564   (exit $ac_status); }; then
 10565   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
 10566 else
 10567   pkg_failed=yes
 10568 fi
 10569  else
 10570     pkg_failed=untried
 10571 fi
 10572 if test -n "$GLIB_LIBS"; then
 10573     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
 10574  elif test -n "$PKG_CONFIG"; then
 10575     if test -n "$PKG_CONFIG" && \
 10576     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
 10577   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
 10578   ac_status=$?
 10579   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10580   (exit $ac_status); }; then
 10581   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
 10582 else
 10583   pkg_failed=yes
 10584 fi
 10585  else
 10586     pkg_failed=untried
 10587 fi
 10591 if test $pkg_failed = yes; then
 10593 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10594         _pkg_short_errors_supported=yes
 10595 else
 10596         _pkg_short_errors_supported=no
 10597 fi
 10598         if test $_pkg_short_errors_supported = yes; then
 10599 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
 10600         else
 10601 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
 10602         fi
 10603 	# Put the nasty error message in config.log where it belongs
 10604 	echo "$GLIB_PKG_ERRORS" >&5
 10606 	{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
 10608 $GLIB_PKG_ERRORS
 10610 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10611 installed software in a non-standard prefix.
 10613 Alternatively, you may set the environment variables GLIB_CFLAGS
 10614 and GLIB_LIBS to avoid the need to call pkg-config.
 10615 See the pkg-config man page for more details.
 10616 " >&5
 10617 echo "$as_me: error: Package requirements (glib-2.0) were not met:
 10619 $GLIB_PKG_ERRORS
 10621 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10622 installed software in a non-standard prefix.
 10624 Alternatively, you may set the environment variables GLIB_CFLAGS
 10625 and GLIB_LIBS to avoid the need to call pkg-config.
 10626 See the pkg-config man page for more details.
 10627 " >&2;}
 10628    { (exit 1); exit 1; }; }
 10629 elif test $pkg_failed = untried; then
 10630 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 10631 is in your PATH or set the PKG_CONFIG environment variable to the full
 10632 path to pkg-config.
 10634 Alternatively, you may set the environment variables GLIB_CFLAGS
 10635 and GLIB_LIBS to avoid the need to call pkg-config.
 10636 See the pkg-config man page for more details.
 10638 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10639 See \`config.log' for more details." >&5
 10640 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 10641 is in your PATH or set the PKG_CONFIG environment variable to the full
 10642 path to pkg-config.
 10644 Alternatively, you may set the environment variables GLIB_CFLAGS
 10645 and GLIB_LIBS to avoid the need to call pkg-config.
 10646 See the pkg-config man page for more details.
 10648 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10649 See \`config.log' for more details." >&2;}
 10650    { (exit 1); exit 1; }; }
 10651 else
 10652 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
 10653 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
 10654         { echo "$as_me:$LINENO: result: yes" >&5
 10655 echo "${ECHO_T}yes" >&6; }
 10657 fi
 10658 else
 10660 pkg_failed=no
 10661 { echo "$as_me:$LINENO: checking for GTK" >&5
 10662 echo $ECHO_N "checking for GTK... $ECHO_C" >&6; }
 10664 if test -n "$GTK_CFLAGS"; then
 10665     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
 10666  elif test -n "$PKG_CONFIG"; then
 10667     if test -n "$PKG_CONFIG" && \
 10668     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
 10669   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
 10670   ac_status=$?
 10671   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10672   (exit $ac_status); }; then
 10673   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
 10674 else
 10675   pkg_failed=yes
 10676 fi
 10677  else
 10678     pkg_failed=untried
 10679 fi
 10680 if test -n "$GTK_LIBS"; then
 10681     pkg_cv_GTK_LIBS="$GTK_LIBS"
 10682  elif test -n "$PKG_CONFIG"; then
 10683     if test -n "$PKG_CONFIG" && \
 10684     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
 10685   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
 10686   ac_status=$?
 10687   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10688   (exit $ac_status); }; then
 10689   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
 10690 else
 10691   pkg_failed=yes
 10692 fi
 10693  else
 10694     pkg_failed=untried
 10695 fi
 10699 if test $pkg_failed = yes; then
 10701 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10702         _pkg_short_errors_supported=yes
 10703 else
 10704         _pkg_short_errors_supported=no
 10705 fi
 10706         if test $_pkg_short_errors_supported = yes; then
 10707 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
 10708         else
 10709 	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
 10710         fi
 10711 	# Put the nasty error message in config.log where it belongs
 10712 	echo "$GTK_PKG_ERRORS" >&5
 10714 	{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
 10716 $GTK_PKG_ERRORS
 10718 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10719 installed software in a non-standard prefix.
 10721 Alternatively, you may set the environment variables GTK_CFLAGS
 10722 and GTK_LIBS to avoid the need to call pkg-config.
 10723 See the pkg-config man page for more details.
 10724 " >&5
 10725 echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
 10727 $GTK_PKG_ERRORS
 10729 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 10730 installed software in a non-standard prefix.
 10732 Alternatively, you may set the environment variables GTK_CFLAGS
 10733 and GTK_LIBS to avoid the need to call pkg-config.
 10734 See the pkg-config man page for more details.
 10735 " >&2;}
 10736    { (exit 1); exit 1; }; }
 10737 elif test $pkg_failed = untried; then
 10738 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 10739 is in your PATH or set the PKG_CONFIG environment variable to the full
 10740 path to pkg-config.
 10742 Alternatively, you may set the environment variables GTK_CFLAGS
 10743 and GTK_LIBS to avoid the need to call pkg-config.
 10744 See the pkg-config man page for more details.
 10746 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10747 See \`config.log' for more details." >&5
 10748 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 10749 is in your PATH or set the PKG_CONFIG environment variable to the full
 10750 path to pkg-config.
 10752 Alternatively, you may set the environment variables GTK_CFLAGS
 10753 and GTK_LIBS to avoid the need to call pkg-config.
 10754 See the pkg-config man page for more details.
 10756 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 10757 See \`config.log' for more details." >&2;}
 10758    { (exit 1); exit 1; }; }
 10759 else
 10760 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
 10761 	GTK_LIBS=$pkg_cv_GTK_LIBS
 10762         { echo "$as_me:$LINENO: result: yes" >&5
 10763 echo "${ECHO_T}yes" >&6; }
 10765        HAVE_GTK='yes'
 10767 cat >>confdefs.h <<\_ACEOF
 10768 #define HAVE_GTK 1
 10769 _ACEOF
 10772 fi
 10774       LIBS="$LIBS $GTK_LIBS"
 10775    { echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
 10776 echo $ECHO_N "checking for gdk_x11_display_get_xdisplay... $ECHO_C" >&6; }
 10777 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
 10778   echo $ECHO_N "(cached) $ECHO_C" >&6
 10779 else
 10780   cat >conftest.$ac_ext <<_ACEOF
 10781 /* confdefs.h.  */
 10782 _ACEOF
 10783 cat confdefs.h >>conftest.$ac_ext
 10784 cat >>conftest.$ac_ext <<_ACEOF
 10785 /* end confdefs.h.  */
 10786 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
 10787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 10788 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
 10790 /* System header to define __stub macros and hopefully few prototypes,
 10791     which can conflict with char gdk_x11_display_get_xdisplay (); below.
 10792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 10793     <limits.h> exists even on freestanding compilers.  */
 10795 #ifdef __STDC__
 10796 # include <limits.h>
 10797 #else
 10798 # include <assert.h>
 10799 #endif
 10801 #undef gdk_x11_display_get_xdisplay
 10803 /* Override any GCC internal prototype to avoid an error.
 10804    Use char because int might match the return type of a GCC
 10805    builtin and then its argument prototype would still apply.  */
 10806 #ifdef __cplusplus
 10807 extern "C"
 10808 #endif
 10809 char gdk_x11_display_get_xdisplay ();
 10810 /* The GNU C library defines this for functions which it implements
 10811     to always fail with ENOSYS.  Some functions are actually named
 10812     something starting with __ and the normal name is an alias.  */
 10813 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
 10814 choke me
 10815 #endif
 10817 int
 10818 main ()
 10820 return gdk_x11_display_get_xdisplay ();
 10822   return 0;
 10824 _ACEOF
 10825 rm -f conftest.$ac_objext conftest$ac_exeext
 10826 if { (ac_try="$ac_link"
 10827 case "(($ac_try" in
 10828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10829   *) ac_try_echo=$ac_try;;
 10830 esac
 10831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10832   (eval "$ac_link") 2>conftest.er1
 10833   ac_status=$?
 10834   grep -v '^ *+' conftest.er1 >conftest.err
 10835   rm -f conftest.er1
 10836   cat conftest.err >&5
 10837   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10838   (exit $ac_status); } && {
 10839 	 test -z "$ac_c_werror_flag" ||
 10840 	 test ! -s conftest.err
 10841        } && test -s conftest$ac_exeext &&
 10842        $as_test_x conftest$ac_exeext; then
 10843   ac_cv_func_gdk_x11_display_get_xdisplay=yes
 10844 else
 10845   echo "$as_me: failed program was:" >&5
 10846 sed 's/^/| /' conftest.$ac_ext >&5
 10848 	ac_cv_func_gdk_x11_display_get_xdisplay=no
 10849 fi
 10851 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10852       conftest$ac_exeext conftest.$ac_ext
 10853 fi
 10854 { echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
 10855 echo "${ECHO_T}$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
 10856 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
 10858       HAVE_GTK_X11='yes'
 10860 cat >>confdefs.h <<\_ACEOF
 10861 #define HAVE_GTK_X11 1
 10862 _ACEOF
 10864 fi
 10866             GTK_LIBS="$GTK_LIBS -lX11"
 10867       LIBS="$LIBS -lX11"
 10868    { echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
 10869 echo $ECHO_N "checking for gdk_quartz_window_get_nsview... $ECHO_C" >&6; }
 10870 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
 10871   echo $ECHO_N "(cached) $ECHO_C" >&6
 10872 else
 10873   cat >conftest.$ac_ext <<_ACEOF
 10874 /* confdefs.h.  */
 10875 _ACEOF
 10876 cat confdefs.h >>conftest.$ac_ext
 10877 cat >>conftest.$ac_ext <<_ACEOF
 10878 /* end confdefs.h.  */
 10879 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
 10880    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 10881 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
 10883 /* System header to define __stub macros and hopefully few prototypes,
 10884     which can conflict with char gdk_quartz_window_get_nsview (); below.
 10885     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 10886     <limits.h> exists even on freestanding compilers.  */
 10888 #ifdef __STDC__
 10889 # include <limits.h>
 10890 #else
 10891 # include <assert.h>
 10892 #endif
 10894 #undef gdk_quartz_window_get_nsview
 10896 /* Override any GCC internal prototype to avoid an error.
 10897    Use char because int might match the return type of a GCC
 10898    builtin and then its argument prototype would still apply.  */
 10899 #ifdef __cplusplus
 10900 extern "C"
 10901 #endif
 10902 char gdk_quartz_window_get_nsview ();
 10903 /* The GNU C library defines this for functions which it implements
 10904     to always fail with ENOSYS.  Some functions are actually named
 10905     something starting with __ and the normal name is an alias.  */
 10906 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
 10907 choke me
 10908 #endif
 10910 int
 10911 main ()
 10913 return gdk_quartz_window_get_nsview ();
 10915   return 0;
 10917 _ACEOF
 10918 rm -f conftest.$ac_objext conftest$ac_exeext
 10919 if { (ac_try="$ac_link"
 10920 case "(($ac_try" in
 10921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10922   *) ac_try_echo=$ac_try;;
 10923 esac
 10924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 10925   (eval "$ac_link") 2>conftest.er1
 10926   ac_status=$?
 10927   grep -v '^ *+' conftest.er1 >conftest.err
 10928   rm -f conftest.er1
 10929   cat conftest.err >&5
 10930   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10931   (exit $ac_status); } && {
 10932 	 test -z "$ac_c_werror_flag" ||
 10933 	 test ! -s conftest.err
 10934        } && test -s conftest$ac_exeext &&
 10935        $as_test_x conftest$ac_exeext; then
 10936   ac_cv_func_gdk_quartz_window_get_nsview=yes
 10937 else
 10938   echo "$as_me: failed program was:" >&5
 10939 sed 's/^/| /' conftest.$ac_ext >&5
 10941 	ac_cv_func_gdk_quartz_window_get_nsview=no
 10942 fi
 10944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10945       conftest$ac_exeext conftest.$ac_ext
 10946 fi
 10947 { echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
 10948 echo "${ECHO_T}$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
 10949 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
 10951       HAVE_GTK_OSX='yes'
 10953 cat >>confdefs.h <<\_ACEOF
 10954 #define HAVE_GTK_OSX 1
 10955 _ACEOF
 10957 fi
 10959    if test "x$HAVE_GTK_X11$HAVE_GTK_OSX" = "x"; then
 10960       { { echo "$as_me:$LINENO: error: Unable to identify GTK platform
 10961 See \`config.log' for more details." >&5
 10962 echo "$as_me: error: Unable to identify GTK platform
 10963 See \`config.log' for more details." >&2;}
 10964    { (exit 1); exit 1; }; }
 10965    fi
 10966 fi
 10970 pkg_failed=no
 10971 { echo "$as_me:$LINENO: checking for GLIB_FOR_BUILD" >&5
 10972 echo $ECHO_N "checking for GLIB_FOR_BUILD... $ECHO_C" >&6; }
 10974 if test -n "$GLIB_FOR_BUILD_CFLAGS"; then
 10975     pkg_cv_GLIB_FOR_BUILD_CFLAGS="$GLIB_FOR_BUILD_CFLAGS"
 10976  elif test -n "$PKG_CONFIG"; then
 10977     if test -n "$PKG_CONFIG" && \
 10978     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
 10979   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
 10980   ac_status=$?
 10981   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10982   (exit $ac_status); }; then
 10983   pkg_cv_GLIB_FOR_BUILD_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
 10984 else
 10985   pkg_failed=yes
 10986 fi
 10987  else
 10988     pkg_failed=untried
 10989 fi
 10990 if test -n "$GLIB_FOR_BUILD_LIBS"; then
 10991     pkg_cv_GLIB_FOR_BUILD_LIBS="$GLIB_FOR_BUILD_LIBS"
 10992  elif test -n "$PKG_CONFIG"; then
 10993     if test -n "$PKG_CONFIG" && \
 10994     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
 10995   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
 10996   ac_status=$?
 10997   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10998   (exit $ac_status); }; then
 10999   pkg_cv_GLIB_FOR_BUILD_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
 11000 else
 11001   pkg_failed=yes
 11002 fi
 11003  else
 11004     pkg_failed=untried
 11005 fi
 11009 if test $pkg_failed = yes; then
 11011 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 11012         _pkg_short_errors_supported=yes
 11013 else
 11014         _pkg_short_errors_supported=no
 11015 fi
 11016         if test $_pkg_short_errors_supported = yes; then
 11017 	        GLIB_FOR_BUILD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
 11018         else
 11019 	        GLIB_FOR_BUILD_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
 11020         fi
 11021 	# Put the nasty error message in config.log where it belongs
 11022 	echo "$GLIB_FOR_BUILD_PKG_ERRORS" >&5
 11024 	{ { echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
 11026 $GLIB_FOR_BUILD_PKG_ERRORS
 11028 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 11029 installed software in a non-standard prefix.
 11031 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
 11032 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
 11033 See the pkg-config man page for more details.
 11034 " >&5
 11035 echo "$as_me: error: Package requirements (glib-2.0) were not met:
 11037 $GLIB_FOR_BUILD_PKG_ERRORS
 11039 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 11040 installed software in a non-standard prefix.
 11042 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
 11043 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
 11044 See the pkg-config man page for more details.
 11045 " >&2;}
 11046    { (exit 1); exit 1; }; }
 11047 elif test $pkg_failed = untried; then
 11048 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 11049 is in your PATH or set the PKG_CONFIG environment variable to the full
 11050 path to pkg-config.
 11052 Alternatively, you may set the environment variables GLIB_FOR_BUILD_CFLAGS
 11053 and GLIB_FOR_BUILD_LIBS to avoid the need to call pkg-config.
 11054 See the pkg-config man page for more details.
 11056 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 11057 See \`config.log' for more details." >&5
 11058 echo "$as_me: 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 GLIB_FOR_BUILD_CFLAGS
 11063 and GLIB_FOR_BUILD_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." >&2;}
 11068    { (exit 1); exit 1; }; }
 11069 else
 11070 	GLIB_FOR_BUILD_CFLAGS=$pkg_cv_GLIB_FOR_BUILD_CFLAGS
 11071 	GLIB_FOR_BUILD_LIBS=$pkg_cv_GLIB_FOR_BUILD_LIBS
 11072         { echo "$as_me:$LINENO: result: yes" >&5
 11073 echo "${ECHO_T}yes" >&6; }
 11075 fi
 11080 if test "$HAVE_GTK" = 'yes'; then
 11081   GUI_GTK_TRUE=
 11082   GUI_GTK_FALSE='#'
 11083 else
 11084   GUI_GTK_TRUE='#'
 11085   GUI_GTK_FALSE=
 11086 fi
 11090 pkg_failed=no
 11091 { echo "$as_me:$LINENO: checking for LIBISOFS" >&5
 11092 echo $ECHO_N "checking for LIBISOFS... $ECHO_C" >&6; }
 11094 if test -n "$LIBISOFS_CFLAGS"; then
 11095     pkg_cv_LIBISOFS_CFLAGS="$LIBISOFS_CFLAGS"
 11096  elif test -n "$PKG_CONFIG"; then
 11097     if test -n "$PKG_CONFIG" && \
 11098     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libisofs-1 \"") >&5
 11099   ($PKG_CONFIG --exists --print-errors "libisofs-1 ") 2>&5
 11100   ac_status=$?
 11101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11102   (exit $ac_status); }; then
 11103   pkg_cv_LIBISOFS_CFLAGS=`$PKG_CONFIG --cflags "libisofs-1 " 2>/dev/null`
 11104 else
 11105   pkg_failed=yes
 11106 fi
 11107  else
 11108     pkg_failed=untried
 11109 fi
 11110 if test -n "$LIBISOFS_LIBS"; then
 11111     pkg_cv_LIBISOFS_LIBS="$LIBISOFS_LIBS"
 11112  elif test -n "$PKG_CONFIG"; then
 11113     if test -n "$PKG_CONFIG" && \
 11114     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libisofs-1 \"") >&5
 11115   ($PKG_CONFIG --exists --print-errors "libisofs-1 ") 2>&5
 11116   ac_status=$?
 11117   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11118   (exit $ac_status); }; then
 11119   pkg_cv_LIBISOFS_LIBS=`$PKG_CONFIG --libs "libisofs-1 " 2>/dev/null`
 11120 else
 11121   pkg_failed=yes
 11122 fi
 11123  else
 11124     pkg_failed=untried
 11125 fi
 11129 if test $pkg_failed = yes; then
 11131 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 11132         _pkg_short_errors_supported=yes
 11133 else
 11134         _pkg_short_errors_supported=no
 11135 fi
 11136         if test $_pkg_short_errors_supported = yes; then
 11137 	        LIBISOFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libisofs-1 " 2>&1`
 11138         else
 11139 	        LIBISOFS_PKG_ERRORS=`$PKG_CONFIG --print-errors "libisofs-1 " 2>&1`
 11140         fi
 11141 	# Put the nasty error message in config.log where it belongs
 11142 	echo "$LIBISOFS_PKG_ERRORS" >&5
 11144 	{ { echo "$as_me:$LINENO: error: Package requirements (libisofs-1 ) were not met:
 11146 $LIBISOFS_PKG_ERRORS
 11148 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 11149 installed software in a non-standard prefix.
 11151 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
 11152 and LIBISOFS_LIBS to avoid the need to call pkg-config.
 11153 See the pkg-config man page for more details.
 11154 " >&5
 11155 echo "$as_me: error: Package requirements (libisofs-1 ) were not met:
 11157 $LIBISOFS_PKG_ERRORS
 11159 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 11160 installed software in a non-standard prefix.
 11162 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
 11163 and LIBISOFS_LIBS to avoid the need to call pkg-config.
 11164 See the pkg-config man page for more details.
 11165 " >&2;}
 11166    { (exit 1); exit 1; }; }
 11167 elif test $pkg_failed = untried; then
 11168 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 11169 is in your PATH or set the PKG_CONFIG environment variable to the full
 11170 path to pkg-config.
 11172 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
 11173 and LIBISOFS_LIBS to avoid the need to call pkg-config.
 11174 See the pkg-config man page for more details.
 11176 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 11177 See \`config.log' for more details." >&5
 11178 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 11179 is in your PATH or set the PKG_CONFIG environment variable to the full
 11180 path to pkg-config.
 11182 Alternatively, you may set the environment variables LIBISOFS_CFLAGS
 11183 and LIBISOFS_LIBS to avoid the need to call pkg-config.
 11184 See the pkg-config man page for more details.
 11186 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 11187 See \`config.log' for more details." >&2;}
 11188    { (exit 1); exit 1; }; }
 11189 else
 11190 	LIBISOFS_CFLAGS=$pkg_cv_LIBISOFS_CFLAGS
 11191 	LIBISOFS_LIBS=$pkg_cv_LIBISOFS_LIBS
 11192         { echo "$as_me:$LINENO: result: yes" >&5
 11193 echo "${ECHO_T}yes" >&6; }
 11195 fi
 11197 if test "x$with_osmesa" != xno; then
 11201 { echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
 11202 echo $ECHO_N "checking for OSMesaCreateContext in -lOSMesa... $ECHO_C" >&6; }
 11203 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
 11204   echo $ECHO_N "(cached) $ECHO_C" >&6
 11205 else
 11206   ac_check_lib_save_LIBS=$LIBS
 11207 LIBS="-lOSMesa  $LIBS"
 11208 cat >conftest.$ac_ext <<_ACEOF
 11209 /* confdefs.h.  */
 11210 _ACEOF
 11211 cat confdefs.h >>conftest.$ac_ext
 11212 cat >>conftest.$ac_ext <<_ACEOF
 11213 /* end confdefs.h.  */
 11215 /* Override any GCC internal prototype to avoid an error.
 11216    Use char because int might match the return type of a GCC
 11217    builtin and then its argument prototype would still apply.  */
 11218 #ifdef __cplusplus
 11219 extern "C"
 11220 #endif
 11221 char OSMesaCreateContext ();
 11222 int
 11223 main ()
 11225 return OSMesaCreateContext ();
 11227   return 0;
 11229 _ACEOF
 11230 rm -f conftest.$ac_objext conftest$ac_exeext
 11231 if { (ac_try="$ac_link"
 11232 case "(($ac_try" in
 11233   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11234   *) ac_try_echo=$ac_try;;
 11235 esac
 11236 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11237   (eval "$ac_link") 2>conftest.er1
 11238   ac_status=$?
 11239   grep -v '^ *+' conftest.er1 >conftest.err
 11240   rm -f conftest.er1
 11241   cat conftest.err >&5
 11242   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11243   (exit $ac_status); } && {
 11244 	 test -z "$ac_c_werror_flag" ||
 11245 	 test ! -s conftest.err
 11246        } && test -s conftest$ac_exeext &&
 11247        $as_test_x conftest$ac_exeext; then
 11248   ac_cv_lib_OSMesa_OSMesaCreateContext=yes
 11249 else
 11250   echo "$as_me: failed program was:" >&5
 11251 sed 's/^/| /' conftest.$ac_ext >&5
 11253 	ac_cv_lib_OSMesa_OSMesaCreateContext=no
 11254 fi
 11256 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11257       conftest$ac_exeext conftest.$ac_ext
 11258 LIBS=$ac_check_lib_save_LIBS
 11259 fi
 11260 { echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
 11261 echo "${ECHO_T}$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
 11262 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
 11263   cat >>confdefs.h <<_ACEOF
 11264 #define HAVE_LIBOSMESA 1
 11265 _ACEOF
 11267   LIBS="-lOSMesa $LIBS"
 11269 else
 11270   { { echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
 11271 See \`config.log' for more details." >&5
 11272 echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
 11273 See \`config.log' for more details." >&2;}
 11274    { (exit 1); exit 1; }; }
 11275 fi
 11277   if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
 11278   { echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
 11279 echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }
 11280 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
 11281   echo $ECHO_N "(cached) $ECHO_C" >&6
 11282 fi
 11283 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
 11284 echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }
 11285 else
 11286   # Is the header compilable?
 11287 { echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
 11288 echo $ECHO_N "checking GL/osmesa.h usability... $ECHO_C" >&6; }
 11289 cat >conftest.$ac_ext <<_ACEOF
 11290 /* confdefs.h.  */
 11291 _ACEOF
 11292 cat confdefs.h >>conftest.$ac_ext
 11293 cat >>conftest.$ac_ext <<_ACEOF
 11294 /* end confdefs.h.  */
 11295 $ac_includes_default
 11296 #include <GL/osmesa.h>
 11297 _ACEOF
 11298 rm -f conftest.$ac_objext
 11299 if { (ac_try="$ac_compile"
 11300 case "(($ac_try" in
 11301   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11302   *) ac_try_echo=$ac_try;;
 11303 esac
 11304 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11305   (eval "$ac_compile") 2>conftest.er1
 11306   ac_status=$?
 11307   grep -v '^ *+' conftest.er1 >conftest.err
 11308   rm -f conftest.er1
 11309   cat conftest.err >&5
 11310   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11311   (exit $ac_status); } && {
 11312 	 test -z "$ac_c_werror_flag" ||
 11313 	 test ! -s conftest.err
 11314        } && test -s conftest.$ac_objext; then
 11315   ac_header_compiler=yes
 11316 else
 11317   echo "$as_me: failed program was:" >&5
 11318 sed 's/^/| /' conftest.$ac_ext >&5
 11320 	ac_header_compiler=no
 11321 fi
 11323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11324 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 11325 echo "${ECHO_T}$ac_header_compiler" >&6; }
 11327 # Is the header present?
 11328 { echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
 11329 echo $ECHO_N "checking GL/osmesa.h presence... $ECHO_C" >&6; }
 11330 cat >conftest.$ac_ext <<_ACEOF
 11331 /* confdefs.h.  */
 11332 _ACEOF
 11333 cat confdefs.h >>conftest.$ac_ext
 11334 cat >>conftest.$ac_ext <<_ACEOF
 11335 /* end confdefs.h.  */
 11336 #include <GL/osmesa.h>
 11337 _ACEOF
 11338 if { (ac_try="$ac_cpp conftest.$ac_ext"
 11339 case "(($ac_try" in
 11340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11341   *) ac_try_echo=$ac_try;;
 11342 esac
 11343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11344   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 11345   ac_status=$?
 11346   grep -v '^ *+' conftest.er1 >conftest.err
 11347   rm -f conftest.er1
 11348   cat conftest.err >&5
 11349   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11350   (exit $ac_status); } >/dev/null && {
 11351 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 11352 	 test ! -s conftest.err
 11353        }; then
 11354   ac_header_preproc=yes
 11355 else
 11356   echo "$as_me: failed program was:" >&5
 11357 sed 's/^/| /' conftest.$ac_ext >&5
 11359   ac_header_preproc=no
 11360 fi
 11362 rm -f conftest.err conftest.$ac_ext
 11363 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 11364 echo "${ECHO_T}$ac_header_preproc" >&6; }
 11366 # So?  What about this header?
 11367 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 11368   yes:no: )
 11369     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
 11370 echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 11371     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
 11372 echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
 11373     ac_header_preproc=yes
 11374     ;;
 11375   no:yes:* )
 11376     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
 11377 echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
 11378     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&5
 11379 echo "$as_me: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&2;}
 11380     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
 11381 echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
 11382     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&5
 11383 echo "$as_me: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 11384     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
 11385 echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
 11386     { echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
 11387 echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
 11389     ;;
 11390 esac
 11391 { echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
 11392 echo $ECHO_N "checking for GL/osmesa.h... $ECHO_C" >&6; }
 11393 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
 11394   echo $ECHO_N "(cached) $ECHO_C" >&6
 11395 else
 11396   ac_cv_header_GL_osmesa_h=$ac_header_preproc
 11397 fi
 11398 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
 11399 echo "${ECHO_T}$ac_cv_header_GL_osmesa_h" >&6; }
 11401 fi
 11402 if test $ac_cv_header_GL_osmesa_h = yes; then
 11404 else
 11405   { { echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
 11406 See \`config.log' for more details." >&5
 11407 echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
 11408 See \`config.log' for more details." >&2;}
 11409    { (exit 1); exit 1; }; }
 11410 fi
 11413   HAVE_OSMESA='yes'
 11414   VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
 11416 cat >>confdefs.h <<\_ACEOF
 11417 #define HAVE_OSMESA 1
 11418 _ACEOF
 11420 else
 11423    if test "x$APPLE_BUILD" != 'xyes'; then
 11425 pkg_failed=no
 11426 { echo "$as_me:$LINENO: checking for LIBGL" >&5
 11427 echo $ECHO_N "checking for LIBGL... $ECHO_C" >&6; }
 11429 if test -n "$LIBGL_CFLAGS"; then
 11430     pkg_cv_LIBGL_CFLAGS="$LIBGL_CFLAGS"
 11431  elif test -n "$PKG_CONFIG"; then
 11432     if test -n "$PKG_CONFIG" && \
 11433     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl \"") >&5
 11434   ($PKG_CONFIG --exists --print-errors "gl ") 2>&5
 11435   ac_status=$?
 11436   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11437   (exit $ac_status); }; then
 11438   pkg_cv_LIBGL_CFLAGS=`$PKG_CONFIG --cflags "gl " 2>/dev/null`
 11439 else
 11440   pkg_failed=yes
 11441 fi
 11442  else
 11443     pkg_failed=untried
 11444 fi
 11445 if test -n "$LIBGL_LIBS"; then
 11446     pkg_cv_LIBGL_LIBS="$LIBGL_LIBS"
 11447  elif test -n "$PKG_CONFIG"; then
 11448     if test -n "$PKG_CONFIG" && \
 11449     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gl \"") >&5
 11450   ($PKG_CONFIG --exists --print-errors "gl ") 2>&5
 11451   ac_status=$?
 11452   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11453   (exit $ac_status); }; then
 11454   pkg_cv_LIBGL_LIBS=`$PKG_CONFIG --libs "gl " 2>/dev/null`
 11455 else
 11456   pkg_failed=yes
 11457 fi
 11458  else
 11459     pkg_failed=untried
 11460 fi
 11464 if test $pkg_failed = yes; then
 11466 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 11467         _pkg_short_errors_supported=yes
 11468 else
 11469         _pkg_short_errors_supported=no
 11470 fi
 11471         if test $_pkg_short_errors_supported = yes; then
 11472 	        LIBGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gl " 2>&1`
 11473         else
 11474 	        LIBGL_PKG_ERRORS=`$PKG_CONFIG --print-errors "gl " 2>&1`
 11475         fi
 11476 	# Put the nasty error message in config.log where it belongs
 11477 	echo "$LIBGL_PKG_ERRORS" >&5
 11479 	{ { echo "$as_me:$LINENO: error: Package requirements (gl ) were not met:
 11481 $LIBGL_PKG_ERRORS
 11483 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 11484 installed software in a non-standard prefix.
 11486 Alternatively, you may set the environment variables LIBGL_CFLAGS
 11487 and LIBGL_LIBS to avoid the need to call pkg-config.
 11488 See the pkg-config man page for more details.
 11489 " >&5
 11490 echo "$as_me: error: Package requirements (gl ) were not met:
 11492 $LIBGL_PKG_ERRORS
 11494 Consider adjusting the PKG_CONFIG_PATH environment variable if you
 11495 installed software in a non-standard prefix.
 11497 Alternatively, you may set the environment variables LIBGL_CFLAGS
 11498 and LIBGL_LIBS to avoid the need to call pkg-config.
 11499 See the pkg-config man page for more details.
 11500 " >&2;}
 11501    { (exit 1); exit 1; }; }
 11502 elif test $pkg_failed = untried; then
 11503 	{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 11504 is in your PATH or set the PKG_CONFIG environment variable to the full
 11505 path to pkg-config.
 11507 Alternatively, you may set the environment variables LIBGL_CFLAGS
 11508 and LIBGL_LIBS to avoid the need to call pkg-config.
 11509 See the pkg-config man page for more details.
 11511 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 11512 See \`config.log' for more details." >&5
 11513 echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 11514 is in your PATH or set the PKG_CONFIG environment variable to the full
 11515 path to pkg-config.
 11517 Alternatively, you may set the environment variables LIBGL_CFLAGS
 11518 and LIBGL_LIBS to avoid the need to call pkg-config.
 11519 See the pkg-config man page for more details.
 11521 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 11522 See \`config.log' for more details." >&2;}
 11523    { (exit 1); exit 1; }; }
 11524 else
 11525 	LIBGL_CFLAGS=$pkg_cv_LIBGL_CFLAGS
 11526 	LIBGL_LIBS=$pkg_cv_LIBGL_LIBS
 11527         { echo "$as_me:$LINENO: result: yes" >&5
 11528 echo "${ECHO_T}yes" >&6; }
 11530 fi
 11531                                       LIBS="$LIBS $LIBGL_LIBS";
 11532       CPPFLAGS="$CPPFLAGS $LIBGL_CFLAGS";
 11533    else
 11534       { echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
 11535 echo $ECHO_N "checking for NSOpenGLGetVersion... $ECHO_C" >&6; }
 11536 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
 11537   echo $ECHO_N "(cached) $ECHO_C" >&6
 11538 else
 11539   cat >conftest.$ac_ext <<_ACEOF
 11540 /* confdefs.h.  */
 11541 _ACEOF
 11542 cat confdefs.h >>conftest.$ac_ext
 11543 cat >>conftest.$ac_ext <<_ACEOF
 11544 /* end confdefs.h.  */
 11545 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
 11546    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11547 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
 11549 /* System header to define __stub macros and hopefully few prototypes,
 11550     which can conflict with char NSOpenGLGetVersion (); below.
 11551     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11552     <limits.h> exists even on freestanding compilers.  */
 11554 #ifdef __STDC__
 11555 # include <limits.h>
 11556 #else
 11557 # include <assert.h>
 11558 #endif
 11560 #undef NSOpenGLGetVersion
 11562 /* Override any GCC internal prototype to avoid an error.
 11563    Use char because int might match the return type of a GCC
 11564    builtin and then its argument prototype would still apply.  */
 11565 #ifdef __cplusplus
 11566 extern "C"
 11567 #endif
 11568 char NSOpenGLGetVersion ();
 11569 /* The GNU C library defines this for functions which it implements
 11570     to always fail with ENOSYS.  Some functions are actually named
 11571     something starting with __ and the normal name is an alias.  */
 11572 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
 11573 choke me
 11574 #endif
 11576 int
 11577 main ()
 11579 return NSOpenGLGetVersion ();
 11581   return 0;
 11583 _ACEOF
 11584 rm -f conftest.$ac_objext conftest$ac_exeext
 11585 if { (ac_try="$ac_link"
 11586 case "(($ac_try" in
 11587   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11588   *) ac_try_echo=$ac_try;;
 11589 esac
 11590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11591   (eval "$ac_link") 2>conftest.er1
 11592   ac_status=$?
 11593   grep -v '^ *+' conftest.er1 >conftest.err
 11594   rm -f conftest.er1
 11595   cat conftest.err >&5
 11596   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11597   (exit $ac_status); } && {
 11598 	 test -z "$ac_c_werror_flag" ||
 11599 	 test ! -s conftest.err
 11600        } && test -s conftest$ac_exeext &&
 11601        $as_test_x conftest$ac_exeext; then
 11602   ac_cv_func_NSOpenGLGetVersion=yes
 11603 else
 11604   echo "$as_me: failed program was:" >&5
 11605 sed 's/^/| /' conftest.$ac_ext >&5
 11607 	ac_cv_func_NSOpenGLGetVersion=no
 11608 fi
 11610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11611       conftest$ac_exeext conftest.$ac_ext
 11612 fi
 11613 { echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
 11614 echo "${ECHO_T}$ac_cv_func_NSOpenGLGetVersion" >&6; }
 11615 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
 11617          HAVE_NSGL='yes'
 11618          VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
 11620 cat >>confdefs.h <<\_ACEOF
 11621 #define HAVE_NSGL 1
 11622 _ACEOF
 11624 fi
 11626    fi
 11628    if test "x$HAVE_GTK_X11" = "xyes"; then
 11629       if test "x$APPLE_BUILD" = "xyes"; then
 11630          LIBS="$LIBS -L/usr/X11/lib -lGL"
 11631       fi
 11632       { echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
 11633 echo $ECHO_N "checking for glXQueryVersion... $ECHO_C" >&6; }
 11634 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
 11635   echo $ECHO_N "(cached) $ECHO_C" >&6
 11636 else
 11637   cat >conftest.$ac_ext <<_ACEOF
 11638 /* confdefs.h.  */
 11639 _ACEOF
 11640 cat confdefs.h >>conftest.$ac_ext
 11641 cat >>conftest.$ac_ext <<_ACEOF
 11642 /* end confdefs.h.  */
 11643 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
 11644    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11645 #define glXQueryVersion innocuous_glXQueryVersion
 11647 /* System header to define __stub macros and hopefully few prototypes,
 11648     which can conflict with char glXQueryVersion (); below.
 11649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11650     <limits.h> exists even on freestanding compilers.  */
 11652 #ifdef __STDC__
 11653 # include <limits.h>
 11654 #else
 11655 # include <assert.h>
 11656 #endif
 11658 #undef glXQueryVersion
 11660 /* Override any GCC internal prototype to avoid an error.
 11661    Use char because int might match the return type of a GCC
 11662    builtin and then its argument prototype would still apply.  */
 11663 #ifdef __cplusplus
 11664 extern "C"
 11665 #endif
 11666 char glXQueryVersion ();
 11667 /* The GNU C library defines this for functions which it implements
 11668     to always fail with ENOSYS.  Some functions are actually named
 11669     something starting with __ and the normal name is an alias.  */
 11670 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
 11671 choke me
 11672 #endif
 11674 int
 11675 main ()
 11677 return glXQueryVersion ();
 11679   return 0;
 11681 _ACEOF
 11682 rm -f conftest.$ac_objext conftest$ac_exeext
 11683 if { (ac_try="$ac_link"
 11684 case "(($ac_try" in
 11685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11686   *) ac_try_echo=$ac_try;;
 11687 esac
 11688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11689   (eval "$ac_link") 2>conftest.er1
 11690   ac_status=$?
 11691   grep -v '^ *+' conftest.er1 >conftest.err
 11692   rm -f conftest.er1
 11693   cat conftest.err >&5
 11694   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11695   (exit $ac_status); } && {
 11696 	 test -z "$ac_c_werror_flag" ||
 11697 	 test ! -s conftest.err
 11698        } && test -s conftest$ac_exeext &&
 11699        $as_test_x conftest$ac_exeext; then
 11700   ac_cv_func_glXQueryVersion=yes
 11701 else
 11702   echo "$as_me: failed program was:" >&5
 11703 sed 's/^/| /' conftest.$ac_ext >&5
 11705 	ac_cv_func_glXQueryVersion=no
 11706 fi
 11708 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11709       conftest$ac_exeext conftest.$ac_ext
 11710 fi
 11711 { echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
 11712 echo "${ECHO_T}$ac_cv_func_glXQueryVersion" >&6; }
 11713 if test $ac_cv_func_glXQueryVersion = yes; then
 11715          HAVE_GLX='yes'
 11716          VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
 11718 cat >>confdefs.h <<\_ACEOF
 11719 #define HAVE_GLX 1
 11720 _ACEOF
 11722 fi
 11724    fi
 11727 fi
 11734 if test "x$HAVE_OSMESA" = "xyes"; then
 11735   VIDEO_OSMESA_TRUE=
 11736   VIDEO_OSMESA_FALSE='#'
 11737 else
 11738   VIDEO_OSMESA_TRUE='#'
 11739   VIDEO_OSMESA_FALSE=
 11740 fi
 11744 if test "x$HAVE_GLX" = "xyes"; then
 11745   VIDEO_GLX_TRUE=
 11746   VIDEO_GLX_FALSE='#'
 11747 else
 11748   VIDEO_GLX_TRUE='#'
 11749   VIDEO_GLX_FALSE=
 11750 fi
 11754 if test "x$HAVE_NSGL" = "xyes"; then
 11755   VIDEO_NSGL_TRUE=
 11756   VIDEO_NSGL_FALSE='#'
 11757 else
 11758   VIDEO_NSGL_TRUE='#'
 11759   VIDEO_NSGL_FALSE=
 11760 fi
 11763 { echo "$as_me:$LINENO: checking for glGenFramebuffers" >&5
 11764 echo $ECHO_N "checking for glGenFramebuffers... $ECHO_C" >&6; }
 11765 if test "${ac_cv_func_glGenFramebuffers+set}" = set; then
 11766   echo $ECHO_N "(cached) $ECHO_C" >&6
 11767 else
 11768   cat >conftest.$ac_ext <<_ACEOF
 11769 /* confdefs.h.  */
 11770 _ACEOF
 11771 cat confdefs.h >>conftest.$ac_ext
 11772 cat >>conftest.$ac_ext <<_ACEOF
 11773 /* end confdefs.h.  */
 11774 /* Define glGenFramebuffers to an innocuous variant, in case <limits.h> declares glGenFramebuffers.
 11775    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11776 #define glGenFramebuffers innocuous_glGenFramebuffers
 11778 /* System header to define __stub macros and hopefully few prototypes,
 11779     which can conflict with char glGenFramebuffers (); below.
 11780     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11781     <limits.h> exists even on freestanding compilers.  */
 11783 #ifdef __STDC__
 11784 # include <limits.h>
 11785 #else
 11786 # include <assert.h>
 11787 #endif
 11789 #undef glGenFramebuffers
 11791 /* Override any GCC internal prototype to avoid an error.
 11792    Use char because int might match the return type of a GCC
 11793    builtin and then its argument prototype would still apply.  */
 11794 #ifdef __cplusplus
 11795 extern "C"
 11796 #endif
 11797 char glGenFramebuffers ();
 11798 /* The GNU C library defines this for functions which it implements
 11799     to always fail with ENOSYS.  Some functions are actually named
 11800     something starting with __ and the normal name is an alias.  */
 11801 #if defined __stub_glGenFramebuffers || defined __stub___glGenFramebuffers
 11802 choke me
 11803 #endif
 11805 int
 11806 main ()
 11808 return glGenFramebuffers ();
 11810   return 0;
 11812 _ACEOF
 11813 rm -f conftest.$ac_objext conftest$ac_exeext
 11814 if { (ac_try="$ac_link"
 11815 case "(($ac_try" in
 11816   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11817   *) ac_try_echo=$ac_try;;
 11818 esac
 11819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11820   (eval "$ac_link") 2>conftest.er1
 11821   ac_status=$?
 11822   grep -v '^ *+' conftest.er1 >conftest.err
 11823   rm -f conftest.er1
 11824   cat conftest.err >&5
 11825   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11826   (exit $ac_status); } && {
 11827 	 test -z "$ac_c_werror_flag" ||
 11828 	 test ! -s conftest.err
 11829        } && test -s conftest$ac_exeext &&
 11830        $as_test_x conftest$ac_exeext; then
 11831   ac_cv_func_glGenFramebuffers=yes
 11832 else
 11833   echo "$as_me: failed program was:" >&5
 11834 sed 's/^/| /' conftest.$ac_ext >&5
 11836 	ac_cv_func_glGenFramebuffers=no
 11837 fi
 11839 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11840       conftest$ac_exeext conftest.$ac_ext
 11841 fi
 11842 { echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffers" >&5
 11843 echo "${ECHO_T}$ac_cv_func_glGenFramebuffers" >&6; }
 11844 if test $ac_cv_func_glGenFramebuffers = yes; then
 11846 cat >>confdefs.h <<\_ACEOF
 11847 #define HAVE_OPENGL_FBO 1
 11848 _ACEOF
 11850 fi
 11852 { echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
 11853 echo $ECHO_N "checking for glGenFramebuffersEXT... $ECHO_C" >&6; }
 11854 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
 11855   echo $ECHO_N "(cached) $ECHO_C" >&6
 11856 else
 11857   cat >conftest.$ac_ext <<_ACEOF
 11858 /* confdefs.h.  */
 11859 _ACEOF
 11860 cat confdefs.h >>conftest.$ac_ext
 11861 cat >>conftest.$ac_ext <<_ACEOF
 11862 /* end confdefs.h.  */
 11863 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
 11864    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11865 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
 11867 /* System header to define __stub macros and hopefully few prototypes,
 11868     which can conflict with char glGenFramebuffersEXT (); below.
 11869     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11870     <limits.h> exists even on freestanding compilers.  */
 11872 #ifdef __STDC__
 11873 # include <limits.h>
 11874 #else
 11875 # include <assert.h>
 11876 #endif
 11878 #undef glGenFramebuffersEXT
 11880 /* Override any GCC internal prototype to avoid an error.
 11881    Use char because int might match the return type of a GCC
 11882    builtin and then its argument prototype would still apply.  */
 11883 #ifdef __cplusplus
 11884 extern "C"
 11885 #endif
 11886 char glGenFramebuffersEXT ();
 11887 /* The GNU C library defines this for functions which it implements
 11888     to always fail with ENOSYS.  Some functions are actually named
 11889     something starting with __ and the normal name is an alias.  */
 11890 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
 11891 choke me
 11892 #endif
 11894 int
 11895 main ()
 11897 return glGenFramebuffersEXT ();
 11899   return 0;
 11901 _ACEOF
 11902 rm -f conftest.$ac_objext conftest$ac_exeext
 11903 if { (ac_try="$ac_link"
 11904 case "(($ac_try" in
 11905   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11906   *) ac_try_echo=$ac_try;;
 11907 esac
 11908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11909   (eval "$ac_link") 2>conftest.er1
 11910   ac_status=$?
 11911   grep -v '^ *+' conftest.er1 >conftest.err
 11912   rm -f conftest.er1
 11913   cat conftest.err >&5
 11914   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11915   (exit $ac_status); } && {
 11916 	 test -z "$ac_c_werror_flag" ||
 11917 	 test ! -s conftest.err
 11918        } && test -s conftest$ac_exeext &&
 11919        $as_test_x conftest$ac_exeext; then
 11920   ac_cv_func_glGenFramebuffersEXT=yes
 11921 else
 11922   echo "$as_me: failed program was:" >&5
 11923 sed 's/^/| /' conftest.$ac_ext >&5
 11925 	ac_cv_func_glGenFramebuffersEXT=no
 11926 fi
 11928 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11929       conftest$ac_exeext conftest.$ac_ext
 11930 fi
 11931 { echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
 11932 echo "${ECHO_T}$ac_cv_func_glGenFramebuffersEXT" >&6; }
 11933 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
 11935 cat >>confdefs.h <<\_ACEOF
 11936 #define HAVE_OPENGL_FBO_EXT 1
 11937 _ACEOF
 11939 fi
 11941 { echo "$as_me:$LINENO: checking for glCreateShader" >&5
 11942 echo $ECHO_N "checking for glCreateShader... $ECHO_C" >&6; }
 11943 if test "${ac_cv_func_glCreateShader+set}" = set; then
 11944   echo $ECHO_N "(cached) $ECHO_C" >&6
 11945 else
 11946   cat >conftest.$ac_ext <<_ACEOF
 11947 /* confdefs.h.  */
 11948 _ACEOF
 11949 cat confdefs.h >>conftest.$ac_ext
 11950 cat >>conftest.$ac_ext <<_ACEOF
 11951 /* end confdefs.h.  */
 11952 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
 11953    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11954 #define glCreateShader innocuous_glCreateShader
 11956 /* System header to define __stub macros and hopefully few prototypes,
 11957     which can conflict with char glCreateShader (); below.
 11958     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11959     <limits.h> exists even on freestanding compilers.  */
 11961 #ifdef __STDC__
 11962 # include <limits.h>
 11963 #else
 11964 # include <assert.h>
 11965 #endif
 11967 #undef glCreateShader
 11969 /* Override any GCC internal prototype to avoid an error.
 11970    Use char because int might match the return type of a GCC
 11971    builtin and then its argument prototype would still apply.  */
 11972 #ifdef __cplusplus
 11973 extern "C"
 11974 #endif
 11975 char glCreateShader ();
 11976 /* The GNU C library defines this for functions which it implements
 11977     to always fail with ENOSYS.  Some functions are actually named
 11978     something starting with __ and the normal name is an alias.  */
 11979 #if defined __stub_glCreateShader || defined __stub___glCreateShader
 11980 choke me
 11981 #endif
 11983 int
 11984 main ()
 11986 return glCreateShader ();
 11988   return 0;
 11990 _ACEOF
 11991 rm -f conftest.$ac_objext conftest$ac_exeext
 11992 if { (ac_try="$ac_link"
 11993 case "(($ac_try" in
 11994   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11995   *) ac_try_echo=$ac_try;;
 11996 esac
 11997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 11998   (eval "$ac_link") 2>conftest.er1
 11999   ac_status=$?
 12000   grep -v '^ *+' conftest.er1 >conftest.err
 12001   rm -f conftest.er1
 12002   cat conftest.err >&5
 12003   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12004   (exit $ac_status); } && {
 12005 	 test -z "$ac_c_werror_flag" ||
 12006 	 test ! -s conftest.err
 12007        } && test -s conftest$ac_exeext &&
 12008        $as_test_x conftest$ac_exeext; then
 12009   ac_cv_func_glCreateShader=yes
 12010 else
 12011   echo "$as_me: failed program was:" >&5
 12012 sed 's/^/| /' conftest.$ac_ext >&5
 12014 	ac_cv_func_glCreateShader=no
 12015 fi
 12017 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12018       conftest$ac_exeext conftest.$ac_ext
 12019 fi
 12020 { echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
 12021 echo "${ECHO_T}$ac_cv_func_glCreateShader" >&6; }
 12022 if test $ac_cv_func_glCreateShader = yes; then
 12024 cat >>confdefs.h <<\_ACEOF
 12025 #define HAVE_OPENGL_SHADER 1
 12026 _ACEOF
 12028 fi
 12030 { echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
 12031 echo $ECHO_N "checking for glCreateShaderObjectARB... $ECHO_C" >&6; }
 12032 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
 12033   echo $ECHO_N "(cached) $ECHO_C" >&6
 12034 else
 12035   cat >conftest.$ac_ext <<_ACEOF
 12036 /* confdefs.h.  */
 12037 _ACEOF
 12038 cat confdefs.h >>conftest.$ac_ext
 12039 cat >>conftest.$ac_ext <<_ACEOF
 12040 /* end confdefs.h.  */
 12041 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
 12042    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12043 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
 12045 /* System header to define __stub macros and hopefully few prototypes,
 12046     which can conflict with char glCreateShaderObjectARB (); below.
 12047     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12048     <limits.h> exists even on freestanding compilers.  */
 12050 #ifdef __STDC__
 12051 # include <limits.h>
 12052 #else
 12053 # include <assert.h>
 12054 #endif
 12056 #undef glCreateShaderObjectARB
 12058 /* Override any GCC internal prototype to avoid an error.
 12059    Use char because int might match the return type of a GCC
 12060    builtin and then its argument prototype would still apply.  */
 12061 #ifdef __cplusplus
 12062 extern "C"
 12063 #endif
 12064 char glCreateShaderObjectARB ();
 12065 /* The GNU C library defines this for functions which it implements
 12066     to always fail with ENOSYS.  Some functions are actually named
 12067     something starting with __ and the normal name is an alias.  */
 12068 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
 12069 choke me
 12070 #endif
 12072 int
 12073 main ()
 12075 return glCreateShaderObjectARB ();
 12077   return 0;
 12079 _ACEOF
 12080 rm -f conftest.$ac_objext conftest$ac_exeext
 12081 if { (ac_try="$ac_link"
 12082 case "(($ac_try" in
 12083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12084   *) ac_try_echo=$ac_try;;
 12085 esac
 12086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12087   (eval "$ac_link") 2>conftest.er1
 12088   ac_status=$?
 12089   grep -v '^ *+' conftest.er1 >conftest.err
 12090   rm -f conftest.er1
 12091   cat conftest.err >&5
 12092   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12093   (exit $ac_status); } && {
 12094 	 test -z "$ac_c_werror_flag" ||
 12095 	 test ! -s conftest.err
 12096        } && test -s conftest$ac_exeext &&
 12097        $as_test_x conftest$ac_exeext; then
 12098   ac_cv_func_glCreateShaderObjectARB=yes
 12099 else
 12100   echo "$as_me: failed program was:" >&5
 12101 sed 's/^/| /' conftest.$ac_ext >&5
 12103 	ac_cv_func_glCreateShaderObjectARB=no
 12104 fi
 12106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12107       conftest$ac_exeext conftest.$ac_ext
 12108 fi
 12109 { echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
 12110 echo "${ECHO_T}$ac_cv_func_glCreateShaderObjectARB" >&6; }
 12111 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
 12113 cat >>confdefs.h <<\_ACEOF
 12114 #define HAVE_OPENGL_SHADER_ARB 1
 12115 _ACEOF
 12117 fi
 12119 { echo "$as_me:$LINENO: checking for glClampColorARB" >&5
 12120 echo $ECHO_N "checking for glClampColorARB... $ECHO_C" >&6; }
 12121 if test "${ac_cv_func_glClampColorARB+set}" = set; then
 12122   echo $ECHO_N "(cached) $ECHO_C" >&6
 12123 else
 12124   cat >conftest.$ac_ext <<_ACEOF
 12125 /* confdefs.h.  */
 12126 _ACEOF
 12127 cat confdefs.h >>conftest.$ac_ext
 12128 cat >>conftest.$ac_ext <<_ACEOF
 12129 /* end confdefs.h.  */
 12130 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
 12131    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12132 #define glClampColorARB innocuous_glClampColorARB
 12134 /* System header to define __stub macros and hopefully few prototypes,
 12135     which can conflict with char glClampColorARB (); below.
 12136     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12137     <limits.h> exists even on freestanding compilers.  */
 12139 #ifdef __STDC__
 12140 # include <limits.h>
 12141 #else
 12142 # include <assert.h>
 12143 #endif
 12145 #undef glClampColorARB
 12147 /* Override any GCC internal prototype to avoid an error.
 12148    Use char because int might match the return type of a GCC
 12149    builtin and then its argument prototype would still apply.  */
 12150 #ifdef __cplusplus
 12151 extern "C"
 12152 #endif
 12153 char glClampColorARB ();
 12154 /* The GNU C library defines this for functions which it implements
 12155     to always fail with ENOSYS.  Some functions are actually named
 12156     something starting with __ and the normal name is an alias.  */
 12157 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
 12158 choke me
 12159 #endif
 12161 int
 12162 main ()
 12164 return glClampColorARB ();
 12166   return 0;
 12168 _ACEOF
 12169 rm -f conftest.$ac_objext conftest$ac_exeext
 12170 if { (ac_try="$ac_link"
 12171 case "(($ac_try" in
 12172   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12173   *) ac_try_echo=$ac_try;;
 12174 esac
 12175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12176   (eval "$ac_link") 2>conftest.er1
 12177   ac_status=$?
 12178   grep -v '^ *+' conftest.er1 >conftest.err
 12179   rm -f conftest.er1
 12180   cat conftest.err >&5
 12181   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12182   (exit $ac_status); } && {
 12183 	 test -z "$ac_c_werror_flag" ||
 12184 	 test ! -s conftest.err
 12185        } && test -s conftest$ac_exeext &&
 12186        $as_test_x conftest$ac_exeext; then
 12187   ac_cv_func_glClampColorARB=yes
 12188 else
 12189   echo "$as_me: failed program was:" >&5
 12190 sed 's/^/| /' conftest.$ac_ext >&5
 12192 	ac_cv_func_glClampColorARB=no
 12193 fi
 12195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12196       conftest$ac_exeext conftest.$ac_ext
 12197 fi
 12198 { echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
 12199 echo "${ECHO_T}$ac_cv_func_glClampColorARB" >&6; }
 12200 if test $ac_cv_func_glClampColorARB = yes; then
 12202 cat >>confdefs.h <<\_ACEOF
 12203 #define HAVE_OPENGL_CLAMP_COLOR 1
 12204 _ACEOF
 12206 fi
 12208 { echo "$as_me:$LINENO: checking for glClearDepthf" >&5
 12209 echo $ECHO_N "checking for glClearDepthf... $ECHO_C" >&6; }
 12210 if test "${ac_cv_func_glClearDepthf+set}" = set; then
 12211   echo $ECHO_N "(cached) $ECHO_C" >&6
 12212 else
 12213   cat >conftest.$ac_ext <<_ACEOF
 12214 /* confdefs.h.  */
 12215 _ACEOF
 12216 cat confdefs.h >>conftest.$ac_ext
 12217 cat >>conftest.$ac_ext <<_ACEOF
 12218 /* end confdefs.h.  */
 12219 /* Define glClearDepthf to an innocuous variant, in case <limits.h> declares glClearDepthf.
 12220    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12221 #define glClearDepthf innocuous_glClearDepthf
 12223 /* System header to define __stub macros and hopefully few prototypes,
 12224     which can conflict with char glClearDepthf (); below.
 12225     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12226     <limits.h> exists even on freestanding compilers.  */
 12228 #ifdef __STDC__
 12229 # include <limits.h>
 12230 #else
 12231 # include <assert.h>
 12232 #endif
 12234 #undef glClearDepthf
 12236 /* Override any GCC internal prototype to avoid an error.
 12237    Use char because int might match the return type of a GCC
 12238    builtin and then its argument prototype would still apply.  */
 12239 #ifdef __cplusplus
 12240 extern "C"
 12241 #endif
 12242 char glClearDepthf ();
 12243 /* The GNU C library defines this for functions which it implements
 12244     to always fail with ENOSYS.  Some functions are actually named
 12245     something starting with __ and the normal name is an alias.  */
 12246 #if defined __stub_glClearDepthf || defined __stub___glClearDepthf
 12247 choke me
 12248 #endif
 12250 int
 12251 main ()
 12253 return glClearDepthf ();
 12255   return 0;
 12257 _ACEOF
 12258 rm -f conftest.$ac_objext conftest$ac_exeext
 12259 if { (ac_try="$ac_link"
 12260 case "(($ac_try" in
 12261   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12262   *) ac_try_echo=$ac_try;;
 12263 esac
 12264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12265   (eval "$ac_link") 2>conftest.er1
 12266   ac_status=$?
 12267   grep -v '^ *+' conftest.er1 >conftest.err
 12268   rm -f conftest.er1
 12269   cat conftest.err >&5
 12270   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12271   (exit $ac_status); } && {
 12272 	 test -z "$ac_c_werror_flag" ||
 12273 	 test ! -s conftest.err
 12274        } && test -s conftest$ac_exeext &&
 12275        $as_test_x conftest$ac_exeext; then
 12276   ac_cv_func_glClearDepthf=yes
 12277 else
 12278   echo "$as_me: failed program was:" >&5
 12279 sed 's/^/| /' conftest.$ac_ext >&5
 12281 	ac_cv_func_glClearDepthf=no
 12282 fi
 12284 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12285       conftest$ac_exeext conftest.$ac_ext
 12286 fi
 12287 { echo "$as_me:$LINENO: result: $ac_cv_func_glClearDepthf" >&5
 12288 echo "${ECHO_T}$ac_cv_func_glClearDepthf" >&6; }
 12289 if test $ac_cv_func_glClearDepthf = yes; then
 12291 cat >>confdefs.h <<\_ACEOF
 12292 #define HAVE_OPENGL_CLEAR_DEPTHF 1
 12293 _ACEOF
 12295 fi
 12297 { echo "$as_me:$LINENO: checking for glAreTexturesResident" >&5
 12298 echo $ECHO_N "checking for glAreTexturesResident... $ECHO_C" >&6; }
 12299 if test "${ac_cv_func_glAreTexturesResident+set}" = set; then
 12300   echo $ECHO_N "(cached) $ECHO_C" >&6
 12301 else
 12302   cat >conftest.$ac_ext <<_ACEOF
 12303 /* confdefs.h.  */
 12304 _ACEOF
 12305 cat confdefs.h >>conftest.$ac_ext
 12306 cat >>conftest.$ac_ext <<_ACEOF
 12307 /* end confdefs.h.  */
 12308 /* Define glAreTexturesResident to an innocuous variant, in case <limits.h> declares glAreTexturesResident.
 12309    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12310 #define glAreTexturesResident innocuous_glAreTexturesResident
 12312 /* System header to define __stub macros and hopefully few prototypes,
 12313     which can conflict with char glAreTexturesResident (); below.
 12314     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12315     <limits.h> exists even on freestanding compilers.  */
 12317 #ifdef __STDC__
 12318 # include <limits.h>
 12319 #else
 12320 # include <assert.h>
 12321 #endif
 12323 #undef glAreTexturesResident
 12325 /* Override any GCC internal prototype to avoid an error.
 12326    Use char because int might match the return type of a GCC
 12327    builtin and then its argument prototype would still apply.  */
 12328 #ifdef __cplusplus
 12329 extern "C"
 12330 #endif
 12331 char glAreTexturesResident ();
 12332 /* The GNU C library defines this for functions which it implements
 12333     to always fail with ENOSYS.  Some functions are actually named
 12334     something starting with __ and the normal name is an alias.  */
 12335 #if defined __stub_glAreTexturesResident || defined __stub___glAreTexturesResident
 12336 choke me
 12337 #endif
 12339 int
 12340 main ()
 12342 return glAreTexturesResident ();
 12344   return 0;
 12346 _ACEOF
 12347 rm -f conftest.$ac_objext conftest$ac_exeext
 12348 if { (ac_try="$ac_link"
 12349 case "(($ac_try" in
 12350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12351   *) ac_try_echo=$ac_try;;
 12352 esac
 12353 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12354   (eval "$ac_link") 2>conftest.er1
 12355   ac_status=$?
 12356   grep -v '^ *+' conftest.er1 >conftest.err
 12357   rm -f conftest.er1
 12358   cat conftest.err >&5
 12359   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12360   (exit $ac_status); } && {
 12361 	 test -z "$ac_c_werror_flag" ||
 12362 	 test ! -s conftest.err
 12363        } && test -s conftest$ac_exeext &&
 12364        $as_test_x conftest$ac_exeext; then
 12365   ac_cv_func_glAreTexturesResident=yes
 12366 else
 12367   echo "$as_me: failed program was:" >&5
 12368 sed 's/^/| /' conftest.$ac_ext >&5
 12370 	ac_cv_func_glAreTexturesResident=no
 12371 fi
 12373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12374       conftest$ac_exeext conftest.$ac_ext
 12375 fi
 12376 { echo "$as_me:$LINENO: result: $ac_cv_func_glAreTexturesResident" >&5
 12377 echo "${ECHO_T}$ac_cv_func_glAreTexturesResident" >&6; }
 12378 if test $ac_cv_func_glAreTexturesResident = yes; then
 12380 cat >>confdefs.h <<\_ACEOF
 12381 #define HAVE_OPENGL_TEX_RESIDENT 1
 12382 _ACEOF
 12384 fi
 12386 { echo "$as_me:$LINENO: checking for glDrawBuffer" >&5
 12387 echo $ECHO_N "checking for glDrawBuffer... $ECHO_C" >&6; }
 12388 if test "${ac_cv_func_glDrawBuffer+set}" = set; then
 12389   echo $ECHO_N "(cached) $ECHO_C" >&6
 12390 else
 12391   cat >conftest.$ac_ext <<_ACEOF
 12392 /* confdefs.h.  */
 12393 _ACEOF
 12394 cat confdefs.h >>conftest.$ac_ext
 12395 cat >>conftest.$ac_ext <<_ACEOF
 12396 /* end confdefs.h.  */
 12397 /* Define glDrawBuffer to an innocuous variant, in case <limits.h> declares glDrawBuffer.
 12398    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12399 #define glDrawBuffer innocuous_glDrawBuffer
 12401 /* System header to define __stub macros and hopefully few prototypes,
 12402     which can conflict with char glDrawBuffer (); below.
 12403     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12404     <limits.h> exists even on freestanding compilers.  */
 12406 #ifdef __STDC__
 12407 # include <limits.h>
 12408 #else
 12409 # include <assert.h>
 12410 #endif
 12412 #undef glDrawBuffer
 12414 /* Override any GCC internal prototype to avoid an error.
 12415    Use char because int might match the return type of a GCC
 12416    builtin and then its argument prototype would still apply.  */
 12417 #ifdef __cplusplus
 12418 extern "C"
 12419 #endif
 12420 char glDrawBuffer ();
 12421 /* The GNU C library defines this for functions which it implements
 12422     to always fail with ENOSYS.  Some functions are actually named
 12423     something starting with __ and the normal name is an alias.  */
 12424 #if defined __stub_glDrawBuffer || defined __stub___glDrawBuffer
 12425 choke me
 12426 #endif
 12428 int
 12429 main ()
 12431 return glDrawBuffer ();
 12433   return 0;
 12435 _ACEOF
 12436 rm -f conftest.$ac_objext conftest$ac_exeext
 12437 if { (ac_try="$ac_link"
 12438 case "(($ac_try" in
 12439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12440   *) ac_try_echo=$ac_try;;
 12441 esac
 12442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12443   (eval "$ac_link") 2>conftest.er1
 12444   ac_status=$?
 12445   grep -v '^ *+' conftest.er1 >conftest.err
 12446   rm -f conftest.er1
 12447   cat conftest.err >&5
 12448   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12449   (exit $ac_status); } && {
 12450 	 test -z "$ac_c_werror_flag" ||
 12451 	 test ! -s conftest.err
 12452        } && test -s conftest$ac_exeext &&
 12453        $as_test_x conftest$ac_exeext; then
 12454   ac_cv_func_glDrawBuffer=yes
 12455 else
 12456   echo "$as_me: failed program was:" >&5
 12457 sed 's/^/| /' conftest.$ac_ext >&5
 12459 	ac_cv_func_glDrawBuffer=no
 12460 fi
 12462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12463       conftest$ac_exeext conftest.$ac_ext
 12464 fi
 12465 { echo "$as_me:$LINENO: result: $ac_cv_func_glDrawBuffer" >&5
 12466 echo "${ECHO_T}$ac_cv_func_glDrawBuffer" >&6; }
 12467 if test $ac_cv_func_glDrawBuffer = yes; then
 12469 cat >>confdefs.h <<\_ACEOF
 12470 #define HAVE_OPENGL_DRAW_BUFFER 1
 12471 _ACEOF
 12473 fi
 12475 { echo "$as_me:$LINENO: checking for glTexEnvi" >&5
 12476 echo $ECHO_N "checking for glTexEnvi... $ECHO_C" >&6; }
 12477 if test "${ac_cv_func_glTexEnvi+set}" = set; then
 12478   echo $ECHO_N "(cached) $ECHO_C" >&6
 12479 else
 12480   cat >conftest.$ac_ext <<_ACEOF
 12481 /* confdefs.h.  */
 12482 _ACEOF
 12483 cat confdefs.h >>conftest.$ac_ext
 12484 cat >>conftest.$ac_ext <<_ACEOF
 12485 /* end confdefs.h.  */
 12486 /* Define glTexEnvi to an innocuous variant, in case <limits.h> declares glTexEnvi.
 12487    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12488 #define glTexEnvi innocuous_glTexEnvi
 12490 /* System header to define __stub macros and hopefully few prototypes,
 12491     which can conflict with char glTexEnvi (); below.
 12492     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12493     <limits.h> exists even on freestanding compilers.  */
 12495 #ifdef __STDC__
 12496 # include <limits.h>
 12497 #else
 12498 # include <assert.h>
 12499 #endif
 12501 #undef glTexEnvi
 12503 /* Override any GCC internal prototype to avoid an error.
 12504    Use char because int might match the return type of a GCC
 12505    builtin and then its argument prototype would still apply.  */
 12506 #ifdef __cplusplus
 12507 extern "C"
 12508 #endif
 12509 char glTexEnvi ();
 12510 /* The GNU C library defines this for functions which it implements
 12511     to always fail with ENOSYS.  Some functions are actually named
 12512     something starting with __ and the normal name is an alias.  */
 12513 #if defined __stub_glTexEnvi || defined __stub___glTexEnvi
 12514 choke me
 12515 #endif
 12517 int
 12518 main ()
 12520 return glTexEnvi ();
 12522   return 0;
 12524 _ACEOF
 12525 rm -f conftest.$ac_objext conftest$ac_exeext
 12526 if { (ac_try="$ac_link"
 12527 case "(($ac_try" in
 12528   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12529   *) ac_try_echo=$ac_try;;
 12530 esac
 12531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12532   (eval "$ac_link") 2>conftest.er1
 12533   ac_status=$?
 12534   grep -v '^ *+' conftest.er1 >conftest.err
 12535   rm -f conftest.er1
 12536   cat conftest.err >&5
 12537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12538   (exit $ac_status); } && {
 12539 	 test -z "$ac_c_werror_flag" ||
 12540 	 test ! -s conftest.err
 12541        } && test -s conftest$ac_exeext &&
 12542        $as_test_x conftest$ac_exeext; then
 12543   ac_cv_func_glTexEnvi=yes
 12544 else
 12545   echo "$as_me: failed program was:" >&5
 12546 sed 's/^/| /' conftest.$ac_ext >&5
 12548 	ac_cv_func_glTexEnvi=no
 12549 fi
 12551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12552       conftest$ac_exeext conftest.$ac_ext
 12553 fi
 12554 { echo "$as_me:$LINENO: result: $ac_cv_func_glTexEnvi" >&5
 12555 echo "${ECHO_T}$ac_cv_func_glTexEnvi" >&6; }
 12556 if test $ac_cv_func_glTexEnvi = yes; then
 12558 cat >>confdefs.h <<\_ACEOF
 12559 #define HAVE_OPENGL_FIXEDFUNC 1
 12560 _ACEOF
 12562 fi
 12567 if test "x$enable_translator" != "xno"; then
 12568     case $host_cpu in
 12569         i386|i486|i586|i686|x86_64)
 12570 	    SH4_TRANSLATOR="x86"
 12572 cat >>confdefs.h <<_ACEOF
 12573 #define SH4_TRANSLATOR TARGET_X86
 12574 _ACEOF
 12575 ;;
 12576     esac
 12577 fi
 12580 if test "$SH4_TRANSLATOR" = "x86"; then
 12581   BUILD_SH4X86_TRUE=
 12582   BUILD_SH4X86_FALSE='#'
 12583 else
 12584   BUILD_SH4X86_TRUE='#'
 12585   BUILD_SH4X86_FALSE=
 12586 fi
 12589 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
 12590   { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
 12591 echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
 12592 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
 12593   echo $ECHO_N "(cached) $ECHO_C" >&6
 12594 fi
 12595 { echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
 12596 echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
 12597 else
 12598   # Is the header compilable?
 12599 { echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
 12600 echo $ECHO_N "checking CoreAudio/CoreAudio.h usability... $ECHO_C" >&6; }
 12601 cat >conftest.$ac_ext <<_ACEOF
 12602 /* confdefs.h.  */
 12603 _ACEOF
 12604 cat confdefs.h >>conftest.$ac_ext
 12605 cat >>conftest.$ac_ext <<_ACEOF
 12606 /* end confdefs.h.  */
 12607 $ac_includes_default
 12608 #include <CoreAudio/CoreAudio.h>
 12609 _ACEOF
 12610 rm -f conftest.$ac_objext
 12611 if { (ac_try="$ac_compile"
 12612 case "(($ac_try" in
 12613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12614   *) ac_try_echo=$ac_try;;
 12615 esac
 12616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12617   (eval "$ac_compile") 2>conftest.er1
 12618   ac_status=$?
 12619   grep -v '^ *+' conftest.er1 >conftest.err
 12620   rm -f conftest.er1
 12621   cat conftest.err >&5
 12622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12623   (exit $ac_status); } && {
 12624 	 test -z "$ac_c_werror_flag" ||
 12625 	 test ! -s conftest.err
 12626        } && test -s conftest.$ac_objext; then
 12627   ac_header_compiler=yes
 12628 else
 12629   echo "$as_me: failed program was:" >&5
 12630 sed 's/^/| /' conftest.$ac_ext >&5
 12632 	ac_header_compiler=no
 12633 fi
 12635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 12636 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 12637 echo "${ECHO_T}$ac_header_compiler" >&6; }
 12639 # Is the header present?
 12640 { echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
 12641 echo $ECHO_N "checking CoreAudio/CoreAudio.h presence... $ECHO_C" >&6; }
 12642 cat >conftest.$ac_ext <<_ACEOF
 12643 /* confdefs.h.  */
 12644 _ACEOF
 12645 cat confdefs.h >>conftest.$ac_ext
 12646 cat >>conftest.$ac_ext <<_ACEOF
 12647 /* end confdefs.h.  */
 12648 #include <CoreAudio/CoreAudio.h>
 12649 _ACEOF
 12650 if { (ac_try="$ac_cpp conftest.$ac_ext"
 12651 case "(($ac_try" in
 12652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12653   *) ac_try_echo=$ac_try;;
 12654 esac
 12655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 12656   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 12657   ac_status=$?
 12658   grep -v '^ *+' conftest.er1 >conftest.err
 12659   rm -f conftest.er1
 12660   cat conftest.err >&5
 12661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12662   (exit $ac_status); } >/dev/null && {
 12663 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 12664 	 test ! -s conftest.err
 12665        }; then
 12666   ac_header_preproc=yes
 12667 else
 12668   echo "$as_me: failed program was:" >&5
 12669 sed 's/^/| /' conftest.$ac_ext >&5
 12671   ac_header_preproc=no
 12672 fi
 12674 rm -f conftest.err conftest.$ac_ext
 12675 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 12676 echo "${ECHO_T}$ac_header_preproc" >&6; }
 12678 # So?  What about this header?
 12679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 12680   yes:no: )
 12681     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
 12682 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 12683     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
 12684 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
 12685     ac_header_preproc=yes
 12686     ;;
 12687   no:yes:* )
 12688     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
 12689 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
 12690     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
 12691 echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
 12692     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
 12693 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
 12694     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
 12695 echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 12696     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
 12697 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
 12698     { echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
 12699 echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
 12701     ;;
 12702 esac
 12703 { echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
 12704 echo $ECHO_N "checking for CoreAudio/CoreAudio.h... $ECHO_C" >&6; }
 12705 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
 12706   echo $ECHO_N "(cached) $ECHO_C" >&6
 12707 else
 12708   ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
 12709 fi
 12710 { echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
 12711 echo "${ECHO_T}$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
 12713 fi
 12714 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
 12716      HAVE_CORE_AUDIO=yes
 12717      LIBS="$LIBS -framework CoreAudio"
 12718      AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
 12720 cat >>confdefs.h <<\_ACEOF
 12721 #define HAVE_CORE_AUDIO 1
 12722 _ACEOF
 12724 else
 12725   true
 12726 fi
 12731 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
 12732   AUDIO_OSX_TRUE=
 12733   AUDIO_OSX_FALSE='#'
 12734 else
 12735   AUDIO_OSX_TRUE='#'
 12736   AUDIO_OSX_FALSE=
 12737 fi
 12740 if test "x$with_sdl" != "xno"; then
 12742 pkg_failed=no
 12743 { echo "$as_me:$LINENO: checking for SDL" >&5
 12744 echo $ECHO_N "checking for SDL... $ECHO_C" >&6; }
 12746 if test -n "$SDL_CFLAGS"; then
 12747     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
 12748  elif test -n "$PKG_CONFIG"; then
 12749     if test -n "$PKG_CONFIG" && \
 12750     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
 12751   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
 12752   ac_status=$?
 12753   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12754   (exit $ac_status); }; then
 12755   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
 12756 else
 12757   pkg_failed=yes
 12758 fi
 12759  else
 12760     pkg_failed=untried
 12761 fi
 12762 if test -n "$SDL_LIBS"; then
 12763     pkg_cv_SDL_LIBS="$SDL_LIBS"
 12764  elif test -n "$PKG_CONFIG"; then
 12765     if test -n "$PKG_CONFIG" && \
 12766     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
 12767   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
 12768   ac_status=$?
 12769   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12770   (exit $ac_status); }; then
 12771   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
 12772 else
 12773   pkg_failed=yes
 12774 fi
 12775  else
 12776     pkg_failed=untried
 12777 fi
 12781 if test $pkg_failed = yes; then
 12783 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 12784         _pkg_short_errors_supported=yes
 12785 else
 12786         _pkg_short_errors_supported=no
 12787 fi
 12788         if test $_pkg_short_errors_supported = yes; then
 12789 	        SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl" 2>&1`
 12790         else
 12791 	        SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl" 2>&1`
 12792         fi
 12793 	# Put the nasty error message in config.log where it belongs
 12794 	echo "$SDL_PKG_ERRORS" >&5
 12796 	{ echo "$as_me:$LINENO: result: no" >&5
 12797 echo "${ECHO_T}no" >&6; }
 12799       if test "x$with_sdl" = "xyes"; then
 12800          { { echo "$as_me:$LINENO: error: \"SDL libraries could not be found (but were required)
 12801 See \`config.log' for more details." >&5
 12802 echo "$as_me: error: \"SDL libraries could not be found (but were required)
 12803 See \`config.log' for more details." >&2;}
 12804    { (exit 1); exit 1; }; }
 12805       fi
 12807 elif test $pkg_failed = untried; then
 12809       if test "x$with_sdl" = "xyes"; then
 12810          { { echo "$as_me:$LINENO: error: \"SDL libraries could not be found (but were required)
 12811 See \`config.log' for more details." >&5
 12812 echo "$as_me: error: \"SDL libraries could not be found (but were required)
 12813 See \`config.log' for more details." >&2;}
 12814    { (exit 1); exit 1; }; }
 12815       fi
 12817 else
 12818 	SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
 12819 	SDL_LIBS=$pkg_cv_SDL_LIBS
 12820         { echo "$as_me:$LINENO: result: yes" >&5
 12821 echo "${ECHO_T}yes" >&6; }
 12823        HAVE_SDL='yes'
 12824        AUDIO_DRIVERS="$AUDIO_DRIVERS sdl"
 12826 cat >>confdefs.h <<\_ACEOF
 12827 #define HAVE_SDL 1
 12828 _ACEOF
 12831 fi
 12832 fi
 12835 if test "$HAVE_SDL" = 'yes' ; then
 12836   AUDIO_SDL_TRUE=
 12837   AUDIO_SDL_FALSE='#'
 12838 else
 12839   AUDIO_SDL_TRUE='#'
 12840   AUDIO_SDL_FALSE=
 12841 fi
 12844 if test "x$with_pulse" != "xno"; then
 12846 pkg_failed=no
 12847 { echo "$as_me:$LINENO: checking for PULSE" >&5
 12848 echo $ECHO_N "checking for PULSE... $ECHO_C" >&6; }
 12850 if test -n "$PULSE_CFLAGS"; then
 12851     pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
 12852  elif test -n "$PKG_CONFIG"; then
 12853     if test -n "$PKG_CONFIG" && \
 12854     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
 12855   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
 12856   ac_status=$?
 12857   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12858   (exit $ac_status); }; then
 12859   pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
 12860 else
 12861   pkg_failed=yes
 12862 fi
 12863  else
 12864     pkg_failed=untried
 12865 fi
 12866 if test -n "$PULSE_LIBS"; then
 12867     pkg_cv_PULSE_LIBS="$PULSE_LIBS"
 12868  elif test -n "$PKG_CONFIG"; then
 12869     if test -n "$PKG_CONFIG" && \
 12870     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
 12871   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
 12872   ac_status=$?
 12873   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12874   (exit $ac_status); }; then
 12875   pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
 12876 else
 12877   pkg_failed=yes
 12878 fi
 12879  else
 12880     pkg_failed=untried
 12881 fi
 12885 if test $pkg_failed = yes; then
 12887 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 12888         _pkg_short_errors_supported=yes
 12889 else
 12890         _pkg_short_errors_supported=no
 12891 fi
 12892         if test $_pkg_short_errors_supported = yes; then
 12893 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse-simple" 2>&1`
 12894         else
 12895 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse-simple" 2>&1`
 12896         fi
 12897 	# Put the nasty error message in config.log where it belongs
 12898 	echo "$PULSE_PKG_ERRORS" >&5
 12900 	{ echo "$as_me:$LINENO: result: no" >&5
 12901 echo "${ECHO_T}no" >&6; }
 12903        if test "x$with_pulse" = "xyes"; then
 12904           { { echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
 12905 See \`config.log' for more details." >&5
 12906 echo "$as_me: error: PulseAudio audio package could not be found (but was required)
 12907 See \`config.log' for more details." >&2;}
 12908    { (exit 1); exit 1; }; }
 12909        fi
 12911 elif test $pkg_failed = untried; then
 12913        if test "x$with_pulse" = "xyes"; then
 12914           { { echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
 12915 See \`config.log' for more details." >&5
 12916 echo "$as_me: error: PulseAudio audio package could not be found (but was required)
 12917 See \`config.log' for more details." >&2;}
 12918    { (exit 1); exit 1; }; }
 12919        fi
 12921 else
 12922 	PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
 12923 	PULSE_LIBS=$pkg_cv_PULSE_LIBS
 12924         { echo "$as_me:$LINENO: result: yes" >&5
 12925 echo "${ECHO_T}yes" >&6; }
 12927        HAVE_PULSE='yes'
 12928        AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
 12930 cat >>confdefs.h <<\_ACEOF
 12931 #define HAVE_PULSE 1
 12932 _ACEOF
 12935 fi
 12936 fi
 12939 if test "$HAVE_PULSE" = 'yes' ; then
 12940   AUDIO_PULSE_TRUE=
 12941   AUDIO_PULSE_FALSE='#'
 12942 else
 12943   AUDIO_PULSE_TRUE='#'
 12944   AUDIO_PULSE_FALSE=
 12945 fi
 12948 if test "x$with_esd" != "xno"; then
 12950 pkg_failed=no
 12951 { echo "$as_me:$LINENO: checking for ESOUND" >&5
 12952 echo $ECHO_N "checking for ESOUND... $ECHO_C" >&6; }
 12954 if test -n "$ESOUND_CFLAGS"; then
 12955     pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
 12956  elif test -n "$PKG_CONFIG"; then
 12957     if test -n "$PKG_CONFIG" && \
 12958     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
 12959   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
 12960   ac_status=$?
 12961   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12962   (exit $ac_status); }; then
 12963   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
 12964 else
 12965   pkg_failed=yes
 12966 fi
 12967  else
 12968     pkg_failed=untried
 12969 fi
 12970 if test -n "$ESOUND_LIBS"; then
 12971     pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
 12972  elif test -n "$PKG_CONFIG"; then
 12973     if test -n "$PKG_CONFIG" && \
 12974     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
 12975   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
 12976   ac_status=$?
 12977   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12978   (exit $ac_status); }; then
 12979   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
 12980 else
 12981   pkg_failed=yes
 12982 fi
 12983  else
 12984     pkg_failed=untried
 12985 fi
 12989 if test $pkg_failed = yes; then
 12991 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 12992         _pkg_short_errors_supported=yes
 12993 else
 12994         _pkg_short_errors_supported=no
 12995 fi
 12996         if test $_pkg_short_errors_supported = yes; then
 12997 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "esound" 2>&1`
 12998         else
 12999 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --print-errors "esound" 2>&1`
 13000         fi
 13001 	# Put the nasty error message in config.log where it belongs
 13002 	echo "$ESOUND_PKG_ERRORS" >&5
 13004 	{ echo "$as_me:$LINENO: result: no" >&5
 13005 echo "${ECHO_T}no" >&6; }
 13007        if test "x$with_esd" = "xyes"; then
 13008           { { echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
 13009 See \`config.log' for more details." >&5
 13010 echo "$as_me: error: ESounD audio package could not be found (but was required)
 13011 See \`config.log' for more details." >&2;}
 13012    { (exit 1); exit 1; }; }
 13013        fi
 13015 elif test $pkg_failed = untried; then
 13017        if test "x$with_esd" = "xyes"; then
 13018           { { echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
 13019 See \`config.log' for more details." >&5
 13020 echo "$as_me: error: ESounD audio package could not be found (but was required)
 13021 See \`config.log' for more details." >&2;}
 13022    { (exit 1); exit 1; }; }
 13023        fi
 13025 else
 13026 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
 13027 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
 13028         { echo "$as_me:$LINENO: result: yes" >&5
 13029 echo "${ECHO_T}yes" >&6; }
 13031        HAVE_ESOUND='yes'
 13032        AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
 13034 cat >>confdefs.h <<\_ACEOF
 13035 #define HAVE_ESOUND 1
 13036 _ACEOF
 13039 fi
 13040 fi
 13043 if test "$HAVE_ESOUND" = 'yes' ; then
 13044   AUDIO_ESOUND_TRUE=
 13045   AUDIO_ESOUND_FALSE='#'
 13046 else
 13047   AUDIO_ESOUND_TRUE='#'
 13048   AUDIO_ESOUND_FALSE=
 13049 fi
 13053 pkg_failed=no
 13054 { echo "$as_me:$LINENO: checking for ALSA" >&5
 13055 echo $ECHO_N "checking for ALSA... $ECHO_C" >&6; }
 13057 if test -n "$ALSA_CFLAGS"; then
 13058     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
 13059  elif test -n "$PKG_CONFIG"; then
 13060     if test -n "$PKG_CONFIG" && \
 13061     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
 13062   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 13063   ac_status=$?
 13064   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13065   (exit $ac_status); }; then
 13066   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
 13067 else
 13068   pkg_failed=yes
 13069 fi
 13070  else
 13071     pkg_failed=untried
 13072 fi
 13073 if test -n "$ALSA_LIBS"; then
 13074     pkg_cv_ALSA_LIBS="$ALSA_LIBS"
 13075  elif test -n "$PKG_CONFIG"; then
 13076     if test -n "$PKG_CONFIG" && \
 13077     { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
 13078   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 13079   ac_status=$?
 13080   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13081   (exit $ac_status); }; then
 13082   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
 13083 else
 13084   pkg_failed=yes
 13085 fi
 13086  else
 13087     pkg_failed=untried
 13088 fi
 13092 if test $pkg_failed = yes; then
 13094 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 13095         _pkg_short_errors_supported=yes
 13096 else
 13097         _pkg_short_errors_supported=no
 13098 fi
 13099         if test $_pkg_short_errors_supported = yes; then
 13100 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
 13101         else
 13102 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
 13103         fi
 13104 	# Put the nasty error message in config.log where it belongs
 13105 	echo "$ALSA_PKG_ERRORS" >&5
 13107 	{ echo "$as_me:$LINENO: result: no" >&5
 13108 echo "${ECHO_T}no" >&6; }
 13109                 true
 13110 elif test $pkg_failed = untried; then
 13111 	true
 13112 else
 13113 	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
 13114 	ALSA_LIBS=$pkg_cv_ALSA_LIBS
 13115         { echo "$as_me:$LINENO: result: yes" >&5
 13116 echo "${ECHO_T}yes" >&6; }
 13118      HAVE_ALSA='yes'
 13119      AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
 13121 cat >>confdefs.h <<\_ACEOF
 13122 #define HAVE_ALSA 1
 13123 _ACEOF
 13125 fi
 13128 if test "$HAVE_ALSA" = 'yes' ; then
 13129   AUDIO_ALSA_TRUE=
 13130   AUDIO_ALSA_FALSE='#'
 13131 else
 13132   AUDIO_ALSA_TRUE='#'
 13133   AUDIO_ALSA_FALSE=
 13134 fi
 13138 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 13139   { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
 13140 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
 13141 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 13142   echo $ECHO_N "(cached) $ECHO_C" >&6
 13143 fi
 13144 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
 13145 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
 13146 else
 13147   # Is the header compilable?
 13148 { echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
 13149 echo $ECHO_N "checking linux/cdrom.h usability... $ECHO_C" >&6; }
 13150 cat >conftest.$ac_ext <<_ACEOF
 13151 /* confdefs.h.  */
 13152 _ACEOF
 13153 cat confdefs.h >>conftest.$ac_ext
 13154 cat >>conftest.$ac_ext <<_ACEOF
 13155 /* end confdefs.h.  */
 13156 $ac_includes_default
 13157 #include <linux/cdrom.h>
 13158 _ACEOF
 13159 rm -f conftest.$ac_objext
 13160 if { (ac_try="$ac_compile"
 13161 case "(($ac_try" in
 13162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13163   *) ac_try_echo=$ac_try;;
 13164 esac
 13165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13166   (eval "$ac_compile") 2>conftest.er1
 13167   ac_status=$?
 13168   grep -v '^ *+' conftest.er1 >conftest.err
 13169   rm -f conftest.er1
 13170   cat conftest.err >&5
 13171   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13172   (exit $ac_status); } && {
 13173 	 test -z "$ac_c_werror_flag" ||
 13174 	 test ! -s conftest.err
 13175        } && test -s conftest.$ac_objext; then
 13176   ac_header_compiler=yes
 13177 else
 13178   echo "$as_me: failed program was:" >&5
 13179 sed 's/^/| /' conftest.$ac_ext >&5
 13181 	ac_header_compiler=no
 13182 fi
 13184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13185 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 13186 echo "${ECHO_T}$ac_header_compiler" >&6; }
 13188 # Is the header present?
 13189 { echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
 13190 echo $ECHO_N "checking linux/cdrom.h presence... $ECHO_C" >&6; }
 13191 cat >conftest.$ac_ext <<_ACEOF
 13192 /* confdefs.h.  */
 13193 _ACEOF
 13194 cat confdefs.h >>conftest.$ac_ext
 13195 cat >>conftest.$ac_ext <<_ACEOF
 13196 /* end confdefs.h.  */
 13197 #include <linux/cdrom.h>
 13198 _ACEOF
 13199 if { (ac_try="$ac_cpp conftest.$ac_ext"
 13200 case "(($ac_try" in
 13201   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13202   *) ac_try_echo=$ac_try;;
 13203 esac
 13204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13205   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 13206   ac_status=$?
 13207   grep -v '^ *+' conftest.er1 >conftest.err
 13208   rm -f conftest.er1
 13209   cat conftest.err >&5
 13210   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13211   (exit $ac_status); } >/dev/null && {
 13212 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 13213 	 test ! -s conftest.err
 13214        }; then
 13215   ac_header_preproc=yes
 13216 else
 13217   echo "$as_me: failed program was:" >&5
 13218 sed 's/^/| /' conftest.$ac_ext >&5
 13220   ac_header_preproc=no
 13221 fi
 13223 rm -f conftest.err conftest.$ac_ext
 13224 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 13225 echo "${ECHO_T}$ac_header_preproc" >&6; }
 13227 # So?  What about this header?
 13228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 13229   yes:no: )
 13230     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
 13231 echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 13232     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
 13233 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
 13234     ac_header_preproc=yes
 13235     ;;
 13236   no:yes:* )
 13237     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
 13238 echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
 13239     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
 13240 echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
 13241     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
 13242 echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
 13243     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
 13244 echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 13245     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
 13246 echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
 13247     { echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
 13248 echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
 13250     ;;
 13251 esac
 13252 { echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
 13253 echo $ECHO_N "checking for linux/cdrom.h... $ECHO_C" >&6; }
 13254 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 13255   echo $ECHO_N "(cached) $ECHO_C" >&6
 13256 else
 13257   ac_cv_header_linux_cdrom_h=$ac_header_preproc
 13258 fi
 13259 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
 13260 echo "${ECHO_T}$ac_cv_header_linux_cdrom_h" >&6; }
 13262 fi
 13263 if test $ac_cv_header_linux_cdrom_h = yes; then
 13265      CDROM_DRIVER=linux
 13266           { echo "$as_me:$LINENO: checking C99 compliant kernel headers" >&5
 13267 echo $ECHO_N "checking C99 compliant kernel headers... $ECHO_C" >&6; }
 13268      old_CFLAGS="$CFLAGS"
 13269      CFLAGS="$CFLAGS $STDCFLAG"
 13270      cat >conftest.$ac_ext <<_ACEOF
 13271 /* confdefs.h.  */
 13272 _ACEOF
 13273 cat confdefs.h >>conftest.$ac_ext
 13274 cat >>conftest.$ac_ext <<_ACEOF
 13275 /* end confdefs.h.  */
 13276 #include <linux/cdrom.h>
 13277 int
 13278 main ()
 13282   return 0;
 13284 _ACEOF
 13285 rm -f conftest.$ac_objext
 13286 if { (ac_try="$ac_compile"
 13287 case "(($ac_try" in
 13288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13289   *) ac_try_echo=$ac_try;;
 13290 esac
 13291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13292   (eval "$ac_compile") 2>conftest.er1
 13293   ac_status=$?
 13294   grep -v '^ *+' conftest.er1 >conftest.err
 13295   rm -f conftest.er1
 13296   cat conftest.err >&5
 13297   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13298   (exit $ac_status); } && {
 13299 	 test -z "$ac_c_werror_flag" ||
 13300 	 test ! -s conftest.err
 13301        } && test -s conftest.$ac_objext; then
 13302   { echo "$as_me:$LINENO: result: Yes" >&5
 13303 echo "${ECHO_T}Yes" >&6; }
 13304 else
 13305   echo "$as_me: failed program was:" >&5
 13306 sed 's/^/| /' conftest.$ac_ext >&5
 13309         { echo "$as_me:$LINENO: result: No" >&5
 13310 echo "${ECHO_T}No" >&6; }
 13311         STDCFLAG="-std=gnu99"
 13312 fi
 13314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13315      CFLAGS="$old_CFLAGS"
 13317 else
 13318   true
 13319 fi
 13322 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 13323   { echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
 13324 echo $ECHO_N "checking for IOKit/IOKitLib.h... $ECHO_C" >&6; }
 13325 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 13326   echo $ECHO_N "(cached) $ECHO_C" >&6
 13327 fi
 13328 { echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
 13329 echo "${ECHO_T}$ac_cv_header_IOKit_IOKitLib_h" >&6; }
 13330 else
 13331   # Is the header compilable?
 13332 { echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
 13333 echo $ECHO_N "checking IOKit/IOKitLib.h usability... $ECHO_C" >&6; }
 13334 cat >conftest.$ac_ext <<_ACEOF
 13335 /* confdefs.h.  */
 13336 _ACEOF
 13337 cat confdefs.h >>conftest.$ac_ext
 13338 cat >>conftest.$ac_ext <<_ACEOF
 13339 /* end confdefs.h.  */
 13340 $ac_includes_default
 13341 #include <IOKit/IOKitLib.h>
 13342 _ACEOF
 13343 rm -f conftest.$ac_objext
 13344 if { (ac_try="$ac_compile"
 13345 case "(($ac_try" in
 13346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13347   *) ac_try_echo=$ac_try;;
 13348 esac
 13349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13350   (eval "$ac_compile") 2>conftest.er1
 13351   ac_status=$?
 13352   grep -v '^ *+' conftest.er1 >conftest.err
 13353   rm -f conftest.er1
 13354   cat conftest.err >&5
 13355   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13356   (exit $ac_status); } && {
 13357 	 test -z "$ac_c_werror_flag" ||
 13358 	 test ! -s conftest.err
 13359        } && test -s conftest.$ac_objext; then
 13360   ac_header_compiler=yes
 13361 else
 13362   echo "$as_me: failed program was:" >&5
 13363 sed 's/^/| /' conftest.$ac_ext >&5
 13365 	ac_header_compiler=no
 13366 fi
 13368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13369 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 13370 echo "${ECHO_T}$ac_header_compiler" >&6; }
 13372 # Is the header present?
 13373 { echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
 13374 echo $ECHO_N "checking IOKit/IOKitLib.h presence... $ECHO_C" >&6; }
 13375 cat >conftest.$ac_ext <<_ACEOF
 13376 /* confdefs.h.  */
 13377 _ACEOF
 13378 cat confdefs.h >>conftest.$ac_ext
 13379 cat >>conftest.$ac_ext <<_ACEOF
 13380 /* end confdefs.h.  */
 13381 #include <IOKit/IOKitLib.h>
 13382 _ACEOF
 13383 if { (ac_try="$ac_cpp conftest.$ac_ext"
 13384 case "(($ac_try" in
 13385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13386   *) ac_try_echo=$ac_try;;
 13387 esac
 13388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13389   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 13390   ac_status=$?
 13391   grep -v '^ *+' conftest.er1 >conftest.err
 13392   rm -f conftest.er1
 13393   cat conftest.err >&5
 13394   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13395   (exit $ac_status); } >/dev/null && {
 13396 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 13397 	 test ! -s conftest.err
 13398        }; then
 13399   ac_header_preproc=yes
 13400 else
 13401   echo "$as_me: failed program was:" >&5
 13402 sed 's/^/| /' conftest.$ac_ext >&5
 13404   ac_header_preproc=no
 13405 fi
 13407 rm -f conftest.err conftest.$ac_ext
 13408 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 13409 echo "${ECHO_T}$ac_header_preproc" >&6; }
 13411 # So?  What about this header?
 13412 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 13413   yes:no: )
 13414     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
 13415 echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 13416     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
 13417 echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
 13418     ac_header_preproc=yes
 13419     ;;
 13420   no:yes:* )
 13421     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
 13422 echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
 13423     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&5
 13424 echo "$as_me: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&2;}
 13425     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
 13426 echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
 13427     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&5
 13428 echo "$as_me: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 13429     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
 13430 echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
 13431     { echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
 13432 echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
 13434     ;;
 13435 esac
 13436 { echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
 13437 echo $ECHO_N "checking for IOKit/IOKitLib.h... $ECHO_C" >&6; }
 13438 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 13439   echo $ECHO_N "(cached) $ECHO_C" >&6
 13440 else
 13441   ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
 13442 fi
 13443 { echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
 13444 echo "${ECHO_T}$ac_cv_header_IOKit_IOKitLib_h" >&6; }
 13446 fi
 13447 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
 13449      CDROM_DRIVER=osx
 13450      LIBS="$LIBS -framework IOKit"
 13451 else
 13452   true
 13453 fi
 13458 if test "x$CDROM_DRIVER" = "xlinux"; then
 13459   CDROM_LINUX_TRUE=
 13460   CDROM_LINUX_FALSE='#'
 13461 else
 13462   CDROM_LINUX_TRUE='#'
 13463   CDROM_LINUX_FALSE=
 13464 fi
 13468 if test "x$CDROM_DRIVER" = "xosx"; then
 13469   CDROM_OSX_TRUE=
 13470   CDROM_OSX_FALSE='#'
 13471 else
 13472   CDROM_OSX_TRUE='#'
 13473   CDROM_OSX_FALSE=
 13474 fi
 13478 if test "x$CDROM_DRIVER" = "x"; then
 13479   CDROM_NONE_TRUE=
 13480   CDROM_NONE_FALSE='#'
 13481 else
 13482   CDROM_NONE_TRUE='#'
 13483   CDROM_NONE_FALSE=
 13484 fi
 13486 if test "x$CDROM_DRIVER" = "xlinux"; then
 13488 cat >>confdefs.h <<\_ACEOF
 13489 #define HAVE_LINUX_CDROM 1
 13490 _ACEOF
 13492 fi
 13494 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 13495   { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
 13496 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
 13497 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 13498   echo $ECHO_N "(cached) $ECHO_C" >&6
 13499 fi
 13500 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
 13501 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
 13502 else
 13503   # Is the header compilable?
 13504 { echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
 13505 echo $ECHO_N "checking linux/joystick.h usability... $ECHO_C" >&6; }
 13506 cat >conftest.$ac_ext <<_ACEOF
 13507 /* confdefs.h.  */
 13508 _ACEOF
 13509 cat confdefs.h >>conftest.$ac_ext
 13510 cat >>conftest.$ac_ext <<_ACEOF
 13511 /* end confdefs.h.  */
 13512 $ac_includes_default
 13513 #include <linux/joystick.h>
 13514 _ACEOF
 13515 rm -f conftest.$ac_objext
 13516 if { (ac_try="$ac_compile"
 13517 case "(($ac_try" in
 13518   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13519   *) ac_try_echo=$ac_try;;
 13520 esac
 13521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13522   (eval "$ac_compile") 2>conftest.er1
 13523   ac_status=$?
 13524   grep -v '^ *+' conftest.er1 >conftest.err
 13525   rm -f conftest.er1
 13526   cat conftest.err >&5
 13527   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13528   (exit $ac_status); } && {
 13529 	 test -z "$ac_c_werror_flag" ||
 13530 	 test ! -s conftest.err
 13531        } && test -s conftest.$ac_objext; then
 13532   ac_header_compiler=yes
 13533 else
 13534   echo "$as_me: failed program was:" >&5
 13535 sed 's/^/| /' conftest.$ac_ext >&5
 13537 	ac_header_compiler=no
 13538 fi
 13540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13541 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 13542 echo "${ECHO_T}$ac_header_compiler" >&6; }
 13544 # Is the header present?
 13545 { echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
 13546 echo $ECHO_N "checking linux/joystick.h presence... $ECHO_C" >&6; }
 13547 cat >conftest.$ac_ext <<_ACEOF
 13548 /* confdefs.h.  */
 13549 _ACEOF
 13550 cat confdefs.h >>conftest.$ac_ext
 13551 cat >>conftest.$ac_ext <<_ACEOF
 13552 /* end confdefs.h.  */
 13553 #include <linux/joystick.h>
 13554 _ACEOF
 13555 if { (ac_try="$ac_cpp conftest.$ac_ext"
 13556 case "(($ac_try" in
 13557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13558   *) ac_try_echo=$ac_try;;
 13559 esac
 13560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13561   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 13562   ac_status=$?
 13563   grep -v '^ *+' conftest.er1 >conftest.err
 13564   rm -f conftest.er1
 13565   cat conftest.err >&5
 13566   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13567   (exit $ac_status); } >/dev/null && {
 13568 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 13569 	 test ! -s conftest.err
 13570        }; then
 13571   ac_header_preproc=yes
 13572 else
 13573   echo "$as_me: failed program was:" >&5
 13574 sed 's/^/| /' conftest.$ac_ext >&5
 13576   ac_header_preproc=no
 13577 fi
 13579 rm -f conftest.err conftest.$ac_ext
 13580 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 13581 echo "${ECHO_T}$ac_header_preproc" >&6; }
 13583 # So?  What about this header?
 13584 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 13585   yes:no: )
 13586     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
 13587 echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 13588     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
 13589 echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
 13590     ac_header_preproc=yes
 13591     ;;
 13592   no:yes:* )
 13593     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
 13594 echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
 13595     { echo "$as_me:$LINENO: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&5
 13596 echo "$as_me: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&2;}
 13597     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
 13598 echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
 13599     { echo "$as_me:$LINENO: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&5
 13600 echo "$as_me: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 13601     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
 13602 echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
 13603     { echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
 13604 echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
 13606     ;;
 13607 esac
 13608 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
 13609 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
 13610 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 13611   echo $ECHO_N "(cached) $ECHO_C" >&6
 13612 else
 13613   ac_cv_header_linux_joystick_h=$ac_header_preproc
 13614 fi
 13615 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
 13616 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
 13618 fi
 13619 if test $ac_cv_header_linux_joystick_h = yes; then
 13621     HAVE_LINUX_JOYSTICK_H=yes
 13623 cat >>confdefs.h <<\_ACEOF
 13624 #define HAVE_LINUX_JOYSTICK 1
 13625 _ACEOF
 13627     INPUT_DRIVERS="$INPUT_DRIVERS joy_linux"
 13628 else
 13629    echo "Linux Joystick support not found, building without it."
 13630 fi
 13635 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
 13636   JOY_LINUX_TRUE=
 13637   JOY_LINUX_FALSE='#'
 13638 else
 13639   JOY_LINUX_TRUE='#'
 13640   JOY_LINUX_FALSE=
 13641 fi
 13644 if test "x$with_lirc" != "xno"; then
 13645     if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
 13646   { echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
 13647 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6; }
 13648 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
 13649   echo $ECHO_N "(cached) $ECHO_C" >&6
 13650 fi
 13651 { echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
 13652 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6; }
 13653 else
 13654   # Is the header compilable?
 13655 { echo "$as_me:$LINENO: checking lirc/lirc_client.h usability" >&5
 13656 echo $ECHO_N "checking lirc/lirc_client.h usability... $ECHO_C" >&6; }
 13657 cat >conftest.$ac_ext <<_ACEOF
 13658 /* confdefs.h.  */
 13659 _ACEOF
 13660 cat confdefs.h >>conftest.$ac_ext
 13661 cat >>conftest.$ac_ext <<_ACEOF
 13662 /* end confdefs.h.  */
 13663 $ac_includes_default
 13664 #include <lirc/lirc_client.h>
 13665 _ACEOF
 13666 rm -f conftest.$ac_objext
 13667 if { (ac_try="$ac_compile"
 13668 case "(($ac_try" in
 13669   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13670   *) ac_try_echo=$ac_try;;
 13671 esac
 13672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13673   (eval "$ac_compile") 2>conftest.er1
 13674   ac_status=$?
 13675   grep -v '^ *+' conftest.er1 >conftest.err
 13676   rm -f conftest.er1
 13677   cat conftest.err >&5
 13678   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13679   (exit $ac_status); } && {
 13680 	 test -z "$ac_c_werror_flag" ||
 13681 	 test ! -s conftest.err
 13682        } && test -s conftest.$ac_objext; then
 13683   ac_header_compiler=yes
 13684 else
 13685   echo "$as_me: failed program was:" >&5
 13686 sed 's/^/| /' conftest.$ac_ext >&5
 13688 	ac_header_compiler=no
 13689 fi
 13691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 13692 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 13693 echo "${ECHO_T}$ac_header_compiler" >&6; }
 13695 # Is the header present?
 13696 { echo "$as_me:$LINENO: checking lirc/lirc_client.h presence" >&5
 13697 echo $ECHO_N "checking lirc/lirc_client.h presence... $ECHO_C" >&6; }
 13698 cat >conftest.$ac_ext <<_ACEOF
 13699 /* confdefs.h.  */
 13700 _ACEOF
 13701 cat confdefs.h >>conftest.$ac_ext
 13702 cat >>conftest.$ac_ext <<_ACEOF
 13703 /* end confdefs.h.  */
 13704 #include <lirc/lirc_client.h>
 13705 _ACEOF
 13706 if { (ac_try="$ac_cpp conftest.$ac_ext"
 13707 case "(($ac_try" in
 13708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 13709   *) ac_try_echo=$ac_try;;
 13710 esac
 13711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 13712   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 13713   ac_status=$?
 13714   grep -v '^ *+' conftest.er1 >conftest.err
 13715   rm -f conftest.er1
 13716   cat conftest.err >&5
 13717   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 13718   (exit $ac_status); } >/dev/null && {
 13719 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 13720 	 test ! -s conftest.err
 13721        }; then
 13722   ac_header_preproc=yes
 13723 else
 13724   echo "$as_me: failed program was:" >&5
 13725 sed 's/^/| /' conftest.$ac_ext >&5
 13727   ac_header_preproc=no
 13728 fi
 13730 rm -f conftest.err conftest.$ac_ext
 13731 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 13732 echo "${ECHO_T}$ac_header_preproc" >&6; }
 13734 # So?  What about this header?
 13735 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 13736   yes:no: )
 13737     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&5
 13738 echo "$as_me: WARNING: lirc/lirc_client.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 13739     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the compiler's result" >&5
 13740 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the compiler's result" >&2;}
 13741     ac_header_preproc=yes
 13742     ;;
 13743   no:yes:* )
 13744     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&5
 13745 echo "$as_me: WARNING: lirc/lirc_client.h: present but cannot be compiled" >&2;}
 13746     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h:     check for missing prerequisite headers?" >&5
 13747 echo "$as_me: WARNING: lirc/lirc_client.h:     check for missing prerequisite headers?" >&2;}
 13748     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: see the Autoconf documentation" >&5
 13749 echo "$as_me: WARNING: lirc/lirc_client.h: see the Autoconf documentation" >&2;}
 13750     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h:     section \"Present But Cannot Be Compiled\"" >&5
 13751 echo "$as_me: WARNING: lirc/lirc_client.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 13752     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&5
 13753 echo "$as_me: WARNING: lirc/lirc_client.h: proceeding with the preprocessor's result" >&2;}
 13754     { echo "$as_me:$LINENO: WARNING: lirc/lirc_client.h: in the future, the compiler will take precedence" >&5
 13755 echo "$as_me: WARNING: lirc/lirc_client.h: in the future, the compiler will take precedence" >&2;}
 13757     ;;
 13758 esac
 13759 { echo "$as_me:$LINENO: checking for lirc/lirc_client.h" >&5
 13760 echo $ECHO_N "checking for lirc/lirc_client.h... $ECHO_C" >&6; }
 13761 if test "${ac_cv_header_lirc_lirc_client_h+set}" = set; then
 13762   echo $ECHO_N "(cached) $ECHO_C" >&6
 13763 else
 13764   ac_cv_header_lirc_lirc_client_h=$ac_header_preproc
 13765 fi
 13766 { echo "$as_me:$LINENO: result: $ac_cv_header_lirc_lirc_client_h" >&5
 13767 echo "${ECHO_T}$ac_cv_header_lirc_lirc_client_h" >&6; }
 13769 fi
 13770 if test $ac_cv_header_lirc_lirc_client_h = yes; then
 13772         HAVE_LIRC_CLIENT_H=yes
 13774 cat >>confdefs.h <<\_ACEOF
 13775 #define HAVE_LIRC 1
 13776 _ACEOF
 13778         INPUT_DRIVERS="$INPUT_DRIVERS lirc"
 13780 else
 13781    echo "LIRC support not found, building without it."
 13782 fi
 13785 fi
 13788 if test "$HAVE_LIRC_CLIENT_H" = "yes"; then
 13789   INPUT_LIRC_TRUE=
 13790   INPUT_LIRC_FALSE='#'
 13791 else
 13792   INPUT_LIRC_TRUE='#'
 13793   INPUT_LIRC_FALSE=
 13794 fi
 13797 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
 13798 set dummy sh-elf-gcc; ac_word=$2
 13799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13801 if test "${ac_cv_path_SHCC+set}" = set; then
 13802   echo $ECHO_N "(cached) $ECHO_C" >&6
 13803 else
 13804   case $SHCC in
 13805   [\\/]* | ?:[\\/]*)
 13806   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
 13807   ;;
 13808   *)
 13809   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13810 for as_dir in $PATH
 13811 do
 13812   IFS=$as_save_IFS
 13813   test -z "$as_dir" && as_dir=.
 13814   for ac_exec_ext in '' $ac_executable_extensions; do
 13815   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13816     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
 13817     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13818     break 2
 13819   fi
 13820 done
 13821 done
 13822 IFS=$as_save_IFS
 13824   ;;
 13825 esac
 13826 fi
 13827 SHCC=$ac_cv_path_SHCC
 13828 if test -n "$SHCC"; then
 13829   { echo "$as_me:$LINENO: result: $SHCC" >&5
 13830 echo "${ECHO_T}$SHCC" >&6; }
 13831 else
 13832   { echo "$as_me:$LINENO: result: no" >&5
 13833 echo "${ECHO_T}no" >&6; }
 13834 fi
 13837 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
 13838 set dummy sh-elf-ld; ac_word=$2
 13839 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13841 if test "${ac_cv_path_SHLD+set}" = set; then
 13842   echo $ECHO_N "(cached) $ECHO_C" >&6
 13843 else
 13844   case $SHLD in
 13845   [\\/]* | ?:[\\/]*)
 13846   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
 13847   ;;
 13848   *)
 13849   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13850 for as_dir in $PATH
 13851 do
 13852   IFS=$as_save_IFS
 13853   test -z "$as_dir" && as_dir=.
 13854   for ac_exec_ext in '' $ac_executable_extensions; do
 13855   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13856     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
 13857     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13858     break 2
 13859   fi
 13860 done
 13861 done
 13862 IFS=$as_save_IFS
 13864   ;;
 13865 esac
 13866 fi
 13867 SHLD=$ac_cv_path_SHLD
 13868 if test -n "$SHLD"; then
 13869   { echo "$as_me:$LINENO: result: $SHLD" >&5
 13870 echo "${ECHO_T}$SHLD" >&6; }
 13871 else
 13872   { echo "$as_me:$LINENO: result: no" >&5
 13873 echo "${ECHO_T}no" >&6; }
 13874 fi
 13877 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
 13878 set dummy sh-elf-objcopy; ac_word=$2
 13879 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13880 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13881 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
 13882   echo $ECHO_N "(cached) $ECHO_C" >&6
 13883 else
 13884   case $SHOBJCOPY in
 13885   [\\/]* | ?:[\\/]*)
 13886   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
 13887   ;;
 13888   *)
 13889   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13890 for as_dir in $PATH
 13891 do
 13892   IFS=$as_save_IFS
 13893   test -z "$as_dir" && as_dir=.
 13894   for ac_exec_ext in '' $ac_executable_extensions; do
 13895   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13896     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
 13897     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13898     break 2
 13899   fi
 13900 done
 13901 done
 13902 IFS=$as_save_IFS
 13904   ;;
 13905 esac
 13906 fi
 13907 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
 13908 if test -n "$SHOBJCOPY"; then
 13909   { echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
 13910 echo "${ECHO_T}$SHOBJCOPY" >&6; }
 13911 else
 13912   { echo "$as_me:$LINENO: result: no" >&5
 13913 echo "${ECHO_T}no" >&6; }
 13914 fi
 13917 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
 13918 set dummy arm-elf-gcc; ac_word=$2
 13919 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13920 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13921 if test "${ac_cv_path_ARMCC+set}" = set; then
 13922   echo $ECHO_N "(cached) $ECHO_C" >&6
 13923 else
 13924   case $ARMCC in
 13925   [\\/]* | ?:[\\/]*)
 13926   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
 13927   ;;
 13928   *)
 13929   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13930 for as_dir in $PATH
 13931 do
 13932   IFS=$as_save_IFS
 13933   test -z "$as_dir" && as_dir=.
 13934   for ac_exec_ext in '' $ac_executable_extensions; do
 13935   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13936     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
 13937     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13938     break 2
 13939   fi
 13940 done
 13941 done
 13942 IFS=$as_save_IFS
 13944   ;;
 13945 esac
 13946 fi
 13947 ARMCC=$ac_cv_path_ARMCC
 13948 if test -n "$ARMCC"; then
 13949   { echo "$as_me:$LINENO: result: $ARMCC" >&5
 13950 echo "${ECHO_T}$ARMCC" >&6; }
 13951 else
 13952   { echo "$as_me:$LINENO: result: no" >&5
 13953 echo "${ECHO_T}no" >&6; }
 13954 fi
 13957 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
 13958 set dummy arm-elf-ld; ac_word=$2
 13959 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 13960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 13961 if test "${ac_cv_path_ARMLD+set}" = set; then
 13962   echo $ECHO_N "(cached) $ECHO_C" >&6
 13963 else
 13964   case $ARMLD in
 13965   [\\/]* | ?:[\\/]*)
 13966   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
 13967   ;;
 13968   *)
 13969   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13970 for as_dir in $PATH
 13971 do
 13972   IFS=$as_save_IFS
 13973   test -z "$as_dir" && as_dir=.
 13974   for ac_exec_ext in '' $ac_executable_extensions; do
 13975   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 13976     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
 13977     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 13978     break 2
 13979   fi
 13980 done
 13981 done
 13982 IFS=$as_save_IFS
 13984   ;;
 13985 esac
 13986 fi
 13987 ARMLD=$ac_cv_path_ARMLD
 13988 if test -n "$ARMLD"; then
 13989   { echo "$as_me:$LINENO: result: $ARMLD" >&5
 13990 echo "${ECHO_T}$ARMLD" >&6; }
 13991 else
 13992   { echo "$as_me:$LINENO: result: no" >&5
 13993 echo "${ECHO_T}no" >&6; }
 13994 fi
 13997 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
 13998 set dummy arm-elf-objcopy; ac_word=$2
 13999 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 14000 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 14001 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
 14002   echo $ECHO_N "(cached) $ECHO_C" >&6
 14003 else
 14004   case $ARMOBJCOPY in
 14005   [\\/]* | ?:[\\/]*)
 14006   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
 14007   ;;
 14008   *)
 14009   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 14010 for as_dir in $PATH
 14011 do
 14012   IFS=$as_save_IFS
 14013   test -z "$as_dir" && as_dir=.
 14014   for ac_exec_ext in '' $ac_executable_extensions; do
 14015   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 14016     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
 14017     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 14018     break 2
 14019   fi
 14020 done
 14021 done
 14022 IFS=$as_save_IFS
 14024   ;;
 14025 esac
 14026 fi
 14027 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
 14028 if test -n "$ARMOBJCOPY"; then
 14029   { echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
 14030 echo "${ECHO_T}$ARMOBJCOPY" >&6; }
 14031 else
 14032   { echo "$as_me:$LINENO: result: no" >&5
 14033 echo "${ECHO_T}no" >&6; }
 14034 fi
 14038 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
 14039   BUILD_SH="no"
 14040   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
 14041 else
 14042   BUILD_SH="yes"
 14043 fi
 14044 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
 14045   BUILD_ARM="no"
 14046   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
 14047 else
 14048   BUILD_ARM="yes"
 14049 fi
 14052 if test "$BUILD_SH" = "yes"; then
 14053   BUILD_SYSTEST_TRUE=
 14054   BUILD_SYSTEST_FALSE='#'
 14055 else
 14056   BUILD_SYSTEST_TRUE='#'
 14057   BUILD_SYSTEST_FALSE=
 14058 fi
 14062 if test "$BUILD_ARM" = "yes"; then
 14063   BUILD_ARMTEST_TRUE=
 14064   BUILD_ARMTEST_FALSE='#'
 14065 else
 14066   BUILD_ARMTEST_TRUE='#'
 14067   BUILD_ARMTEST_FALSE=
 14068 fi
 14071 CFLAGS="$CFLAGS $STDCFLAG"
 14073 GETTEXT_PACKAGE=lxdream
 14074 LXDREAM_LIBS="$LIBS"
 14075 LIBS=""
 14079 cat >>confdefs.h <<_ACEOF
 14080 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 14081 _ACEOF
 14084 ALL_LINGUAS="de es it nl pt_BR"
 14087 for ac_header in locale.h
 14088 do
 14089 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 14090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 14091   { echo "$as_me:$LINENO: checking for $ac_header" >&5
 14092 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 14093 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 14094   echo $ECHO_N "(cached) $ECHO_C" >&6
 14095 fi
 14096 ac_res=`eval echo '${'$as_ac_Header'}'`
 14097 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 14098 echo "${ECHO_T}$ac_res" >&6; }
 14099 else
 14100   # Is the header compilable?
 14101 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
 14102 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 14103 cat >conftest.$ac_ext <<_ACEOF
 14104 /* confdefs.h.  */
 14105 _ACEOF
 14106 cat confdefs.h >>conftest.$ac_ext
 14107 cat >>conftest.$ac_ext <<_ACEOF
 14108 /* end confdefs.h.  */
 14109 $ac_includes_default
 14110 #include <$ac_header>
 14111 _ACEOF
 14112 rm -f conftest.$ac_objext
 14113 if { (ac_try="$ac_compile"
 14114 case "(($ac_try" in
 14115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14116   *) ac_try_echo=$ac_try;;
 14117 esac
 14118 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14119   (eval "$ac_compile") 2>conftest.er1
 14120   ac_status=$?
 14121   grep -v '^ *+' conftest.er1 >conftest.err
 14122   rm -f conftest.er1
 14123   cat conftest.err >&5
 14124   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14125   (exit $ac_status); } && {
 14126 	 test -z "$ac_c_werror_flag" ||
 14127 	 test ! -s conftest.err
 14128        } && test -s conftest.$ac_objext; then
 14129   ac_header_compiler=yes
 14130 else
 14131   echo "$as_me: failed program was:" >&5
 14132 sed 's/^/| /' conftest.$ac_ext >&5
 14134 	ac_header_compiler=no
 14135 fi
 14137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14138 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 14139 echo "${ECHO_T}$ac_header_compiler" >&6; }
 14141 # Is the header present?
 14142 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
 14143 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 14144 cat >conftest.$ac_ext <<_ACEOF
 14145 /* confdefs.h.  */
 14146 _ACEOF
 14147 cat confdefs.h >>conftest.$ac_ext
 14148 cat >>conftest.$ac_ext <<_ACEOF
 14149 /* end confdefs.h.  */
 14150 #include <$ac_header>
 14151 _ACEOF
 14152 if { (ac_try="$ac_cpp conftest.$ac_ext"
 14153 case "(($ac_try" in
 14154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14155   *) ac_try_echo=$ac_try;;
 14156 esac
 14157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14158   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 14159   ac_status=$?
 14160   grep -v '^ *+' conftest.er1 >conftest.err
 14161   rm -f conftest.er1
 14162   cat conftest.err >&5
 14163   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14164   (exit $ac_status); } >/dev/null && {
 14165 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 14166 	 test ! -s conftest.err
 14167        }; then
 14168   ac_header_preproc=yes
 14169 else
 14170   echo "$as_me: failed program was:" >&5
 14171 sed 's/^/| /' conftest.$ac_ext >&5
 14173   ac_header_preproc=no
 14174 fi
 14176 rm -f conftest.err conftest.$ac_ext
 14177 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 14178 echo "${ECHO_T}$ac_header_preproc" >&6; }
 14180 # So?  What about this header?
 14181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 14182   yes:no: )
 14183     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 14184 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 14185     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 14186 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 14187     ac_header_preproc=yes
 14188     ;;
 14189   no:yes:* )
 14190     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 14191 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 14192     { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 14193 echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 14194     { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 14195 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 14196     { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 14197 echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 14198     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 14199 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 14200     { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 14201 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 14203     ;;
 14204 esac
 14205 { echo "$as_me:$LINENO: checking for $ac_header" >&5
 14206 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 14207 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 14208   echo $ECHO_N "(cached) $ECHO_C" >&6
 14209 else
 14210   eval "$as_ac_Header=\$ac_header_preproc"
 14211 fi
 14212 ac_res=`eval echo '${'$as_ac_Header'}'`
 14213 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 14214 echo "${ECHO_T}$ac_res" >&6; }
 14216 fi
 14217 if test `eval echo '${'$as_ac_Header'}'` = yes; then
 14218   cat >>confdefs.h <<_ACEOF
 14219 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 14220 _ACEOF
 14222 fi
 14224 done
 14226     if test $ac_cv_header_locale_h = yes; then
 14227     { echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 14228 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6; }
 14229 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 14230   echo $ECHO_N "(cached) $ECHO_C" >&6
 14231 else
 14232   cat >conftest.$ac_ext <<_ACEOF
 14233 /* confdefs.h.  */
 14234 _ACEOF
 14235 cat confdefs.h >>conftest.$ac_ext
 14236 cat >>conftest.$ac_ext <<_ACEOF
 14237 /* end confdefs.h.  */
 14238 #include <locale.h>
 14239 int
 14240 main ()
 14242 return LC_MESSAGES
 14244   return 0;
 14246 _ACEOF
 14247 rm -f conftest.$ac_objext conftest$ac_exeext
 14248 if { (ac_try="$ac_link"
 14249 case "(($ac_try" in
 14250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14251   *) ac_try_echo=$ac_try;;
 14252 esac
 14253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14254   (eval "$ac_link") 2>conftest.er1
 14255   ac_status=$?
 14256   grep -v '^ *+' conftest.er1 >conftest.err
 14257   rm -f conftest.er1
 14258   cat conftest.err >&5
 14259   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14260   (exit $ac_status); } && {
 14261 	 test -z "$ac_c_werror_flag" ||
 14262 	 test ! -s conftest.err
 14263        } && test -s conftest$ac_exeext &&
 14264        $as_test_x conftest$ac_exeext; then
 14265   am_cv_val_LC_MESSAGES=yes
 14266 else
 14267   echo "$as_me: failed program was:" >&5
 14268 sed 's/^/| /' conftest.$ac_ext >&5
 14270 	am_cv_val_LC_MESSAGES=no
 14271 fi
 14273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14274       conftest$ac_exeext conftest.$ac_ext
 14275 fi
 14276 { echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 14277 echo "${ECHO_T}$am_cv_val_LC_MESSAGES" >&6; }
 14278     if test $am_cv_val_LC_MESSAGES = yes; then
 14280 cat >>confdefs.h <<\_ACEOF
 14281 #define HAVE_LC_MESSAGES 1
 14282 _ACEOF
 14284     fi
 14285   fi
 14286      USE_NLS=yes
 14289     gt_cv_have_gettext=no
 14291     CATOBJEXT=NONE
 14292     XGETTEXT=:
 14293     INTLLIBS=
 14295     if test "${ac_cv_header_libintl_h+set}" = set; then
 14296   { echo "$as_me:$LINENO: checking for libintl.h" >&5
 14297 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
 14298 if test "${ac_cv_header_libintl_h+set}" = set; then
 14299   echo $ECHO_N "(cached) $ECHO_C" >&6
 14300 fi
 14301 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 14302 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
 14303 else
 14304   # Is the header compilable?
 14305 { echo "$as_me:$LINENO: checking libintl.h usability" >&5
 14306 echo $ECHO_N "checking libintl.h usability... $ECHO_C" >&6; }
 14307 cat >conftest.$ac_ext <<_ACEOF
 14308 /* confdefs.h.  */
 14309 _ACEOF
 14310 cat confdefs.h >>conftest.$ac_ext
 14311 cat >>conftest.$ac_ext <<_ACEOF
 14312 /* end confdefs.h.  */
 14313 $ac_includes_default
 14314 #include <libintl.h>
 14315 _ACEOF
 14316 rm -f conftest.$ac_objext
 14317 if { (ac_try="$ac_compile"
 14318 case "(($ac_try" in
 14319   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14320   *) ac_try_echo=$ac_try;;
 14321 esac
 14322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14323   (eval "$ac_compile") 2>conftest.er1
 14324   ac_status=$?
 14325   grep -v '^ *+' conftest.er1 >conftest.err
 14326   rm -f conftest.er1
 14327   cat conftest.err >&5
 14328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14329   (exit $ac_status); } && {
 14330 	 test -z "$ac_c_werror_flag" ||
 14331 	 test ! -s conftest.err
 14332        } && test -s conftest.$ac_objext; then
 14333   ac_header_compiler=yes
 14334 else
 14335   echo "$as_me: failed program was:" >&5
 14336 sed 's/^/| /' conftest.$ac_ext >&5
 14338 	ac_header_compiler=no
 14339 fi
 14341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 14342 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 14343 echo "${ECHO_T}$ac_header_compiler" >&6; }
 14345 # Is the header present?
 14346 { echo "$as_me:$LINENO: checking libintl.h presence" >&5
 14347 echo $ECHO_N "checking libintl.h presence... $ECHO_C" >&6; }
 14348 cat >conftest.$ac_ext <<_ACEOF
 14349 /* confdefs.h.  */
 14350 _ACEOF
 14351 cat confdefs.h >>conftest.$ac_ext
 14352 cat >>conftest.$ac_ext <<_ACEOF
 14353 /* end confdefs.h.  */
 14354 #include <libintl.h>
 14355 _ACEOF
 14356 if { (ac_try="$ac_cpp conftest.$ac_ext"
 14357 case "(($ac_try" in
 14358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14359   *) ac_try_echo=$ac_try;;
 14360 esac
 14361 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14362   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 14363   ac_status=$?
 14364   grep -v '^ *+' conftest.er1 >conftest.err
 14365   rm -f conftest.er1
 14366   cat conftest.err >&5
 14367   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14368   (exit $ac_status); } >/dev/null && {
 14369 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 14370 	 test ! -s conftest.err
 14371        }; then
 14372   ac_header_preproc=yes
 14373 else
 14374   echo "$as_me: failed program was:" >&5
 14375 sed 's/^/| /' conftest.$ac_ext >&5
 14377   ac_header_preproc=no
 14378 fi
 14380 rm -f conftest.err conftest.$ac_ext
 14381 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 14382 echo "${ECHO_T}$ac_header_preproc" >&6; }
 14384 # So?  What about this header?
 14385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 14386   yes:no: )
 14387     { echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 14388 echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 14389     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 14390 echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 14391     ac_header_preproc=yes
 14392     ;;
 14393   no:yes:* )
 14394     { echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 14395 echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 14396     { echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 14397 echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 14398     { echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 14399 echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 14400     { echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 14401 echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 14402     { echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 14403 echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 14404     { echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 14405 echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 14407     ;;
 14408 esac
 14409 { echo "$as_me:$LINENO: checking for libintl.h" >&5
 14410 echo $ECHO_N "checking for libintl.h... $ECHO_C" >&6; }
 14411 if test "${ac_cv_header_libintl_h+set}" = set; then
 14412   echo $ECHO_N "(cached) $ECHO_C" >&6
 14413 else
 14414   ac_cv_header_libintl_h=$ac_header_preproc
 14415 fi
 14416 { echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 14417 echo "${ECHO_T}$ac_cv_header_libintl_h" >&6; }
 14419 fi
 14420 if test $ac_cv_header_libintl_h = yes; then
 14421   gt_cv_func_dgettext_libintl="no"
 14422       libintl_extra_libs=""
 14425       # First check in libc
 14427       { echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 14428 echo $ECHO_N "checking for ngettext in libc... $ECHO_C" >&6; }
 14429 if test "${gt_cv_func_ngettext_libc+set}" = set; then
 14430   echo $ECHO_N "(cached) $ECHO_C" >&6
 14431 else
 14432   cat >conftest.$ac_ext <<_ACEOF
 14433 /* confdefs.h.  */
 14434 _ACEOF
 14435 cat confdefs.h >>conftest.$ac_ext
 14436 cat >>conftest.$ac_ext <<_ACEOF
 14437 /* end confdefs.h.  */
 14439 #include <libintl.h>
 14441 int
 14442 main ()
 14444 return !ngettext ("","", 1)
 14446   return 0;
 14448 _ACEOF
 14449 rm -f conftest.$ac_objext conftest$ac_exeext
 14450 if { (ac_try="$ac_link"
 14451 case "(($ac_try" in
 14452   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14453   *) ac_try_echo=$ac_try;;
 14454 esac
 14455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14456   (eval "$ac_link") 2>conftest.er1
 14457   ac_status=$?
 14458   grep -v '^ *+' conftest.er1 >conftest.err
 14459   rm -f conftest.er1
 14460   cat conftest.err >&5
 14461   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14462   (exit $ac_status); } && {
 14463 	 test -z "$ac_c_werror_flag" ||
 14464 	 test ! -s conftest.err
 14465        } && test -s conftest$ac_exeext &&
 14466        $as_test_x conftest$ac_exeext; then
 14467   gt_cv_func_ngettext_libc=yes
 14468 else
 14469   echo "$as_me: failed program was:" >&5
 14470 sed 's/^/| /' conftest.$ac_ext >&5
 14472 	gt_cv_func_ngettext_libc=no
 14473 fi
 14475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14476       conftest$ac_exeext conftest.$ac_ext
 14478 fi
 14479 { echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 14480 echo "${ECHO_T}$gt_cv_func_ngettext_libc" >&6; }
 14482       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 14483 	      { echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 14484 echo $ECHO_N "checking for dgettext in libc... $ECHO_C" >&6; }
 14485 if test "${gt_cv_func_dgettext_libc+set}" = set; then
 14486   echo $ECHO_N "(cached) $ECHO_C" >&6
 14487 else
 14488   cat >conftest.$ac_ext <<_ACEOF
 14489 /* confdefs.h.  */
 14490 _ACEOF
 14491 cat confdefs.h >>conftest.$ac_ext
 14492 cat >>conftest.$ac_ext <<_ACEOF
 14493 /* end confdefs.h.  */
 14495 #include <libintl.h>
 14497 int
 14498 main ()
 14500 return !dgettext ("","")
 14502   return 0;
 14504 _ACEOF
 14505 rm -f conftest.$ac_objext conftest$ac_exeext
 14506 if { (ac_try="$ac_link"
 14507 case "(($ac_try" in
 14508   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14509   *) ac_try_echo=$ac_try;;
 14510 esac
 14511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14512   (eval "$ac_link") 2>conftest.er1
 14513   ac_status=$?
 14514   grep -v '^ *+' conftest.er1 >conftest.err
 14515   rm -f conftest.er1
 14516   cat conftest.err >&5
 14517   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14518   (exit $ac_status); } && {
 14519 	 test -z "$ac_c_werror_flag" ||
 14520 	 test ! -s conftest.err
 14521        } && test -s conftest$ac_exeext &&
 14522        $as_test_x conftest$ac_exeext; then
 14523   gt_cv_func_dgettext_libc=yes
 14524 else
 14525   echo "$as_me: failed program was:" >&5
 14526 sed 's/^/| /' conftest.$ac_ext >&5
 14528 	gt_cv_func_dgettext_libc=no
 14529 fi
 14531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14532       conftest$ac_exeext conftest.$ac_ext
 14534 fi
 14535 { echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 14536 echo "${ECHO_T}$gt_cv_func_dgettext_libc" >&6; }
 14537       fi
 14539       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 14541 for ac_func in bind_textdomain_codeset
 14542 do
 14543 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 14544 { echo "$as_me:$LINENO: checking for $ac_func" >&5
 14545 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 14546 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 14547   echo $ECHO_N "(cached) $ECHO_C" >&6
 14548 else
 14549   cat >conftest.$ac_ext <<_ACEOF
 14550 /* confdefs.h.  */
 14551 _ACEOF
 14552 cat confdefs.h >>conftest.$ac_ext
 14553 cat >>conftest.$ac_ext <<_ACEOF
 14554 /* end confdefs.h.  */
 14555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 14556    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 14557 #define $ac_func innocuous_$ac_func
 14559 /* System header to define __stub macros and hopefully few prototypes,
 14560     which can conflict with char $ac_func (); below.
 14561     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 14562     <limits.h> exists even on freestanding compilers.  */
 14564 #ifdef __STDC__
 14565 # include <limits.h>
 14566 #else
 14567 # include <assert.h>
 14568 #endif
 14570 #undef $ac_func
 14572 /* Override any GCC internal prototype to avoid an error.
 14573    Use char because int might match the return type of a GCC
 14574    builtin and then its argument prototype would still apply.  */
 14575 #ifdef __cplusplus
 14576 extern "C"
 14577 #endif
 14578 char $ac_func ();
 14579 /* The GNU C library defines this for functions which it implements
 14580     to always fail with ENOSYS.  Some functions are actually named
 14581     something starting with __ and the normal name is an alias.  */
 14582 #if defined __stub_$ac_func || defined __stub___$ac_func
 14583 choke me
 14584 #endif
 14586 int
 14587 main ()
 14589 return $ac_func ();
 14591   return 0;
 14593 _ACEOF
 14594 rm -f conftest.$ac_objext conftest$ac_exeext
 14595 if { (ac_try="$ac_link"
 14596 case "(($ac_try" in
 14597   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14598   *) ac_try_echo=$ac_try;;
 14599 esac
 14600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14601   (eval "$ac_link") 2>conftest.er1
 14602   ac_status=$?
 14603   grep -v '^ *+' conftest.er1 >conftest.err
 14604   rm -f conftest.er1
 14605   cat conftest.err >&5
 14606   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14607   (exit $ac_status); } && {
 14608 	 test -z "$ac_c_werror_flag" ||
 14609 	 test ! -s conftest.err
 14610        } && test -s conftest$ac_exeext &&
 14611        $as_test_x conftest$ac_exeext; then
 14612   eval "$as_ac_var=yes"
 14613 else
 14614   echo "$as_me: failed program was:" >&5
 14615 sed 's/^/| /' conftest.$ac_ext >&5
 14617 	eval "$as_ac_var=no"
 14618 fi
 14620 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14621       conftest$ac_exeext conftest.$ac_ext
 14622 fi
 14623 ac_res=`eval echo '${'$as_ac_var'}'`
 14624 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 14625 echo "${ECHO_T}$ac_res" >&6; }
 14626 if test `eval echo '${'$as_ac_var'}'` = yes; then
 14627   cat >>confdefs.h <<_ACEOF
 14628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 14629 _ACEOF
 14631 fi
 14632 done
 14634       fi
 14637       # If we don't have everything we want, check in libintl
 14639       if test "$gt_cv_func_dgettext_libc" != "yes" \
 14640 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
 14641          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 14643         { echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 14644 echo $ECHO_N "checking for bindtextdomain in -lintl... $ECHO_C" >&6; }
 14645 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 14646   echo $ECHO_N "(cached) $ECHO_C" >&6
 14647 else
 14648   ac_check_lib_save_LIBS=$LIBS
 14649 LIBS="-lintl  $LIBS"
 14650 cat >conftest.$ac_ext <<_ACEOF
 14651 /* confdefs.h.  */
 14652 _ACEOF
 14653 cat confdefs.h >>conftest.$ac_ext
 14654 cat >>conftest.$ac_ext <<_ACEOF
 14655 /* end confdefs.h.  */
 14657 /* Override any GCC internal prototype to avoid an error.
 14658    Use char because int might match the return type of a GCC
 14659    builtin and then its argument prototype would still apply.  */
 14660 #ifdef __cplusplus
 14661 extern "C"
 14662 #endif
 14663 char bindtextdomain ();
 14664 int
 14665 main ()
 14667 return bindtextdomain ();
 14669   return 0;
 14671 _ACEOF
 14672 rm -f conftest.$ac_objext conftest$ac_exeext
 14673 if { (ac_try="$ac_link"
 14674 case "(($ac_try" in
 14675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14676   *) ac_try_echo=$ac_try;;
 14677 esac
 14678 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14679   (eval "$ac_link") 2>conftest.er1
 14680   ac_status=$?
 14681   grep -v '^ *+' conftest.er1 >conftest.err
 14682   rm -f conftest.er1
 14683   cat conftest.err >&5
 14684   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14685   (exit $ac_status); } && {
 14686 	 test -z "$ac_c_werror_flag" ||
 14687 	 test ! -s conftest.err
 14688        } && test -s conftest$ac_exeext &&
 14689        $as_test_x conftest$ac_exeext; then
 14690   ac_cv_lib_intl_bindtextdomain=yes
 14691 else
 14692   echo "$as_me: failed program was:" >&5
 14693 sed 's/^/| /' conftest.$ac_ext >&5
 14695 	ac_cv_lib_intl_bindtextdomain=no
 14696 fi
 14698 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14699       conftest$ac_exeext conftest.$ac_ext
 14700 LIBS=$ac_check_lib_save_LIBS
 14701 fi
 14702 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 14703 echo "${ECHO_T}$ac_cv_lib_intl_bindtextdomain" >&6; }
 14704 if test $ac_cv_lib_intl_bindtextdomain = yes; then
 14705   { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 14706 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 14707 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 14708   echo $ECHO_N "(cached) $ECHO_C" >&6
 14709 else
 14710   ac_check_lib_save_LIBS=$LIBS
 14711 LIBS="-lintl  $LIBS"
 14712 cat >conftest.$ac_ext <<_ACEOF
 14713 /* confdefs.h.  */
 14714 _ACEOF
 14715 cat confdefs.h >>conftest.$ac_ext
 14716 cat >>conftest.$ac_ext <<_ACEOF
 14717 /* end confdefs.h.  */
 14719 /* Override any GCC internal prototype to avoid an error.
 14720    Use char because int might match the return type of a GCC
 14721    builtin and then its argument prototype would still apply.  */
 14722 #ifdef __cplusplus
 14723 extern "C"
 14724 #endif
 14725 char ngettext ();
 14726 int
 14727 main ()
 14729 return ngettext ();
 14731   return 0;
 14733 _ACEOF
 14734 rm -f conftest.$ac_objext conftest$ac_exeext
 14735 if { (ac_try="$ac_link"
 14736 case "(($ac_try" in
 14737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14738   *) ac_try_echo=$ac_try;;
 14739 esac
 14740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14741   (eval "$ac_link") 2>conftest.er1
 14742   ac_status=$?
 14743   grep -v '^ *+' conftest.er1 >conftest.err
 14744   rm -f conftest.er1
 14745   cat conftest.err >&5
 14746   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14747   (exit $ac_status); } && {
 14748 	 test -z "$ac_c_werror_flag" ||
 14749 	 test ! -s conftest.err
 14750        } && test -s conftest$ac_exeext &&
 14751        $as_test_x conftest$ac_exeext; then
 14752   ac_cv_lib_intl_ngettext=yes
 14753 else
 14754   echo "$as_me: failed program was:" >&5
 14755 sed 's/^/| /' conftest.$ac_ext >&5
 14757 	ac_cv_lib_intl_ngettext=no
 14758 fi
 14760 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14761       conftest$ac_exeext conftest.$ac_ext
 14762 LIBS=$ac_check_lib_save_LIBS
 14763 fi
 14764 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 14765 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
 14766 if test $ac_cv_lib_intl_ngettext = yes; then
 14767   { echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 14768 echo $ECHO_N "checking for dgettext in -lintl... $ECHO_C" >&6; }
 14769 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 14770   echo $ECHO_N "(cached) $ECHO_C" >&6
 14771 else
 14772   ac_check_lib_save_LIBS=$LIBS
 14773 LIBS="-lintl  $LIBS"
 14774 cat >conftest.$ac_ext <<_ACEOF
 14775 /* confdefs.h.  */
 14776 _ACEOF
 14777 cat confdefs.h >>conftest.$ac_ext
 14778 cat >>conftest.$ac_ext <<_ACEOF
 14779 /* end confdefs.h.  */
 14781 /* Override any GCC internal prototype to avoid an error.
 14782    Use char because int might match the return type of a GCC
 14783    builtin and then its argument prototype would still apply.  */
 14784 #ifdef __cplusplus
 14785 extern "C"
 14786 #endif
 14787 char dgettext ();
 14788 int
 14789 main ()
 14791 return dgettext ();
 14793   return 0;
 14795 _ACEOF
 14796 rm -f conftest.$ac_objext conftest$ac_exeext
 14797 if { (ac_try="$ac_link"
 14798 case "(($ac_try" in
 14799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14800   *) ac_try_echo=$ac_try;;
 14801 esac
 14802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14803   (eval "$ac_link") 2>conftest.er1
 14804   ac_status=$?
 14805   grep -v '^ *+' conftest.er1 >conftest.err
 14806   rm -f conftest.er1
 14807   cat conftest.err >&5
 14808   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14809   (exit $ac_status); } && {
 14810 	 test -z "$ac_c_werror_flag" ||
 14811 	 test ! -s conftest.err
 14812        } && test -s conftest$ac_exeext &&
 14813        $as_test_x conftest$ac_exeext; then
 14814   ac_cv_lib_intl_dgettext=yes
 14815 else
 14816   echo "$as_me: failed program was:" >&5
 14817 sed 's/^/| /' conftest.$ac_ext >&5
 14819 	ac_cv_lib_intl_dgettext=no
 14820 fi
 14822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14823       conftest$ac_exeext conftest.$ac_ext
 14824 LIBS=$ac_check_lib_save_LIBS
 14825 fi
 14826 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 14827 echo "${ECHO_T}$ac_cv_lib_intl_dgettext" >&6; }
 14828 if test $ac_cv_lib_intl_dgettext = yes; then
 14829   gt_cv_func_dgettext_libintl=yes
 14830 fi
 14832 fi
 14834 fi
 14837 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 14838 	  { echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 14839 echo $ECHO_N "checking if -liconv is needed to use gettext... $ECHO_C" >&6; }
 14840 	  { echo "$as_me:$LINENO: result: " >&5
 14841 echo "${ECHO_T}" >&6; }
 14842   	  { echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 14843 echo $ECHO_N "checking for ngettext in -lintl... $ECHO_C" >&6; }
 14844 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 14845   echo $ECHO_N "(cached) $ECHO_C" >&6
 14846 else
 14847   ac_check_lib_save_LIBS=$LIBS
 14848 LIBS="-lintl -liconv $LIBS"
 14849 cat >conftest.$ac_ext <<_ACEOF
 14850 /* confdefs.h.  */
 14851 _ACEOF
 14852 cat confdefs.h >>conftest.$ac_ext
 14853 cat >>conftest.$ac_ext <<_ACEOF
 14854 /* end confdefs.h.  */
 14856 /* Override any GCC internal prototype to avoid an error.
 14857    Use char because int might match the return type of a GCC
 14858    builtin and then its argument prototype would still apply.  */
 14859 #ifdef __cplusplus
 14860 extern "C"
 14861 #endif
 14862 char ngettext ();
 14863 int
 14864 main ()
 14866 return ngettext ();
 14868   return 0;
 14870 _ACEOF
 14871 rm -f conftest.$ac_objext conftest$ac_exeext
 14872 if { (ac_try="$ac_link"
 14873 case "(($ac_try" in
 14874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14875   *) ac_try_echo=$ac_try;;
 14876 esac
 14877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14878   (eval "$ac_link") 2>conftest.er1
 14879   ac_status=$?
 14880   grep -v '^ *+' conftest.er1 >conftest.err
 14881   rm -f conftest.er1
 14882   cat conftest.err >&5
 14883   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14884   (exit $ac_status); } && {
 14885 	 test -z "$ac_c_werror_flag" ||
 14886 	 test ! -s conftest.err
 14887        } && test -s conftest$ac_exeext &&
 14888        $as_test_x conftest$ac_exeext; then
 14889   ac_cv_lib_intl_ngettext=yes
 14890 else
 14891   echo "$as_me: failed program was:" >&5
 14892 sed 's/^/| /' conftest.$ac_ext >&5
 14894 	ac_cv_lib_intl_ngettext=no
 14895 fi
 14897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14898       conftest$ac_exeext conftest.$ac_ext
 14899 LIBS=$ac_check_lib_save_LIBS
 14900 fi
 14901 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 14902 echo "${ECHO_T}$ac_cv_lib_intl_ngettext" >&6; }
 14903 if test $ac_cv_lib_intl_ngettext = yes; then
 14904   { echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 14905 echo $ECHO_N "checking for dcgettext in -lintl... $ECHO_C" >&6; }
 14906 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 14907   echo $ECHO_N "(cached) $ECHO_C" >&6
 14908 else
 14909   ac_check_lib_save_LIBS=$LIBS
 14910 LIBS="-lintl -liconv $LIBS"
 14911 cat >conftest.$ac_ext <<_ACEOF
 14912 /* confdefs.h.  */
 14913 _ACEOF
 14914 cat confdefs.h >>conftest.$ac_ext
 14915 cat >>conftest.$ac_ext <<_ACEOF
 14916 /* end confdefs.h.  */
 14918 /* Override any GCC internal prototype to avoid an error.
 14919    Use char because int might match the return type of a GCC
 14920    builtin and then its argument prototype would still apply.  */
 14921 #ifdef __cplusplus
 14922 extern "C"
 14923 #endif
 14924 char dcgettext ();
 14925 int
 14926 main ()
 14928 return dcgettext ();
 14930   return 0;
 14932 _ACEOF
 14933 rm -f conftest.$ac_objext conftest$ac_exeext
 14934 if { (ac_try="$ac_link"
 14935 case "(($ac_try" in
 14936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 14937   *) ac_try_echo=$ac_try;;
 14938 esac
 14939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 14940   (eval "$ac_link") 2>conftest.er1
 14941   ac_status=$?
 14942   grep -v '^ *+' conftest.er1 >conftest.err
 14943   rm -f conftest.er1
 14944   cat conftest.err >&5
 14945   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 14946   (exit $ac_status); } && {
 14947 	 test -z "$ac_c_werror_flag" ||
 14948 	 test ! -s conftest.err
 14949        } && test -s conftest$ac_exeext &&
 14950        $as_test_x conftest$ac_exeext; then
 14951   ac_cv_lib_intl_dcgettext=yes
 14952 else
 14953   echo "$as_me: failed program was:" >&5
 14954 sed 's/^/| /' conftest.$ac_ext >&5
 14956 	ac_cv_lib_intl_dcgettext=no
 14957 fi
 14959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 14960       conftest$ac_exeext conftest.$ac_ext
 14961 LIBS=$ac_check_lib_save_LIBS
 14962 fi
 14963 { echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 14964 echo "${ECHO_T}$ac_cv_lib_intl_dcgettext" >&6; }
 14965 if test $ac_cv_lib_intl_dcgettext = yes; then
 14966   gt_cv_func_dgettext_libintl=yes
 14967 			libintl_extra_libs=-liconv
 14968 else
 14970 fi
 14972 else
 14974 fi
 14976         fi
 14979         # If we found libintl, then check in it for bind_textdomain_codeset();
 14980         # we'll prefer libc if neither have bind_textdomain_codeset(),
 14981         # and both have dgettext and ngettext
 14983         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 14984           glib_save_LIBS="$LIBS"
 14985           LIBS="$LIBS -lintl $libintl_extra_libs"
 14986           unset ac_cv_func_bind_textdomain_codeset
 14988 for ac_func in bind_textdomain_codeset
 14989 do
 14990 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 14991 { echo "$as_me:$LINENO: checking for $ac_func" >&5
 14992 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 14993 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 14994   echo $ECHO_N "(cached) $ECHO_C" >&6
 14995 else
 14996   cat >conftest.$ac_ext <<_ACEOF
 14997 /* confdefs.h.  */
 14998 _ACEOF
 14999 cat confdefs.h >>conftest.$ac_ext
 15000 cat >>conftest.$ac_ext <<_ACEOF
 15001 /* end confdefs.h.  */
 15002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 15003    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 15004 #define $ac_func innocuous_$ac_func
 15006 /* System header to define __stub macros and hopefully few prototypes,
 15007     which can conflict with char $ac_func (); below.
 15008     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 15009     <limits.h> exists even on freestanding compilers.  */
 15011 #ifdef __STDC__
 15012 # include <limits.h>
 15013 #else
 15014 # include <assert.h>
 15015 #endif
 15017 #undef $ac_func
 15019 /* Override any GCC internal prototype to avoid an error.
 15020    Use char because int might match the return type of a GCC
 15021    builtin and then its argument prototype would still apply.  */
 15022 #ifdef __cplusplus
 15023 extern "C"
 15024 #endif
 15025 char $ac_func ();
 15026 /* The GNU C library defines this for functions which it implements
 15027     to always fail with ENOSYS.  Some functions are actually named
 15028     something starting with __ and the normal name is an alias.  */
 15029 #if defined __stub_$ac_func || defined __stub___$ac_func
 15030 choke me
 15031 #endif
 15033 int
 15034 main ()
 15036 return $ac_func ();
 15038   return 0;
 15040 _ACEOF
 15041 rm -f conftest.$ac_objext conftest$ac_exeext
 15042 if { (ac_try="$ac_link"
 15043 case "(($ac_try" in
 15044   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15045   *) ac_try_echo=$ac_try;;
 15046 esac
 15047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 15048   (eval "$ac_link") 2>conftest.er1
 15049   ac_status=$?
 15050   grep -v '^ *+' conftest.er1 >conftest.err
 15051   rm -f conftest.er1
 15052   cat conftest.err >&5
 15053   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15054   (exit $ac_status); } && {
 15055 	 test -z "$ac_c_werror_flag" ||
 15056 	 test ! -s conftest.err
 15057        } && test -s conftest$ac_exeext &&
 15058        $as_test_x conftest$ac_exeext; then
 15059   eval "$as_ac_var=yes"
 15060 else
 15061   echo "$as_me: failed program was:" >&5
 15062 sed 's/^/| /' conftest.$ac_ext >&5
 15064 	eval "$as_ac_var=no"
 15065 fi
 15067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15068       conftest$ac_exeext conftest.$ac_ext
 15069 fi
 15070 ac_res=`eval echo '${'$as_ac_var'}'`
 15071 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 15072 echo "${ECHO_T}$ac_res" >&6; }
 15073 if test `eval echo '${'$as_ac_var'}'` = yes; then
 15074   cat >>confdefs.h <<_ACEOF
 15075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 15076 _ACEOF
 15078 fi
 15079 done
 15081           LIBS="$glib_save_LIBS"
 15083           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 15084             gt_cv_func_dgettext_libc=no
 15085           else
 15086             if test "$gt_cv_func_dgettext_libc" = "yes" \
 15087 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
 15088               gt_cv_func_dgettext_libintl=no
 15089             fi
 15090           fi
 15091         fi
 15092       fi
 15094       if test "$gt_cv_func_dgettext_libc" = "yes" \
 15095 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
 15096         gt_cv_have_gettext=yes
 15097       fi
 15099       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 15100         INTLLIBS="-lintl $libintl_extra_libs"
 15101       fi
 15103       if test "$gt_cv_have_gettext" = "yes"; then
 15105 cat >>confdefs.h <<\_ACEOF
 15106 #define HAVE_GETTEXT 1
 15107 _ACEOF
 15109 	# Extract the first word of "msgfmt", so it can be a program name with args.
 15110 set dummy msgfmt; ac_word=$2
 15111 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 15112 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 15113 if test "${ac_cv_path_MSGFMT+set}" = set; then
 15114   echo $ECHO_N "(cached) $ECHO_C" >&6
 15115 else
 15116   case "$MSGFMT" in
 15117   /*)
 15118   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 15119   ;;
 15120   *)
 15121   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 15122   for ac_dir in $PATH; do
 15123     test -z "$ac_dir" && ac_dir=.
 15124     if test -f $ac_dir/$ac_word; then
 15125       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 15126 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 15127 	break
 15128       fi
 15129     fi
 15130   done
 15131   IFS="$ac_save_ifs"
 15132   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 15133   ;;
 15134 esac
 15135 fi
 15136 MSGFMT="$ac_cv_path_MSGFMT"
 15137 if test "$MSGFMT" != "no"; then
 15138   { echo "$as_me:$LINENO: result: $MSGFMT" >&5
 15139 echo "${ECHO_T}$MSGFMT" >&6; }
 15140 else
 15141   { echo "$as_me:$LINENO: result: no" >&5
 15142 echo "${ECHO_T}no" >&6; }
 15143 fi
 15144 	if test "$MSGFMT" != "no"; then
 15145           glib_save_LIBS="$LIBS"
 15146           LIBS="$LIBS $INTLLIBS"
 15148 for ac_func in dcgettext
 15149 do
 15150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 15151 { echo "$as_me:$LINENO: checking for $ac_func" >&5
 15152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 15153 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 15154   echo $ECHO_N "(cached) $ECHO_C" >&6
 15155 else
 15156   cat >conftest.$ac_ext <<_ACEOF
 15157 /* confdefs.h.  */
 15158 _ACEOF
 15159 cat confdefs.h >>conftest.$ac_ext
 15160 cat >>conftest.$ac_ext <<_ACEOF
 15161 /* end confdefs.h.  */
 15162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 15163    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 15164 #define $ac_func innocuous_$ac_func
 15166 /* System header to define __stub macros and hopefully few prototypes,
 15167     which can conflict with char $ac_func (); below.
 15168     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 15169     <limits.h> exists even on freestanding compilers.  */
 15171 #ifdef __STDC__
 15172 # include <limits.h>
 15173 #else
 15174 # include <assert.h>
 15175 #endif
 15177 #undef $ac_func
 15179 /* Override any GCC internal prototype to avoid an error.
 15180    Use char because int might match the return type of a GCC
 15181    builtin and then its argument prototype would still apply.  */
 15182 #ifdef __cplusplus
 15183 extern "C"
 15184 #endif
 15185 char $ac_func ();
 15186 /* The GNU C library defines this for functions which it implements
 15187     to always fail with ENOSYS.  Some functions are actually named
 15188     something starting with __ and the normal name is an alias.  */
 15189 #if defined __stub_$ac_func || defined __stub___$ac_func
 15190 choke me
 15191 #endif
 15193 int
 15194 main ()
 15196 return $ac_func ();
 15198   return 0;
 15200 _ACEOF
 15201 rm -f conftest.$ac_objext conftest$ac_exeext
 15202 if { (ac_try="$ac_link"
 15203 case "(($ac_try" in
 15204   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15205   *) ac_try_echo=$ac_try;;
 15206 esac
 15207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 15208   (eval "$ac_link") 2>conftest.er1
 15209   ac_status=$?
 15210   grep -v '^ *+' conftest.er1 >conftest.err
 15211   rm -f conftest.er1
 15212   cat conftest.err >&5
 15213   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15214   (exit $ac_status); } && {
 15215 	 test -z "$ac_c_werror_flag" ||
 15216 	 test ! -s conftest.err
 15217        } && test -s conftest$ac_exeext &&
 15218        $as_test_x conftest$ac_exeext; then
 15219   eval "$as_ac_var=yes"
 15220 else
 15221   echo "$as_me: failed program was:" >&5
 15222 sed 's/^/| /' conftest.$ac_ext >&5
 15224 	eval "$as_ac_var=no"
 15225 fi
 15227 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15228       conftest$ac_exeext conftest.$ac_ext
 15229 fi
 15230 ac_res=`eval echo '${'$as_ac_var'}'`
 15231 	       { echo "$as_me:$LINENO: result: $ac_res" >&5
 15232 echo "${ECHO_T}$ac_res" >&6; }
 15233 if test `eval echo '${'$as_ac_var'}'` = yes; then
 15234   cat >>confdefs.h <<_ACEOF
 15235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 15236 _ACEOF
 15238 fi
 15239 done
 15241 	  MSGFMT_OPTS=
 15242 	  { echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 15243 echo $ECHO_N "checking if msgfmt accepts -c... $ECHO_C" >&6; }
 15244 	  cat >conftest.foo <<_ACEOF
 15246 msgid ""
 15247 msgstr ""
 15248 "Content-Type: text/plain; charset=UTF-8\n"
 15249 "Project-Id-Version: test 1.0\n"
 15250 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
 15251 "Last-Translator: test <foo@bar.xx>\n"
 15252 "Language-Team: C <LL@li.org>\n"
 15253 "MIME-Version: 1.0\n"
 15254 "Content-Transfer-Encoding: 8bit\n"
 15256 _ACEOF
 15257 if { (echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 15258   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 15259   ac_status=$?
 15260   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15261   (exit $ac_status); }; then
 15262   MSGFMT_OPTS=-c; { echo "$as_me:$LINENO: result: yes" >&5
 15263 echo "${ECHO_T}yes" >&6; }
 15264 else { echo "$as_me:$LINENO: result: no" >&5
 15265 echo "${ECHO_T}no" >&6; }
 15266 echo "$as_me: failed input was:" >&5
 15267 sed 's/^/| /' conftest.foo >&5
 15268 fi
 15270 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 15271 set dummy gmsgfmt; ac_word=$2
 15272 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 15273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 15274 if test "${ac_cv_path_GMSGFMT+set}" = set; then
 15275   echo $ECHO_N "(cached) $ECHO_C" >&6
 15276 else
 15277   case $GMSGFMT in
 15278   [\\/]* | ?:[\\/]*)
 15279   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 15280   ;;
 15281   *)
 15282   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 15283 for as_dir in $PATH
 15284 do
 15285   IFS=$as_save_IFS
 15286   test -z "$as_dir" && as_dir=.
 15287   for ac_exec_ext in '' $ac_executable_extensions; do
 15288   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 15289     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 15290     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 15291     break 2
 15292   fi
 15293 done
 15294 done
 15295 IFS=$as_save_IFS
 15297   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 15298   ;;
 15299 esac
 15300 fi
 15301 GMSGFMT=$ac_cv_path_GMSGFMT
 15302 if test -n "$GMSGFMT"; then
 15303   { echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 15304 echo "${ECHO_T}$GMSGFMT" >&6; }
 15305 else
 15306   { echo "$as_me:$LINENO: result: no" >&5
 15307 echo "${ECHO_T}no" >&6; }
 15308 fi
 15311 	  # Extract the first word of "xgettext", so it can be a program name with args.
 15312 set dummy xgettext; ac_word=$2
 15313 { echo "$as_me:$LINENO: checking for $ac_word" >&5
 15314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 15315 if test "${ac_cv_path_XGETTEXT+set}" = set; then
 15316   echo $ECHO_N "(cached) $ECHO_C" >&6
 15317 else
 15318   case "$XGETTEXT" in
 15319   /*)
 15320   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 15321   ;;
 15322   *)
 15323   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 15324   for ac_dir in $PATH; do
 15325     test -z "$ac_dir" && ac_dir=.
 15326     if test -f $ac_dir/$ac_word; then
 15327       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 15328 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 15329 	break
 15330       fi
 15331     fi
 15332   done
 15333   IFS="$ac_save_ifs"
 15334   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 15335   ;;
 15336 esac
 15337 fi
 15338 XGETTEXT="$ac_cv_path_XGETTEXT"
 15339 if test "$XGETTEXT" != ":"; then
 15340   { echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 15341 echo "${ECHO_T}$XGETTEXT" >&6; }
 15342 else
 15343   { echo "$as_me:$LINENO: result: no" >&5
 15344 echo "${ECHO_T}no" >&6; }
 15345 fi
 15347 	  cat >conftest.$ac_ext <<_ACEOF
 15348 /* confdefs.h.  */
 15349 _ACEOF
 15350 cat confdefs.h >>conftest.$ac_ext
 15351 cat >>conftest.$ac_ext <<_ACEOF
 15352 /* end confdefs.h.  */
 15354 int
 15355 main ()
 15357 extern int _nl_msg_cat_cntr;
 15358 			 return _nl_msg_cat_cntr
 15360   return 0;
 15362 _ACEOF
 15363 rm -f conftest.$ac_objext conftest$ac_exeext
 15364 if { (ac_try="$ac_link"
 15365 case "(($ac_try" in
 15366   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15367   *) ac_try_echo=$ac_try;;
 15368 esac
 15369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 15370   (eval "$ac_link") 2>conftest.er1
 15371   ac_status=$?
 15372   grep -v '^ *+' conftest.er1 >conftest.err
 15373   rm -f conftest.er1
 15374   cat conftest.err >&5
 15375   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15376   (exit $ac_status); } && {
 15377 	 test -z "$ac_c_werror_flag" ||
 15378 	 test ! -s conftest.err
 15379        } && test -s conftest$ac_exeext &&
 15380        $as_test_x conftest$ac_exeext; then
 15381   CATOBJEXT=.gmo
 15382              DATADIRNAME=share
 15383 else
 15384   echo "$as_me: failed program was:" >&5
 15385 sed 's/^/| /' conftest.$ac_ext >&5
 15387 	case $host in
 15388 	    *-*-solaris*)
 15389 	    	                	    	                { echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 15390 echo $ECHO_N "checking for bind_textdomain_codeset... $ECHO_C" >&6; }
 15391 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 15392   echo $ECHO_N "(cached) $ECHO_C" >&6
 15393 else
 15394   cat >conftest.$ac_ext <<_ACEOF
 15395 /* confdefs.h.  */
 15396 _ACEOF
 15397 cat confdefs.h >>conftest.$ac_ext
 15398 cat >>conftest.$ac_ext <<_ACEOF
 15399 /* end confdefs.h.  */
 15400 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 15401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 15402 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 15404 /* System header to define __stub macros and hopefully few prototypes,
 15405     which can conflict with char bind_textdomain_codeset (); below.
 15406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 15407     <limits.h> exists even on freestanding compilers.  */
 15409 #ifdef __STDC__
 15410 # include <limits.h>
 15411 #else
 15412 # include <assert.h>
 15413 #endif
 15415 #undef bind_textdomain_codeset
 15417 /* Override any GCC internal prototype to avoid an error.
 15418    Use char because int might match the return type of a GCC
 15419    builtin and then its argument prototype would still apply.  */
 15420 #ifdef __cplusplus
 15421 extern "C"
 15422 #endif
 15423 char bind_textdomain_codeset ();
 15424 /* The GNU C library defines this for functions which it implements
 15425     to always fail with ENOSYS.  Some functions are actually named
 15426     something starting with __ and the normal name is an alias.  */
 15427 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 15428 choke me
 15429 #endif
 15431 int
 15432 main ()
 15434 return bind_textdomain_codeset ();
 15436   return 0;
 15438 _ACEOF
 15439 rm -f conftest.$ac_objext conftest$ac_exeext
 15440 if { (ac_try="$ac_link"
 15441 case "(($ac_try" in
 15442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 15443   *) ac_try_echo=$ac_try;;
 15444 esac
 15445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 15446   (eval "$ac_link") 2>conftest.er1
 15447   ac_status=$?
 15448   grep -v '^ *+' conftest.er1 >conftest.err
 15449   rm -f conftest.er1
 15450   cat conftest.err >&5
 15451   echo "$as_me:$LINENO: \$? = $ac_status" >&5
 15452   (exit $ac_status); } && {
 15453 	 test -z "$ac_c_werror_flag" ||
 15454 	 test ! -s conftest.err
 15455        } && test -s conftest$ac_exeext &&
 15456        $as_test_x conftest$ac_exeext; then
 15457   ac_cv_func_bind_textdomain_codeset=yes
 15458 else
 15459   echo "$as_me: failed program was:" >&5
 15460 sed 's/^/| /' conftest.$ac_ext >&5
 15462 	ac_cv_func_bind_textdomain_codeset=no
 15463 fi
 15465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15466       conftest$ac_exeext conftest.$ac_ext
 15467 fi
 15468 { echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 15469 echo "${ECHO_T}$ac_cv_func_bind_textdomain_codeset" >&6; }
 15470 if test $ac_cv_func_bind_textdomain_codeset = yes; then
 15471   CATOBJEXT=.gmo
 15472                DATADIRNAME=share
 15473 else
 15474   CATOBJEXT=.mo
 15475                DATADIRNAME=lib
 15476 fi
 15478 	    ;;
 15479 	    *)
 15480 	    CATOBJEXT=.mo
 15481             DATADIRNAME=lib
 15482 	    ;;
 15483 	    esac
 15484 fi
 15486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 15487       conftest$ac_exeext conftest.$ac_ext
 15488           LIBS="$glib_save_LIBS"
 15489 	  INSTOBJEXT=.mo
 15490 	else
 15491 	  gt_cv_have_gettext=no
 15492 	fi
 15493       fi
 15495 fi
 15499     if test "$gt_cv_have_gettext" = "yes" ; then
 15501 cat >>confdefs.h <<\_ACEOF
 15502 #define ENABLE_NLS 1
 15503 _ACEOF
 15505     fi
 15507         if test "$XGETTEXT" != ":"; then
 15508                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 15509         : ;
 15510       else
 15511         { echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 15512 echo "${ECHO_T}found xgettext program is not GNU xgettext; ignore it" >&6; }
 15513         XGETTEXT=":"
 15514       fi
 15515     fi
 15517     # We need to process the po/ directory.
 15518     POSUB=po
 15520     ac_config_commands="$ac_config_commands default-1"
 15523                 for lang in $ALL_LINGUAS; do
 15524       GMOFILES="$GMOFILES $lang.gmo"
 15525       POFILES="$POFILES $lang.po"
 15526     done
 15540    if test "$gt_cv_have_gettext" = "yes"; then
 15541      if test "x$ALL_LINGUAS" = "x"; then
 15542        LINGUAS=
 15543      else
 15544        { echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 15545 echo $ECHO_N "checking for catalogs to be installed... $ECHO_C" >&6; }
 15546        NEW_LINGUAS=
 15547        for presentlang in $ALL_LINGUAS; do
 15548          useit=no
 15549          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 15550            desiredlanguages="$LINGUAS"
 15551          else
 15552            desiredlanguages="$ALL_LINGUAS"
 15553          fi
 15554          for desiredlang in $desiredlanguages; do
 15555  	   # Use the presentlang catalog if desiredlang is
 15556            #   a. equal to presentlang, or
 15557            #   b. a variant of presentlang (because in this case,
 15558            #      presentlang can be used as a fallback for messages
 15559            #      which are not translated in the desiredlang catalog).
 15560            case "$desiredlang" in
 15561              "$presentlang"*) useit=yes;;
 15562            esac
 15563          done
 15564          if test $useit = yes; then
 15565            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 15566          fi
 15567        done
 15568        LINGUAS=$NEW_LINGUAS
 15569        { echo "$as_me:$LINENO: result: $LINGUAS" >&5
 15570 echo "${ECHO_T}$LINGUAS" >&6; }
 15571      fi
 15573           if test -n "$LINGUAS"; then
 15574        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 15575      fi
 15576    fi
 15578             MKINSTALLDIRS=
 15579    if test -n "$ac_aux_dir"; then
 15580      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 15581    fi
 15582    if test -z "$MKINSTALLDIRS"; then
 15583      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 15584    fi
 15587          test -d po || mkdir po
 15588    if test "x$srcdir" != "x."; then
 15589      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 15590        posrcprefix="$srcdir/"
 15591      else
 15592        posrcprefix="../$srcdir/"
 15593      fi
 15594    else
 15595      posrcprefix="../"
 15596    fi
 15597    rm -f po/POTFILES
 15598    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 15599 	< $srcdir/po/POTFILES.in > po/POTFILES
 15602 ac_config_files="$ac_config_files Makefile src/Makefile src/tools/Makefile po/Makefile.in test/Makefile Info.plist"
 15604 cat >confcache <<\_ACEOF
 15605 # This file is a shell script that caches the results of configure
 15606 # tests run on this system so they can be shared between configure
 15607 # scripts and configure runs, see configure's option --config-cache.
 15608 # It is not useful on other systems.  If it contains results you don't
 15609 # want to keep, you may remove or edit it.
 15611 # config.status only pays attention to the cache file if you give it
 15612 # the --recheck option to rerun configure.
 15614 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 15615 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 15616 # following values.
 15618 _ACEOF
 15620 # The following way of writing the cache mishandles newlines in values,
 15621 # but we know of no workaround that is simple, portable, and efficient.
 15622 # So, we kill variables containing newlines.
 15623 # Ultrix sh set writes to stderr and can't be redirected directly,
 15624 # and sets the high bit in the cache file unless we assign to the vars.
 15626   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 15627     eval ac_val=\$$ac_var
 15628     case $ac_val in #(
 15629     *${as_nl}*)
 15630       case $ac_var in #(
 15631       *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 15632 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 15633       esac
 15634       case $ac_var in #(
 15635       _ | IFS | as_nl) ;; #(
 15636       *) $as_unset $ac_var ;;
 15637       esac ;;
 15638     esac
 15639   done
 15641   (set) 2>&1 |
 15642     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 15643     *${as_nl}ac_space=\ *)
 15644       # `set' does not quote correctly, so add quotes (double-quote
 15645       # substitution turns \\\\ into \\, and sed turns \\ into \).
 15646       sed -n \
 15647 	"s/'/'\\\\''/g;
 15648 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 15649       ;; #(
 15650     *)
 15651       # `set' quotes correctly as required by POSIX, so do not add quotes.
 15652       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 15653       ;;
 15654     esac |
 15655     sort
 15656 ) |
 15657   sed '
 15658      /^ac_cv_env_/b end
 15659      t clear
 15660      :clear
 15661      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 15662      t end
 15663      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 15664      :end' >>confcache
 15665 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 15666   if test -w "$cache_file"; then
 15667     test "x$cache_file" != "x/dev/null" &&
 15668       { echo "$as_me:$LINENO: updating cache $cache_file" >&5
 15669 echo "$as_me: updating cache $cache_file" >&6;}
 15670     cat confcache >$cache_file
 15671   else
 15672     { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 15673 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 15674   fi
 15675 fi
 15676 rm -f confcache
 15678 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 15679 # Let make expand exec_prefix.
 15680 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 15682 DEFS=-DHAVE_CONFIG_H
 15684 ac_libobjs=
 15685 ac_ltlibobjs=
 15686 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 15687   # 1. Remove the extension, and $U if already installed.
 15688   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 15689   ac_i=`echo "$ac_i" | sed "$ac_script"`
 15690   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 15691   #    will be set to the directory where LIBOBJS objects are built.
 15692   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 15693   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 15694 done
 15695 LIBOBJS=$ac_libobjs
 15697 LTLIBOBJS=$ac_ltlibobjs
 15700 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 15701   { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 15702 Usually this means the macro was only invoked conditionally." >&5
 15703 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 15704 Usually this means the macro was only invoked conditionally." >&2;}
 15705    { (exit 1); exit 1; }; }
 15706 fi
 15707 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 15708   { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 15709 Usually this means the macro was only invoked conditionally." >&5
 15710 echo "$as_me: error: conditional \"AMDEP\" was never defined.
 15711 Usually this means the macro was only invoked conditionally." >&2;}
 15712    { (exit 1); exit 1; }; }
 15713 fi
 15714 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 15715   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 15716 Usually this means the macro was only invoked conditionally." >&5
 15717 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 15718 Usually this means the macro was only invoked conditionally." >&2;}
 15719    { (exit 1); exit 1; }; }
 15720 fi
 15721 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 15722   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 15723 Usually this means the macro was only invoked conditionally." >&5
 15724 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 15725 Usually this means the macro was only invoked conditionally." >&2;}
 15726    { (exit 1); exit 1; }; }
 15727 fi
 15728 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 15729   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 15730 Usually this means the macro was only invoked conditionally." >&5
 15731 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 15732 Usually this means the macro was only invoked conditionally." >&2;}
 15733    { (exit 1); exit 1; }; }
 15734 fi
 15735 if test -z "${am__fastdepCC_FOR_BUILD_TRUE}" && test -z "${am__fastdepCC_FOR_BUILD_FALSE}"; then
 15736   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.
 15737 Usually this means the macro was only invoked conditionally." >&5
 15738 echo "$as_me: error: conditional \"am__fastdepCC_FOR_BUILD\" was never defined.
 15739 Usually this means the macro was only invoked conditionally." >&2;}
 15740    { (exit 1); exit 1; }; }
 15741 fi
 15742 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
 15743   { { echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
 15744 Usually this means the macro was only invoked conditionally." >&5
 15745 echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
 15746 Usually this means the macro was only invoked conditionally." >&2;}
 15747    { (exit 1); exit 1; }; }
 15748 fi
 15749 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
 15750   { { echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
 15751 Usually this means the macro was only invoked conditionally." >&5
 15752 echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
 15753 Usually this means the macro was only invoked conditionally." >&2;}
 15754    { (exit 1); exit 1; }; }
 15755 fi
 15756 if test -z "${BUILD_PLUGINS_TRUE}" && test -z "${BUILD_PLUGINS_FALSE}"; then
 15757   { { echo "$as_me:$LINENO: error: conditional \"BUILD_PLUGINS\" was never defined.
 15758 Usually this means the macro was only invoked conditionally." >&5
 15759 echo "$as_me: error: conditional \"BUILD_PLUGINS\" was never defined.
 15760 Usually this means the macro was only invoked conditionally." >&2;}
 15761    { (exit 1); exit 1; }; }
 15762 fi
 15763 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
 15764   { { echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
 15765 Usually this means the macro was only invoked conditionally." >&5
 15766 echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
 15767 Usually this means the macro was only invoked conditionally." >&2;}
 15768    { (exit 1); exit 1; }; }
 15769 fi
 15770 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
 15771   { { echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
 15772 Usually this means the macro was only invoked conditionally." >&5
 15773 echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
 15774 Usually this means the macro was only invoked conditionally." >&2;}
 15775    { (exit 1); exit 1; }; }
 15776 fi
 15777 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
 15778   { { echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
 15779 Usually this means the macro was only invoked conditionally." >&5
 15780 echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
 15781 Usually this means the macro was only invoked conditionally." >&2;}
 15782    { (exit 1); exit 1; }; }
 15783 fi
 15784 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
 15785   { { echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
 15786 Usually this means the macro was only invoked conditionally." >&5
 15787 echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
 15788 Usually this means the macro was only invoked conditionally." >&2;}
 15789    { (exit 1); exit 1; }; }
 15790 fi
 15791 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
 15792   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
 15793 Usually this means the macro was only invoked conditionally." >&5
 15794 echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
 15795 Usually this means the macro was only invoked conditionally." >&2;}
 15796    { (exit 1); exit 1; }; }
 15797 fi
 15798 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
 15799   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
 15800 Usually this means the macro was only invoked conditionally." >&5
 15801 echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
 15802 Usually this means the macro was only invoked conditionally." >&2;}
 15803    { (exit 1); exit 1; }; }
 15804 fi
 15805 if test -z "${AUDIO_SDL_TRUE}" && test -z "${AUDIO_SDL_FALSE}"; then
 15806   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_SDL\" was never defined.
 15807 Usually this means the macro was only invoked conditionally." >&5
 15808 echo "$as_me: error: conditional \"AUDIO_SDL\" was never defined.
 15809 Usually this means the macro was only invoked conditionally." >&2;}
 15810    { (exit 1); exit 1; }; }
 15811 fi
 15812 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
 15813   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
 15814 Usually this means the macro was only invoked conditionally." >&5
 15815 echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
 15816 Usually this means the macro was only invoked conditionally." >&2;}
 15817    { (exit 1); exit 1; }; }
 15818 fi
 15819 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
 15820   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
 15821 Usually this means the macro was only invoked conditionally." >&5
 15822 echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
 15823 Usually this means the macro was only invoked conditionally." >&2;}
 15824    { (exit 1); exit 1; }; }
 15825 fi
 15826 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
 15827   { { echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
 15828 Usually this means the macro was only invoked conditionally." >&5
 15829 echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
 15830 Usually this means the macro was only invoked conditionally." >&2;}
 15831    { (exit 1); exit 1; }; }
 15832 fi
 15833 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
 15834   { { echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
 15835 Usually this means the macro was only invoked conditionally." >&5
 15836 echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
 15837 Usually this means the macro was only invoked conditionally." >&2;}
 15838    { (exit 1); exit 1; }; }
 15839 fi
 15840 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
 15841   { { echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
 15842 Usually this means the macro was only invoked conditionally." >&5
 15843 echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
 15844 Usually this means the macro was only invoked conditionally." >&2;}
 15845    { (exit 1); exit 1; }; }
 15846 fi
 15847 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
 15848   { { echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
 15849 Usually this means the macro was only invoked conditionally." >&5
 15850 echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
 15851 Usually this means the macro was only invoked conditionally." >&2;}
 15852    { (exit 1); exit 1; }; }
 15853 fi
 15854 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
 15855   { { echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
 15856 Usually this means the macro was only invoked conditionally." >&5
 15857 echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
 15858 Usually this means the macro was only invoked conditionally." >&2;}
 15859    { (exit 1); exit 1; }; }
 15860 fi
 15861 if test -z "${INPUT_LIRC_TRUE}" && test -z "${INPUT_LIRC_FALSE}"; then
 15862   { { echo "$as_me:$LINENO: error: conditional \"INPUT_LIRC\" was never defined.
 15863 Usually this means the macro was only invoked conditionally." >&5
 15864 echo "$as_me: error: conditional \"INPUT_LIRC\" was never defined.
 15865 Usually this means the macro was only invoked conditionally." >&2;}
 15866    { (exit 1); exit 1; }; }
 15867 fi
 15868 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
 15869   { { echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
 15870 Usually this means the macro was only invoked conditionally." >&5
 15871 echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
 15872 Usually this means the macro was only invoked conditionally." >&2;}
 15873    { (exit 1); exit 1; }; }
 15874 fi
 15875 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
 15876   { { echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
 15877 Usually this means the macro was only invoked conditionally." >&5
 15878 echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
 15879 Usually this means the macro was only invoked conditionally." >&2;}
 15880    { (exit 1); exit 1; }; }
 15881 fi
 15883 : ${CONFIG_STATUS=./config.status}
 15884 ac_clean_files_save=$ac_clean_files
 15885 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 15886 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 15887 echo "$as_me: creating $CONFIG_STATUS" >&6;}
 15888 cat >$CONFIG_STATUS <<_ACEOF
 15889 #! $SHELL
 15890 # Generated by $as_me.
 15891 # Run this file to recreate the current configuration.
 15892 # Compiler output produced by configure, useful for debugging
 15893 # configure, is in config.log if it exists.
 15895 debug=false
 15896 ac_cs_recheck=false
 15897 ac_cs_silent=false
 15898 SHELL=\${CONFIG_SHELL-$SHELL}
 15899 _ACEOF
 15901 cat >>$CONFIG_STATUS <<\_ACEOF
 15902 ## --------------------- ##
 15903 ## M4sh Initialization.  ##
 15904 ## --------------------- ##
 15906 # Be more Bourne compatible
 15907 DUALCASE=1; export DUALCASE # for MKS sh
 15908 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 15909   emulate sh
 15910   NULLCMD=:
 15911   # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
 15912   # is contrary to our usage.  Disable this feature.
 15913   alias -g '${1+"$@"}'='"$@"'
 15914   setopt NO_GLOB_SUBST
 15915 else
 15916   case `(set -o) 2>/dev/null` in
 15917   *posix*) set -o posix ;;
 15918 esac
 15920 fi
 15925 # PATH needs CR
 15926 # Avoid depending upon Character Ranges.
 15927 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 15928 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 15929 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 15930 as_cr_digits='0123456789'
 15931 as_cr_alnum=$as_cr_Letters$as_cr_digits
 15933 # The user is always right.
 15934 if test "${PATH_SEPARATOR+set}" != set; then
 15935   echo "#! /bin/sh" >conf$$.sh
 15936   echo  "exit 0"   >>conf$$.sh
 15937   chmod +x conf$$.sh
 15938   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
 15939     PATH_SEPARATOR=';'
 15940   else
 15941     PATH_SEPARATOR=:
 15942   fi
 15943   rm -f conf$$.sh
 15944 fi
 15946 # Support unset when possible.
 15947 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 15948   as_unset=unset
 15949 else
 15950   as_unset=false
 15951 fi
 15954 # IFS
 15955 # We need space, tab and new line, in precisely that order.  Quoting is
 15956 # there to prevent editors from complaining about space-tab.
 15957 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 15958 # splitting by setting IFS to empty value.)
 15959 as_nl='
 15961 IFS=" ""	$as_nl"
 15963 # Find who we are.  Look in the path if we contain no directory separator.
 15964 case $0 in
 15965   *[\\/]* ) as_myself=$0 ;;
 15966   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 15967 for as_dir in $PATH
 15968 do
 15969   IFS=$as_save_IFS
 15970   test -z "$as_dir" && as_dir=.
 15971   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 15972 done
 15973 IFS=$as_save_IFS
 15975      ;;
 15976 esac
 15977 # We did not find ourselves, most probably we were run as `sh COMMAND'
 15978 # in which case we are not to be found in the path.
 15979 if test "x$as_myself" = x; then
 15980   as_myself=$0
 15981 fi
 15982 if test ! -f "$as_myself"; then
 15983   echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 15984   { (exit 1); exit 1; }
 15985 fi
 15987 # Work around bugs in pre-3.0 UWIN ksh.
 15988 for as_var in ENV MAIL MAILPATH
 15989 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 15990 done
 15991 PS1='$ '
 15992 PS2='> '
 15993 PS4='+ '
 15995 # NLS nuisances.
 15996 for as_var in \
 15997   LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
 15998   LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
 15999   LC_TELEPHONE LC_TIME
 16000 do
 16001   if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
 16002     eval $as_var=C; export $as_var
 16003   else
 16004     ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 16005   fi
 16006 done
 16008 # Required to use basename.
 16009 if expr a : '\(a\)' >/dev/null 2>&1 &&
 16010    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 16011   as_expr=expr
 16012 else
 16013   as_expr=false
 16014 fi
 16016 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 16017   as_basename=basename
 16018 else
 16019   as_basename=false
 16020 fi
 16023 # Name of the executable.
 16024 as_me=`$as_basename -- "$0" ||
 16025 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 16026 	 X"$0" : 'X\(//\)$' \| \
 16027 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 16028 echo X/"$0" |
 16029     sed '/^.*\/\([^/][^/]*\)\/*$/{
 16030 	    s//\1/
 16033 	  /^X\/\(\/\/\)$/{
 16034 	    s//\1/
 16037 	  /^X\/\(\/\).*/{
 16038 	    s//\1/
 16041 	  s/.*/./; q'`
 16043 # CDPATH.
 16044 $as_unset CDPATH
 16048   as_lineno_1=$LINENO
 16049   as_lineno_2=$LINENO
 16050   test "x$as_lineno_1" != "x$as_lineno_2" &&
 16051   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 16053   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 16054   # uniformly replaced by the line number.  The first 'sed' inserts a
 16055   # line-number line after each line using $LINENO; the second 'sed'
 16056   # does the real work.  The second script uses 'N' to pair each
 16057   # line-number line with the line containing $LINENO, and appends
 16058   # trailing '-' during substitution so that $LINENO is not a special
 16059   # case at line end.
 16060   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 16061   # scripts with optimization help from Paolo Bonzini.  Blame Lee
 16062   # E. McMahon (1931-1989) for sed's syntax.  :-)
 16063   sed -n '
 16065     /[$]LINENO/=
 16066   ' <$as_myself |
 16067     sed '
 16068       s/[$]LINENO.*/&-/
 16069       t lineno
 16071       :lineno
 16073       :loop
 16074       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 16075       t loop
 16076       s/-\n.*//
 16077     ' >$as_me.lineno &&
 16078   chmod +x "$as_me.lineno" ||
 16079     { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 16080    { (exit 1); exit 1; }; }
 16082   # Don't try to exec as it changes $[0], causing all sort of problems
 16083   # (the dirname of $[0] is not the place where we might find the
 16084   # original and so on.  Autoconf is especially sensitive to this).
 16085   . "./$as_me.lineno"
 16086   # Exit status is that of the last command.
 16087   exit
 16091 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 16092   as_dirname=dirname
 16093 else
 16094   as_dirname=false
 16095 fi
 16097 ECHO_C= ECHO_N= ECHO_T=
 16098 case `echo -n x` in
 16099 -n*)
 16100   case `echo 'x\c'` in
 16101   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 16102   *)   ECHO_C='\c';;
 16103   esac;;
 16104 *)
 16105   ECHO_N='-n';;
 16106 esac
 16108 if expr a : '\(a\)' >/dev/null 2>&1 &&
 16109    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 16110   as_expr=expr
 16111 else
 16112   as_expr=false
 16113 fi
 16115 rm -f conf$$ conf$$.exe conf$$.file
 16116 if test -d conf$$.dir; then
 16117   rm -f conf$$.dir/conf$$.file
 16118 else
 16119   rm -f conf$$.dir
 16120   mkdir conf$$.dir
 16121 fi
 16122 echo >conf$$.file
 16123 if ln -s conf$$.file conf$$ 2>/dev/null; then
 16124   as_ln_s='ln -s'
 16125   # ... but there are two gotchas:
 16126   # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 16127   # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 16128   # In both cases, we have to default to `cp -p'.
 16129   ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 16130     as_ln_s='cp -p'
 16131 elif ln conf$$.file conf$$ 2>/dev/null; then
 16132   as_ln_s=ln
 16133 else
 16134   as_ln_s='cp -p'
 16135 fi
 16136 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 16137 rmdir conf$$.dir 2>/dev/null
 16139 if mkdir -p . 2>/dev/null; then
 16140   as_mkdir_p=:
 16141 else
 16142   test -d ./-p && rmdir ./-p
 16143   as_mkdir_p=false
 16144 fi
 16146 if test -x / >/dev/null 2>&1; then
 16147   as_test_x='test -x'
 16148 else
 16149   if ls -dL / >/dev/null 2>&1; then
 16150     as_ls_L_option=L
 16151   else
 16152     as_ls_L_option=
 16153   fi
 16154   as_test_x='
 16155     eval sh -c '\''
 16156       if test -d "$1"; then
 16157         test -d "$1/.";
 16158       else
 16159 	case $1 in
 16160         -*)set "./$1";;
 16161 	esac;
 16162 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 16163 	???[sx]*):;;*)false;;esac;fi
 16164     '\'' sh
 16166 fi
 16167 as_executable_p=$as_test_x
 16169 # Sed expression to map a string onto a valid CPP name.
 16170 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 16172 # Sed expression to map a string onto a valid variable name.
 16173 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 16176 exec 6>&1
 16178 # Save the log message, to keep $[0] and so on meaningful, and to
 16179 # report actual input values of CONFIG_FILES etc. instead of their
 16180 # values after options handling.
 16181 ac_log="
 16182 This file was extended by $as_me, which was
 16183 generated by GNU Autoconf 2.61.  Invocation command line was
 16185   CONFIG_FILES    = $CONFIG_FILES
 16186   CONFIG_HEADERS  = $CONFIG_HEADERS
 16187   CONFIG_LINKS    = $CONFIG_LINKS
 16188   CONFIG_COMMANDS = $CONFIG_COMMANDS
 16189   $ $0 $@
 16191 on `(hostname || uname -n) 2>/dev/null | sed 1q`
 16194 _ACEOF
 16196 cat >>$CONFIG_STATUS <<_ACEOF
 16197 # Files that config.status was made for.
 16198 config_files="$ac_config_files"
 16199 config_headers="$ac_config_headers"
 16200 config_commands="$ac_config_commands"
 16202 _ACEOF
 16204 cat >>$CONFIG_STATUS <<\_ACEOF
 16205 ac_cs_usage="\
 16206 \`$as_me' instantiates files from templates according to the
 16207 current configuration.
 16209 Usage: $0 [OPTIONS] [FILE]...
 16211   -h, --help       print this help, then exit
 16212   -V, --version    print version number and configuration settings, then exit
 16213   -q, --quiet      do not print progress messages
 16214   -d, --debug      don't remove temporary files
 16215       --recheck    update $as_me by reconfiguring in the same conditions
 16216   --file=FILE[:TEMPLATE]
 16217 		   instantiate the configuration file FILE
 16218   --header=FILE[:TEMPLATE]
 16219 		   instantiate the configuration header FILE
 16221 Configuration files:
 16222 $config_files
 16224 Configuration headers:
 16225 $config_headers
 16227 Configuration commands:
 16228 $config_commands
 16230 Report bugs to <bug-autoconf@gnu.org>."
 16232 _ACEOF
 16233 cat >>$CONFIG_STATUS <<_ACEOF
 16234 ac_cs_version="\\
 16235 config.status
 16236 configured by $0, generated by GNU Autoconf 2.61,
 16237   with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 16239 Copyright (C) 2006 Free Software Foundation, Inc.
 16240 This config.status script is free software; the Free Software Foundation
 16241 gives unlimited permission to copy, distribute and modify it."
 16243 ac_pwd='$ac_pwd'
 16244 srcdir='$srcdir'
 16245 INSTALL='$INSTALL'
 16246 _ACEOF
 16248 cat >>$CONFIG_STATUS <<\_ACEOF
 16249 # If no file are specified by the user, then we need to provide default
 16250 # value.  By we need to know if files were specified by the user.
 16251 ac_need_defaults=:
 16252 while test $# != 0
 16253 do
 16254   case $1 in
 16255   --*=*)
 16256     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 16257     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 16258     ac_shift=:
 16259     ;;
 16260   *)
 16261     ac_option=$1
 16262     ac_optarg=$2
 16263     ac_shift=shift
 16264     ;;
 16265   esac
 16267   case $ac_option in
 16268   # Handling of the options.
 16269   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 16270     ac_cs_recheck=: ;;
 16271   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 16272     echo "$ac_cs_version"; exit ;;
 16273   --debug | --debu | --deb | --de | --d | -d )
 16274     debug=: ;;
 16275   --file | --fil | --fi | --f )
 16276     $ac_shift
 16277     CONFIG_FILES="$CONFIG_FILES $ac_optarg"
 16278     ac_need_defaults=false;;
 16279   --header | --heade | --head | --hea )
 16280     $ac_shift
 16281     CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
 16282     ac_need_defaults=false;;
 16283   --he | --h)
 16284     # Conflict between --help and --header
 16285     { echo "$as_me: error: ambiguous option: $1
 16286 Try \`$0 --help' for more information." >&2
 16287    { (exit 1); exit 1; }; };;
 16288   --help | --hel | -h )
 16289     echo "$ac_cs_usage"; exit ;;
 16290   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 16291   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 16292     ac_cs_silent=: ;;
 16294   # This is an error.
 16295   -*) { echo "$as_me: error: unrecognized option: $1
 16296 Try \`$0 --help' for more information." >&2
 16297    { (exit 1); exit 1; }; } ;;
 16299   *) ac_config_targets="$ac_config_targets $1"
 16300      ac_need_defaults=false ;;
 16302   esac
 16303   shift
 16304 done
 16306 ac_configure_extra_args=
 16308 if $ac_cs_silent; then
 16309   exec 6>/dev/null
 16310   ac_configure_extra_args="$ac_configure_extra_args --silent"
 16311 fi
 16313 _ACEOF
 16314 cat >>$CONFIG_STATUS <<_ACEOF
 16315 if \$ac_cs_recheck; then
 16316   echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
 16317   CONFIG_SHELL=$SHELL
 16318   export CONFIG_SHELL
 16319   exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 16320 fi
 16322 _ACEOF
 16323 cat >>$CONFIG_STATUS <<\_ACEOF
 16324 exec 5>>config.log
 16326   echo
 16327   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 16328 ## Running $as_me. ##
 16329 _ASBOX
 16330   echo "$ac_log"
 16331 } >&5
 16333 _ACEOF
 16334 cat >>$CONFIG_STATUS <<_ACEOF
 16336 # INIT-COMMANDS
 16338 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 16341 _ACEOF
 16343 cat >>$CONFIG_STATUS <<\_ACEOF
 16345 # Handling of arguments.
 16346 for ac_config_target in $ac_config_targets
 16347 do
 16348   case $ac_config_target in
 16349     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 16350     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 16351     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 16352     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 16353     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 16354     "src/tools/Makefile") CONFIG_FILES="$CONFIG_FILES src/tools/Makefile" ;;
 16355     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 16356     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 16357     "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;
 16359   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 16360 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 16361    { (exit 1); exit 1; }; };;
 16362   esac
 16363 done
 16366 # If the user did not use the arguments to specify the items to instantiate,
 16367 # then the envvar interface is used.  Set only those that are not.
 16368 # We use the long form for the default assignment because of an extremely
 16369 # bizarre bug on SunOS 4.1.3.
 16370 if $ac_need_defaults; then
 16371   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 16372   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 16373   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 16374 fi
 16376 # Have a temporary directory for convenience.  Make it in the build tree
 16377 # simply because there is no reason against having it here, and in addition,
 16378 # creating and moving files from /tmp can sometimes cause problems.
 16379 # Hook for its removal unless debugging.
 16380 # Note that there is a small window in which the directory will not be cleaned:
 16381 # after its creation but before its name has been assigned to `$tmp'.
 16382 $debug ||
 16384   tmp=
 16385   trap 'exit_status=$?
 16386   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 16387 ' 0
 16388   trap '{ (exit 1); exit 1; }' 1 2 13 15
 16390 # Create a (secure) tmp directory for tmp files.
 16393   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 16394   test -n "$tmp" && test -d "$tmp"
 16395 }  ||
 16397   tmp=./conf$$-$RANDOM
 16398   (umask 077 && mkdir "$tmp")
 16399 } ||
 16401    echo "$me: cannot create a temporary directory in ." >&2
 16402    { (exit 1); exit 1; }
 16406 # Set up the sed scripts for CONFIG_FILES section.
 16409 # No need to generate the scripts if there are no CONFIG_FILES.
 16410 # This happens for instance when ./config.status config.h
 16411 if test -n "$CONFIG_FILES"; then
 16413 _ACEOF
 16417 ac_delim='%!_!# '
 16418 for ac_last_try in false false false false false :; do
 16419   cat >conf$$subs.sed <<_ACEOF
 16420 SHELL!$SHELL$ac_delim
 16421 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
 16422 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
 16423 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
 16424 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
 16425 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
 16426 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
 16427 exec_prefix!$exec_prefix$ac_delim
 16428 prefix!$prefix$ac_delim
 16429 program_transform_name!$program_transform_name$ac_delim
 16430 bindir!$bindir$ac_delim
 16431 sbindir!$sbindir$ac_delim
 16432 libexecdir!$libexecdir$ac_delim
 16433 datarootdir!$datarootdir$ac_delim
 16434 datadir!$datadir$ac_delim
 16435 sysconfdir!$sysconfdir$ac_delim
 16436 sharedstatedir!$sharedstatedir$ac_delim
 16437 localstatedir!$localstatedir$ac_delim
 16438 includedir!$includedir$ac_delim
 16439 oldincludedir!$oldincludedir$ac_delim
 16440 docdir!$docdir$ac_delim
 16441 infodir!$infodir$ac_delim
 16442 htmldir!$htmldir$ac_delim
 16443 dvidir!$dvidir$ac_delim
 16444 pdfdir!$pdfdir$ac_delim
 16445 psdir!$psdir$ac_delim
 16446 libdir!$libdir$ac_delim
 16447 localedir!$localedir$ac_delim
 16448 mandir!$mandir$ac_delim
 16449 DEFS!$DEFS$ac_delim
 16450 ECHO_C!$ECHO_C$ac_delim
 16451 ECHO_N!$ECHO_N$ac_delim
 16452 ECHO_T!$ECHO_T$ac_delim
 16453 LIBS!$LIBS$ac_delim
 16454 build_alias!$build_alias$ac_delim
 16455 host_alias!$host_alias$ac_delim
 16456 target_alias!$target_alias$ac_delim
 16457 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
 16458 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
 16459 INSTALL_DATA!$INSTALL_DATA$ac_delim
 16460 CYGPATH_W!$CYGPATH_W$ac_delim
 16461 PACKAGE!$PACKAGE$ac_delim
 16462 VERSION!$VERSION$ac_delim
 16463 ACLOCAL!$ACLOCAL$ac_delim
 16464 AUTOCONF!$AUTOCONF$ac_delim
 16465 AUTOMAKE!$AUTOMAKE$ac_delim
 16466 AUTOHEADER!$AUTOHEADER$ac_delim
 16467 MAKEINFO!$MAKEINFO$ac_delim
 16468 install_sh!$install_sh$ac_delim
 16469 STRIP!$STRIP$ac_delim
 16470 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
 16471 mkdir_p!$mkdir_p$ac_delim
 16472 AWK!$AWK$ac_delim
 16473 SET_MAKE!$SET_MAKE$ac_delim
 16474 am__leading_dot!$am__leading_dot$ac_delim
 16475 AMTAR!$AMTAR$ac_delim
 16476 am__tar!$am__tar$ac_delim
 16477 am__untar!$am__untar$ac_delim
 16478 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
 16479 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
 16480 MAINT!$MAINT$ac_delim
 16481 build!$build$ac_delim
 16482 build_cpu!$build_cpu$ac_delim
 16483 build_vendor!$build_vendor$ac_delim
 16484 build_os!$build_os$ac_delim
 16485 host!$host$ac_delim
 16486 host_cpu!$host_cpu$ac_delim
 16487 host_vendor!$host_vendor$ac_delim
 16488 host_os!$host_os$ac_delim
 16489 CC!$CC$ac_delim
 16490 CFLAGS!$CFLAGS$ac_delim
 16491 LDFLAGS!$LDFLAGS$ac_delim
 16492 CPPFLAGS!$CPPFLAGS$ac_delim
 16493 ac_ct_CC!$ac_ct_CC$ac_delim
 16494 EXEEXT!$EXEEXT$ac_delim
 16495 OBJEXT!$OBJEXT$ac_delim
 16496 DEPDIR!$DEPDIR$ac_delim
 16497 am__include!$am__include$ac_delim
 16498 am__quote!$am__quote$ac_delim
 16499 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
 16500 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
 16501 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
 16502 CCDEPMODE!$CCDEPMODE$ac_delim
 16503 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
 16504 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 16505 CPP!$CPP$ac_delim
 16506 CC!$CC$ac_delim
 16507 CFLAGS!$CFLAGS$ac_delim
 16508 CPPFLAGS!$CPPFLAGS$ac_delim
 16509 CC_FOR_BUILD!$CC_FOR_BUILD$ac_delim
 16510 ac_ct_CC_FOR_BUILD!$ac_ct_CC_FOR_BUILD$ac_delim
 16511 CC_FOR_BUILDDEPMODE!$CC_FOR_BUILDDEPMODE$ac_delim
 16512 am__fastdepCC_FOR_BUILD_TRUE!$am__fastdepCC_FOR_BUILD_TRUE$ac_delim
 16513 am__fastdepCC_FOR_BUILD_FALSE!$am__fastdepCC_FOR_BUILD_FALSE$ac_delim
 16514 CPP!$CPP$ac_delim
 16515 CPPFLAGS!$CPPFLAGS$ac_delim
 16516 CPP_FOR_BUILD!$CPP_FOR_BUILD$ac_delim
 16517 _ACEOF
 16519   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 16520     break
 16521   elif $ac_last_try; then
 16522     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 16523 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 16524    { (exit 1); exit 1; }; }
 16525   else
 16526     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 16527   fi
 16528 done
 16530 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 16531 if test -n "$ac_eof"; then
 16532   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 16533   ac_eof=`expr $ac_eof + 1`
 16534 fi
 16536 cat >>$CONFIG_STATUS <<_ACEOF
 16537 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 16538 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 16539 _ACEOF
 16540 sed '
 16541 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 16542 s/^/s,@/; s/!/@,|#_!!_#|/
 16543 :n
 16544 t n
 16545 s/'"$ac_delim"'$/,g/; t
 16546 s/$/\\/; p
 16547 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 16548 ' >>$CONFIG_STATUS <conf$$subs.sed
 16549 rm -f conf$$subs.sed
 16550 cat >>$CONFIG_STATUS <<_ACEOF
 16551 CEOF$ac_eof
 16552 _ACEOF
 16555 ac_delim='%!_!# '
 16556 for ac_last_try in false false false false false :; do
 16557   cat >conf$$subs.sed <<_ACEOF
 16558 BUILD_EXEEXT!$BUILD_EXEEXT$ac_delim
 16559 BUILD_OBJEXT!$BUILD_OBJEXT$ac_delim
 16560 CFLAGS_FOR_BUILD!$CFLAGS_FOR_BUILD$ac_delim
 16561 CPPFLAGS_FOR_BUILD!$CPPFLAGS_FOR_BUILD$ac_delim
 16562 OBJC!$OBJC$ac_delim
 16563 OBJCFLAGS!$OBJCFLAGS$ac_delim
 16564 ac_ct_OBJC!$ac_ct_OBJC$ac_delim
 16565 SED!$SED$ac_delim
 16566 CCAS!$CCAS$ac_delim
 16567 CCASFLAGS!$CCASFLAGS$ac_delim
 16568 RANLIB!$RANLIB$ac_delim
 16569 GREP!$GREP$ac_delim
 16570 EGREP!$EGREP$ac_delim
 16571 OBJCDEPMODE!$OBJCDEPMODE$ac_delim
 16572 am__fastdepOBJC_TRUE!$am__fastdepOBJC_TRUE$ac_delim
 16573 am__fastdepOBJC_FALSE!$am__fastdepOBJC_FALSE$ac_delim
 16574 POD2MAN!$POD2MAN$ac_delim
 16575 POD2HTML!$POD2HTML$ac_delim
 16576 GUI_COCOA_TRUE!$GUI_COCOA_TRUE$ac_delim
 16577 GUI_COCOA_FALSE!$GUI_COCOA_FALSE$ac_delim
 16578 SOEXT!$SOEXT$ac_delim
 16579 PLUGINCFLAGS!$PLUGINCFLAGS$ac_delim
 16580 PLUGINLDFLAGS!$PLUGINLDFLAGS$ac_delim
 16581 LXDREAMLDFLAGS!$LXDREAMLDFLAGS$ac_delim
 16582 BUILD_PLUGINS_TRUE!$BUILD_PLUGINS_TRUE$ac_delim
 16583 BUILD_PLUGINS_FALSE!$BUILD_PLUGINS_FALSE$ac_delim
 16584 LXDREAMCPPFLAGS!$LXDREAMCPPFLAGS$ac_delim
 16585 PKG_CONFIG!$PKG_CONFIG$ac_delim
 16586 LIBPNG_CFLAGS!$LIBPNG_CFLAGS$ac_delim
 16587 LIBPNG_LIBS!$LIBPNG_LIBS$ac_delim
 16588 GLIB_CFLAGS!$GLIB_CFLAGS$ac_delim
 16589 GLIB_LIBS!$GLIB_LIBS$ac_delim
 16590 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
 16591 GTK_LIBS!$GTK_LIBS$ac_delim
 16592 GLIB_FOR_BUILD_CFLAGS!$GLIB_FOR_BUILD_CFLAGS$ac_delim
 16593 GLIB_FOR_BUILD_LIBS!$GLIB_FOR_BUILD_LIBS$ac_delim
 16594 GUI_GTK_TRUE!$GUI_GTK_TRUE$ac_delim
 16595 GUI_GTK_FALSE!$GUI_GTK_FALSE$ac_delim
 16596 LIBISOFS_CFLAGS!$LIBISOFS_CFLAGS$ac_delim
 16597 LIBISOFS_LIBS!$LIBISOFS_LIBS$ac_delim
 16598 LIBGL_CFLAGS!$LIBGL_CFLAGS$ac_delim
 16599 LIBGL_LIBS!$LIBGL_LIBS$ac_delim
 16600 VIDEO_OSMESA_TRUE!$VIDEO_OSMESA_TRUE$ac_delim
 16601 VIDEO_OSMESA_FALSE!$VIDEO_OSMESA_FALSE$ac_delim
 16602 VIDEO_GLX_TRUE!$VIDEO_GLX_TRUE$ac_delim
 16603 VIDEO_GLX_FALSE!$VIDEO_GLX_FALSE$ac_delim
 16604 VIDEO_NSGL_TRUE!$VIDEO_NSGL_TRUE$ac_delim
 16605 VIDEO_NSGL_FALSE!$VIDEO_NSGL_FALSE$ac_delim
 16606 BUILD_SH4X86_TRUE!$BUILD_SH4X86_TRUE$ac_delim
 16607 BUILD_SH4X86_FALSE!$BUILD_SH4X86_FALSE$ac_delim
 16608 AUDIO_OSX_TRUE!$AUDIO_OSX_TRUE$ac_delim
 16609 AUDIO_OSX_FALSE!$AUDIO_OSX_FALSE$ac_delim
 16610 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
 16611 SDL_LIBS!$SDL_LIBS$ac_delim
 16612 AUDIO_SDL_TRUE!$AUDIO_SDL_TRUE$ac_delim
 16613 AUDIO_SDL_FALSE!$AUDIO_SDL_FALSE$ac_delim
 16614 PULSE_CFLAGS!$PULSE_CFLAGS$ac_delim
 16615 PULSE_LIBS!$PULSE_LIBS$ac_delim
 16616 AUDIO_PULSE_TRUE!$AUDIO_PULSE_TRUE$ac_delim
 16617 AUDIO_PULSE_FALSE!$AUDIO_PULSE_FALSE$ac_delim
 16618 ESOUND_CFLAGS!$ESOUND_CFLAGS$ac_delim
 16619 ESOUND_LIBS!$ESOUND_LIBS$ac_delim
 16620 AUDIO_ESOUND_TRUE!$AUDIO_ESOUND_TRUE$ac_delim
 16621 AUDIO_ESOUND_FALSE!$AUDIO_ESOUND_FALSE$ac_delim
 16622 ALSA_CFLAGS!$ALSA_CFLAGS$ac_delim
 16623 ALSA_LIBS!$ALSA_LIBS$ac_delim
 16624 AUDIO_ALSA_TRUE!$AUDIO_ALSA_TRUE$ac_delim
 16625 AUDIO_ALSA_FALSE!$AUDIO_ALSA_FALSE$ac_delim
 16626 CDROM_LINUX_TRUE!$CDROM_LINUX_TRUE$ac_delim
 16627 CDROM_LINUX_FALSE!$CDROM_LINUX_FALSE$ac_delim
 16628 CDROM_OSX_TRUE!$CDROM_OSX_TRUE$ac_delim
 16629 CDROM_OSX_FALSE!$CDROM_OSX_FALSE$ac_delim
 16630 CDROM_NONE_TRUE!$CDROM_NONE_TRUE$ac_delim
 16631 CDROM_NONE_FALSE!$CDROM_NONE_FALSE$ac_delim
 16632 JOY_LINUX_TRUE!$JOY_LINUX_TRUE$ac_delim
 16633 JOY_LINUX_FALSE!$JOY_LINUX_FALSE$ac_delim
 16634 INPUT_LIRC_TRUE!$INPUT_LIRC_TRUE$ac_delim
 16635 INPUT_LIRC_FALSE!$INPUT_LIRC_FALSE$ac_delim
 16636 SHCC!$SHCC$ac_delim
 16637 SHLD!$SHLD$ac_delim
 16638 SHOBJCOPY!$SHOBJCOPY$ac_delim
 16639 ARMCC!$ARMCC$ac_delim
 16640 ARMLD!$ARMLD$ac_delim
 16641 ARMOBJCOPY!$ARMOBJCOPY$ac_delim
 16642 BUILD_SYSTEST_TRUE!$BUILD_SYSTEST_TRUE$ac_delim
 16643 BUILD_SYSTEST_FALSE!$BUILD_SYSTEST_FALSE$ac_delim
 16644 BUILD_ARMTEST_TRUE!$BUILD_ARMTEST_TRUE$ac_delim
 16645 BUILD_ARMTEST_FALSE!$BUILD_ARMTEST_FALSE$ac_delim
 16646 LXDREAM_LIBS!$LXDREAM_LIBS$ac_delim
 16647 GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
 16648 USE_NLS!$USE_NLS$ac_delim
 16649 MSGFMT!$MSGFMT$ac_delim
 16650 MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
 16651 GMSGFMT!$GMSGFMT$ac_delim
 16652 XGETTEXT!$XGETTEXT$ac_delim
 16653 CATALOGS!$CATALOGS$ac_delim
 16654 CATOBJEXT!$CATOBJEXT$ac_delim
 16655 _ACEOF
 16657   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 16658     break
 16659   elif $ac_last_try; then
 16660     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 16661 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 16662    { (exit 1); exit 1; }; }
 16663   else
 16664     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 16665   fi
 16666 done
 16668 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 16669 if test -n "$ac_eof"; then
 16670   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 16671   ac_eof=`expr $ac_eof + 1`
 16672 fi
 16674 cat >>$CONFIG_STATUS <<_ACEOF
 16675 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 16676 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 16677 _ACEOF
 16678 sed '
 16679 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 16680 s/^/s,@/; s/!/@,|#_!!_#|/
 16681 :n
 16682 t n
 16683 s/'"$ac_delim"'$/,g/; t
 16684 s/$/\\/; p
 16685 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 16686 ' >>$CONFIG_STATUS <conf$$subs.sed
 16687 rm -f conf$$subs.sed
 16688 cat >>$CONFIG_STATUS <<_ACEOF
 16689 CEOF$ac_eof
 16690 _ACEOF
 16693 ac_delim='%!_!# '
 16694 for ac_last_try in false false false false false :; do
 16695   cat >conf$$subs.sed <<_ACEOF
 16696 DATADIRNAME!$DATADIRNAME$ac_delim
 16697 GMOFILES!$GMOFILES$ac_delim
 16698 INSTOBJEXT!$INSTOBJEXT$ac_delim
 16699 INTLLIBS!$INTLLIBS$ac_delim
 16700 PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
 16701 PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
 16702 POFILES!$POFILES$ac_delim
 16703 POSUB!$POSUB$ac_delim
 16704 MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
 16705 LIBOBJS!$LIBOBJS$ac_delim
 16706 LTLIBOBJS!$LTLIBOBJS$ac_delim
 16707 _ACEOF
 16709   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 11; then
 16710     break
 16711   elif $ac_last_try; then
 16712     { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 16713 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 16714    { (exit 1); exit 1; }; }
 16715   else
 16716     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 16717   fi
 16718 done
 16720 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 16721 if test -n "$ac_eof"; then
 16722   ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 16723   ac_eof=`expr $ac_eof + 1`
 16724 fi
 16726 cat >>$CONFIG_STATUS <<_ACEOF
 16727 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
 16728 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
 16729 _ACEOF
 16730 sed '
 16731 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 16732 s/^/s,@/; s/!/@,|#_!!_#|/
 16733 :n
 16734 t n
 16735 s/'"$ac_delim"'$/,g/; t
 16736 s/$/\\/; p
 16737 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 16738 ' >>$CONFIG_STATUS <conf$$subs.sed
 16739 rm -f conf$$subs.sed
 16740 cat >>$CONFIG_STATUS <<_ACEOF
 16741 :end
 16742 s/|#_!!_#|//g
 16743 CEOF$ac_eof
 16744 _ACEOF
 16747 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 16748 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 16749 # trailing colons and then remove the whole line if VPATH becomes empty
 16750 # (actually we leave an empty line to preserve line numbers).
 16751 if test "x$srcdir" = x.; then
 16752   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 16753 s/:*\$(srcdir):*/:/
 16754 s/:*\${srcdir}:*/:/
 16755 s/:*@srcdir@:*/:/
 16756 s/^\([^=]*=[	 ]*\):*/\1/
 16757 s/:*$//
 16758 s/^[^=]*=[	 ]*$//
 16759 }'
 16760 fi
 16762 cat >>$CONFIG_STATUS <<\_ACEOF
 16763 fi # test -n "$CONFIG_FILES"
 16766 for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS
 16767 do
 16768   case $ac_tag in
 16769   :[FHLC]) ac_mode=$ac_tag; continue;;
 16770   esac
 16771   case $ac_mode$ac_tag in
 16772   :[FHL]*:*);;
 16773   :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 16774 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 16775    { (exit 1); exit 1; }; };;
 16776   :[FH]-) ac_tag=-:-;;
 16777   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 16778   esac
 16779   ac_save_IFS=$IFS
 16780   IFS=:
 16781   set x $ac_tag
 16782   IFS=$ac_save_IFS
 16783   shift
 16784   ac_file=$1
 16785   shift
 16787   case $ac_mode in
 16788   :L) ac_source=$1;;
 16789   :[FH])
 16790     ac_file_inputs=
 16791     for ac_f
 16792     do
 16793       case $ac_f in
 16794       -) ac_f="$tmp/stdin";;
 16795       *) # Look for the file first in the build tree, then in the source tree
 16796 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 16797 	 # because $ac_f cannot contain `:'.
 16798 	 test -f "$ac_f" ||
 16799 	   case $ac_f in
 16800 	   [\\/$]*) false;;
 16801 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 16802 	   esac ||
 16803 	   { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 16804 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 16805    { (exit 1); exit 1; }; };;
 16806       esac
 16807       ac_file_inputs="$ac_file_inputs $ac_f"
 16808     done
 16810     # Let's still pretend it is `configure' which instantiates (i.e., don't
 16811     # use $as_me), people would be surprised to read:
 16812     #    /* config.h.  Generated by config.status.  */
 16813     configure_input="Generated from "`IFS=:
 16814 	  echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
 16815     if test x"$ac_file" != x-; then
 16816       configure_input="$ac_file.  $configure_input"
 16817       { echo "$as_me:$LINENO: creating $ac_file" >&5
 16818 echo "$as_me: creating $ac_file" >&6;}
 16819     fi
 16821     case $ac_tag in
 16822     *:-:* | *:-) cat >"$tmp/stdin";;
 16823     esac
 16824     ;;
 16825   esac
 16827   ac_dir=`$as_dirname -- "$ac_file" ||
 16828 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16829 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 16830 	 X"$ac_file" : 'X\(//\)$' \| \
 16831 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 16832 echo X"$ac_file" |
 16833     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16834 	    s//\1/
 16837 	  /^X\(\/\/\)[^/].*/{
 16838 	    s//\1/
 16841 	  /^X\(\/\/\)$/{
 16842 	    s//\1/
 16845 	  /^X\(\/\).*/{
 16846 	    s//\1/
 16849 	  s/.*/./; q'`
 16850   { as_dir="$ac_dir"
 16851   case $as_dir in #(
 16852   -*) as_dir=./$as_dir;;
 16853   esac
 16854   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 16855     as_dirs=
 16856     while :; do
 16857       case $as_dir in #(
 16858       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 16859       *) as_qdir=$as_dir;;
 16860       esac
 16861       as_dirs="'$as_qdir' $as_dirs"
 16862       as_dir=`$as_dirname -- "$as_dir" ||
 16863 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 16864 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 16865 	 X"$as_dir" : 'X\(//\)$' \| \
 16866 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 16867 echo X"$as_dir" |
 16868     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 16869 	    s//\1/
 16872 	  /^X\(\/\/\)[^/].*/{
 16873 	    s//\1/
 16876 	  /^X\(\/\/\)$/{
 16877 	    s//\1/
 16880 	  /^X\(\/\).*/{
 16881 	    s//\1/
 16884 	  s/.*/./; q'`
 16885       test -d "$as_dir" && break
 16886     done
 16887     test -z "$as_dirs" || eval "mkdir $as_dirs"
 16888   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 16889 echo "$as_me: error: cannot create directory $as_dir" >&2;}
 16890    { (exit 1); exit 1; }; }; }
 16891   ac_builddir=.
 16893 case "$ac_dir" in
 16894 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 16895 *)
 16896   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
 16897   # A ".." for each directory in $ac_dir_suffix.
 16898   ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
 16899   case $ac_top_builddir_sub in
 16900   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 16901   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 16902   esac ;;
 16903 esac
 16904 ac_abs_top_builddir=$ac_pwd
 16905 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 16906 # for backward compatibility:
 16907 ac_top_builddir=$ac_top_build_prefix
 16909 case $srcdir in
 16910   .)  # We are building in place.
 16911     ac_srcdir=.
 16912     ac_top_srcdir=$ac_top_builddir_sub
 16913     ac_abs_top_srcdir=$ac_pwd ;;
 16914   [\\/]* | ?:[\\/]* )  # Absolute name.
 16915     ac_srcdir=$srcdir$ac_dir_suffix;
 16916     ac_top_srcdir=$srcdir
 16917     ac_abs_top_srcdir=$srcdir ;;
 16918   *) # Relative name.
 16919     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 16920     ac_top_srcdir=$ac_top_build_prefix$srcdir
 16921     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 16922 esac
 16923 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 16926   case $ac_mode in
 16927   :F)
 16929   # CONFIG_FILE
 16932   case $INSTALL in
 16933   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 16934   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 16935   esac
 16936 _ACEOF
 16938 cat >>$CONFIG_STATUS <<\_ACEOF
 16939 # If the template does not know about datarootdir, expand it.
 16940 # FIXME: This hack should be removed a few years after 2.60.
 16941 ac_datarootdir_hack=; ac_datarootdir_seen=
 16943 case `sed -n '/datarootdir/ {
 16947 /@datadir@/p
 16948 /@docdir@/p
 16949 /@infodir@/p
 16950 /@localedir@/p
 16951 /@mandir@/p
 16952 ' $ac_file_inputs` in
 16953 *datarootdir*) ac_datarootdir_seen=yes;;
 16954 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 16955   { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 16956 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 16957 _ACEOF
 16958 cat >>$CONFIG_STATUS <<_ACEOF
 16959   ac_datarootdir_hack='
 16960   s&@datadir@&$datadir&g
 16961   s&@docdir@&$docdir&g
 16962   s&@infodir@&$infodir&g
 16963   s&@localedir@&$localedir&g
 16964   s&@mandir@&$mandir&g
 16965     s&\\\${datarootdir}&$datarootdir&g' ;;
 16966 esac
 16967 _ACEOF
 16969 # Neutralize VPATH when `$srcdir' = `.'.
 16970 # Shell code in configure.ac might set extrasub.
 16971 # FIXME: do we really want to maintain this feature?
 16972 cat >>$CONFIG_STATUS <<_ACEOF
 16973   sed "$ac_vpsub
 16974 $extrasub
 16975 _ACEOF
 16976 cat >>$CONFIG_STATUS <<\_ACEOF
 16977 :t
 16978 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 16979 s&@configure_input@&$configure_input&;t t
 16980 s&@top_builddir@&$ac_top_builddir_sub&;t t
 16981 s&@srcdir@&$ac_srcdir&;t t
 16982 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 16983 s&@top_srcdir@&$ac_top_srcdir&;t t
 16984 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 16985 s&@builddir@&$ac_builddir&;t t
 16986 s&@abs_builddir@&$ac_abs_builddir&;t t
 16987 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 16988 s&@INSTALL@&$ac_INSTALL&;t t
 16989 $ac_datarootdir_hack
 16990 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" | sed -f "$tmp/subs-3.sed" >$tmp/out
 16992 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 16993   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 16994   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 16995   { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 16996 which seems to be undefined.  Please make sure it is defined." >&5
 16997 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 16998 which seems to be undefined.  Please make sure it is defined." >&2;}
 17000   rm -f "$tmp/stdin"
 17001   case $ac_file in
 17002   -) cat "$tmp/out"; rm -f "$tmp/out";;
 17003   *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
 17004   esac
 17005  ;;
 17006   :H)
 17008   # CONFIG_HEADER
 17010 _ACEOF
 17012 # Transform confdefs.h into a sed script `conftest.defines', that
 17013 # substitutes the proper values into config.h.in to produce config.h.
 17014 rm -f conftest.defines conftest.tail
 17015 # First, append a space to every undef/define line, to ease matching.
 17016 echo 's/$/ /' >conftest.defines
 17017 # Then, protect against being on the right side of a sed subst, or in
 17018 # an unquoted here document, in config.status.  If some macros were
 17019 # called several times there might be several #defines for the same
 17020 # symbol, which is useless.  But do not sort them, since the last
 17021 # AC_DEFINE must be honored.
 17022 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 17023 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
 17024 # NAME is the cpp macro being defined, VALUE is the value it is being given.
 17025 # PARAMS is the parameter list in the macro definition--in most cases, it's
 17026 # just an empty string.
 17027 ac_dA='s,^\\([	 #]*\\)[^	 ]*\\([	 ]*'
 17028 ac_dB='\\)[	 (].*,\\1define\\2'
 17029 ac_dC=' '
 17030 ac_dD=' ,'
 17032 uniq confdefs.h |
 17033   sed -n '
 17034 	t rset
 17035 	:rset
 17036 	s/^[	 ]*#[	 ]*define[	 ][	 ]*//
 17037 	t ok
 17039 	:ok
 17040 	s/[\\&,]/\\&/g
 17041 	s/^\('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
 17042 	s/^\('"$ac_word_re"'\)[	 ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
 17043   ' >>conftest.defines
 17045 # Remove the space that was appended to ease matching.
 17046 # Then replace #undef with comments.  This is necessary, for
 17047 # example, in the case of _POSIX_SOURCE, which is predefined and required
 17048 # on some systems where configure will not decide to define it.
 17049 # (The regexp can be short, since the line contains either #define or #undef.)
 17050 echo 's/ $//
 17051 s,^[	 #]*u.*,/* & */,' >>conftest.defines
 17053 # Break up conftest.defines:
 17054 ac_max_sed_lines=50
 17056 # First sed command is:	 sed -f defines.sed $ac_file_inputs >"$tmp/out1"
 17057 # Second one is:	 sed -f defines.sed "$tmp/out1" >"$tmp/out2"
 17058 # Third one will be:	 sed -f defines.sed "$tmp/out2" >"$tmp/out1"
 17059 # et cetera.
 17060 ac_in='$ac_file_inputs'
 17061 ac_out='"$tmp/out1"'
 17062 ac_nxt='"$tmp/out2"'
 17064 while :
 17065 do
 17066   # Write a here document:
 17067     cat >>$CONFIG_STATUS <<_ACEOF
 17068     # First, check the format of the line:
 17069     cat >"\$tmp/defines.sed" <<\\CEOF
 17070 /^[	 ]*#[	 ]*undef[	 ][	 ]*$ac_word_re[	 ]*\$/b def
 17071 /^[	 ]*#[	 ]*define[	 ][	 ]*$ac_word_re[(	 ]/b def
 17073 :def
 17074 _ACEOF
 17075   sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
 17076   echo 'CEOF
 17077     sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
 17078   ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
 17079   sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
 17080   grep . conftest.tail >/dev/null || break
 17081   rm -f conftest.defines
 17082   mv conftest.tail conftest.defines
 17083 done
 17084 rm -f conftest.defines conftest.tail
 17086 echo "ac_result=$ac_in" >>$CONFIG_STATUS
 17087 cat >>$CONFIG_STATUS <<\_ACEOF
 17088   if test x"$ac_file" != x-; then
 17089     echo "/* $configure_input  */" >"$tmp/config.h"
 17090     cat "$ac_result" >>"$tmp/config.h"
 17091     if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
 17092       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 17093 echo "$as_me: $ac_file is unchanged" >&6;}
 17094     else
 17095       rm -f $ac_file
 17096       mv "$tmp/config.h" $ac_file
 17097     fi
 17098   else
 17099     echo "/* $configure_input  */"
 17100     cat "$ac_result"
 17101   fi
 17102   rm -f "$tmp/out12"
 17103 # Compute $ac_file's index in $config_headers.
 17104 _am_stamp_count=1
 17105 for _am_header in $config_headers :; do
 17106   case $_am_header in
 17107     $ac_file | $ac_file:* )
 17108       break ;;
 17109     * )
 17110       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 17111   esac
 17112 done
 17113 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
 17114 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 17115 	 X$ac_file : 'X\(//\)[^/]' \| \
 17116 	 X$ac_file : 'X\(//\)$' \| \
 17117 	 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
 17118 echo X$ac_file |
 17119     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 17120 	    s//\1/
 17123 	  /^X\(\/\/\)[^/].*/{
 17124 	    s//\1/
 17127 	  /^X\(\/\/\)$/{
 17128 	    s//\1/
 17131 	  /^X\(\/\).*/{
 17132 	    s//\1/
 17135 	  s/.*/./; q'`/stamp-h$_am_stamp_count
 17136  ;;
 17138   :C)  { echo "$as_me:$LINENO: executing $ac_file commands" >&5
 17139 echo "$as_me: executing $ac_file commands" >&6;}
 17140  ;;
 17141   esac
 17144   case $ac_file$ac_mode in
 17145     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 17146   # Strip MF so we end up with the name of the file.
 17147   mf=`echo "$mf" | sed -e 's/:.*$//'`
 17148   # Check whether this is an Automake generated Makefile or not.
 17149   # We used to match only the files named `Makefile.in', but
 17150   # some people rename them; so instead we look at the file content.
 17151   # Grep'ing the first line is not enough: some people post-process
 17152   # each Makefile.in and add a new line on top of each file to say so.
 17153   # So let's grep whole file.
 17154   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 17155     dirpart=`$as_dirname -- "$mf" ||
 17156 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 17157 	 X"$mf" : 'X\(//\)[^/]' \| \
 17158 	 X"$mf" : 'X\(//\)$' \| \
 17159 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 17160 echo X"$mf" |
 17161     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 17162 	    s//\1/
 17165 	  /^X\(\/\/\)[^/].*/{
 17166 	    s//\1/
 17169 	  /^X\(\/\/\)$/{
 17170 	    s//\1/
 17173 	  /^X\(\/\).*/{
 17174 	    s//\1/
 17177 	  s/.*/./; q'`
 17178   else
 17179     continue
 17180   fi
 17181   # Extract the definition of DEPDIR, am__include, and am__quote
 17182   # from the Makefile without running `make'.
 17183   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 17184   test -z "$DEPDIR" && continue
 17185   am__include=`sed -n 's/^am__include = //p' < "$mf"`
 17186   test -z "am__include" && continue
 17187   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 17188   # When using ansi2knr, U may be empty or an underscore; expand it
 17189   U=`sed -n 's/^U = //p' < "$mf"`
 17190   # Find all dependency output files, they are included files with
 17191   # $(DEPDIR) in their names.  We invoke sed twice because it is the
 17192   # simplest approach to changing $(DEPDIR) to its actual value in the
 17193   # expansion.
 17194   for file in `sed -n "
 17195     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 17196        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 17197     # Make sure the directory exists.
 17198     test -f "$dirpart/$file" && continue
 17199     fdir=`$as_dirname -- "$file" ||
 17200 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 17201 	 X"$file" : 'X\(//\)[^/]' \| \
 17202 	 X"$file" : 'X\(//\)$' \| \
 17203 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 17204 echo X"$file" |
 17205     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 17206 	    s//\1/
 17209 	  /^X\(\/\/\)[^/].*/{
 17210 	    s//\1/
 17213 	  /^X\(\/\/\)$/{
 17214 	    s//\1/
 17217 	  /^X\(\/\).*/{
 17218 	    s//\1/
 17221 	  s/.*/./; q'`
 17222     { as_dir=$dirpart/$fdir
 17223   case $as_dir in #(
 17224   -*) as_dir=./$as_dir;;
 17225   esac
 17226   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 17227     as_dirs=
 17228     while :; do
 17229       case $as_dir in #(
 17230       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 17231       *) as_qdir=$as_dir;;
 17232       esac
 17233       as_dirs="'$as_qdir' $as_dirs"
 17234       as_dir=`$as_dirname -- "$as_dir" ||
 17235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 17236 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 17237 	 X"$as_dir" : 'X\(//\)$' \| \
 17238 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 17239 echo X"$as_dir" |
 17240     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 17241 	    s//\1/
 17244 	  /^X\(\/\/\)[^/].*/{
 17245 	    s//\1/
 17248 	  /^X\(\/\/\)$/{
 17249 	    s//\1/
 17252 	  /^X\(\/\).*/{
 17253 	    s//\1/
 17256 	  s/.*/./; q'`
 17257       test -d "$as_dir" && break
 17258     done
 17259     test -z "$as_dirs" || eval "mkdir $as_dirs"
 17260   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 17261 echo "$as_me: error: cannot create directory $as_dir" >&2;}
 17262    { (exit 1); exit 1; }; }; }
 17263     # echo "creating $dirpart/$file"
 17264     echo '# dummy' > "$dirpart/$file"
 17265   done
 17266 done
 17267  ;;
 17268     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 17269         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 17270       esac ;;
 17272   esac
 17273 done # for ac_tag
 17276 { (exit 0); exit 0; }
 17277 _ACEOF
 17278 chmod +x $CONFIG_STATUS
 17279 ac_clean_files=$ac_clean_files_save
 17282 # configure is writing to config.log, and then calls config.status.
 17283 # config.status does its own redirection, appending to config.log.
 17284 # Unfortunately, on DOS this fails, as config.log is still kept open
 17285 # by configure, so config.status won't be able to write to it; its
 17286 # output is simply discarded.  So we exec the FD to /dev/null,
 17287 # effectively closing config.log, so it can be properly (re)opened and
 17288 # appended to by config.status.  When coming back to configure, we
 17289 # need to make the FD available again.
 17290 if test "$no_create" != yes; then
 17291   ac_cs_success=:
 17292   ac_config_status_args=
 17293   test "$silent" = yes &&
 17294     ac_config_status_args="$ac_config_status_args --quiet"
 17295   exec 5>/dev/null
 17296   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 17297   exec 5>>config.log
 17298   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 17299   # would make configure fail if this is the last instruction.
 17300   $ac_cs_success || { (exit 1); exit 1; }
 17301 fi
 17303 { as_dir=test/sh4
 17304   case $as_dir in #(
 17305   -*) as_dir=./$as_dir;;
 17306   esac
 17307   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 17308     as_dirs=
 17309     while :; do
 17310       case $as_dir in #(
 17311       *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
 17312       *) as_qdir=$as_dir;;
 17313       esac
 17314       as_dirs="'$as_qdir' $as_dirs"
 17315       as_dir=`$as_dirname -- "$as_dir" ||
 17316 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 17317 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 17318 	 X"$as_dir" : 'X\(//\)$' \| \
 17319 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 17320 echo X"$as_dir" |
 17321     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 17322 	    s//\1/
 17325 	  /^X\(\/\/\)[^/].*/{
 17326 	    s//\1/
 17329 	  /^X\(\/\/\)$/{
 17330 	    s//\1/
 17333 	  /^X\(\/\).*/{
 17334 	    s//\1/
 17337 	  s/.*/./; q'`
 17338       test -d "$as_dir" && break
 17339     done
 17340     test -z "$as_dirs" || eval "mkdir $as_dirs"
 17341   } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 17342 echo "$as_me: error: cannot create directory $as_dir" >&2;}
 17343    { (exit 1); exit 1; }; }; }
 17346 echo
 17347 echo "Configuration complete"
 17348 echo
 17350 if test "x$HAVE_GTK" = x; then
 17351   if test "x$HAVE_COCOA" = x; then
 17352      echo "  User interface: none"
 17353   else
 17354      echo "  User interface: Cocoa"
 17355   fi
 17356 else
 17357   echo "  User interface: GTK"
 17358 fi
 17360 if test "x$SH4_TRANSLATOR" = "x"; then
 17361   echo "  SH4 translator: None (emulation core only)"
 17362 else
 17363   echo "  SH4 translator: $SH4_TRANSLATOR"
 17364 fi
 17366 if test "x$VIDEO_DRIVERS" = "x"; then
 17367    echo "  Video drivers: none (no supported GL found)"
 17368 else
 17369    echo "  Video drivers: $VIDEO_DRIVERS"
 17370 fi
 17372 if test "x$AUDIO_DRIVERS" = "x"; then
 17373    echo "  Audio drivers: none (no supported output devices found)"
 17374 else
 17375    echo "  Audio drivers: $AUDIO_DRIVERS"
 17376 fi
 17378 if test "x$INPUT_DRIVERS" = "x"; then
 17379    echo "  Input drivers: none (no supported input devices found)"
 17380 else
 17381    echo "  Input drivers: $INPUT_DRIVERS"
 17382 fi
 17384 if test "x$CDROM_DRIVER" = "x"; then
 17385    echo "  CD-ROM driver: none (no supported cd-rom devices found)"
 17386 else
 17387    echo "  CD-ROM driver:  $CDROM_DRIVER"
 17388 fi
.