Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 899:18e0cdea76aa
prev882:ada7d14a8ad9
next902:408568dc97d5
author nkeynes
date Sun Oct 26 00:52:32 2008 +0000 (15 years ago)
permissions -rwxr-xr-x
last change Add *.gif back into the installation
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.62.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    27 fi
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
    40 as_nl='
    41 '
    42 export as_nl
    43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    48   as_echo='printf %s\n'
    49   as_echo_n='printf %s'
    50 else
    51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    53     as_echo_n='/usr/ucb/echo -n'
    54   else
    55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    56     as_echo_n_body='eval
    57       arg=$1;
    58       case $arg in
    59       *"$as_nl"*)
    60 	expr "X$arg" : "X\\(.*\\)$as_nl";
    61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    62       esac;
    63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    64     '
    65     export as_echo_n_body
    66     as_echo_n='sh -c $as_echo_n_body as_echo'
    67   fi
    68   export as_echo_body
    69   as_echo='sh -c $as_echo_body as_echo'
    70 fi
    72 # The user is always right.
    73 if test "${PATH_SEPARATOR+set}" != set; then
    74   PATH_SEPARATOR=:
    75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    77       PATH_SEPARATOR=';'
    78   }
    79 fi
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    89 # IFS
    90 # We need space, tab and new line, in precisely that order.  Quoting is
    91 # there to prevent editors from complaining about space-tab.
    92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    93 # splitting by setting IFS to empty value.)
    94 IFS=" ""	$as_nl"
    96 # Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
    98   *[\\/]* ) as_myself=$0 ;;
    99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   100 for as_dir in $PATH
   101 do
   102   IFS=$as_save_IFS
   103   test -z "$as_dir" && as_dir=.
   104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   105 done
   106 IFS=$as_save_IFS
   108      ;;
   109 esac
   110 # We did not find ourselves, most probably we were run as `sh COMMAND'
   111 # in which case we are not to be found in the path.
   112 if test "x$as_myself" = x; then
   113   as_myself=$0
   114 fi
   115 if test ! -f "$as_myself"; then
   116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   117   { (exit 1); exit 1; }
   118 fi
   120 # Work around bugs in pre-3.0 UWIN ksh.
   121 for as_var in ENV MAIL MAILPATH
   122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   123 done
   124 PS1='$ '
   125 PS2='> '
   126 PS4='+ '
   128 # NLS nuisances.
   129 LC_ALL=C
   130 export LC_ALL
   131 LANGUAGE=C
   132 export LANGUAGE
   134 # Required to use basename.
   135 if expr a : '\(a\)' >/dev/null 2>&1 &&
   136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   137   as_expr=expr
   138 else
   139   as_expr=false
   140 fi
   142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   143   as_basename=basename
   144 else
   145   as_basename=false
   146 fi
   149 # Name of the executable.
   150 as_me=`$as_basename -- "$0" ||
   151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   152 	 X"$0" : 'X\(//\)$' \| \
   153 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   154 $as_echo X/"$0" |
   155     sed '/^.*\/\([^/][^/]*\)\/*$/{
   156 	    s//\1/
   157 	    q
   158 	  }
   159 	  /^X\/\(\/\/\)$/{
   160 	    s//\1/
   161 	    q
   162 	  }
   163 	  /^X\/\(\/\).*/{
   164 	    s//\1/
   165 	    q
   166 	  }
   167 	  s/.*/./; q'`
   169 # CDPATH.
   170 $as_unset CDPATH
   173 if test "x$CONFIG_SHELL" = x; then
   174   if (eval ":") 2>/dev/null; then
   175   as_have_required=yes
   176 else
   177   as_have_required=no
   178 fi
   180   if test $as_have_required = yes &&	 (eval ":
   181 (as_func_return () {
   182   (exit \$1)
   183 }
   184 as_func_success () {
   185   as_func_return 0
   186 }
   187 as_func_failure () {
   188   as_func_return 1
   189 }
   190 as_func_ret_success () {
   191   return 0
   192 }
   193 as_func_ret_failure () {
   194   return 1
   195 }
   197 exitcode=0
   198 if as_func_success; then
   199   :
   200 else
   201   exitcode=1
   202   echo as_func_success failed.
   203 fi
   205 if as_func_failure; then
   206   exitcode=1
   207   echo as_func_failure succeeded.
   208 fi
   210 if as_func_ret_success; then
   211   :
   212 else
   213   exitcode=1
   214   echo as_func_ret_success failed.
   215 fi
   217 if as_func_ret_failure; then
   218   exitcode=1
   219   echo as_func_ret_failure succeeded.
   220 fi
   222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   223   :
   224 else
   225   exitcode=1
   226   echo positional parameters were not saved.
   227 fi
   229 test \$exitcode = 0) || { (exit 1); exit 1; }
   231 (
   232   as_lineno_1=\$LINENO
   233   as_lineno_2=\$LINENO
   234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   236 ") 2> /dev/null; then
   237   :
   238 else
   239   as_candidate_shells=
   240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   242 do
   243   IFS=$as_save_IFS
   244   test -z "$as_dir" && as_dir=.
   245   case $as_dir in
   246 	 /*)
   247 	   for as_base in sh bash ksh sh5; do
   248 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   249 	   done;;
   250        esac
   251 done
   252 IFS=$as_save_IFS
   255       for as_shell in $as_candidate_shells $SHELL; do
   256 	 # Try only shells that exist, to save several forks.
   257 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   258 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   260   emulate sh
   261   NULLCMD=:
   262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   263   # is contrary to our usage.  Disable this feature.
   264   alias -g '${1+"$@"}'='"$@"'
   265   setopt NO_GLOB_SUBST
   266 else
   267   case `(set -o) 2>/dev/null` in
   268   *posix*) set -o posix ;;
   269 esac
   271 fi
   274 :
   275 _ASEOF
   276 }; then
   277   CONFIG_SHELL=$as_shell
   278 	       as_have_required=yes
   279 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   281   emulate sh
   282   NULLCMD=:
   283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   284   # is contrary to our usage.  Disable this feature.
   285   alias -g '${1+"$@"}'='"$@"'
   286   setopt NO_GLOB_SUBST
   287 else
   288   case `(set -o) 2>/dev/null` in
   289   *posix*) set -o posix ;;
   290 esac
   292 fi
   295 :
   296 (as_func_return () {
   297   (exit $1)
   298 }
   299 as_func_success () {
   300   as_func_return 0
   301 }
   302 as_func_failure () {
   303   as_func_return 1
   304 }
   305 as_func_ret_success () {
   306   return 0
   307 }
   308 as_func_ret_failure () {
   309   return 1
   310 }
   312 exitcode=0
   313 if as_func_success; then
   314   :
   315 else
   316   exitcode=1
   317   echo as_func_success failed.
   318 fi
   320 if as_func_failure; then
   321   exitcode=1
   322   echo as_func_failure succeeded.
   323 fi
   325 if as_func_ret_success; then
   326   :
   327 else
   328   exitcode=1
   329   echo as_func_ret_success failed.
   330 fi
   332 if as_func_ret_failure; then
   333   exitcode=1
   334   echo as_func_ret_failure succeeded.
   335 fi
   337 if ( set x; as_func_ret_success y && test x = "$1" ); then
   338   :
   339 else
   340   exitcode=1
   341   echo positional parameters were not saved.
   342 fi
   344 test $exitcode = 0) || { (exit 1); exit 1; }
   346 (
   347   as_lineno_1=$LINENO
   348   as_lineno_2=$LINENO
   349   test "x$as_lineno_1" != "x$as_lineno_2" &&
   350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   352 _ASEOF
   353 }; then
   354   break
   355 fi
   357 fi
   359       done
   361       if test "x$CONFIG_SHELL" != x; then
   362   for as_var in BASH_ENV ENV
   363 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   364 	done
   365 	export CONFIG_SHELL
   366 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   367 fi
   370     if test $as_have_required = no; then
   371   echo This script requires a shell more modern than all the
   372       echo shells that I found on your system.  Please install a
   373       echo modern shell, or manually run the script under such a
   374       echo shell if you do have one.
   375       { (exit 1); exit 1; }
   376 fi
   379 fi
   381 fi
   385 (eval "as_func_return () {
   386   (exit \$1)
   387 }
   388 as_func_success () {
   389   as_func_return 0
   390 }
   391 as_func_failure () {
   392   as_func_return 1
   393 }
   394 as_func_ret_success () {
   395   return 0
   396 }
   397 as_func_ret_failure () {
   398   return 1
   399 }
   401 exitcode=0
   402 if as_func_success; then
   403   :
   404 else
   405   exitcode=1
   406   echo as_func_success failed.
   407 fi
   409 if as_func_failure; then
   410   exitcode=1
   411   echo as_func_failure succeeded.
   412 fi
   414 if as_func_ret_success; then
   415   :
   416 else
   417   exitcode=1
   418   echo as_func_ret_success failed.
   419 fi
   421 if as_func_ret_failure; then
   422   exitcode=1
   423   echo as_func_ret_failure succeeded.
   424 fi
   426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   427   :
   428 else
   429   exitcode=1
   430   echo positional parameters were not saved.
   431 fi
   433 test \$exitcode = 0") || {
   434   echo No shell found that supports shell functions.
   435   echo Please tell bug-autoconf@gnu.org about your system,
   436   echo including any error possibly output before this message.
   437   echo This can help us improve future autoconf versions.
   438   echo Configuration will now proceed without shell functions.
   439 }
   443   as_lineno_1=$LINENO
   444   as_lineno_2=$LINENO
   445   test "x$as_lineno_1" != "x$as_lineno_2" &&
   446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   449   # uniformly replaced by the line number.  The first 'sed' inserts a
   450   # line-number line after each line using $LINENO; the second 'sed'
   451   # does the real work.  The second script uses 'N' to pair each
   452   # line-number line with the line containing $LINENO, and appends
   453   # trailing '-' during substitution so that $LINENO is not a special
   454   # case at line end.
   455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   457   # E. McMahon (1931-1989) for sed's syntax.  :-)
   458   sed -n '
   459     p
   460     /[$]LINENO/=
   461   ' <$as_myself |
   462     sed '
   463       s/[$]LINENO.*/&-/
   464       t lineno
   465       b
   466       :lineno
   467       N
   468       :loop
   469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   470       t loop
   471       s/-\n.*//
   472     ' >$as_me.lineno &&
   473   chmod +x "$as_me.lineno" ||
   474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   475    { (exit 1); exit 1; }; }
   477   # Don't try to exec as it changes $[0], causing all sort of problems
   478   # (the dirname of $[0] is not the place where we might find the
   479   # original and so on.  Autoconf is especially sensitive to this).
   480   . "./$as_me.lineno"
   481   # Exit status is that of the last command.
   482   exit
   483 }
   486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   487   as_dirname=dirname
   488 else
   489   as_dirname=false
   490 fi
   492 ECHO_C= ECHO_N= ECHO_T=
   493 case `echo -n x` in
   494 -n*)
   495   case `echo 'x\c'` in
   496   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   497   *)   ECHO_C='\c';;
   498   esac;;
   499 *)
   500   ECHO_N='-n';;
   501 esac
   502 if expr a : '\(a\)' >/dev/null 2>&1 &&
   503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   504   as_expr=expr
   505 else
   506   as_expr=false
   507 fi
   509 rm -f conf$$ conf$$.exe conf$$.file
   510 if test -d conf$$.dir; then
   511   rm -f conf$$.dir/conf$$.file
   512 else
   513   rm -f conf$$.dir
   514   mkdir conf$$.dir 2>/dev/null
   515 fi
   516 if (echo >conf$$.file) 2>/dev/null; then
   517   if ln -s conf$$.file conf$$ 2>/dev/null; then
   518     as_ln_s='ln -s'
   519     # ... but there are two gotchas:
   520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   522     # In both cases, we have to default to `cp -p'.
   523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   524       as_ln_s='cp -p'
   525   elif ln conf$$.file conf$$ 2>/dev/null; then
   526     as_ln_s=ln
   527   else
   528     as_ln_s='cp -p'
   529   fi
   530 else
   531   as_ln_s='cp -p'
   532 fi
   533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   534 rmdir conf$$.dir 2>/dev/null
   536 if mkdir -p . 2>/dev/null; then
   537   as_mkdir_p=:
   538 else
   539   test -d ./-p && rmdir ./-p
   540   as_mkdir_p=false
   541 fi
   543 if test -x / >/dev/null 2>&1; then
   544   as_test_x='test -x'
   545 else
   546   if ls -dL / >/dev/null 2>&1; then
   547     as_ls_L_option=L
   548   else
   549     as_ls_L_option=
   550   fi
   551   as_test_x='
   552     eval sh -c '\''
   553       if test -d "$1"; then
   554 	test -d "$1/.";
   555       else
   556 	case $1 in
   557 	-*)set "./$1";;
   558 	esac;
   559 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   560 	???[sx]*):;;*)false;;esac;fi
   561     '\'' sh
   562   '
   563 fi
   564 as_executable_p=$as_test_x
   566 # Sed expression to map a string onto a valid CPP name.
   567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   569 # Sed expression to map a string onto a valid variable name.
   570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   574 exec 7<&0 </dev/null 6>&1
   576 # Name of the host.
   577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   578 # so uname gets run too.
   579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   581 #
   582 # Initializations.
   583 #
   584 ac_default_prefix=/usr/local
   585 ac_clean_files=
   586 ac_config_libobj_dir=.
   587 LIBOBJS=
   588 cross_compiling=no
   589 subdirs=
   590 MFLAGS=
   591 MAKEFLAGS=
   592 SHELL=${CONFIG_SHELL-/bin/sh}
   594 # Identity of this package.
   595 PACKAGE_NAME=
   596 PACKAGE_TARNAME=
   597 PACKAGE_VERSION=
   598 PACKAGE_STRING=
   599 PACKAGE_BUGREPORT=
   601 ac_unique_file="configure.in"
   602 # Factoring default headers for most tests.
   603 ac_includes_default="\
   604 #include <stdio.h>
   605 #ifdef HAVE_SYS_TYPES_H
   606 # include <sys/types.h>
   607 #endif
   608 #ifdef HAVE_SYS_STAT_H
   609 # include <sys/stat.h>
   610 #endif
   611 #ifdef STDC_HEADERS
   612 # include <stdlib.h>
   613 # include <stddef.h>
   614 #else
   615 # ifdef HAVE_STDLIB_H
   616 #  include <stdlib.h>
   617 # endif
   618 #endif
   619 #ifdef HAVE_STRING_H
   620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   621 #  include <memory.h>
   622 # endif
   623 # include <string.h>
   624 #endif
   625 #ifdef HAVE_STRINGS_H
   626 # include <strings.h>
   627 #endif
   628 #ifdef HAVE_INTTYPES_H
   629 # include <inttypes.h>
   630 #endif
   631 #ifdef HAVE_STDINT_H
   632 # include <stdint.h>
   633 #endif
   634 #ifdef HAVE_UNISTD_H
   635 # include <unistd.h>
   636 #endif"
   638 ac_subst_vars='SHELL
   639 PATH_SEPARATOR
   640 PACKAGE_NAME
   641 PACKAGE_TARNAME
   642 PACKAGE_VERSION
   643 PACKAGE_STRING
   644 PACKAGE_BUGREPORT
   645 exec_prefix
   646 prefix
   647 program_transform_name
   648 bindir
   649 sbindir
   650 libexecdir
   651 datarootdir
   652 datadir
   653 sysconfdir
   654 sharedstatedir
   655 localstatedir
   656 includedir
   657 oldincludedir
   658 docdir
   659 infodir
   660 htmldir
   661 dvidir
   662 pdfdir
   663 psdir
   664 libdir
   665 localedir
   666 mandir
   667 DEFS
   668 ECHO_C
   669 ECHO_N
   670 ECHO_T
   671 LIBS
   672 build_alias
   673 host_alias
   674 target_alias
   675 INSTALL_PROGRAM
   676 INSTALL_SCRIPT
   677 INSTALL_DATA
   678 CYGPATH_W
   679 PACKAGE
   680 VERSION
   681 ACLOCAL
   682 AUTOCONF
   683 AUTOMAKE
   684 AUTOHEADER
   685 MAKEINFO
   686 install_sh
   687 STRIP
   688 INSTALL_STRIP_PROGRAM
   689 mkdir_p
   690 AWK
   691 SET_MAKE
   692 am__leading_dot
   693 AMTAR
   694 am__tar
   695 am__untar
   696 MAINTAINER_MODE_TRUE
   697 MAINTAINER_MODE_FALSE
   698 MAINT
   699 CC
   700 CFLAGS
   701 LDFLAGS
   702 CPPFLAGS
   703 ac_ct_CC
   704 EXEEXT
   705 OBJEXT
   706 DEPDIR
   707 am__include
   708 am__quote
   709 AMDEP_TRUE
   710 AMDEP_FALSE
   711 AMDEPBACKSLASH
   712 CCDEPMODE
   713 am__fastdepCC_TRUE
   714 am__fastdepCC_FALSE
   715 CCAS
   716 CCASFLAGS
   717 CPP
   718 GREP
   719 EGREP
   720 build
   721 build_cpu
   722 build_vendor
   723 build_os
   724 host
   725 host_cpu
   726 host_vendor
   727 host_os
   728 POD2MAN
   729 POD2HTML
   730 GUI_COCOA_TRUE
   731 GUI_COCOA_FALSE
   732 PKG_CONFIG
   733 LIBPNG_CFLAGS
   734 LIBPNG_LIBS
   735 GLIB_CFLAGS
   736 GLIB_LIBS
   737 GTK_CFLAGS
   738 GTK_LIBS
   739 GUI_GTK_TRUE
   740 GUI_GTK_FALSE
   741 VIDEO_OSMESA_TRUE
   742 VIDEO_OSMESA_FALSE
   743 VIDEO_GLX_TRUE
   744 VIDEO_GLX_FALSE
   745 VIDEO_NSGL_TRUE
   746 VIDEO_NSGL_FALSE
   747 BUILD_SH4X86_TRUE
   748 BUILD_SH4X86_FALSE
   749 AUDIO_OSX_TRUE
   750 AUDIO_OSX_FALSE
   751 PULSE_CFLAGS
   752 PULSE_LIBS
   753 AUDIO_PULSE_TRUE
   754 AUDIO_PULSE_FALSE
   755 ESOUND_CFLAGS
   756 ESOUND_LIBS
   757 AUDIO_ESOUND_TRUE
   758 AUDIO_ESOUND_FALSE
   759 ALSA_CFLAGS
   760 ALSA_LIBS
   761 AUDIO_ALSA_TRUE
   762 AUDIO_ALSA_FALSE
   763 CDROM_LINUX_TRUE
   764 CDROM_LINUX_FALSE
   765 CDROM_OSX_TRUE
   766 CDROM_OSX_FALSE
   767 CDROM_NONE_TRUE
   768 CDROM_NONE_FALSE
   769 JOY_LINUX_TRUE
   770 JOY_LINUX_FALSE
   771 SHCC
   772 SHLD
   773 SHOBJCOPY
   774 ARMCC
   775 ARMLD
   776 ARMOBJCOPY
   777 BUILD_SYSTEST_TRUE
   778 BUILD_SYSTEST_FALSE
   779 BUILD_ARMTEST_TRUE
   780 BUILD_ARMTEST_FALSE
   781 GETTEXT_PACKAGE
   782 USE_NLS
   783 MSGFMT
   784 MSGFMT_OPTS
   785 GMSGFMT
   786 XGETTEXT
   787 CATALOGS
   788 CATOBJEXT
   789 DATADIRNAME
   790 GMOFILES
   791 INSTOBJEXT
   792 INTLLIBS
   793 PO_IN_DATADIR_TRUE
   794 PO_IN_DATADIR_FALSE
   795 POFILES
   796 POSUB
   797 MKINSTALLDIRS
   798 LIBOBJS
   799 LTLIBOBJS'
   800 ac_subst_files=''
   801 ac_user_opts='
   802 enable_option_checking
   803 enable_maintainer_mode
   804 enable_dependency_tracking
   805 enable_strict_warn
   806 enable_translator
   807 enable_optimized
   808 enable_trace
   809 enable_watch
   810 enable_sh4stats
   811 with_osmesa
   812 with_gtk
   813 with_esd
   814 with_pulse
   815 '
   816       ac_precious_vars='build_alias
   817 host_alias
   818 target_alias
   819 CC
   820 CFLAGS
   821 LDFLAGS
   822 LIBS
   823 CPPFLAGS
   824 CCAS
   825 CCASFLAGS
   826 CPP
   827 PKG_CONFIG
   828 LIBPNG_CFLAGS
   829 LIBPNG_LIBS
   830 GLIB_CFLAGS
   831 GLIB_LIBS
   832 GTK_CFLAGS
   833 GTK_LIBS
   834 PULSE_CFLAGS
   835 PULSE_LIBS
   836 ESOUND_CFLAGS
   837 ESOUND_LIBS
   838 ALSA_CFLAGS
   839 ALSA_LIBS'
   842 # Initialize some variables set by options.
   843 ac_init_help=
   844 ac_init_version=false
   845 ac_unrecognized_opts=
   846 ac_unrecognized_sep=
   847 # The variables have the same names as the options, with
   848 # dashes changed to underlines.
   849 cache_file=/dev/null
   850 exec_prefix=NONE
   851 no_create=
   852 no_recursion=
   853 prefix=NONE
   854 program_prefix=NONE
   855 program_suffix=NONE
   856 program_transform_name=s,x,x,
   857 silent=
   858 site=
   859 srcdir=
   860 verbose=
   861 x_includes=NONE
   862 x_libraries=NONE
   864 # Installation directory options.
   865 # These are left unexpanded so users can "make install exec_prefix=/foo"
   866 # and all the variables that are supposed to be based on exec_prefix
   867 # by default will actually change.
   868 # Use braces instead of parens because sh, perl, etc. also accept them.
   869 # (The list follows the same order as the GNU Coding Standards.)
   870 bindir='${exec_prefix}/bin'
   871 sbindir='${exec_prefix}/sbin'
   872 libexecdir='${exec_prefix}/libexec'
   873 datarootdir='${prefix}/share'
   874 datadir='${datarootdir}'
   875 sysconfdir='${prefix}/etc'
   876 sharedstatedir='${prefix}/com'
   877 localstatedir='${prefix}/var'
   878 includedir='${prefix}/include'
   879 oldincludedir='/usr/include'
   880 docdir='${datarootdir}/doc/${PACKAGE}'
   881 infodir='${datarootdir}/info'
   882 htmldir='${docdir}'
   883 dvidir='${docdir}'
   884 pdfdir='${docdir}'
   885 psdir='${docdir}'
   886 libdir='${exec_prefix}/lib'
   887 localedir='${datarootdir}/locale'
   888 mandir='${datarootdir}/man'
   890 ac_prev=
   891 ac_dashdash=
   892 for ac_option
   893 do
   894   # If the previous option needs an argument, assign it.
   895   if test -n "$ac_prev"; then
   896     eval $ac_prev=\$ac_option
   897     ac_prev=
   898     continue
   899   fi
   901   case $ac_option in
   902   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   903   *)	ac_optarg=yes ;;
   904   esac
   906   # Accept the important Cygnus configure options, so we can diagnose typos.
   908   case $ac_dashdash$ac_option in
   909   --)
   910     ac_dashdash=yes ;;
   912   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   913     ac_prev=bindir ;;
   914   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   915     bindir=$ac_optarg ;;
   917   -build | --build | --buil | --bui | --bu)
   918     ac_prev=build_alias ;;
   919   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   920     build_alias=$ac_optarg ;;
   922   -cache-file | --cache-file | --cache-fil | --cache-fi \
   923   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   924     ac_prev=cache_file ;;
   925   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   926   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   927     cache_file=$ac_optarg ;;
   929   --config-cache | -C)
   930     cache_file=config.cache ;;
   932   -datadir | --datadir | --datadi | --datad)
   933     ac_prev=datadir ;;
   934   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   935     datadir=$ac_optarg ;;
   937   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   938   | --dataroo | --dataro | --datar)
   939     ac_prev=datarootdir ;;
   940   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   941   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   942     datarootdir=$ac_optarg ;;
   944   -disable-* | --disable-*)
   945     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   946     # Reject names that are not valid shell variable names.
   947     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   948       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   949    { (exit 1); exit 1; }; }
   950     ac_useropt_orig=$ac_useropt
   951     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   952     case $ac_user_opts in
   953       *"
   954 "enable_$ac_useropt"
   955 "*) ;;
   956       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   957 	 ac_unrecognized_sep=', ';;
   958     esac
   959     eval enable_$ac_useropt=no ;;
   961   -docdir | --docdir | --docdi | --doc | --do)
   962     ac_prev=docdir ;;
   963   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   964     docdir=$ac_optarg ;;
   966   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   967     ac_prev=dvidir ;;
   968   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   969     dvidir=$ac_optarg ;;
   971   -enable-* | --enable-*)
   972     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   973     # Reject names that are not valid shell variable names.
   974     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   975       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   976    { (exit 1); exit 1; }; }
   977     ac_useropt_orig=$ac_useropt
   978     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   979     case $ac_user_opts in
   980       *"
   981 "enable_$ac_useropt"
   982 "*) ;;
   983       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   984 	 ac_unrecognized_sep=', ';;
   985     esac
   986     eval enable_$ac_useropt=\$ac_optarg ;;
   988   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   989   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   990   | --exec | --exe | --ex)
   991     ac_prev=exec_prefix ;;
   992   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   993   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   994   | --exec=* | --exe=* | --ex=*)
   995     exec_prefix=$ac_optarg ;;
   997   -gas | --gas | --ga | --g)
   998     # Obsolete; use --with-gas.
   999     with_gas=yes ;;
  1001   -help | --help | --hel | --he | -h)
  1002     ac_init_help=long ;;
  1003   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1004     ac_init_help=recursive ;;
  1005   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1006     ac_init_help=short ;;
  1008   -host | --host | --hos | --ho)
  1009     ac_prev=host_alias ;;
  1010   -host=* | --host=* | --hos=* | --ho=*)
  1011     host_alias=$ac_optarg ;;
  1013   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1014     ac_prev=htmldir ;;
  1015   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1016   | --ht=*)
  1017     htmldir=$ac_optarg ;;
  1019   -includedir | --includedir | --includedi | --included | --include \
  1020   | --includ | --inclu | --incl | --inc)
  1021     ac_prev=includedir ;;
  1022   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1023   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1024     includedir=$ac_optarg ;;
  1026   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1027     ac_prev=infodir ;;
  1028   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1029     infodir=$ac_optarg ;;
  1031   -libdir | --libdir | --libdi | --libd)
  1032     ac_prev=libdir ;;
  1033   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1034     libdir=$ac_optarg ;;
  1036   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1037   | --libexe | --libex | --libe)
  1038     ac_prev=libexecdir ;;
  1039   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1040   | --libexe=* | --libex=* | --libe=*)
  1041     libexecdir=$ac_optarg ;;
  1043   -localedir | --localedir | --localedi | --localed | --locale)
  1044     ac_prev=localedir ;;
  1045   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1046     localedir=$ac_optarg ;;
  1048   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1049   | --localstate | --localstat | --localsta | --localst | --locals)
  1050     ac_prev=localstatedir ;;
  1051   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1052   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1053     localstatedir=$ac_optarg ;;
  1055   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1056     ac_prev=mandir ;;
  1057   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1058     mandir=$ac_optarg ;;
  1060   -nfp | --nfp | --nf)
  1061     # Obsolete; use --without-fp.
  1062     with_fp=no ;;
  1064   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1065   | --no-cr | --no-c | -n)
  1066     no_create=yes ;;
  1068   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1069   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1070     no_recursion=yes ;;
  1072   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1073   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1074   | --oldin | --oldi | --old | --ol | --o)
  1075     ac_prev=oldincludedir ;;
  1076   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1077   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1078   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1079     oldincludedir=$ac_optarg ;;
  1081   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1082     ac_prev=prefix ;;
  1083   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1084     prefix=$ac_optarg ;;
  1086   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1087   | --program-pre | --program-pr | --program-p)
  1088     ac_prev=program_prefix ;;
  1089   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1090   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1091     program_prefix=$ac_optarg ;;
  1093   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1094   | --program-suf | --program-su | --program-s)
  1095     ac_prev=program_suffix ;;
  1096   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1097   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1098     program_suffix=$ac_optarg ;;
  1100   -program-transform-name | --program-transform-name \
  1101   | --program-transform-nam | --program-transform-na \
  1102   | --program-transform-n | --program-transform- \
  1103   | --program-transform | --program-transfor \
  1104   | --program-transfo | --program-transf \
  1105   | --program-trans | --program-tran \
  1106   | --progr-tra | --program-tr | --program-t)
  1107     ac_prev=program_transform_name ;;
  1108   -program-transform-name=* | --program-transform-name=* \
  1109   | --program-transform-nam=* | --program-transform-na=* \
  1110   | --program-transform-n=* | --program-transform-=* \
  1111   | --program-transform=* | --program-transfor=* \
  1112   | --program-transfo=* | --program-transf=* \
  1113   | --program-trans=* | --program-tran=* \
  1114   | --progr-tra=* | --program-tr=* | --program-t=*)
  1115     program_transform_name=$ac_optarg ;;
  1117   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1118     ac_prev=pdfdir ;;
  1119   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1120     pdfdir=$ac_optarg ;;
  1122   -psdir | --psdir | --psdi | --psd | --ps)
  1123     ac_prev=psdir ;;
  1124   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1125     psdir=$ac_optarg ;;
  1127   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1128   | -silent | --silent | --silen | --sile | --sil)
  1129     silent=yes ;;
  1131   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1132     ac_prev=sbindir ;;
  1133   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1134   | --sbi=* | --sb=*)
  1135     sbindir=$ac_optarg ;;
  1137   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1138   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1139   | --sharedst | --shareds | --shared | --share | --shar \
  1140   | --sha | --sh)
  1141     ac_prev=sharedstatedir ;;
  1142   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1143   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1144   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1145   | --sha=* | --sh=*)
  1146     sharedstatedir=$ac_optarg ;;
  1148   -site | --site | --sit)
  1149     ac_prev=site ;;
  1150   -site=* | --site=* | --sit=*)
  1151     site=$ac_optarg ;;
  1153   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1154     ac_prev=srcdir ;;
  1155   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1156     srcdir=$ac_optarg ;;
  1158   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1159   | --syscon | --sysco | --sysc | --sys | --sy)
  1160     ac_prev=sysconfdir ;;
  1161   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1162   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1163     sysconfdir=$ac_optarg ;;
  1165   -target | --target | --targe | --targ | --tar | --ta | --t)
  1166     ac_prev=target_alias ;;
  1167   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1168     target_alias=$ac_optarg ;;
  1170   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1171     verbose=yes ;;
  1173   -version | --version | --versio | --versi | --vers | -V)
  1174     ac_init_version=: ;;
  1176   -with-* | --with-*)
  1177     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1178     # Reject names that are not valid shell variable names.
  1179     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1180       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1181    { (exit 1); exit 1; }; }
  1182     ac_useropt_orig=$ac_useropt
  1183     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1184     case $ac_user_opts in
  1185       *"
  1186 "with_$ac_useropt"
  1187 "*) ;;
  1188       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1189 	 ac_unrecognized_sep=', ';;
  1190     esac
  1191     eval with_$ac_useropt=\$ac_optarg ;;
  1193   -without-* | --without-*)
  1194     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1195     # Reject names that are not valid shell variable names.
  1196     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1197       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1198    { (exit 1); exit 1; }; }
  1199     ac_useropt_orig=$ac_useropt
  1200     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1201     case $ac_user_opts in
  1202       *"
  1203 "with_$ac_useropt"
  1204 "*) ;;
  1205       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1206 	 ac_unrecognized_sep=', ';;
  1207     esac
  1208     eval with_$ac_useropt=no ;;
  1210   --x)
  1211     # Obsolete; use --with-x.
  1212     with_x=yes ;;
  1214   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1215   | --x-incl | --x-inc | --x-in | --x-i)
  1216     ac_prev=x_includes ;;
  1217   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1218   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1219     x_includes=$ac_optarg ;;
  1221   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1222   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1223     ac_prev=x_libraries ;;
  1224   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1225   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1226     x_libraries=$ac_optarg ;;
  1228   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1229 Try \`$0 --help' for more information." >&2
  1230    { (exit 1); exit 1; }; }
  1231     ;;
  1233   *=*)
  1234     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1235     # Reject names that are not valid shell variable names.
  1236     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1237       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1238    { (exit 1); exit 1; }; }
  1239     eval $ac_envvar=\$ac_optarg
  1240     export $ac_envvar ;;
  1242   *)
  1243     # FIXME: should be removed in autoconf 3.0.
  1244     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1245     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1246       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1247     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1248     ;;
  1250   esac
  1251 done
  1253 if test -n "$ac_prev"; then
  1254   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1255   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1256    { (exit 1); exit 1; }; }
  1257 fi
  1259 if test -n "$ac_unrecognized_opts"; then
  1260   case $enable_option_checking in
  1261     no) ;;
  1262     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  1263    { (exit 1); exit 1; }; } ;;
  1264     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1265   esac
  1266 fi
  1268 # Check all directory arguments for consistency.
  1269 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1270 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1271 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1272 		libdir localedir mandir
  1273 do
  1274   eval ac_val=\$$ac_var
  1275   # Remove trailing slashes.
  1276   case $ac_val in
  1277     */ )
  1278       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1279       eval $ac_var=\$ac_val;;
  1280   esac
  1281   # Be sure to have absolute directory names.
  1282   case $ac_val in
  1283     [\\/$]* | ?:[\\/]* )  continue;;
  1284     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1285   esac
  1286   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1287    { (exit 1); exit 1; }; }
  1288 done
  1290 # There might be people who depend on the old broken behavior: `$host'
  1291 # used to hold the argument of --host etc.
  1292 # FIXME: To remove some day.
  1293 build=$build_alias
  1294 host=$host_alias
  1295 target=$target_alias
  1297 # FIXME: To remove some day.
  1298 if test "x$host_alias" != x; then
  1299   if test "x$build_alias" = x; then
  1300     cross_compiling=maybe
  1301     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1302     If a cross compiler is detected then cross compile mode will be used." >&2
  1303   elif test "x$build_alias" != "x$host_alias"; then
  1304     cross_compiling=yes
  1305   fi
  1306 fi
  1308 ac_tool_prefix=
  1309 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1311 test "$silent" = yes && exec 6>/dev/null
  1314 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1315 ac_ls_di=`ls -di .` &&
  1316 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1317   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  1318    { (exit 1); exit 1; }; }
  1319 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1320   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1321    { (exit 1); exit 1; }; }
  1324 # Find the source files, if location was not specified.
  1325 if test -z "$srcdir"; then
  1326   ac_srcdir_defaulted=yes
  1327   # Try the directory containing this script, then the parent directory.
  1328   ac_confdir=`$as_dirname -- "$as_myself" ||
  1329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1330 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1331 	 X"$as_myself" : 'X\(//\)$' \| \
  1332 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1333 $as_echo X"$as_myself" |
  1334     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1335 	    s//\1/
  1338 	  /^X\(\/\/\)[^/].*/{
  1339 	    s//\1/
  1342 	  /^X\(\/\/\)$/{
  1343 	    s//\1/
  1346 	  /^X\(\/\).*/{
  1347 	    s//\1/
  1350 	  s/.*/./; q'`
  1351   srcdir=$ac_confdir
  1352   if test ! -r "$srcdir/$ac_unique_file"; then
  1353     srcdir=..
  1354   fi
  1355 else
  1356   ac_srcdir_defaulted=no
  1357 fi
  1358 if test ! -r "$srcdir/$ac_unique_file"; then
  1359   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1360   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1361    { (exit 1); exit 1; }; }
  1362 fi
  1363 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1364 ac_abs_confdir=`(
  1365 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1366    { (exit 1); exit 1; }; }
  1367 	pwd)`
  1368 # When building in place, set srcdir=.
  1369 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1370   srcdir=.
  1371 fi
  1372 # Remove unnecessary trailing slashes from srcdir.
  1373 # Double slashes in file names in object file debugging info
  1374 # mess up M-x gdb in Emacs.
  1375 case $srcdir in
  1376 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1377 esac
  1378 for ac_var in $ac_precious_vars; do
  1379   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1380   eval ac_env_${ac_var}_value=\$${ac_var}
  1381   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1382   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1383 done
  1386 # Report the --help message.
  1388 if test "$ac_init_help" = "long"; then
  1389   # Omit some internal or obsolete options to make the list less imposing.
  1390   # This message is too long to be a string in the A/UX 3.1 sh.
  1391   cat <<_ACEOF
  1392 \`configure' configures this package to adapt to many kinds of systems.
  1394 Usage: $0 [OPTION]... [VAR=VALUE]...
  1396 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1397 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1399 Defaults for the options are specified in brackets.
  1401 Configuration:
  1402   -h, --help              display this help and exit
  1403       --help=short        display options specific to this package
  1404       --help=recursive    display the short help of all the included packages
  1405   -V, --version           display version information and exit
  1406   -q, --quiet, --silent   do not print \`checking...' messages
  1407       --cache-file=FILE   cache test results in FILE [disabled]
  1408   -C, --config-cache      alias for \`--cache-file=config.cache'
  1409   -n, --no-create         do not create output files
  1410       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1412 Installation directories:
  1413   --prefix=PREFIX         install architecture-independent files in PREFIX
  1414                           [$ac_default_prefix]
  1415   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1416                           [PREFIX]
  1418 By default, \`make install' will install all the files in
  1419 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1420 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1421 for instance \`--prefix=\$HOME'.
  1423 For better control, use the options below.
  1425 Fine tuning of the installation directories:
  1426   --bindir=DIR            user executables [EPREFIX/bin]
  1427   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1428   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1429   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1430   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1431   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1432   --libdir=DIR            object code libraries [EPREFIX/lib]
  1433   --includedir=DIR        C header files [PREFIX/include]
  1434   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1435   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1436   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1437   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1438   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1439   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1440   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1441   --htmldir=DIR           html documentation [DOCDIR]
  1442   --dvidir=DIR            dvi documentation [DOCDIR]
  1443   --pdfdir=DIR            pdf documentation [DOCDIR]
  1444   --psdir=DIR             ps documentation [DOCDIR]
  1445 _ACEOF
  1447   cat <<\_ACEOF
  1449 Program names:
  1450   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1451   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1452   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1454 System types:
  1455   --build=BUILD     configure for building on BUILD [guessed]
  1456   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1457 _ACEOF
  1458 fi
  1460 if test -n "$ac_init_help"; then
  1462   cat <<\_ACEOF
  1464 Optional Features:
  1465   --disable-option-checking  ignore unrecognized --enable/--with options
  1466   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1467   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1468   --enable-maintainer-mode  enable make rules and dependencies not useful
  1469 			  (and sometimes confusing) to the casual installer
  1470   --disable-dependency-tracking  speeds up one-time build
  1471   --enable-dependency-tracking   do not reject slow dependency extractors
  1472   --enable-strict-warn    Enable strict compilation warnings
  1473   --disable-translator    Disable the SH4 translator (Enabled by default)
  1474   --disable-optimized     Disable compile-time optimizations (Enabled by
  1475                           default)
  1476   --enable-trace          Enable generation of IO traces (warning: hurts
  1477                           performance)
  1478   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1479                           performance)
  1480   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1482 Optional Packages:
  1483   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1484   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1485   --with-osmesa           Build with the osmesa GL library (software
  1486                           rendering)
  1487   --with-gtk              Build with the GTK UI. Default on X11 systems
  1488   --with-esd              Build with support for the ESounD audio system
  1489   --with-pulse            Build with support for the PulseAudio audio system
  1491 Some influential environment variables:
  1492   CC          C compiler command
  1493   CFLAGS      C compiler flags
  1494   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1495               nonstandard directory <lib dir>
  1496   LIBS        libraries to pass to the linker, e.g. -l<library>
  1497   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1498               you have headers in a nonstandard directory <include dir>
  1499   CCAS        assembler compiler command (defaults to CC)
  1500   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1501   CPP         C preprocessor
  1502   PKG_CONFIG  path to pkg-config utility
  1503   LIBPNG_CFLAGS
  1504               C compiler flags for LIBPNG, overriding pkg-config
  1505   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1506   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1507   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1508   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1509   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1510   PULSE_CFLAGS
  1511               C compiler flags for PULSE, overriding pkg-config
  1512   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1513   ESOUND_CFLAGS
  1514               C compiler flags for ESOUND, overriding pkg-config
  1515   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1516   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1517   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1519 Use these variables to override the choices made by `configure' or to help
  1520 it to find libraries and programs with nonstandard names/locations.
  1522 _ACEOF
  1523 ac_status=$?
  1524 fi
  1526 if test "$ac_init_help" = "recursive"; then
  1527   # If there are subdirs, report their specific --help.
  1528   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1529     test -d "$ac_dir" ||
  1530       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1531       continue
  1532     ac_builddir=.
  1534 case "$ac_dir" in
  1535 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1536 *)
  1537   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1538   # A ".." for each directory in $ac_dir_suffix.
  1539   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1540   case $ac_top_builddir_sub in
  1541   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1542   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1543   esac ;;
  1544 esac
  1545 ac_abs_top_builddir=$ac_pwd
  1546 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1547 # for backward compatibility:
  1548 ac_top_builddir=$ac_top_build_prefix
  1550 case $srcdir in
  1551   .)  # We are building in place.
  1552     ac_srcdir=.
  1553     ac_top_srcdir=$ac_top_builddir_sub
  1554     ac_abs_top_srcdir=$ac_pwd ;;
  1555   [\\/]* | ?:[\\/]* )  # Absolute name.
  1556     ac_srcdir=$srcdir$ac_dir_suffix;
  1557     ac_top_srcdir=$srcdir
  1558     ac_abs_top_srcdir=$srcdir ;;
  1559   *) # Relative name.
  1560     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1561     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1562     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1563 esac
  1564 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1566     cd "$ac_dir" || { ac_status=$?; continue; }
  1567     # Check for guested configure.
  1568     if test -f "$ac_srcdir/configure.gnu"; then
  1569       echo &&
  1570       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1571     elif test -f "$ac_srcdir/configure"; then
  1572       echo &&
  1573       $SHELL "$ac_srcdir/configure" --help=recursive
  1574     else
  1575       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1576     fi || ac_status=$?
  1577     cd "$ac_pwd" || { ac_status=$?; break; }
  1578   done
  1579 fi
  1581 test -n "$ac_init_help" && exit $ac_status
  1582 if $ac_init_version; then
  1583   cat <<\_ACEOF
  1584 configure
  1585 generated by GNU Autoconf 2.62
  1587 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1588 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1589 This configure script is free software; the Free Software Foundation
  1590 gives unlimited permission to copy, distribute and modify it.
  1591 _ACEOF
  1592   exit
  1593 fi
  1594 cat >config.log <<_ACEOF
  1595 This file contains any messages produced by compilers while
  1596 running configure, to aid debugging if configure makes a mistake.
  1598 It was created by $as_me, which was
  1599 generated by GNU Autoconf 2.62.  Invocation command line was
  1601   $ $0 $@
  1603 _ACEOF
  1604 exec 5>>config.log
  1606 cat <<_ASUNAME
  1607 ## --------- ##
  1608 ## Platform. ##
  1609 ## --------- ##
  1611 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1612 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1613 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1614 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1615 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1617 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1618 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1620 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1621 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1622 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1623 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1624 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1625 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1626 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1628 _ASUNAME
  1630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1631 for as_dir in $PATH
  1632 do
  1633   IFS=$as_save_IFS
  1634   test -z "$as_dir" && as_dir=.
  1635   $as_echo "PATH: $as_dir"
  1636 done
  1637 IFS=$as_save_IFS
  1639 } >&5
  1641 cat >&5 <<_ACEOF
  1644 ## ----------- ##
  1645 ## Core tests. ##
  1646 ## ----------- ##
  1648 _ACEOF
  1651 # Keep a trace of the command line.
  1652 # Strip out --no-create and --no-recursion so they do not pile up.
  1653 # Strip out --silent because we don't want to record it for future runs.
  1654 # Also quote any args containing shell meta-characters.
  1655 # Make two passes to allow for proper duplicate-argument suppression.
  1656 ac_configure_args=
  1657 ac_configure_args0=
  1658 ac_configure_args1=
  1659 ac_must_keep_next=false
  1660 for ac_pass in 1 2
  1661 do
  1662   for ac_arg
  1663   do
  1664     case $ac_arg in
  1665     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1666     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1667     | -silent | --silent | --silen | --sile | --sil)
  1668       continue ;;
  1669     *\'*)
  1670       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1671     esac
  1672     case $ac_pass in
  1673     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1674     2)
  1675       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1676       if test $ac_must_keep_next = true; then
  1677 	ac_must_keep_next=false # Got value, back to normal.
  1678       else
  1679 	case $ac_arg in
  1680 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1681 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1682 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1683 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1684 	    case "$ac_configure_args0 " in
  1685 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1686 	    esac
  1687 	    ;;
  1688 	  -* ) ac_must_keep_next=true ;;
  1689 	esac
  1690       fi
  1691       ac_configure_args="$ac_configure_args '$ac_arg'"
  1692       ;;
  1693     esac
  1694   done
  1695 done
  1696 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1697 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1699 # When interrupted or exit'd, cleanup temporary files, and complete
  1700 # config.log.  We remove comments because anyway the quotes in there
  1701 # would cause problems or look ugly.
  1702 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1703 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1704 trap 'exit_status=$?
  1705   # Save into config.log some information that might help in debugging.
  1707     echo
  1709     cat <<\_ASBOX
  1710 ## ---------------- ##
  1711 ## Cache variables. ##
  1712 ## ---------------- ##
  1713 _ASBOX
  1714     echo
  1715     # The following way of writing the cache mishandles newlines in values,
  1717   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1718     eval ac_val=\$$ac_var
  1719     case $ac_val in #(
  1720     *${as_nl}*)
  1721       case $ac_var in #(
  1722       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1723 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1724       esac
  1725       case $ac_var in #(
  1726       _ | IFS | as_nl) ;; #(
  1727       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1728       *) $as_unset $ac_var ;;
  1729       esac ;;
  1730     esac
  1731   done
  1732   (set) 2>&1 |
  1733     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1734     *${as_nl}ac_space=\ *)
  1735       sed -n \
  1736 	"s/'\''/'\''\\\\'\'''\''/g;
  1737 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1738       ;; #(
  1739     *)
  1740       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1741       ;;
  1742     esac |
  1743     sort
  1745     echo
  1747     cat <<\_ASBOX
  1748 ## ----------------- ##
  1749 ## Output variables. ##
  1750 ## ----------------- ##
  1751 _ASBOX
  1752     echo
  1753     for ac_var in $ac_subst_vars
  1754     do
  1755       eval ac_val=\$$ac_var
  1756       case $ac_val in
  1757       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1758       esac
  1759       $as_echo "$ac_var='\''$ac_val'\''"
  1760     done | sort
  1761     echo
  1763     if test -n "$ac_subst_files"; then
  1764       cat <<\_ASBOX
  1765 ## ------------------- ##
  1766 ## File substitutions. ##
  1767 ## ------------------- ##
  1768 _ASBOX
  1769       echo
  1770       for ac_var in $ac_subst_files
  1771       do
  1772 	eval ac_val=\$$ac_var
  1773 	case $ac_val in
  1774 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1775 	esac
  1776 	$as_echo "$ac_var='\''$ac_val'\''"
  1777       done | sort
  1778       echo
  1779     fi
  1781     if test -s confdefs.h; then
  1782       cat <<\_ASBOX
  1783 ## ----------- ##
  1784 ## confdefs.h. ##
  1785 ## ----------- ##
  1786 _ASBOX
  1787       echo
  1788       cat confdefs.h
  1789       echo
  1790     fi
  1791     test "$ac_signal" != 0 &&
  1792       $as_echo "$as_me: caught signal $ac_signal"
  1793     $as_echo "$as_me: exit $exit_status"
  1794   } >&5
  1795   rm -f core *.core core.conftest.* &&
  1796     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1797     exit $exit_status
  1798 ' 0
  1799 for ac_signal in 1 2 13 15; do
  1800   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1801 done
  1802 ac_signal=0
  1804 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1805 rm -f -r conftest* confdefs.h
  1807 # Predefined preprocessor variables.
  1809 cat >>confdefs.h <<_ACEOF
  1810 #define PACKAGE_NAME "$PACKAGE_NAME"
  1811 _ACEOF
  1814 cat >>confdefs.h <<_ACEOF
  1815 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1816 _ACEOF
  1819 cat >>confdefs.h <<_ACEOF
  1820 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1821 _ACEOF
  1824 cat >>confdefs.h <<_ACEOF
  1825 #define PACKAGE_STRING "$PACKAGE_STRING"
  1826 _ACEOF
  1829 cat >>confdefs.h <<_ACEOF
  1830 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1831 _ACEOF
  1834 # Let the site file select an alternate cache file if it wants to.
  1835 # Prefer an explicitly selected file to automatically selected ones.
  1836 ac_site_file1=NONE
  1837 ac_site_file2=NONE
  1838 if test -n "$CONFIG_SITE"; then
  1839   ac_site_file1=$CONFIG_SITE
  1840 elif test "x$prefix" != xNONE; then
  1841   ac_site_file1=$prefix/share/config.site
  1842   ac_site_file2=$prefix/etc/config.site
  1843 else
  1844   ac_site_file1=$ac_default_prefix/share/config.site
  1845   ac_site_file2=$ac_default_prefix/etc/config.site
  1846 fi
  1847 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1848 do
  1849   test "x$ac_site_file" = xNONE && continue
  1850   if test -r "$ac_site_file"; then
  1851     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1852 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1853     sed 's/^/| /' "$ac_site_file" >&5
  1854     . "$ac_site_file"
  1855   fi
  1856 done
  1858 if test -r "$cache_file"; then
  1859   # Some versions of bash will fail to source /dev/null (special
  1860   # files actually), so we avoid doing that.
  1861   if test -f "$cache_file"; then
  1862     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1863 $as_echo "$as_me: loading cache $cache_file" >&6;}
  1864     case $cache_file in
  1865       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1866       *)                      . "./$cache_file";;
  1867     esac
  1868   fi
  1869 else
  1870   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1871 $as_echo "$as_me: creating cache $cache_file" >&6;}
  1872   >$cache_file
  1873 fi
  1875 # Check that the precious variables saved in the cache have kept the same
  1876 # value.
  1877 ac_cache_corrupted=false
  1878 for ac_var in $ac_precious_vars; do
  1879   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1880   eval ac_new_set=\$ac_env_${ac_var}_set
  1881   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1882   eval ac_new_val=\$ac_env_${ac_var}_value
  1883   case $ac_old_set,$ac_new_set in
  1884     set,)
  1885       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1886 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1887       ac_cache_corrupted=: ;;
  1888     ,set)
  1889       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1890 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1891       ac_cache_corrupted=: ;;
  1892     ,);;
  1893     *)
  1894       if test "x$ac_old_val" != "x$ac_new_val"; then
  1895 	# differences in whitespace do not lead to failure.
  1896 	ac_old_val_w=`echo x $ac_old_val`
  1897 	ac_new_val_w=`echo x $ac_new_val`
  1898 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1899 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1900 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1901 	  ac_cache_corrupted=:
  1902 	else
  1903 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1904 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1905 	  eval $ac_var=\$ac_old_val
  1906 	fi
  1907 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  1908 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1909 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  1910 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1911       fi;;
  1912   esac
  1913   # Pass precious variables to config.status.
  1914   if test "$ac_new_set" = set; then
  1915     case $ac_new_val in
  1916     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1917     *) ac_arg=$ac_var=$ac_new_val ;;
  1918     esac
  1919     case " $ac_configure_args " in
  1920       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1921       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1922     esac
  1923   fi
  1924 done
  1925 if $ac_cache_corrupted; then
  1926   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1927 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1928   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1929 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1930    { (exit 1); exit 1; }; }
  1931 fi
  1949 ac_ext=c
  1950 ac_cpp='$CPP $CPPFLAGS'
  1951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1956 am__api_version="1.9"
  1957 ac_aux_dir=
  1958 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1959   if test -f "$ac_dir/install-sh"; then
  1960     ac_aux_dir=$ac_dir
  1961     ac_install_sh="$ac_aux_dir/install-sh -c"
  1962     break
  1963   elif test -f "$ac_dir/install.sh"; then
  1964     ac_aux_dir=$ac_dir
  1965     ac_install_sh="$ac_aux_dir/install.sh -c"
  1966     break
  1967   elif test -f "$ac_dir/shtool"; then
  1968     ac_aux_dir=$ac_dir
  1969     ac_install_sh="$ac_aux_dir/shtool install -c"
  1970     break
  1971   fi
  1972 done
  1973 if test -z "$ac_aux_dir"; then
  1974   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1975 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1976    { (exit 1); exit 1; }; }
  1977 fi
  1979 # These three variables are undocumented and unsupported,
  1980 # and are intended to be withdrawn in a future Autoconf release.
  1981 # They can cause serious problems if a builder's source tree is in a directory
  1982 # whose full name contains unusual characters.
  1983 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1984 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1985 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1988 # Find a good install program.  We prefer a C program (faster),
  1989 # so one script is as good as another.  But avoid the broken or
  1990 # incompatible versions:
  1991 # SysV /etc/install, /usr/sbin/install
  1992 # SunOS /usr/etc/install
  1993 # IRIX /sbin/install
  1994 # AIX /bin/install
  1995 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1996 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1997 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1998 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1999 # OS/2's system install, which has a completely different semantic
  2000 # ./install, which can be erroneously created by make from ./install.sh.
  2001 # Reject install programs that cannot install multiple files.
  2002 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2003 $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2004 if test -z "$INSTALL"; then
  2005 if test "${ac_cv_path_install+set}" = set; then
  2006   $as_echo_n "(cached) " >&6
  2007 else
  2008   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2009 for as_dir in $PATH
  2010 do
  2011   IFS=$as_save_IFS
  2012   test -z "$as_dir" && as_dir=.
  2013   # Account for people who put trailing slashes in PATH elements.
  2014 case $as_dir/ in
  2015   ./ | .// | /cC/* | \
  2016   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2017   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2018   /usr/ucb/* ) ;;
  2019   *)
  2020     # OSF1 and SCO ODT 3.0 have their own names for install.
  2021     # Don't use installbsd from OSF since it installs stuff as root
  2022     # by default.
  2023     for ac_prog in ginstall scoinst install; do
  2024       for ac_exec_ext in '' $ac_executable_extensions; do
  2025 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2026 	  if test $ac_prog = install &&
  2027 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2028 	    # AIX install.  It has an incompatible calling convention.
  2030 	  elif test $ac_prog = install &&
  2031 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2032 	    # program-specific install script used by HP pwplus--don't use.
  2034 	  else
  2035 	    rm -rf conftest.one conftest.two conftest.dir
  2036 	    echo one > conftest.one
  2037 	    echo two > conftest.two
  2038 	    mkdir conftest.dir
  2039 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2040 	      test -s conftest.one && test -s conftest.two &&
  2041 	      test -s conftest.dir/conftest.one &&
  2042 	      test -s conftest.dir/conftest.two
  2043 	    then
  2044 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2045 	      break 3
  2046 	    fi
  2047 	  fi
  2048 	fi
  2049       done
  2050     done
  2051     ;;
  2052 esac
  2054 done
  2055 IFS=$as_save_IFS
  2057 rm -rf conftest.one conftest.two conftest.dir
  2059 fi
  2060   if test "${ac_cv_path_install+set}" = set; then
  2061     INSTALL=$ac_cv_path_install
  2062   else
  2063     # As a last resort, use the slow shell script.  Don't cache a
  2064     # value for INSTALL within a source directory, because that will
  2065     # break other packages using the cache if that directory is
  2066     # removed, or if the value is a relative name.
  2067     INSTALL=$ac_install_sh
  2068   fi
  2069 fi
  2070 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2071 $as_echo "$INSTALL" >&6; }
  2073 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2074 # It thinks the first close brace ends the variable substitution.
  2075 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2077 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2079 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2081 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2082 $as_echo_n "checking whether build environment is sane... " >&6; }
  2083 # Just in case
  2084 sleep 1
  2085 echo timestamp > conftest.file
  2086 # Do `set' in a subshell so we don't clobber the current shell's
  2087 # arguments.  Must try -L first in case configure is actually a
  2088 # symlink; some systems play weird games with the mod time of symlinks
  2089 # (eg FreeBSD returns the mod time of the symlink's containing
  2090 # directory).
  2091 if (
  2092    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2093    if test "$*" = "X"; then
  2094       # -L didn't work.
  2095       set X `ls -t $srcdir/configure conftest.file`
  2096    fi
  2097    rm -f conftest.file
  2098    if test "$*" != "X $srcdir/configure conftest.file" \
  2099       && test "$*" != "X conftest.file $srcdir/configure"; then
  2101       # If neither matched, then we have a broken ls.  This can happen
  2102       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2103       # broken ls alias from the environment.  This has actually
  2104       # happened.  Such a system could not be considered "sane".
  2105       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2106 alias in your environment" >&5
  2107 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2108 alias in your environment" >&2;}
  2109    { (exit 1); exit 1; }; }
  2110    fi
  2112    test "$2" = conftest.file
  2114 then
  2115    # Ok.
  2117 else
  2118    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2119 Check your system clock" >&5
  2120 $as_echo "$as_me: error: newly created file is older than distributed files!
  2121 Check your system clock" >&2;}
  2122    { (exit 1); exit 1; }; }
  2123 fi
  2124 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2125 $as_echo "yes" >&6; }
  2126 test "$program_prefix" != NONE &&
  2127   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2128 # Use a double $ so make ignores it.
  2129 test "$program_suffix" != NONE &&
  2130   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2131 # Double any \ or $.
  2132 # By default was `s,x,x', remove it if useless.
  2133 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2134 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2136 # expand $ac_aux_dir to an absolute path
  2137 am_aux_dir=`cd $ac_aux_dir && pwd`
  2139 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2140 # Use eval to expand $SHELL
  2141 if eval "$MISSING --run true"; then
  2142   am_missing_run="$MISSING --run "
  2143 else
  2144   am_missing_run=
  2145   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2146 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2147 fi
  2149 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2150   # We used to keeping the `.' as first argument, in order to
  2151   # allow $(mkdir_p) to be used without argument.  As in
  2152   #   $(mkdir_p) $(somedir)
  2153   # where $(somedir) is conditionally defined.  However this is wrong
  2154   # for two reasons:
  2155   #  1. if the package is installed by a user who cannot write `.'
  2156   #     make install will fail,
  2157   #  2. the above comment should most certainly read
  2158   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2159   #     so it does not work when $(somedir) is undefined and
  2160   #     $(DESTDIR) is not.
  2161   #  To support the latter case, we have to write
  2162   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2163   #  so the `.' trick is pointless.
  2164   mkdir_p='mkdir -p --'
  2165 else
  2166   # On NextStep and OpenStep, the `mkdir' command does not
  2167   # recognize any option.  It will interpret all options as
  2168   # directories to create, and then abort because `.' already
  2169   # exists.
  2170   for d in ./-p ./--version;
  2171   do
  2172     test -d $d && rmdir $d
  2173   done
  2174   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2175   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2176     mkdir_p='$(mkinstalldirs)'
  2177   else
  2178     mkdir_p='$(install_sh) -d'
  2179   fi
  2180 fi
  2182 for ac_prog in gawk mawk nawk awk
  2183 do
  2184   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2185 set dummy $ac_prog; ac_word=$2
  2186 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2187 $as_echo_n "checking for $ac_word... " >&6; }
  2188 if test "${ac_cv_prog_AWK+set}" = set; then
  2189   $as_echo_n "(cached) " >&6
  2190 else
  2191   if test -n "$AWK"; then
  2192   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2193 else
  2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2195 for as_dir in $PATH
  2196 do
  2197   IFS=$as_save_IFS
  2198   test -z "$as_dir" && as_dir=.
  2199   for ac_exec_ext in '' $ac_executable_extensions; do
  2200   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2201     ac_cv_prog_AWK="$ac_prog"
  2202     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2203     break 2
  2204   fi
  2205 done
  2206 done
  2207 IFS=$as_save_IFS
  2209 fi
  2210 fi
  2211 AWK=$ac_cv_prog_AWK
  2212 if test -n "$AWK"; then
  2213   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2214 $as_echo "$AWK" >&6; }
  2215 else
  2216   { $as_echo "$as_me:$LINENO: result: no" >&5
  2217 $as_echo "no" >&6; }
  2218 fi
  2221   test -n "$AWK" && break
  2222 done
  2224 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2225 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2226 set x ${MAKE-make}
  2227 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2228 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2229   $as_echo_n "(cached) " >&6
  2230 else
  2231   cat >conftest.make <<\_ACEOF
  2232 SHELL = /bin/sh
  2233 all:
  2234 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2235 _ACEOF
  2236 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2237 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2238   *@@@%%%=?*=@@@%%%*)
  2239     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2240   *)
  2241     eval ac_cv_prog_make_${ac_make}_set=no;;
  2242 esac
  2243 rm -f conftest.make
  2244 fi
  2245 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2246   { $as_echo "$as_me:$LINENO: result: yes" >&5
  2247 $as_echo "yes" >&6; }
  2248   SET_MAKE=
  2249 else
  2250   { $as_echo "$as_me:$LINENO: result: no" >&5
  2251 $as_echo "no" >&6; }
  2252   SET_MAKE="MAKE=${MAKE-make}"
  2253 fi
  2255 rm -rf .tst 2>/dev/null
  2256 mkdir .tst 2>/dev/null
  2257 if test -d .tst; then
  2258   am__leading_dot=.
  2259 else
  2260   am__leading_dot=_
  2261 fi
  2262 rmdir .tst 2>/dev/null
  2264 # test to see if srcdir already configured
  2265 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2266    test -f $srcdir/config.status; then
  2267   { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2268 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2269    { (exit 1); exit 1; }; }
  2270 fi
  2272 # test whether we have cygpath
  2273 if test -z "$CYGPATH_W"; then
  2274   if (cygpath --version) >/dev/null 2>/dev/null; then
  2275     CYGPATH_W='cygpath -w'
  2276   else
  2277     CYGPATH_W=echo
  2278   fi
  2279 fi
  2282 # Define the identity of the package.
  2283  PACKAGE=lxdream
  2284  VERSION=0.9
  2287 cat >>confdefs.h <<_ACEOF
  2288 #define PACKAGE "$PACKAGE"
  2289 _ACEOF
  2292 cat >>confdefs.h <<_ACEOF
  2293 #define VERSION "$VERSION"
  2294 _ACEOF
  2296 # Some tools Automake needs.
  2298 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2301 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2304 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2307 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2310 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2312 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2314 # Installed binaries are usually stripped using `strip' when the user
  2315 # run `make install-strip'.  However `strip' might not be the right
  2316 # tool to use in cross-compilation environments, therefore Automake
  2317 # will honor the `STRIP' environment variable to overrule this program.
  2318 if test "$cross_compiling" != no; then
  2319   if test -n "$ac_tool_prefix"; then
  2320   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2321 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2322 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2323 $as_echo_n "checking for $ac_word... " >&6; }
  2324 if test "${ac_cv_prog_STRIP+set}" = set; then
  2325   $as_echo_n "(cached) " >&6
  2326 else
  2327   if test -n "$STRIP"; then
  2328   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2329 else
  2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2331 for as_dir in $PATH
  2332 do
  2333   IFS=$as_save_IFS
  2334   test -z "$as_dir" && as_dir=.
  2335   for ac_exec_ext in '' $ac_executable_extensions; do
  2336   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2337     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2338     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2339     break 2
  2340   fi
  2341 done
  2342 done
  2343 IFS=$as_save_IFS
  2345 fi
  2346 fi
  2347 STRIP=$ac_cv_prog_STRIP
  2348 if test -n "$STRIP"; then
  2349   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2350 $as_echo "$STRIP" >&6; }
  2351 else
  2352   { $as_echo "$as_me:$LINENO: result: no" >&5
  2353 $as_echo "no" >&6; }
  2354 fi
  2357 fi
  2358 if test -z "$ac_cv_prog_STRIP"; then
  2359   ac_ct_STRIP=$STRIP
  2360   # Extract the first word of "strip", so it can be a program name with args.
  2361 set dummy strip; ac_word=$2
  2362 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2363 $as_echo_n "checking for $ac_word... " >&6; }
  2364 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2365   $as_echo_n "(cached) " >&6
  2366 else
  2367   if test -n "$ac_ct_STRIP"; then
  2368   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2369 else
  2370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2371 for as_dir in $PATH
  2372 do
  2373   IFS=$as_save_IFS
  2374   test -z "$as_dir" && as_dir=.
  2375   for ac_exec_ext in '' $ac_executable_extensions; do
  2376   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2377     ac_cv_prog_ac_ct_STRIP="strip"
  2378     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2379     break 2
  2380   fi
  2381 done
  2382 done
  2383 IFS=$as_save_IFS
  2385 fi
  2386 fi
  2387 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2388 if test -n "$ac_ct_STRIP"; then
  2389   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2390 $as_echo "$ac_ct_STRIP" >&6; }
  2391 else
  2392   { $as_echo "$as_me:$LINENO: result: no" >&5
  2393 $as_echo "no" >&6; }
  2394 fi
  2396   if test "x$ac_ct_STRIP" = x; then
  2397     STRIP=":"
  2398   else
  2399     case $cross_compiling:$ac_tool_warned in
  2400 yes:)
  2401 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2402 whose name does not start with the host triplet.  If you think this
  2403 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2404 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2405 whose name does not start with the host triplet.  If you think this
  2406 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2407 ac_tool_warned=yes ;;
  2408 esac
  2409     STRIP=$ac_ct_STRIP
  2410   fi
  2411 else
  2412   STRIP="$ac_cv_prog_STRIP"
  2413 fi
  2415 fi
  2416 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2418 # We need awk for the "check" target.  The system "awk" is bad on
  2419 # some platforms.
  2420 # Always define AMTAR for backward compatibility.
  2422 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2424 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2430 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2431 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2432     # Check whether --enable-maintainer-mode was given.
  2433 if test "${enable_maintainer_mode+set}" = set; then
  2434   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2435 else
  2436   USE_MAINTAINER_MODE=no
  2437 fi
  2439   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2440 $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2443 if test $USE_MAINTAINER_MODE = yes; then
  2444   MAINTAINER_MODE_TRUE=
  2445   MAINTAINER_MODE_FALSE='#'
  2446 else
  2447   MAINTAINER_MODE_TRUE='#'
  2448   MAINTAINER_MODE_FALSE=
  2449 fi
  2451   MAINT=$MAINTAINER_MODE_TRUE
  2454 ac_config_headers="$ac_config_headers config.h"
  2457 DEPDIR="${am__leading_dot}deps"
  2459 ac_config_commands="$ac_config_commands depfiles"
  2462 am_make=${MAKE-make}
  2463 cat > confinc << 'END'
  2464 am__doit:
  2465 	@echo done
  2466 .PHONY: am__doit
  2467 END
  2468 # If we don't find an include directive, just comment out the code.
  2469 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2470 $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2471 am__include="#"
  2472 am__quote=
  2473 _am_result=none
  2474 # First try GNU make style include.
  2475 echo "include confinc" > confmf
  2476 # We grep out `Entering directory' and `Leaving directory'
  2477 # messages which can occur if `w' ends up in MAKEFLAGS.
  2478 # In particular we don't look at `^make:' because GNU make might
  2479 # be invoked under some other name (usually "gmake"), in which
  2480 # case it prints its new name instead of `make'.
  2481 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2482    am__include=include
  2483    am__quote=
  2484    _am_result=GNU
  2485 fi
  2486 # Now try BSD make style include.
  2487 if test "$am__include" = "#"; then
  2488    echo '.include "confinc"' > confmf
  2489    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2490       am__include=.include
  2491       am__quote="\""
  2492       _am_result=BSD
  2493    fi
  2494 fi
  2497 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  2498 $as_echo "$_am_result" >&6; }
  2499 rm -f confinc confmf
  2501 # Check whether --enable-dependency-tracking was given.
  2502 if test "${enable_dependency_tracking+set}" = set; then
  2503   enableval=$enable_dependency_tracking;
  2504 fi
  2506 if test "x$enable_dependency_tracking" != xno; then
  2507   am_depcomp="$ac_aux_dir/depcomp"
  2508   AMDEPBACKSLASH='\'
  2509 fi
  2512 if test "x$enable_dependency_tracking" != xno; then
  2513   AMDEP_TRUE=
  2514   AMDEP_FALSE='#'
  2515 else
  2516   AMDEP_TRUE='#'
  2517   AMDEP_FALSE=
  2518 fi
  2522 ac_ext=c
  2523 ac_cpp='$CPP $CPPFLAGS'
  2524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2527 if test -n "$ac_tool_prefix"; then
  2528   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2529 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2530 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2531 $as_echo_n "checking for $ac_word... " >&6; }
  2532 if test "${ac_cv_prog_CC+set}" = set; then
  2533   $as_echo_n "(cached) " >&6
  2534 else
  2535   if test -n "$CC"; then
  2536   ac_cv_prog_CC="$CC" # Let the user override the test.
  2537 else
  2538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2539 for as_dir in $PATH
  2540 do
  2541   IFS=$as_save_IFS
  2542   test -z "$as_dir" && as_dir=.
  2543   for ac_exec_ext in '' $ac_executable_extensions; do
  2544   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2545     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2546     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2547     break 2
  2548   fi
  2549 done
  2550 done
  2551 IFS=$as_save_IFS
  2553 fi
  2554 fi
  2555 CC=$ac_cv_prog_CC
  2556 if test -n "$CC"; then
  2557   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2558 $as_echo "$CC" >&6; }
  2559 else
  2560   { $as_echo "$as_me:$LINENO: result: no" >&5
  2561 $as_echo "no" >&6; }
  2562 fi
  2565 fi
  2566 if test -z "$ac_cv_prog_CC"; then
  2567   ac_ct_CC=$CC
  2568   # Extract the first word of "gcc", so it can be a program name with args.
  2569 set dummy gcc; ac_word=$2
  2570 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2571 $as_echo_n "checking for $ac_word... " >&6; }
  2572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2573   $as_echo_n "(cached) " >&6
  2574 else
  2575   if test -n "$ac_ct_CC"; then
  2576   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2577 else
  2578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2579 for as_dir in $PATH
  2580 do
  2581   IFS=$as_save_IFS
  2582   test -z "$as_dir" && as_dir=.
  2583   for ac_exec_ext in '' $ac_executable_extensions; do
  2584   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2585     ac_cv_prog_ac_ct_CC="gcc"
  2586     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2587     break 2
  2588   fi
  2589 done
  2590 done
  2591 IFS=$as_save_IFS
  2593 fi
  2594 fi
  2595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2596 if test -n "$ac_ct_CC"; then
  2597   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2598 $as_echo "$ac_ct_CC" >&6; }
  2599 else
  2600   { $as_echo "$as_me:$LINENO: result: no" >&5
  2601 $as_echo "no" >&6; }
  2602 fi
  2604   if test "x$ac_ct_CC" = x; then
  2605     CC=""
  2606   else
  2607     case $cross_compiling:$ac_tool_warned in
  2608 yes:)
  2609 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2610 whose name does not start with the host triplet.  If you think this
  2611 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2612 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2613 whose name does not start with the host triplet.  If you think this
  2614 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2615 ac_tool_warned=yes ;;
  2616 esac
  2617     CC=$ac_ct_CC
  2618   fi
  2619 else
  2620   CC="$ac_cv_prog_CC"
  2621 fi
  2623 if test -z "$CC"; then
  2624           if test -n "$ac_tool_prefix"; then
  2625     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2626 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2627 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2628 $as_echo_n "checking for $ac_word... " >&6; }
  2629 if test "${ac_cv_prog_CC+set}" = set; then
  2630   $as_echo_n "(cached) " >&6
  2631 else
  2632   if test -n "$CC"; then
  2633   ac_cv_prog_CC="$CC" # Let the user override the test.
  2634 else
  2635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2636 for as_dir in $PATH
  2637 do
  2638   IFS=$as_save_IFS
  2639   test -z "$as_dir" && as_dir=.
  2640   for ac_exec_ext in '' $ac_executable_extensions; do
  2641   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2642     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2643     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2644     break 2
  2645   fi
  2646 done
  2647 done
  2648 IFS=$as_save_IFS
  2650 fi
  2651 fi
  2652 CC=$ac_cv_prog_CC
  2653 if test -n "$CC"; then
  2654   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2655 $as_echo "$CC" >&6; }
  2656 else
  2657   { $as_echo "$as_me:$LINENO: result: no" >&5
  2658 $as_echo "no" >&6; }
  2659 fi
  2662   fi
  2663 fi
  2664 if test -z "$CC"; then
  2665   # Extract the first word of "cc", so it can be a program name with args.
  2666 set dummy cc; ac_word=$2
  2667 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2668 $as_echo_n "checking for $ac_word... " >&6; }
  2669 if test "${ac_cv_prog_CC+set}" = set; then
  2670   $as_echo_n "(cached) " >&6
  2671 else
  2672   if test -n "$CC"; then
  2673   ac_cv_prog_CC="$CC" # Let the user override the test.
  2674 else
  2675   ac_prog_rejected=no
  2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2677 for as_dir in $PATH
  2678 do
  2679   IFS=$as_save_IFS
  2680   test -z "$as_dir" && as_dir=.
  2681   for ac_exec_ext in '' $ac_executable_extensions; do
  2682   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2683     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2684        ac_prog_rejected=yes
  2685        continue
  2686      fi
  2687     ac_cv_prog_CC="cc"
  2688     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2689     break 2
  2690   fi
  2691 done
  2692 done
  2693 IFS=$as_save_IFS
  2695 if test $ac_prog_rejected = yes; then
  2696   # We found a bogon in the path, so make sure we never use it.
  2697   set dummy $ac_cv_prog_CC
  2698   shift
  2699   if test $# != 0; then
  2700     # We chose a different compiler from the bogus one.
  2701     # However, it has the same basename, so the bogon will be chosen
  2702     # first if we set CC to just the basename; use the full file name.
  2703     shift
  2704     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2705   fi
  2706 fi
  2707 fi
  2708 fi
  2709 CC=$ac_cv_prog_CC
  2710 if test -n "$CC"; then
  2711   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2712 $as_echo "$CC" >&6; }
  2713 else
  2714   { $as_echo "$as_me:$LINENO: result: no" >&5
  2715 $as_echo "no" >&6; }
  2716 fi
  2719 fi
  2720 if test -z "$CC"; then
  2721   if test -n "$ac_tool_prefix"; then
  2722   for ac_prog in cl.exe
  2723   do
  2724     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2726 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2727 $as_echo_n "checking for $ac_word... " >&6; }
  2728 if test "${ac_cv_prog_CC+set}" = set; then
  2729   $as_echo_n "(cached) " >&6
  2730 else
  2731   if test -n "$CC"; then
  2732   ac_cv_prog_CC="$CC" # Let the user override the test.
  2733 else
  2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2735 for as_dir in $PATH
  2736 do
  2737   IFS=$as_save_IFS
  2738   test -z "$as_dir" && as_dir=.
  2739   for ac_exec_ext in '' $ac_executable_extensions; do
  2740   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2741     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2742     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2743     break 2
  2744   fi
  2745 done
  2746 done
  2747 IFS=$as_save_IFS
  2749 fi
  2750 fi
  2751 CC=$ac_cv_prog_CC
  2752 if test -n "$CC"; then
  2753   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2754 $as_echo "$CC" >&6; }
  2755 else
  2756   { $as_echo "$as_me:$LINENO: result: no" >&5
  2757 $as_echo "no" >&6; }
  2758 fi
  2761     test -n "$CC" && break
  2762   done
  2763 fi
  2764 if test -z "$CC"; then
  2765   ac_ct_CC=$CC
  2766   for ac_prog in cl.exe
  2767 do
  2768   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2769 set dummy $ac_prog; ac_word=$2
  2770 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2771 $as_echo_n "checking for $ac_word... " >&6; }
  2772 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2773   $as_echo_n "(cached) " >&6
  2774 else
  2775   if test -n "$ac_ct_CC"; then
  2776   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2777 else
  2778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2779 for as_dir in $PATH
  2780 do
  2781   IFS=$as_save_IFS
  2782   test -z "$as_dir" && as_dir=.
  2783   for ac_exec_ext in '' $ac_executable_extensions; do
  2784   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2785     ac_cv_prog_ac_ct_CC="$ac_prog"
  2786     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2787     break 2
  2788   fi
  2789 done
  2790 done
  2791 IFS=$as_save_IFS
  2793 fi
  2794 fi
  2795 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2796 if test -n "$ac_ct_CC"; then
  2797   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2798 $as_echo "$ac_ct_CC" >&6; }
  2799 else
  2800   { $as_echo "$as_me:$LINENO: result: no" >&5
  2801 $as_echo "no" >&6; }
  2802 fi
  2805   test -n "$ac_ct_CC" && break
  2806 done
  2808   if test "x$ac_ct_CC" = x; then
  2809     CC=""
  2810   else
  2811     case $cross_compiling:$ac_tool_warned in
  2812 yes:)
  2813 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2814 whose name does not start with the host triplet.  If you think this
  2815 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2816 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2817 whose name does not start with the host triplet.  If you think this
  2818 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2819 ac_tool_warned=yes ;;
  2820 esac
  2821     CC=$ac_ct_CC
  2822   fi
  2823 fi
  2825 fi
  2828 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2829 See \`config.log' for more details." >&5
  2830 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2831 See \`config.log' for more details." >&2;}
  2832    { (exit 1); exit 1; }; }
  2834 # Provide some information about the compiler.
  2835 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2836 set X $ac_compile
  2837 ac_compiler=$2
  2838 { (ac_try="$ac_compiler --version >&5"
  2839 case "(($ac_try" in
  2840   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2841   *) ac_try_echo=$ac_try;;
  2842 esac
  2843 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2844 $as_echo "$ac_try_echo") >&5
  2845   (eval "$ac_compiler --version >&5") 2>&5
  2846   ac_status=$?
  2847   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2848   (exit $ac_status); }
  2849 { (ac_try="$ac_compiler -v >&5"
  2850 case "(($ac_try" in
  2851   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2852   *) ac_try_echo=$ac_try;;
  2853 esac
  2854 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2855 $as_echo "$ac_try_echo") >&5
  2856   (eval "$ac_compiler -v >&5") 2>&5
  2857   ac_status=$?
  2858   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2859   (exit $ac_status); }
  2860 { (ac_try="$ac_compiler -V >&5"
  2861 case "(($ac_try" in
  2862   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2863   *) ac_try_echo=$ac_try;;
  2864 esac
  2865 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2866 $as_echo "$ac_try_echo") >&5
  2867   (eval "$ac_compiler -V >&5") 2>&5
  2868   ac_status=$?
  2869   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2870   (exit $ac_status); }
  2872 cat >conftest.$ac_ext <<_ACEOF
  2873 /* confdefs.h.  */
  2874 _ACEOF
  2875 cat confdefs.h >>conftest.$ac_ext
  2876 cat >>conftest.$ac_ext <<_ACEOF
  2877 /* end confdefs.h.  */
  2879 int
  2880 main ()
  2884   return 0;
  2886 _ACEOF
  2887 ac_clean_files_save=$ac_clean_files
  2888 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2889 # Try to create an executable without -o first, disregard a.out.
  2890 # It will help us diagnose broken compilers, and finding out an intuition
  2891 # of exeext.
  2892 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2893 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2894 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2896 # The possible output files:
  2897 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2899 ac_rmfiles=
  2900 for ac_file in $ac_files
  2901 do
  2902   case $ac_file in
  2903     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2904     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2905   esac
  2906 done
  2907 rm -f $ac_rmfiles
  2909 if { (ac_try="$ac_link_default"
  2910 case "(($ac_try" in
  2911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2912   *) ac_try_echo=$ac_try;;
  2913 esac
  2914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2915 $as_echo "$ac_try_echo") >&5
  2916   (eval "$ac_link_default") 2>&5
  2917   ac_status=$?
  2918   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2919   (exit $ac_status); }; then
  2920   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2921 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2922 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2923 # so that the user can short-circuit this test for compilers unknown to
  2924 # Autoconf.
  2925 for ac_file in $ac_files ''
  2926 do
  2927   test -f "$ac_file" || continue
  2928   case $ac_file in
  2929     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2930 	;;
  2931     [ab].out )
  2932 	# We found the default executable, but exeext='' is most
  2933 	# certainly right.
  2934 	break;;
  2935     *.* )
  2936         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2937 	then :; else
  2938 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2939 	fi
  2940 	# We set ac_cv_exeext here because the later test for it is not
  2941 	# safe: cross compilers may not add the suffix if given an `-o'
  2942 	# argument, so we may need to know it at that point already.
  2943 	# Even if this section looks crufty: it has the advantage of
  2944 	# actually working.
  2945 	break;;
  2946     * )
  2947 	break;;
  2948   esac
  2949 done
  2950 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2952 else
  2953   ac_file=''
  2954 fi
  2956 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2957 $as_echo "$ac_file" >&6; }
  2958 if test -z "$ac_file"; then
  2959   $as_echo "$as_me: failed program was:" >&5
  2960 sed 's/^/| /' conftest.$ac_ext >&5
  2962 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2963 See \`config.log' for more details." >&5
  2964 $as_echo "$as_me: error: C compiler cannot create executables
  2965 See \`config.log' for more details." >&2;}
  2966    { (exit 77); exit 77; }; }
  2967 fi
  2969 ac_exeext=$ac_cv_exeext
  2971 # Check that the compiler produces executables we can run.  If not, either
  2972 # the compiler is broken, or we cross compile.
  2973 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2974 $as_echo_n "checking whether the C compiler works... " >&6; }
  2975 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2976 # If not cross compiling, check that we can run a simple program.
  2977 if test "$cross_compiling" != yes; then
  2978   if { ac_try='./$ac_file'
  2979   { (case "(($ac_try" in
  2980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2981   *) ac_try_echo=$ac_try;;
  2982 esac
  2983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2984 $as_echo "$ac_try_echo") >&5
  2985   (eval "$ac_try") 2>&5
  2986   ac_status=$?
  2987   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2988   (exit $ac_status); }; }; then
  2989     cross_compiling=no
  2990   else
  2991     if test "$cross_compiling" = maybe; then
  2992 	cross_compiling=yes
  2993     else
  2994 	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2995 If you meant to cross compile, use \`--host'.
  2996 See \`config.log' for more details." >&5
  2997 $as_echo "$as_me: error: cannot run C compiled programs.
  2998 If you meant to cross compile, use \`--host'.
  2999 See \`config.log' for more details." >&2;}
  3000    { (exit 1); exit 1; }; }
  3001     fi
  3002   fi
  3003 fi
  3004 { $as_echo "$as_me:$LINENO: result: yes" >&5
  3005 $as_echo "yes" >&6; }
  3007 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3008 ac_clean_files=$ac_clean_files_save
  3009 # Check that the compiler produces executables we can run.  If not, either
  3010 # the compiler is broken, or we cross compile.
  3011 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3012 $as_echo_n "checking whether we are cross compiling... " >&6; }
  3013 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3014 $as_echo "$cross_compiling" >&6; }
  3016 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3017 $as_echo_n "checking for suffix of executables... " >&6; }
  3018 if { (ac_try="$ac_link"
  3019 case "(($ac_try" in
  3020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3021   *) ac_try_echo=$ac_try;;
  3022 esac
  3023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3024 $as_echo "$ac_try_echo") >&5
  3025   (eval "$ac_link") 2>&5
  3026   ac_status=$?
  3027   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3028   (exit $ac_status); }; then
  3029   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3030 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3031 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3032 # `rm'.
  3033 for ac_file in conftest.exe conftest conftest.*; do
  3034   test -f "$ac_file" || continue
  3035   case $ac_file in
  3036     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3037     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3038 	  break;;
  3039     * ) break;;
  3040   esac
  3041 done
  3042 else
  3043   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3044 See \`config.log' for more details." >&5
  3045 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3046 See \`config.log' for more details." >&2;}
  3047    { (exit 1); exit 1; }; }
  3048 fi
  3050 rm -f conftest$ac_cv_exeext
  3051 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3052 $as_echo "$ac_cv_exeext" >&6; }
  3054 rm -f conftest.$ac_ext
  3055 EXEEXT=$ac_cv_exeext
  3056 ac_exeext=$EXEEXT
  3057 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3058 $as_echo_n "checking for suffix of object files... " >&6; }
  3059 if test "${ac_cv_objext+set}" = set; then
  3060   $as_echo_n "(cached) " >&6
  3061 else
  3062   cat >conftest.$ac_ext <<_ACEOF
  3063 /* confdefs.h.  */
  3064 _ACEOF
  3065 cat confdefs.h >>conftest.$ac_ext
  3066 cat >>conftest.$ac_ext <<_ACEOF
  3067 /* end confdefs.h.  */
  3069 int
  3070 main ()
  3074   return 0;
  3076 _ACEOF
  3077 rm -f conftest.o conftest.obj
  3078 if { (ac_try="$ac_compile"
  3079 case "(($ac_try" in
  3080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3081   *) ac_try_echo=$ac_try;;
  3082 esac
  3083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3084 $as_echo "$ac_try_echo") >&5
  3085   (eval "$ac_compile") 2>&5
  3086   ac_status=$?
  3087   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3088   (exit $ac_status); }; then
  3089   for ac_file in conftest.o conftest.obj conftest.*; do
  3090   test -f "$ac_file" || continue;
  3091   case $ac_file in
  3092     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3093     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3094        break;;
  3095   esac
  3096 done
  3097 else
  3098   $as_echo "$as_me: failed program was:" >&5
  3099 sed 's/^/| /' conftest.$ac_ext >&5
  3101 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3102 See \`config.log' for more details." >&5
  3103 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3104 See \`config.log' for more details." >&2;}
  3105    { (exit 1); exit 1; }; }
  3106 fi
  3108 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3109 fi
  3110 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3111 $as_echo "$ac_cv_objext" >&6; }
  3112 OBJEXT=$ac_cv_objext
  3113 ac_objext=$OBJEXT
  3114 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3115 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3116 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3117   $as_echo_n "(cached) " >&6
  3118 else
  3119   cat >conftest.$ac_ext <<_ACEOF
  3120 /* confdefs.h.  */
  3121 _ACEOF
  3122 cat confdefs.h >>conftest.$ac_ext
  3123 cat >>conftest.$ac_ext <<_ACEOF
  3124 /* end confdefs.h.  */
  3126 int
  3127 main ()
  3129 #ifndef __GNUC__
  3130        choke me
  3131 #endif
  3134   return 0;
  3136 _ACEOF
  3137 rm -f conftest.$ac_objext
  3138 if { (ac_try="$ac_compile"
  3139 case "(($ac_try" in
  3140   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3141   *) ac_try_echo=$ac_try;;
  3142 esac
  3143 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3144 $as_echo "$ac_try_echo") >&5
  3145   (eval "$ac_compile") 2>conftest.er1
  3146   ac_status=$?
  3147   grep -v '^ *+' conftest.er1 >conftest.err
  3148   rm -f conftest.er1
  3149   cat conftest.err >&5
  3150   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3151   (exit $ac_status); } && {
  3152 	 test -z "$ac_c_werror_flag" ||
  3153 	 test ! -s conftest.err
  3154        } && test -s conftest.$ac_objext; then
  3155   ac_compiler_gnu=yes
  3156 else
  3157   $as_echo "$as_me: failed program was:" >&5
  3158 sed 's/^/| /' conftest.$ac_ext >&5
  3160 	ac_compiler_gnu=no
  3161 fi
  3163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3164 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3166 fi
  3167 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3168 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3169 if test $ac_compiler_gnu = yes; then
  3170   GCC=yes
  3171 else
  3172   GCC=
  3173 fi
  3174 ac_test_CFLAGS=${CFLAGS+set}
  3175 ac_save_CFLAGS=$CFLAGS
  3176 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3177 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3178 if test "${ac_cv_prog_cc_g+set}" = set; then
  3179   $as_echo_n "(cached) " >&6
  3180 else
  3181   ac_save_c_werror_flag=$ac_c_werror_flag
  3182    ac_c_werror_flag=yes
  3183    ac_cv_prog_cc_g=no
  3184    CFLAGS="-g"
  3185    cat >conftest.$ac_ext <<_ACEOF
  3186 /* confdefs.h.  */
  3187 _ACEOF
  3188 cat confdefs.h >>conftest.$ac_ext
  3189 cat >>conftest.$ac_ext <<_ACEOF
  3190 /* end confdefs.h.  */
  3192 int
  3193 main ()
  3197   return 0;
  3199 _ACEOF
  3200 rm -f conftest.$ac_objext
  3201 if { (ac_try="$ac_compile"
  3202 case "(($ac_try" in
  3203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3204   *) ac_try_echo=$ac_try;;
  3205 esac
  3206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3207 $as_echo "$ac_try_echo") >&5
  3208   (eval "$ac_compile") 2>conftest.er1
  3209   ac_status=$?
  3210   grep -v '^ *+' conftest.er1 >conftest.err
  3211   rm -f conftest.er1
  3212   cat conftest.err >&5
  3213   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3214   (exit $ac_status); } && {
  3215 	 test -z "$ac_c_werror_flag" ||
  3216 	 test ! -s conftest.err
  3217        } && test -s conftest.$ac_objext; then
  3218   ac_cv_prog_cc_g=yes
  3219 else
  3220   $as_echo "$as_me: failed program was:" >&5
  3221 sed 's/^/| /' conftest.$ac_ext >&5
  3223 	CFLAGS=""
  3224       cat >conftest.$ac_ext <<_ACEOF
  3225 /* confdefs.h.  */
  3226 _ACEOF
  3227 cat confdefs.h >>conftest.$ac_ext
  3228 cat >>conftest.$ac_ext <<_ACEOF
  3229 /* end confdefs.h.  */
  3231 int
  3232 main ()
  3236   return 0;
  3238 _ACEOF
  3239 rm -f conftest.$ac_objext
  3240 if { (ac_try="$ac_compile"
  3241 case "(($ac_try" in
  3242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3243   *) ac_try_echo=$ac_try;;
  3244 esac
  3245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3246 $as_echo "$ac_try_echo") >&5
  3247   (eval "$ac_compile") 2>conftest.er1
  3248   ac_status=$?
  3249   grep -v '^ *+' conftest.er1 >conftest.err
  3250   rm -f conftest.er1
  3251   cat conftest.err >&5
  3252   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3253   (exit $ac_status); } && {
  3254 	 test -z "$ac_c_werror_flag" ||
  3255 	 test ! -s conftest.err
  3256        } && test -s conftest.$ac_objext; then
  3258 else
  3259   $as_echo "$as_me: failed program was:" >&5
  3260 sed 's/^/| /' conftest.$ac_ext >&5
  3262 	ac_c_werror_flag=$ac_save_c_werror_flag
  3263 	 CFLAGS="-g"
  3264 	 cat >conftest.$ac_ext <<_ACEOF
  3265 /* confdefs.h.  */
  3266 _ACEOF
  3267 cat confdefs.h >>conftest.$ac_ext
  3268 cat >>conftest.$ac_ext <<_ACEOF
  3269 /* end confdefs.h.  */
  3271 int
  3272 main ()
  3276   return 0;
  3278 _ACEOF
  3279 rm -f conftest.$ac_objext
  3280 if { (ac_try="$ac_compile"
  3281 case "(($ac_try" in
  3282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3283   *) ac_try_echo=$ac_try;;
  3284 esac
  3285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3286 $as_echo "$ac_try_echo") >&5
  3287   (eval "$ac_compile") 2>conftest.er1
  3288   ac_status=$?
  3289   grep -v '^ *+' conftest.er1 >conftest.err
  3290   rm -f conftest.er1
  3291   cat conftest.err >&5
  3292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3293   (exit $ac_status); } && {
  3294 	 test -z "$ac_c_werror_flag" ||
  3295 	 test ! -s conftest.err
  3296        } && test -s conftest.$ac_objext; then
  3297   ac_cv_prog_cc_g=yes
  3298 else
  3299   $as_echo "$as_me: failed program was:" >&5
  3300 sed 's/^/| /' conftest.$ac_ext >&5
  3303 fi
  3305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3306 fi
  3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3309 fi
  3311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3312    ac_c_werror_flag=$ac_save_c_werror_flag
  3313 fi
  3314 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3315 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3316 if test "$ac_test_CFLAGS" = set; then
  3317   CFLAGS=$ac_save_CFLAGS
  3318 elif test $ac_cv_prog_cc_g = yes; then
  3319   if test "$GCC" = yes; then
  3320     CFLAGS="-g -O2"
  3321   else
  3322     CFLAGS="-g"
  3323   fi
  3324 else
  3325   if test "$GCC" = yes; then
  3326     CFLAGS="-O2"
  3327   else
  3328     CFLAGS=
  3329   fi
  3330 fi
  3331 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3332 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3333 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3334   $as_echo_n "(cached) " >&6
  3335 else
  3336   ac_cv_prog_cc_c89=no
  3337 ac_save_CC=$CC
  3338 cat >conftest.$ac_ext <<_ACEOF
  3339 /* confdefs.h.  */
  3340 _ACEOF
  3341 cat confdefs.h >>conftest.$ac_ext
  3342 cat >>conftest.$ac_ext <<_ACEOF
  3343 /* end confdefs.h.  */
  3344 #include <stdarg.h>
  3345 #include <stdio.h>
  3346 #include <sys/types.h>
  3347 #include <sys/stat.h>
  3348 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3349 struct buf { int x; };
  3350 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3351 static char *e (p, i)
  3352      char **p;
  3353      int i;
  3355   return p[i];
  3357 static char *f (char * (*g) (char **, int), char **p, ...)
  3359   char *s;
  3360   va_list v;
  3361   va_start (v,p);
  3362   s = g (p, va_arg (v,int));
  3363   va_end (v);
  3364   return s;
  3367 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3368    function prototypes and stuff, but not '\xHH' hex character constants.
  3369    These don't provoke an error unfortunately, instead are silently treated
  3370    as 'x'.  The following induces an error, until -std is added to get
  3371    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3372    array size at least.  It's necessary to write '\x00'==0 to get something
  3373    that's true only with -std.  */
  3374 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3376 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3377    inside strings and character constants.  */
  3378 #define FOO(x) 'x'
  3379 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3381 int test (int i, double x);
  3382 struct s1 {int (*f) (int a);};
  3383 struct s2 {int (*f) (double a);};
  3384 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3385 int argc;
  3386 char **argv;
  3387 int
  3388 main ()
  3390 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3392   return 0;
  3394 _ACEOF
  3395 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3396 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3397 do
  3398   CC="$ac_save_CC $ac_arg"
  3399   rm -f conftest.$ac_objext
  3400 if { (ac_try="$ac_compile"
  3401 case "(($ac_try" in
  3402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3403   *) ac_try_echo=$ac_try;;
  3404 esac
  3405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3406 $as_echo "$ac_try_echo") >&5
  3407   (eval "$ac_compile") 2>conftest.er1
  3408   ac_status=$?
  3409   grep -v '^ *+' conftest.er1 >conftest.err
  3410   rm -f conftest.er1
  3411   cat conftest.err >&5
  3412   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3413   (exit $ac_status); } && {
  3414 	 test -z "$ac_c_werror_flag" ||
  3415 	 test ! -s conftest.err
  3416        } && test -s conftest.$ac_objext; then
  3417   ac_cv_prog_cc_c89=$ac_arg
  3418 else
  3419   $as_echo "$as_me: failed program was:" >&5
  3420 sed 's/^/| /' conftest.$ac_ext >&5
  3423 fi
  3425 rm -f core conftest.err conftest.$ac_objext
  3426   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3427 done
  3428 rm -f conftest.$ac_ext
  3429 CC=$ac_save_CC
  3431 fi
  3432 # AC_CACHE_VAL
  3433 case "x$ac_cv_prog_cc_c89" in
  3434   x)
  3435     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3436 $as_echo "none needed" >&6; } ;;
  3437   xno)
  3438     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3439 $as_echo "unsupported" >&6; } ;;
  3440   *)
  3441     CC="$CC $ac_cv_prog_cc_c89"
  3442     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3443 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3444 esac
  3447 ac_ext=c
  3448 ac_cpp='$CPP $CPPFLAGS'
  3449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3453 depcc="$CC"   am_compiler_list=
  3455 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3456 $as_echo_n "checking dependency style of $depcc... " >&6; }
  3457 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3458   $as_echo_n "(cached) " >&6
  3459 else
  3460   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3461   # We make a subdir and do the tests there.  Otherwise we can end up
  3462   # making bogus files that we don't know about and never remove.  For
  3463   # instance it was reported that on HP-UX the gcc test will end up
  3464   # making a dummy file named `D' -- because `-MD' means `put the output
  3465   # in D'.
  3466   mkdir conftest.dir
  3467   # Copy depcomp to subdir because otherwise we won't find it if we're
  3468   # using a relative directory.
  3469   cp "$am_depcomp" conftest.dir
  3470   cd conftest.dir
  3471   # We will build objects and dependencies in a subdirectory because
  3472   # it helps to detect inapplicable dependency modes.  For instance
  3473   # both Tru64's cc and ICC support -MD to output dependencies as a
  3474   # side effect of compilation, but ICC will put the dependencies in
  3475   # the current directory while Tru64 will put them in the object
  3476   # directory.
  3477   mkdir sub
  3479   am_cv_CC_dependencies_compiler_type=none
  3480   if test "$am_compiler_list" = ""; then
  3481      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3482   fi
  3483   for depmode in $am_compiler_list; do
  3484     # Setup a source with many dependencies, because some compilers
  3485     # like to wrap large dependency lists on column 80 (with \), and
  3486     # we should not choose a depcomp mode which is confused by this.
  3488     # We need to recreate these files for each test, as the compiler may
  3489     # overwrite some of them when testing with obscure command lines.
  3490     # This happens at least with the AIX C compiler.
  3491     : > sub/conftest.c
  3492     for i in 1 2 3 4 5 6; do
  3493       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3494       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3495       # Solaris 8's {/usr,}/bin/sh.
  3496       touch sub/conftst$i.h
  3497     done
  3498     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3500     case $depmode in
  3501     nosideeffect)
  3502       # after this tag, mechanisms are not by side-effect, so they'll
  3503       # only be used when explicitly requested
  3504       if test "x$enable_dependency_tracking" = xyes; then
  3505 	continue
  3506       else
  3507 	break
  3508       fi
  3509       ;;
  3510     none) break ;;
  3511     esac
  3512     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3513     # mode.  It turns out that the SunPro C++ compiler does not properly
  3514     # handle `-M -o', and we need to detect this.
  3515     if depmode=$depmode \
  3516        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3517        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3518        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3519          >/dev/null 2>conftest.err &&
  3520        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3521        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3522        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3523       # icc doesn't choke on unknown options, it will just issue warnings
  3524       # or remarks (even with -Werror).  So we grep stderr for any message
  3525       # that says an option was ignored or not supported.
  3526       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3527       #   icc: Command line warning: ignoring option '-M'; no argument required
  3528       # The diagnosis changed in icc 8.0:
  3529       #   icc: Command line remark: option '-MP' not supported
  3530       if (grep 'ignoring option' conftest.err ||
  3531           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3532         am_cv_CC_dependencies_compiler_type=$depmode
  3533         break
  3534       fi
  3535     fi
  3536   done
  3538   cd ..
  3539   rm -rf conftest.dir
  3540 else
  3541   am_cv_CC_dependencies_compiler_type=none
  3542 fi
  3544 fi
  3545 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3546 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3547 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3551 if
  3552   test "x$enable_dependency_tracking" != xno \
  3553   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3554   am__fastdepCC_TRUE=
  3555   am__fastdepCC_FALSE='#'
  3556 else
  3557   am__fastdepCC_TRUE='#'
  3558   am__fastdepCC_FALSE=
  3559 fi
  3564         { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3565 $as_echo_n "checking for strerror in -lcposix... " >&6; }
  3566 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3567   $as_echo_n "(cached) " >&6
  3568 else
  3569   ac_check_lib_save_LIBS=$LIBS
  3570 LIBS="-lcposix  $LIBS"
  3571 cat >conftest.$ac_ext <<_ACEOF
  3572 /* confdefs.h.  */
  3573 _ACEOF
  3574 cat confdefs.h >>conftest.$ac_ext
  3575 cat >>conftest.$ac_ext <<_ACEOF
  3576 /* end confdefs.h.  */
  3578 /* Override any GCC internal prototype to avoid an error.
  3579    Use char because int might match the return type of a GCC
  3580    builtin and then its argument prototype would still apply.  */
  3581 #ifdef __cplusplus
  3582 extern "C"
  3583 #endif
  3584 char strerror ();
  3585 int
  3586 main ()
  3588 return strerror ();
  3590   return 0;
  3592 _ACEOF
  3593 rm -f conftest.$ac_objext conftest$ac_exeext
  3594 if { (ac_try="$ac_link"
  3595 case "(($ac_try" in
  3596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3597   *) ac_try_echo=$ac_try;;
  3598 esac
  3599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3600 $as_echo "$ac_try_echo") >&5
  3601   (eval "$ac_link") 2>conftest.er1
  3602   ac_status=$?
  3603   grep -v '^ *+' conftest.er1 >conftest.err
  3604   rm -f conftest.er1
  3605   cat conftest.err >&5
  3606   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3607   (exit $ac_status); } && {
  3608 	 test -z "$ac_c_werror_flag" ||
  3609 	 test ! -s conftest.err
  3610        } && test -s conftest$ac_exeext && {
  3611 	 test "$cross_compiling" = yes ||
  3612 	 $as_test_x conftest$ac_exeext
  3613        }; then
  3614   ac_cv_lib_cposix_strerror=yes
  3615 else
  3616   $as_echo "$as_me: failed program was:" >&5
  3617 sed 's/^/| /' conftest.$ac_ext >&5
  3619 	ac_cv_lib_cposix_strerror=no
  3620 fi
  3622 rm -rf conftest.dSYM
  3623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3624       conftest$ac_exeext conftest.$ac_ext
  3625 LIBS=$ac_check_lib_save_LIBS
  3626 fi
  3627 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3628 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
  3629 if test $ac_cv_lib_cposix_strerror = yes; then
  3630   LIBS="$LIBS -lcposix"
  3631 fi
  3635 ac_ext=c
  3636 ac_cpp='$CPP $CPPFLAGS'
  3637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3640 if test -n "$ac_tool_prefix"; then
  3641   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3642 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3643 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3644 $as_echo_n "checking for $ac_word... " >&6; }
  3645 if test "${ac_cv_prog_CC+set}" = set; then
  3646   $as_echo_n "(cached) " >&6
  3647 else
  3648   if test -n "$CC"; then
  3649   ac_cv_prog_CC="$CC" # Let the user override the test.
  3650 else
  3651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3652 for as_dir in $PATH
  3653 do
  3654   IFS=$as_save_IFS
  3655   test -z "$as_dir" && as_dir=.
  3656   for ac_exec_ext in '' $ac_executable_extensions; do
  3657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3658     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3659     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3660     break 2
  3661   fi
  3662 done
  3663 done
  3664 IFS=$as_save_IFS
  3666 fi
  3667 fi
  3668 CC=$ac_cv_prog_CC
  3669 if test -n "$CC"; then
  3670   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3671 $as_echo "$CC" >&6; }
  3672 else
  3673   { $as_echo "$as_me:$LINENO: result: no" >&5
  3674 $as_echo "no" >&6; }
  3675 fi
  3678 fi
  3679 if test -z "$ac_cv_prog_CC"; then
  3680   ac_ct_CC=$CC
  3681   # Extract the first word of "gcc", so it can be a program name with args.
  3682 set dummy gcc; ac_word=$2
  3683 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3684 $as_echo_n "checking for $ac_word... " >&6; }
  3685 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3686   $as_echo_n "(cached) " >&6
  3687 else
  3688   if test -n "$ac_ct_CC"; then
  3689   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3690 else
  3691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3692 for as_dir in $PATH
  3693 do
  3694   IFS=$as_save_IFS
  3695   test -z "$as_dir" && as_dir=.
  3696   for ac_exec_ext in '' $ac_executable_extensions; do
  3697   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3698     ac_cv_prog_ac_ct_CC="gcc"
  3699     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3700     break 2
  3701   fi
  3702 done
  3703 done
  3704 IFS=$as_save_IFS
  3706 fi
  3707 fi
  3708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3709 if test -n "$ac_ct_CC"; then
  3710   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3711 $as_echo "$ac_ct_CC" >&6; }
  3712 else
  3713   { $as_echo "$as_me:$LINENO: result: no" >&5
  3714 $as_echo "no" >&6; }
  3715 fi
  3717   if test "x$ac_ct_CC" = x; then
  3718     CC=""
  3719   else
  3720     case $cross_compiling:$ac_tool_warned in
  3721 yes:)
  3722 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3723 whose name does not start with the host triplet.  If you think this
  3724 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3725 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3726 whose name does not start with the host triplet.  If you think this
  3727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3728 ac_tool_warned=yes ;;
  3729 esac
  3730     CC=$ac_ct_CC
  3731   fi
  3732 else
  3733   CC="$ac_cv_prog_CC"
  3734 fi
  3736 if test -z "$CC"; then
  3737           if test -n "$ac_tool_prefix"; then
  3738     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3739 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3740 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3741 $as_echo_n "checking for $ac_word... " >&6; }
  3742 if test "${ac_cv_prog_CC+set}" = set; then
  3743   $as_echo_n "(cached) " >&6
  3744 else
  3745   if test -n "$CC"; then
  3746   ac_cv_prog_CC="$CC" # Let the user override the test.
  3747 else
  3748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3749 for as_dir in $PATH
  3750 do
  3751   IFS=$as_save_IFS
  3752   test -z "$as_dir" && as_dir=.
  3753   for ac_exec_ext in '' $ac_executable_extensions; do
  3754   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3755     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3756     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3757     break 2
  3758   fi
  3759 done
  3760 done
  3761 IFS=$as_save_IFS
  3763 fi
  3764 fi
  3765 CC=$ac_cv_prog_CC
  3766 if test -n "$CC"; then
  3767   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3768 $as_echo "$CC" >&6; }
  3769 else
  3770   { $as_echo "$as_me:$LINENO: result: no" >&5
  3771 $as_echo "no" >&6; }
  3772 fi
  3775   fi
  3776 fi
  3777 if test -z "$CC"; then
  3778   # Extract the first word of "cc", so it can be a program name with args.
  3779 set dummy cc; ac_word=$2
  3780 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3781 $as_echo_n "checking for $ac_word... " >&6; }
  3782 if test "${ac_cv_prog_CC+set}" = set; then
  3783   $as_echo_n "(cached) " >&6
  3784 else
  3785   if test -n "$CC"; then
  3786   ac_cv_prog_CC="$CC" # Let the user override the test.
  3787 else
  3788   ac_prog_rejected=no
  3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3790 for as_dir in $PATH
  3791 do
  3792   IFS=$as_save_IFS
  3793   test -z "$as_dir" && as_dir=.
  3794   for ac_exec_ext in '' $ac_executable_extensions; do
  3795   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3796     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3797        ac_prog_rejected=yes
  3798        continue
  3799      fi
  3800     ac_cv_prog_CC="cc"
  3801     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3802     break 2
  3803   fi
  3804 done
  3805 done
  3806 IFS=$as_save_IFS
  3808 if test $ac_prog_rejected = yes; then
  3809   # We found a bogon in the path, so make sure we never use it.
  3810   set dummy $ac_cv_prog_CC
  3811   shift
  3812   if test $# != 0; then
  3813     # We chose a different compiler from the bogus one.
  3814     # However, it has the same basename, so the bogon will be chosen
  3815     # first if we set CC to just the basename; use the full file name.
  3816     shift
  3817     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3818   fi
  3819 fi
  3820 fi
  3821 fi
  3822 CC=$ac_cv_prog_CC
  3823 if test -n "$CC"; then
  3824   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3825 $as_echo "$CC" >&6; }
  3826 else
  3827   { $as_echo "$as_me:$LINENO: result: no" >&5
  3828 $as_echo "no" >&6; }
  3829 fi
  3832 fi
  3833 if test -z "$CC"; then
  3834   if test -n "$ac_tool_prefix"; then
  3835   for ac_prog in cl.exe
  3836   do
  3837     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3838 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3839 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3840 $as_echo_n "checking for $ac_word... " >&6; }
  3841 if test "${ac_cv_prog_CC+set}" = set; then
  3842   $as_echo_n "(cached) " >&6
  3843 else
  3844   if test -n "$CC"; then
  3845   ac_cv_prog_CC="$CC" # Let the user override the test.
  3846 else
  3847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3848 for as_dir in $PATH
  3849 do
  3850   IFS=$as_save_IFS
  3851   test -z "$as_dir" && as_dir=.
  3852   for ac_exec_ext in '' $ac_executable_extensions; do
  3853   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3854     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3855     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3856     break 2
  3857   fi
  3858 done
  3859 done
  3860 IFS=$as_save_IFS
  3862 fi
  3863 fi
  3864 CC=$ac_cv_prog_CC
  3865 if test -n "$CC"; then
  3866   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3867 $as_echo "$CC" >&6; }
  3868 else
  3869   { $as_echo "$as_me:$LINENO: result: no" >&5
  3870 $as_echo "no" >&6; }
  3871 fi
  3874     test -n "$CC" && break
  3875   done
  3876 fi
  3877 if test -z "$CC"; then
  3878   ac_ct_CC=$CC
  3879   for ac_prog in cl.exe
  3880 do
  3881   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3882 set dummy $ac_prog; ac_word=$2
  3883 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3884 $as_echo_n "checking for $ac_word... " >&6; }
  3885 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3886   $as_echo_n "(cached) " >&6
  3887 else
  3888   if test -n "$ac_ct_CC"; then
  3889   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3890 else
  3891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3892 for as_dir in $PATH
  3893 do
  3894   IFS=$as_save_IFS
  3895   test -z "$as_dir" && as_dir=.
  3896   for ac_exec_ext in '' $ac_executable_extensions; do
  3897   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3898     ac_cv_prog_ac_ct_CC="$ac_prog"
  3899     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3900     break 2
  3901   fi
  3902 done
  3903 done
  3904 IFS=$as_save_IFS
  3906 fi
  3907 fi
  3908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3909 if test -n "$ac_ct_CC"; then
  3910   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3911 $as_echo "$ac_ct_CC" >&6; }
  3912 else
  3913   { $as_echo "$as_me:$LINENO: result: no" >&5
  3914 $as_echo "no" >&6; }
  3915 fi
  3918   test -n "$ac_ct_CC" && break
  3919 done
  3921   if test "x$ac_ct_CC" = x; then
  3922     CC=""
  3923   else
  3924     case $cross_compiling:$ac_tool_warned in
  3925 yes:)
  3926 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3927 whose name does not start with the host triplet.  If you think this
  3928 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3929 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3930 whose name does not start with the host triplet.  If you think this
  3931 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3932 ac_tool_warned=yes ;;
  3933 esac
  3934     CC=$ac_ct_CC
  3935   fi
  3936 fi
  3938 fi
  3941 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3942 See \`config.log' for more details." >&5
  3943 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  3944 See \`config.log' for more details." >&2;}
  3945    { (exit 1); exit 1; }; }
  3947 # Provide some information about the compiler.
  3948 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  3949 set X $ac_compile
  3950 ac_compiler=$2
  3951 { (ac_try="$ac_compiler --version >&5"
  3952 case "(($ac_try" in
  3953   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3954   *) ac_try_echo=$ac_try;;
  3955 esac
  3956 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3957 $as_echo "$ac_try_echo") >&5
  3958   (eval "$ac_compiler --version >&5") 2>&5
  3959   ac_status=$?
  3960   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3961   (exit $ac_status); }
  3962 { (ac_try="$ac_compiler -v >&5"
  3963 case "(($ac_try" in
  3964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3965   *) ac_try_echo=$ac_try;;
  3966 esac
  3967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3968 $as_echo "$ac_try_echo") >&5
  3969   (eval "$ac_compiler -v >&5") 2>&5
  3970   ac_status=$?
  3971   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3972   (exit $ac_status); }
  3973 { (ac_try="$ac_compiler -V >&5"
  3974 case "(($ac_try" in
  3975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3976   *) ac_try_echo=$ac_try;;
  3977 esac
  3978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3979 $as_echo "$ac_try_echo") >&5
  3980   (eval "$ac_compiler -V >&5") 2>&5
  3981   ac_status=$?
  3982   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3983   (exit $ac_status); }
  3985 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3986 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3987 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3988   $as_echo_n "(cached) " >&6
  3989 else
  3990   cat >conftest.$ac_ext <<_ACEOF
  3991 /* confdefs.h.  */
  3992 _ACEOF
  3993 cat confdefs.h >>conftest.$ac_ext
  3994 cat >>conftest.$ac_ext <<_ACEOF
  3995 /* end confdefs.h.  */
  3997 int
  3998 main ()
  4000 #ifndef __GNUC__
  4001        choke me
  4002 #endif
  4005   return 0;
  4007 _ACEOF
  4008 rm -f conftest.$ac_objext
  4009 if { (ac_try="$ac_compile"
  4010 case "(($ac_try" in
  4011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4012   *) ac_try_echo=$ac_try;;
  4013 esac
  4014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4015 $as_echo "$ac_try_echo") >&5
  4016   (eval "$ac_compile") 2>conftest.er1
  4017   ac_status=$?
  4018   grep -v '^ *+' conftest.er1 >conftest.err
  4019   rm -f conftest.er1
  4020   cat conftest.err >&5
  4021   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4022   (exit $ac_status); } && {
  4023 	 test -z "$ac_c_werror_flag" ||
  4024 	 test ! -s conftest.err
  4025        } && test -s conftest.$ac_objext; then
  4026   ac_compiler_gnu=yes
  4027 else
  4028   $as_echo "$as_me: failed program was:" >&5
  4029 sed 's/^/| /' conftest.$ac_ext >&5
  4031 	ac_compiler_gnu=no
  4032 fi
  4034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4035 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4037 fi
  4038 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4039 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4040 if test $ac_compiler_gnu = yes; then
  4041   GCC=yes
  4042 else
  4043   GCC=
  4044 fi
  4045 ac_test_CFLAGS=${CFLAGS+set}
  4046 ac_save_CFLAGS=$CFLAGS
  4047 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4048 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4049 if test "${ac_cv_prog_cc_g+set}" = set; then
  4050   $as_echo_n "(cached) " >&6
  4051 else
  4052   ac_save_c_werror_flag=$ac_c_werror_flag
  4053    ac_c_werror_flag=yes
  4054    ac_cv_prog_cc_g=no
  4055    CFLAGS="-g"
  4056    cat >conftest.$ac_ext <<_ACEOF
  4057 /* confdefs.h.  */
  4058 _ACEOF
  4059 cat confdefs.h >>conftest.$ac_ext
  4060 cat >>conftest.$ac_ext <<_ACEOF
  4061 /* end confdefs.h.  */
  4063 int
  4064 main ()
  4068   return 0;
  4070 _ACEOF
  4071 rm -f conftest.$ac_objext
  4072 if { (ac_try="$ac_compile"
  4073 case "(($ac_try" in
  4074   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4075   *) ac_try_echo=$ac_try;;
  4076 esac
  4077 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4078 $as_echo "$ac_try_echo") >&5
  4079   (eval "$ac_compile") 2>conftest.er1
  4080   ac_status=$?
  4081   grep -v '^ *+' conftest.er1 >conftest.err
  4082   rm -f conftest.er1
  4083   cat conftest.err >&5
  4084   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4085   (exit $ac_status); } && {
  4086 	 test -z "$ac_c_werror_flag" ||
  4087 	 test ! -s conftest.err
  4088        } && test -s conftest.$ac_objext; then
  4089   ac_cv_prog_cc_g=yes
  4090 else
  4091   $as_echo "$as_me: failed program was:" >&5
  4092 sed 's/^/| /' conftest.$ac_ext >&5
  4094 	CFLAGS=""
  4095       cat >conftest.$ac_ext <<_ACEOF
  4096 /* confdefs.h.  */
  4097 _ACEOF
  4098 cat confdefs.h >>conftest.$ac_ext
  4099 cat >>conftest.$ac_ext <<_ACEOF
  4100 /* end confdefs.h.  */
  4102 int
  4103 main ()
  4107   return 0;
  4109 _ACEOF
  4110 rm -f conftest.$ac_objext
  4111 if { (ac_try="$ac_compile"
  4112 case "(($ac_try" in
  4113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4114   *) ac_try_echo=$ac_try;;
  4115 esac
  4116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4117 $as_echo "$ac_try_echo") >&5
  4118   (eval "$ac_compile") 2>conftest.er1
  4119   ac_status=$?
  4120   grep -v '^ *+' conftest.er1 >conftest.err
  4121   rm -f conftest.er1
  4122   cat conftest.err >&5
  4123   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4124   (exit $ac_status); } && {
  4125 	 test -z "$ac_c_werror_flag" ||
  4126 	 test ! -s conftest.err
  4127        } && test -s conftest.$ac_objext; then
  4129 else
  4130   $as_echo "$as_me: failed program was:" >&5
  4131 sed 's/^/| /' conftest.$ac_ext >&5
  4133 	ac_c_werror_flag=$ac_save_c_werror_flag
  4134 	 CFLAGS="-g"
  4135 	 cat >conftest.$ac_ext <<_ACEOF
  4136 /* confdefs.h.  */
  4137 _ACEOF
  4138 cat confdefs.h >>conftest.$ac_ext
  4139 cat >>conftest.$ac_ext <<_ACEOF
  4140 /* end confdefs.h.  */
  4142 int
  4143 main ()
  4147   return 0;
  4149 _ACEOF
  4150 rm -f conftest.$ac_objext
  4151 if { (ac_try="$ac_compile"
  4152 case "(($ac_try" in
  4153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4154   *) ac_try_echo=$ac_try;;
  4155 esac
  4156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4157 $as_echo "$ac_try_echo") >&5
  4158   (eval "$ac_compile") 2>conftest.er1
  4159   ac_status=$?
  4160   grep -v '^ *+' conftest.er1 >conftest.err
  4161   rm -f conftest.er1
  4162   cat conftest.err >&5
  4163   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4164   (exit $ac_status); } && {
  4165 	 test -z "$ac_c_werror_flag" ||
  4166 	 test ! -s conftest.err
  4167        } && test -s conftest.$ac_objext; then
  4168   ac_cv_prog_cc_g=yes
  4169 else
  4170   $as_echo "$as_me: failed program was:" >&5
  4171 sed 's/^/| /' conftest.$ac_ext >&5
  4174 fi
  4176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4177 fi
  4179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4180 fi
  4182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4183    ac_c_werror_flag=$ac_save_c_werror_flag
  4184 fi
  4185 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4186 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4187 if test "$ac_test_CFLAGS" = set; then
  4188   CFLAGS=$ac_save_CFLAGS
  4189 elif test $ac_cv_prog_cc_g = yes; then
  4190   if test "$GCC" = yes; then
  4191     CFLAGS="-g -O2"
  4192   else
  4193     CFLAGS="-g"
  4194   fi
  4195 else
  4196   if test "$GCC" = yes; then
  4197     CFLAGS="-O2"
  4198   else
  4199     CFLAGS=
  4200   fi
  4201 fi
  4202 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4203 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4204 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4205   $as_echo_n "(cached) " >&6
  4206 else
  4207   ac_cv_prog_cc_c89=no
  4208 ac_save_CC=$CC
  4209 cat >conftest.$ac_ext <<_ACEOF
  4210 /* confdefs.h.  */
  4211 _ACEOF
  4212 cat confdefs.h >>conftest.$ac_ext
  4213 cat >>conftest.$ac_ext <<_ACEOF
  4214 /* end confdefs.h.  */
  4215 #include <stdarg.h>
  4216 #include <stdio.h>
  4217 #include <sys/types.h>
  4218 #include <sys/stat.h>
  4219 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4220 struct buf { int x; };
  4221 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4222 static char *e (p, i)
  4223      char **p;
  4224      int i;
  4226   return p[i];
  4228 static char *f (char * (*g) (char **, int), char **p, ...)
  4230   char *s;
  4231   va_list v;
  4232   va_start (v,p);
  4233   s = g (p, va_arg (v,int));
  4234   va_end (v);
  4235   return s;
  4238 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4239    function prototypes and stuff, but not '\xHH' hex character constants.
  4240    These don't provoke an error unfortunately, instead are silently treated
  4241    as 'x'.  The following induces an error, until -std is added to get
  4242    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4243    array size at least.  It's necessary to write '\x00'==0 to get something
  4244    that's true only with -std.  */
  4245 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4247 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4248    inside strings and character constants.  */
  4249 #define FOO(x) 'x'
  4250 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4252 int test (int i, double x);
  4253 struct s1 {int (*f) (int a);};
  4254 struct s2 {int (*f) (double a);};
  4255 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4256 int argc;
  4257 char **argv;
  4258 int
  4259 main ()
  4261 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4263   return 0;
  4265 _ACEOF
  4266 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4267 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4268 do
  4269   CC="$ac_save_CC $ac_arg"
  4270   rm -f conftest.$ac_objext
  4271 if { (ac_try="$ac_compile"
  4272 case "(($ac_try" in
  4273   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4274   *) ac_try_echo=$ac_try;;
  4275 esac
  4276 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4277 $as_echo "$ac_try_echo") >&5
  4278   (eval "$ac_compile") 2>conftest.er1
  4279   ac_status=$?
  4280   grep -v '^ *+' conftest.er1 >conftest.err
  4281   rm -f conftest.er1
  4282   cat conftest.err >&5
  4283   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4284   (exit $ac_status); } && {
  4285 	 test -z "$ac_c_werror_flag" ||
  4286 	 test ! -s conftest.err
  4287        } && test -s conftest.$ac_objext; then
  4288   ac_cv_prog_cc_c89=$ac_arg
  4289 else
  4290   $as_echo "$as_me: failed program was:" >&5
  4291 sed 's/^/| /' conftest.$ac_ext >&5
  4294 fi
  4296 rm -f core conftest.err conftest.$ac_objext
  4297   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4298 done
  4299 rm -f conftest.$ac_ext
  4300 CC=$ac_save_CC
  4302 fi
  4303 # AC_CACHE_VAL
  4304 case "x$ac_cv_prog_cc_c89" in
  4305   x)
  4306     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4307 $as_echo "none needed" >&6; } ;;
  4308   xno)
  4309     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4310 $as_echo "unsupported" >&6; } ;;
  4311   *)
  4312     CC="$CC $ac_cv_prog_cc_c89"
  4313     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4314 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4315 esac
  4318 ac_ext=c
  4319 ac_cpp='$CPP $CPPFLAGS'
  4320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4324 depcc="$CC"   am_compiler_list=
  4326 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4327 $as_echo_n "checking dependency style of $depcc... " >&6; }
  4328 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4329   $as_echo_n "(cached) " >&6
  4330 else
  4331   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4332   # We make a subdir and do the tests there.  Otherwise we can end up
  4333   # making bogus files that we don't know about and never remove.  For
  4334   # instance it was reported that on HP-UX the gcc test will end up
  4335   # making a dummy file named `D' -- because `-MD' means `put the output
  4336   # in D'.
  4337   mkdir conftest.dir
  4338   # Copy depcomp to subdir because otherwise we won't find it if we're
  4339   # using a relative directory.
  4340   cp "$am_depcomp" conftest.dir
  4341   cd conftest.dir
  4342   # We will build objects and dependencies in a subdirectory because
  4343   # it helps to detect inapplicable dependency modes.  For instance
  4344   # both Tru64's cc and ICC support -MD to output dependencies as a
  4345   # side effect of compilation, but ICC will put the dependencies in
  4346   # the current directory while Tru64 will put them in the object
  4347   # directory.
  4348   mkdir sub
  4350   am_cv_CC_dependencies_compiler_type=none
  4351   if test "$am_compiler_list" = ""; then
  4352      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4353   fi
  4354   for depmode in $am_compiler_list; do
  4355     # Setup a source with many dependencies, because some compilers
  4356     # like to wrap large dependency lists on column 80 (with \), and
  4357     # we should not choose a depcomp mode which is confused by this.
  4359     # We need to recreate these files for each test, as the compiler may
  4360     # overwrite some of them when testing with obscure command lines.
  4361     # This happens at least with the AIX C compiler.
  4362     : > sub/conftest.c
  4363     for i in 1 2 3 4 5 6; do
  4364       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4365       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4366       # Solaris 8's {/usr,}/bin/sh.
  4367       touch sub/conftst$i.h
  4368     done
  4369     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4371     case $depmode in
  4372     nosideeffect)
  4373       # after this tag, mechanisms are not by side-effect, so they'll
  4374       # only be used when explicitly requested
  4375       if test "x$enable_dependency_tracking" = xyes; then
  4376 	continue
  4377       else
  4378 	break
  4379       fi
  4380       ;;
  4381     none) break ;;
  4382     esac
  4383     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4384     # mode.  It turns out that the SunPro C++ compiler does not properly
  4385     # handle `-M -o', and we need to detect this.
  4386     if depmode=$depmode \
  4387        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4388        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4389        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4390          >/dev/null 2>conftest.err &&
  4391        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4392        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4393        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4394       # icc doesn't choke on unknown options, it will just issue warnings
  4395       # or remarks (even with -Werror).  So we grep stderr for any message
  4396       # that says an option was ignored or not supported.
  4397       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4398       #   icc: Command line warning: ignoring option '-M'; no argument required
  4399       # The diagnosis changed in icc 8.0:
  4400       #   icc: Command line remark: option '-MP' not supported
  4401       if (grep 'ignoring option' conftest.err ||
  4402           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4403         am_cv_CC_dependencies_compiler_type=$depmode
  4404         break
  4405       fi
  4406     fi
  4407   done
  4409   cd ..
  4410   rm -rf conftest.dir
  4411 else
  4412   am_cv_CC_dependencies_compiler_type=none
  4413 fi
  4415 fi
  4416 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4417 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4418 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4422 if
  4423   test "x$enable_dependency_tracking" != xno \
  4424   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4425   am__fastdepCC_TRUE=
  4426   am__fastdepCC_FALSE='#'
  4427 else
  4428   am__fastdepCC_TRUE='#'
  4429   am__fastdepCC_FALSE=
  4430 fi
  4433 ac_ext=c
  4434 ac_cpp='$CPP $CPPFLAGS'
  4435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4438 if test -n "$ac_tool_prefix"; then
  4439   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4440 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4441 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4442 $as_echo_n "checking for $ac_word... " >&6; }
  4443 if test "${ac_cv_prog_CC+set}" = set; then
  4444   $as_echo_n "(cached) " >&6
  4445 else
  4446   if test -n "$CC"; then
  4447   ac_cv_prog_CC="$CC" # Let the user override the test.
  4448 else
  4449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4450 for as_dir in $PATH
  4451 do
  4452   IFS=$as_save_IFS
  4453   test -z "$as_dir" && as_dir=.
  4454   for ac_exec_ext in '' $ac_executable_extensions; do
  4455   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4456     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4457     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4458     break 2
  4459   fi
  4460 done
  4461 done
  4462 IFS=$as_save_IFS
  4464 fi
  4465 fi
  4466 CC=$ac_cv_prog_CC
  4467 if test -n "$CC"; then
  4468   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4469 $as_echo "$CC" >&6; }
  4470 else
  4471   { $as_echo "$as_me:$LINENO: result: no" >&5
  4472 $as_echo "no" >&6; }
  4473 fi
  4476 fi
  4477 if test -z "$ac_cv_prog_CC"; then
  4478   ac_ct_CC=$CC
  4479   # Extract the first word of "gcc", so it can be a program name with args.
  4480 set dummy gcc; ac_word=$2
  4481 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4482 $as_echo_n "checking for $ac_word... " >&6; }
  4483 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4484   $as_echo_n "(cached) " >&6
  4485 else
  4486   if test -n "$ac_ct_CC"; then
  4487   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4488 else
  4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4490 for as_dir in $PATH
  4491 do
  4492   IFS=$as_save_IFS
  4493   test -z "$as_dir" && as_dir=.
  4494   for ac_exec_ext in '' $ac_executable_extensions; do
  4495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4496     ac_cv_prog_ac_ct_CC="gcc"
  4497     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4498     break 2
  4499   fi
  4500 done
  4501 done
  4502 IFS=$as_save_IFS
  4504 fi
  4505 fi
  4506 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4507 if test -n "$ac_ct_CC"; then
  4508   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4509 $as_echo "$ac_ct_CC" >&6; }
  4510 else
  4511   { $as_echo "$as_me:$LINENO: result: no" >&5
  4512 $as_echo "no" >&6; }
  4513 fi
  4515   if test "x$ac_ct_CC" = x; then
  4516     CC=""
  4517   else
  4518     case $cross_compiling:$ac_tool_warned in
  4519 yes:)
  4520 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4521 whose name does not start with the host triplet.  If you think this
  4522 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4523 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4524 whose name does not start with the host triplet.  If you think this
  4525 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4526 ac_tool_warned=yes ;;
  4527 esac
  4528     CC=$ac_ct_CC
  4529   fi
  4530 else
  4531   CC="$ac_cv_prog_CC"
  4532 fi
  4534 if test -z "$CC"; then
  4535           if test -n "$ac_tool_prefix"; then
  4536     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4537 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4538 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4539 $as_echo_n "checking for $ac_word... " >&6; }
  4540 if test "${ac_cv_prog_CC+set}" = set; then
  4541   $as_echo_n "(cached) " >&6
  4542 else
  4543   if test -n "$CC"; then
  4544   ac_cv_prog_CC="$CC" # Let the user override the test.
  4545 else
  4546 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4547 for as_dir in $PATH
  4548 do
  4549   IFS=$as_save_IFS
  4550   test -z "$as_dir" && as_dir=.
  4551   for ac_exec_ext in '' $ac_executable_extensions; do
  4552   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4553     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4554     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4555     break 2
  4556   fi
  4557 done
  4558 done
  4559 IFS=$as_save_IFS
  4561 fi
  4562 fi
  4563 CC=$ac_cv_prog_CC
  4564 if test -n "$CC"; then
  4565   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4566 $as_echo "$CC" >&6; }
  4567 else
  4568   { $as_echo "$as_me:$LINENO: result: no" >&5
  4569 $as_echo "no" >&6; }
  4570 fi
  4573   fi
  4574 fi
  4575 if test -z "$CC"; then
  4576   # Extract the first word of "cc", so it can be a program name with args.
  4577 set dummy cc; ac_word=$2
  4578 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4579 $as_echo_n "checking for $ac_word... " >&6; }
  4580 if test "${ac_cv_prog_CC+set}" = set; then
  4581   $as_echo_n "(cached) " >&6
  4582 else
  4583   if test -n "$CC"; then
  4584   ac_cv_prog_CC="$CC" # Let the user override the test.
  4585 else
  4586   ac_prog_rejected=no
  4587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4588 for as_dir in $PATH
  4589 do
  4590   IFS=$as_save_IFS
  4591   test -z "$as_dir" && as_dir=.
  4592   for ac_exec_ext in '' $ac_executable_extensions; do
  4593   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4594     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4595        ac_prog_rejected=yes
  4596        continue
  4597      fi
  4598     ac_cv_prog_CC="cc"
  4599     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4600     break 2
  4601   fi
  4602 done
  4603 done
  4604 IFS=$as_save_IFS
  4606 if test $ac_prog_rejected = yes; then
  4607   # We found a bogon in the path, so make sure we never use it.
  4608   set dummy $ac_cv_prog_CC
  4609   shift
  4610   if test $# != 0; then
  4611     # We chose a different compiler from the bogus one.
  4612     # However, it has the same basename, so the bogon will be chosen
  4613     # first if we set CC to just the basename; use the full file name.
  4614     shift
  4615     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4616   fi
  4617 fi
  4618 fi
  4619 fi
  4620 CC=$ac_cv_prog_CC
  4621 if test -n "$CC"; then
  4622   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4623 $as_echo "$CC" >&6; }
  4624 else
  4625   { $as_echo "$as_me:$LINENO: result: no" >&5
  4626 $as_echo "no" >&6; }
  4627 fi
  4630 fi
  4631 if test -z "$CC"; then
  4632   if test -n "$ac_tool_prefix"; then
  4633   for ac_prog in cl.exe
  4634   do
  4635     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4636 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4637 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4638 $as_echo_n "checking for $ac_word... " >&6; }
  4639 if test "${ac_cv_prog_CC+set}" = set; then
  4640   $as_echo_n "(cached) " >&6
  4641 else
  4642   if test -n "$CC"; then
  4643   ac_cv_prog_CC="$CC" # Let the user override the test.
  4644 else
  4645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4646 for as_dir in $PATH
  4647 do
  4648   IFS=$as_save_IFS
  4649   test -z "$as_dir" && as_dir=.
  4650   for ac_exec_ext in '' $ac_executable_extensions; do
  4651   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4652     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4653     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4654     break 2
  4655   fi
  4656 done
  4657 done
  4658 IFS=$as_save_IFS
  4660 fi
  4661 fi
  4662 CC=$ac_cv_prog_CC
  4663 if test -n "$CC"; then
  4664   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4665 $as_echo "$CC" >&6; }
  4666 else
  4667   { $as_echo "$as_me:$LINENO: result: no" >&5
  4668 $as_echo "no" >&6; }
  4669 fi
  4672     test -n "$CC" && break
  4673   done
  4674 fi
  4675 if test -z "$CC"; then
  4676   ac_ct_CC=$CC
  4677   for ac_prog in cl.exe
  4678 do
  4679   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4680 set dummy $ac_prog; ac_word=$2
  4681 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4682 $as_echo_n "checking for $ac_word... " >&6; }
  4683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4684   $as_echo_n "(cached) " >&6
  4685 else
  4686   if test -n "$ac_ct_CC"; then
  4687   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4688 else
  4689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4690 for as_dir in $PATH
  4691 do
  4692   IFS=$as_save_IFS
  4693   test -z "$as_dir" && as_dir=.
  4694   for ac_exec_ext in '' $ac_executable_extensions; do
  4695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4696     ac_cv_prog_ac_ct_CC="$ac_prog"
  4697     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4698     break 2
  4699   fi
  4700 done
  4701 done
  4702 IFS=$as_save_IFS
  4704 fi
  4705 fi
  4706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4707 if test -n "$ac_ct_CC"; then
  4708   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4709 $as_echo "$ac_ct_CC" >&6; }
  4710 else
  4711   { $as_echo "$as_me:$LINENO: result: no" >&5
  4712 $as_echo "no" >&6; }
  4713 fi
  4716   test -n "$ac_ct_CC" && break
  4717 done
  4719   if test "x$ac_ct_CC" = x; then
  4720     CC=""
  4721   else
  4722     case $cross_compiling:$ac_tool_warned in
  4723 yes:)
  4724 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4725 whose name does not start with the host triplet.  If you think this
  4726 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4727 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4728 whose name does not start with the host triplet.  If you think this
  4729 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4730 ac_tool_warned=yes ;;
  4731 esac
  4732     CC=$ac_ct_CC
  4733   fi
  4734 fi
  4736 fi
  4739 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4740 See \`config.log' for more details." >&5
  4741 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  4742 See \`config.log' for more details." >&2;}
  4743    { (exit 1); exit 1; }; }
  4745 # Provide some information about the compiler.
  4746 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  4747 set X $ac_compile
  4748 ac_compiler=$2
  4749 { (ac_try="$ac_compiler --version >&5"
  4750 case "(($ac_try" in
  4751   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4752   *) ac_try_echo=$ac_try;;
  4753 esac
  4754 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4755 $as_echo "$ac_try_echo") >&5
  4756   (eval "$ac_compiler --version >&5") 2>&5
  4757   ac_status=$?
  4758   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4759   (exit $ac_status); }
  4760 { (ac_try="$ac_compiler -v >&5"
  4761 case "(($ac_try" in
  4762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4763   *) ac_try_echo=$ac_try;;
  4764 esac
  4765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4766 $as_echo "$ac_try_echo") >&5
  4767   (eval "$ac_compiler -v >&5") 2>&5
  4768   ac_status=$?
  4769   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4770   (exit $ac_status); }
  4771 { (ac_try="$ac_compiler -V >&5"
  4772 case "(($ac_try" in
  4773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4774   *) ac_try_echo=$ac_try;;
  4775 esac
  4776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4777 $as_echo "$ac_try_echo") >&5
  4778   (eval "$ac_compiler -V >&5") 2>&5
  4779   ac_status=$?
  4780   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4781   (exit $ac_status); }
  4783 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4784 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4785 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4786   $as_echo_n "(cached) " >&6
  4787 else
  4788   cat >conftest.$ac_ext <<_ACEOF
  4789 /* confdefs.h.  */
  4790 _ACEOF
  4791 cat confdefs.h >>conftest.$ac_ext
  4792 cat >>conftest.$ac_ext <<_ACEOF
  4793 /* end confdefs.h.  */
  4795 int
  4796 main ()
  4798 #ifndef __GNUC__
  4799        choke me
  4800 #endif
  4803   return 0;
  4805 _ACEOF
  4806 rm -f conftest.$ac_objext
  4807 if { (ac_try="$ac_compile"
  4808 case "(($ac_try" in
  4809   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4810   *) ac_try_echo=$ac_try;;
  4811 esac
  4812 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4813 $as_echo "$ac_try_echo") >&5
  4814   (eval "$ac_compile") 2>conftest.er1
  4815   ac_status=$?
  4816   grep -v '^ *+' conftest.er1 >conftest.err
  4817   rm -f conftest.er1
  4818   cat conftest.err >&5
  4819   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4820   (exit $ac_status); } && {
  4821 	 test -z "$ac_c_werror_flag" ||
  4822 	 test ! -s conftest.err
  4823        } && test -s conftest.$ac_objext; then
  4824   ac_compiler_gnu=yes
  4825 else
  4826   $as_echo "$as_me: failed program was:" >&5
  4827 sed 's/^/| /' conftest.$ac_ext >&5
  4829 	ac_compiler_gnu=no
  4830 fi
  4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4833 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4835 fi
  4836 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4837 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4838 if test $ac_compiler_gnu = yes; then
  4839   GCC=yes
  4840 else
  4841   GCC=
  4842 fi
  4843 ac_test_CFLAGS=${CFLAGS+set}
  4844 ac_save_CFLAGS=$CFLAGS
  4845 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4846 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4847 if test "${ac_cv_prog_cc_g+set}" = set; then
  4848   $as_echo_n "(cached) " >&6
  4849 else
  4850   ac_save_c_werror_flag=$ac_c_werror_flag
  4851    ac_c_werror_flag=yes
  4852    ac_cv_prog_cc_g=no
  4853    CFLAGS="-g"
  4854    cat >conftest.$ac_ext <<_ACEOF
  4855 /* confdefs.h.  */
  4856 _ACEOF
  4857 cat confdefs.h >>conftest.$ac_ext
  4858 cat >>conftest.$ac_ext <<_ACEOF
  4859 /* end confdefs.h.  */
  4861 int
  4862 main ()
  4866   return 0;
  4868 _ACEOF
  4869 rm -f conftest.$ac_objext
  4870 if { (ac_try="$ac_compile"
  4871 case "(($ac_try" in
  4872   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4873   *) ac_try_echo=$ac_try;;
  4874 esac
  4875 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4876 $as_echo "$ac_try_echo") >&5
  4877   (eval "$ac_compile") 2>conftest.er1
  4878   ac_status=$?
  4879   grep -v '^ *+' conftest.er1 >conftest.err
  4880   rm -f conftest.er1
  4881   cat conftest.err >&5
  4882   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4883   (exit $ac_status); } && {
  4884 	 test -z "$ac_c_werror_flag" ||
  4885 	 test ! -s conftest.err
  4886        } && test -s conftest.$ac_objext; then
  4887   ac_cv_prog_cc_g=yes
  4888 else
  4889   $as_echo "$as_me: failed program was:" >&5
  4890 sed 's/^/| /' conftest.$ac_ext >&5
  4892 	CFLAGS=""
  4893       cat >conftest.$ac_ext <<_ACEOF
  4894 /* confdefs.h.  */
  4895 _ACEOF
  4896 cat confdefs.h >>conftest.$ac_ext
  4897 cat >>conftest.$ac_ext <<_ACEOF
  4898 /* end confdefs.h.  */
  4900 int
  4901 main ()
  4905   return 0;
  4907 _ACEOF
  4908 rm -f conftest.$ac_objext
  4909 if { (ac_try="$ac_compile"
  4910 case "(($ac_try" in
  4911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4912   *) ac_try_echo=$ac_try;;
  4913 esac
  4914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4915 $as_echo "$ac_try_echo") >&5
  4916   (eval "$ac_compile") 2>conftest.er1
  4917   ac_status=$?
  4918   grep -v '^ *+' conftest.er1 >conftest.err
  4919   rm -f conftest.er1
  4920   cat conftest.err >&5
  4921   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4922   (exit $ac_status); } && {
  4923 	 test -z "$ac_c_werror_flag" ||
  4924 	 test ! -s conftest.err
  4925        } && test -s conftest.$ac_objext; then
  4927 else
  4928   $as_echo "$as_me: failed program was:" >&5
  4929 sed 's/^/| /' conftest.$ac_ext >&5
  4931 	ac_c_werror_flag=$ac_save_c_werror_flag
  4932 	 CFLAGS="-g"
  4933 	 cat >conftest.$ac_ext <<_ACEOF
  4934 /* confdefs.h.  */
  4935 _ACEOF
  4936 cat confdefs.h >>conftest.$ac_ext
  4937 cat >>conftest.$ac_ext <<_ACEOF
  4938 /* end confdefs.h.  */
  4940 int
  4941 main ()
  4945   return 0;
  4947 _ACEOF
  4948 rm -f conftest.$ac_objext
  4949 if { (ac_try="$ac_compile"
  4950 case "(($ac_try" in
  4951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4952   *) ac_try_echo=$ac_try;;
  4953 esac
  4954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4955 $as_echo "$ac_try_echo") >&5
  4956   (eval "$ac_compile") 2>conftest.er1
  4957   ac_status=$?
  4958   grep -v '^ *+' conftest.er1 >conftest.err
  4959   rm -f conftest.er1
  4960   cat conftest.err >&5
  4961   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4962   (exit $ac_status); } && {
  4963 	 test -z "$ac_c_werror_flag" ||
  4964 	 test ! -s conftest.err
  4965        } && test -s conftest.$ac_objext; then
  4966   ac_cv_prog_cc_g=yes
  4967 else
  4968   $as_echo "$as_me: failed program was:" >&5
  4969 sed 's/^/| /' conftest.$ac_ext >&5
  4972 fi
  4974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4975 fi
  4977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4978 fi
  4980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4981    ac_c_werror_flag=$ac_save_c_werror_flag
  4982 fi
  4983 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4984 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4985 if test "$ac_test_CFLAGS" = set; then
  4986   CFLAGS=$ac_save_CFLAGS
  4987 elif test $ac_cv_prog_cc_g = yes; then
  4988   if test "$GCC" = yes; then
  4989     CFLAGS="-g -O2"
  4990   else
  4991     CFLAGS="-g"
  4992   fi
  4993 else
  4994   if test "$GCC" = yes; then
  4995     CFLAGS="-O2"
  4996   else
  4997     CFLAGS=
  4998   fi
  4999 fi
  5000 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  5001 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  5002 if test "${ac_cv_prog_cc_c89+set}" = set; then
  5003   $as_echo_n "(cached) " >&6
  5004 else
  5005   ac_cv_prog_cc_c89=no
  5006 ac_save_CC=$CC
  5007 cat >conftest.$ac_ext <<_ACEOF
  5008 /* confdefs.h.  */
  5009 _ACEOF
  5010 cat confdefs.h >>conftest.$ac_ext
  5011 cat >>conftest.$ac_ext <<_ACEOF
  5012 /* end confdefs.h.  */
  5013 #include <stdarg.h>
  5014 #include <stdio.h>
  5015 #include <sys/types.h>
  5016 #include <sys/stat.h>
  5017 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5018 struct buf { int x; };
  5019 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5020 static char *e (p, i)
  5021      char **p;
  5022      int i;
  5024   return p[i];
  5026 static char *f (char * (*g) (char **, int), char **p, ...)
  5028   char *s;
  5029   va_list v;
  5030   va_start (v,p);
  5031   s = g (p, va_arg (v,int));
  5032   va_end (v);
  5033   return s;
  5036 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5037    function prototypes and stuff, but not '\xHH' hex character constants.
  5038    These don't provoke an error unfortunately, instead are silently treated
  5039    as 'x'.  The following induces an error, until -std is added to get
  5040    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5041    array size at least.  It's necessary to write '\x00'==0 to get something
  5042    that's true only with -std.  */
  5043 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5045 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5046    inside strings and character constants.  */
  5047 #define FOO(x) 'x'
  5048 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5050 int test (int i, double x);
  5051 struct s1 {int (*f) (int a);};
  5052 struct s2 {int (*f) (double a);};
  5053 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5054 int argc;
  5055 char **argv;
  5056 int
  5057 main ()
  5059 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5061   return 0;
  5063 _ACEOF
  5064 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5065 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5066 do
  5067   CC="$ac_save_CC $ac_arg"
  5068   rm -f conftest.$ac_objext
  5069 if { (ac_try="$ac_compile"
  5070 case "(($ac_try" in
  5071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5072   *) ac_try_echo=$ac_try;;
  5073 esac
  5074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5075 $as_echo "$ac_try_echo") >&5
  5076   (eval "$ac_compile") 2>conftest.er1
  5077   ac_status=$?
  5078   grep -v '^ *+' conftest.er1 >conftest.err
  5079   rm -f conftest.er1
  5080   cat conftest.err >&5
  5081   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5082   (exit $ac_status); } && {
  5083 	 test -z "$ac_c_werror_flag" ||
  5084 	 test ! -s conftest.err
  5085        } && test -s conftest.$ac_objext; then
  5086   ac_cv_prog_cc_c89=$ac_arg
  5087 else
  5088   $as_echo "$as_me: failed program was:" >&5
  5089 sed 's/^/| /' conftest.$ac_ext >&5
  5092 fi
  5094 rm -f core conftest.err conftest.$ac_objext
  5095   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5096 done
  5097 rm -f conftest.$ac_ext
  5098 CC=$ac_save_CC
  5100 fi
  5101 # AC_CACHE_VAL
  5102 case "x$ac_cv_prog_cc_c89" in
  5103   x)
  5104     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  5105 $as_echo "none needed" >&6; } ;;
  5106   xno)
  5107     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  5108 $as_echo "unsupported" >&6; } ;;
  5109   *)
  5110     CC="$CC $ac_cv_prog_cc_c89"
  5111     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5112 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  5113 esac
  5116 ac_ext=c
  5117 ac_cpp='$CPP $CPPFLAGS'
  5118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5122 depcc="$CC"   am_compiler_list=
  5124 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5125 $as_echo_n "checking dependency style of $depcc... " >&6; }
  5126 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5127   $as_echo_n "(cached) " >&6
  5128 else
  5129   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5130   # We make a subdir and do the tests there.  Otherwise we can end up
  5131   # making bogus files that we don't know about and never remove.  For
  5132   # instance it was reported that on HP-UX the gcc test will end up
  5133   # making a dummy file named `D' -- because `-MD' means `put the output
  5134   # in D'.
  5135   mkdir conftest.dir
  5136   # Copy depcomp to subdir because otherwise we won't find it if we're
  5137   # using a relative directory.
  5138   cp "$am_depcomp" conftest.dir
  5139   cd conftest.dir
  5140   # We will build objects and dependencies in a subdirectory because
  5141   # it helps to detect inapplicable dependency modes.  For instance
  5142   # both Tru64's cc and ICC support -MD to output dependencies as a
  5143   # side effect of compilation, but ICC will put the dependencies in
  5144   # the current directory while Tru64 will put them in the object
  5145   # directory.
  5146   mkdir sub
  5148   am_cv_CC_dependencies_compiler_type=none
  5149   if test "$am_compiler_list" = ""; then
  5150      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5151   fi
  5152   for depmode in $am_compiler_list; do
  5153     # Setup a source with many dependencies, because some compilers
  5154     # like to wrap large dependency lists on column 80 (with \), and
  5155     # we should not choose a depcomp mode which is confused by this.
  5157     # We need to recreate these files for each test, as the compiler may
  5158     # overwrite some of them when testing with obscure command lines.
  5159     # This happens at least with the AIX C compiler.
  5160     : > sub/conftest.c
  5161     for i in 1 2 3 4 5 6; do
  5162       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5163       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5164       # Solaris 8's {/usr,}/bin/sh.
  5165       touch sub/conftst$i.h
  5166     done
  5167     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5169     case $depmode in
  5170     nosideeffect)
  5171       # after this tag, mechanisms are not by side-effect, so they'll
  5172       # only be used when explicitly requested
  5173       if test "x$enable_dependency_tracking" = xyes; then
  5174 	continue
  5175       else
  5176 	break
  5177       fi
  5178       ;;
  5179     none) break ;;
  5180     esac
  5181     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5182     # mode.  It turns out that the SunPro C++ compiler does not properly
  5183     # handle `-M -o', and we need to detect this.
  5184     if depmode=$depmode \
  5185        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5186        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5187        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5188          >/dev/null 2>conftest.err &&
  5189        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5190        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5191        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5192       # icc doesn't choke on unknown options, it will just issue warnings
  5193       # or remarks (even with -Werror).  So we grep stderr for any message
  5194       # that says an option was ignored or not supported.
  5195       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5196       #   icc: Command line warning: ignoring option '-M'; no argument required
  5197       # The diagnosis changed in icc 8.0:
  5198       #   icc: Command line remark: option '-MP' not supported
  5199       if (grep 'ignoring option' conftest.err ||
  5200           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5201         am_cv_CC_dependencies_compiler_type=$depmode
  5202         break
  5203       fi
  5204     fi
  5205   done
  5207   cd ..
  5208   rm -rf conftest.dir
  5209 else
  5210   am_cv_CC_dependencies_compiler_type=none
  5211 fi
  5213 fi
  5214 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5215 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5216 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5220 if
  5221   test "x$enable_dependency_tracking" != xno \
  5222   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5223   am__fastdepCC_TRUE=
  5224   am__fastdepCC_FALSE='#'
  5225 else
  5226   am__fastdepCC_TRUE='#'
  5227   am__fastdepCC_FALSE=
  5228 fi
  5232 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5234 # By default we simply use the C compiler to build assembly code.
  5236 test "${CCAS+set}" = set || CCAS=$CC
  5237 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  5241 ac_ext=c
  5242 ac_cpp='$CPP $CPPFLAGS'
  5243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5246 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5247 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5248 # On Suns, sometimes $CPP names a directory.
  5249 if test -n "$CPP" && test -d "$CPP"; then
  5250   CPP=
  5251 fi
  5252 if test -z "$CPP"; then
  5253   if test "${ac_cv_prog_CPP+set}" = set; then
  5254   $as_echo_n "(cached) " >&6
  5255 else
  5256       # Double quotes because CPP needs to be expanded
  5257     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5258     do
  5259       ac_preproc_ok=false
  5260 for ac_c_preproc_warn_flag in '' yes
  5261 do
  5262   # Use a header file that comes with gcc, so configuring glibc
  5263   # with a fresh cross-compiler works.
  5264   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5265   # <limits.h> exists even on freestanding compilers.
  5266   # On the NeXT, cc -E runs the code through the compiler's parser,
  5267   # not just through cpp. "Syntax error" is here to catch this case.
  5268   cat >conftest.$ac_ext <<_ACEOF
  5269 /* confdefs.h.  */
  5270 _ACEOF
  5271 cat confdefs.h >>conftest.$ac_ext
  5272 cat >>conftest.$ac_ext <<_ACEOF
  5273 /* end confdefs.h.  */
  5274 #ifdef __STDC__
  5275 # include <limits.h>
  5276 #else
  5277 # include <assert.h>
  5278 #endif
  5279 		     Syntax error
  5280 _ACEOF
  5281 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5282 case "(($ac_try" in
  5283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5284   *) ac_try_echo=$ac_try;;
  5285 esac
  5286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5287 $as_echo "$ac_try_echo") >&5
  5288   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5289   ac_status=$?
  5290   grep -v '^ *+' conftest.er1 >conftest.err
  5291   rm -f conftest.er1
  5292   cat conftest.err >&5
  5293   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5294   (exit $ac_status); } >/dev/null && {
  5295 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5296 	 test ! -s conftest.err
  5297        }; then
  5299 else
  5300   $as_echo "$as_me: failed program was:" >&5
  5301 sed 's/^/| /' conftest.$ac_ext >&5
  5303   # Broken: fails on valid input.
  5304 continue
  5305 fi
  5307 rm -f conftest.err conftest.$ac_ext
  5309   # OK, works on sane cases.  Now check whether nonexistent headers
  5310   # can be detected and how.
  5311   cat >conftest.$ac_ext <<_ACEOF
  5312 /* confdefs.h.  */
  5313 _ACEOF
  5314 cat confdefs.h >>conftest.$ac_ext
  5315 cat >>conftest.$ac_ext <<_ACEOF
  5316 /* end confdefs.h.  */
  5317 #include <ac_nonexistent.h>
  5318 _ACEOF
  5319 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5320 case "(($ac_try" in
  5321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5322   *) ac_try_echo=$ac_try;;
  5323 esac
  5324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5325 $as_echo "$ac_try_echo") >&5
  5326   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5327   ac_status=$?
  5328   grep -v '^ *+' conftest.er1 >conftest.err
  5329   rm -f conftest.er1
  5330   cat conftest.err >&5
  5331   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5332   (exit $ac_status); } >/dev/null && {
  5333 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5334 	 test ! -s conftest.err
  5335        }; then
  5336   # Broken: success on invalid input.
  5337 continue
  5338 else
  5339   $as_echo "$as_me: failed program was:" >&5
  5340 sed 's/^/| /' conftest.$ac_ext >&5
  5342   # Passes both tests.
  5343 ac_preproc_ok=:
  5344 break
  5345 fi
  5347 rm -f conftest.err conftest.$ac_ext
  5349 done
  5350 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5351 rm -f conftest.err conftest.$ac_ext
  5352 if $ac_preproc_ok; then
  5353   break
  5354 fi
  5356     done
  5357     ac_cv_prog_CPP=$CPP
  5359 fi
  5360   CPP=$ac_cv_prog_CPP
  5361 else
  5362   ac_cv_prog_CPP=$CPP
  5363 fi
  5364 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  5365 $as_echo "$CPP" >&6; }
  5366 ac_preproc_ok=false
  5367 for ac_c_preproc_warn_flag in '' yes
  5368 do
  5369   # Use a header file that comes with gcc, so configuring glibc
  5370   # with a fresh cross-compiler works.
  5371   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5372   # <limits.h> exists even on freestanding compilers.
  5373   # On the NeXT, cc -E runs the code through the compiler's parser,
  5374   # not just through cpp. "Syntax error" is here to catch this case.
  5375   cat >conftest.$ac_ext <<_ACEOF
  5376 /* confdefs.h.  */
  5377 _ACEOF
  5378 cat confdefs.h >>conftest.$ac_ext
  5379 cat >>conftest.$ac_ext <<_ACEOF
  5380 /* end confdefs.h.  */
  5381 #ifdef __STDC__
  5382 # include <limits.h>
  5383 #else
  5384 # include <assert.h>
  5385 #endif
  5386 		     Syntax error
  5387 _ACEOF
  5388 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5389 case "(($ac_try" in
  5390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5391   *) ac_try_echo=$ac_try;;
  5392 esac
  5393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5394 $as_echo "$ac_try_echo") >&5
  5395   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5396   ac_status=$?
  5397   grep -v '^ *+' conftest.er1 >conftest.err
  5398   rm -f conftest.er1
  5399   cat conftest.err >&5
  5400   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5401   (exit $ac_status); } >/dev/null && {
  5402 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5403 	 test ! -s conftest.err
  5404        }; then
  5406 else
  5407   $as_echo "$as_me: failed program was:" >&5
  5408 sed 's/^/| /' conftest.$ac_ext >&5
  5410   # Broken: fails on valid input.
  5411 continue
  5412 fi
  5414 rm -f conftest.err conftest.$ac_ext
  5416   # OK, works on sane cases.  Now check whether nonexistent headers
  5417   # can be detected and how.
  5418   cat >conftest.$ac_ext <<_ACEOF
  5419 /* confdefs.h.  */
  5420 _ACEOF
  5421 cat confdefs.h >>conftest.$ac_ext
  5422 cat >>conftest.$ac_ext <<_ACEOF
  5423 /* end confdefs.h.  */
  5424 #include <ac_nonexistent.h>
  5425 _ACEOF
  5426 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5427 case "(($ac_try" in
  5428   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5429   *) ac_try_echo=$ac_try;;
  5430 esac
  5431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5432 $as_echo "$ac_try_echo") >&5
  5433   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5434   ac_status=$?
  5435   grep -v '^ *+' conftest.er1 >conftest.err
  5436   rm -f conftest.er1
  5437   cat conftest.err >&5
  5438   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5439   (exit $ac_status); } >/dev/null && {
  5440 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5441 	 test ! -s conftest.err
  5442        }; then
  5443   # Broken: success on invalid input.
  5444 continue
  5445 else
  5446   $as_echo "$as_me: failed program was:" >&5
  5447 sed 's/^/| /' conftest.$ac_ext >&5
  5449   # Passes both tests.
  5450 ac_preproc_ok=:
  5451 break
  5452 fi
  5454 rm -f conftest.err conftest.$ac_ext
  5456 done
  5457 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5458 rm -f conftest.err conftest.$ac_ext
  5459 if $ac_preproc_ok; then
  5461 else
  5462   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5463 See \`config.log' for more details." >&5
  5464 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5465 See \`config.log' for more details." >&2;}
  5466    { (exit 1); exit 1; }; }
  5467 fi
  5469 ac_ext=c
  5470 ac_cpp='$CPP $CPPFLAGS'
  5471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5476 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  5477 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5478 if test "${ac_cv_path_GREP+set}" = set; then
  5479   $as_echo_n "(cached) " >&6
  5480 else
  5481   if test -z "$GREP"; then
  5482   ac_path_GREP_found=false
  5483   # Loop through the user's path and test for each of PROGNAME-LIST
  5484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5486 do
  5487   IFS=$as_save_IFS
  5488   test -z "$as_dir" && as_dir=.
  5489   for ac_prog in grep ggrep; do
  5490     for ac_exec_ext in '' $ac_executable_extensions; do
  5491       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5492       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5493 # Check for GNU ac_path_GREP and select it if it is found.
  5494   # Check for GNU $ac_path_GREP
  5495 case `"$ac_path_GREP" --version 2>&1` in
  5496 *GNU*)
  5497   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5498 *)
  5499   ac_count=0
  5500   $as_echo_n 0123456789 >"conftest.in"
  5501   while :
  5502   do
  5503     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5504     mv "conftest.tmp" "conftest.in"
  5505     cp "conftest.in" "conftest.nl"
  5506     $as_echo 'GREP' >> "conftest.nl"
  5507     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5508     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5509     ac_count=`expr $ac_count + 1`
  5510     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5511       # Best one so far, save it but keep looking for a better one
  5512       ac_cv_path_GREP="$ac_path_GREP"
  5513       ac_path_GREP_max=$ac_count
  5514     fi
  5515     # 10*(2^10) chars as input seems more than enough
  5516     test $ac_count -gt 10 && break
  5517   done
  5518   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5519 esac
  5521       $ac_path_GREP_found && break 3
  5522     done
  5523   done
  5524 done
  5525 IFS=$as_save_IFS
  5526   if test -z "$ac_cv_path_GREP"; then
  5527     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5528 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5529    { (exit 1); exit 1; }; }
  5530   fi
  5531 else
  5532   ac_cv_path_GREP=$GREP
  5533 fi
  5535 fi
  5536 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  5537 $as_echo "$ac_cv_path_GREP" >&6; }
  5538  GREP="$ac_cv_path_GREP"
  5541 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  5542 $as_echo_n "checking for egrep... " >&6; }
  5543 if test "${ac_cv_path_EGREP+set}" = set; then
  5544   $as_echo_n "(cached) " >&6
  5545 else
  5546   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  5547    then ac_cv_path_EGREP="$GREP -E"
  5548    else
  5549      if test -z "$EGREP"; then
  5550   ac_path_EGREP_found=false
  5551   # Loop through the user's path and test for each of PROGNAME-LIST
  5552   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5553 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5554 do
  5555   IFS=$as_save_IFS
  5556   test -z "$as_dir" && as_dir=.
  5557   for ac_prog in egrep; do
  5558     for ac_exec_ext in '' $ac_executable_extensions; do
  5559       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  5560       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  5561 # Check for GNU ac_path_EGREP and select it if it is found.
  5562   # Check for GNU $ac_path_EGREP
  5563 case `"$ac_path_EGREP" --version 2>&1` in
  5564 *GNU*)
  5565   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  5566 *)
  5567   ac_count=0
  5568   $as_echo_n 0123456789 >"conftest.in"
  5569   while :
  5570   do
  5571     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5572     mv "conftest.tmp" "conftest.in"
  5573     cp "conftest.in" "conftest.nl"
  5574     $as_echo 'EGREP' >> "conftest.nl"
  5575     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5576     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5577     ac_count=`expr $ac_count + 1`
  5578     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  5579       # Best one so far, save it but keep looking for a better one
  5580       ac_cv_path_EGREP="$ac_path_EGREP"
  5581       ac_path_EGREP_max=$ac_count
  5582     fi
  5583     # 10*(2^10) chars as input seems more than enough
  5584     test $ac_count -gt 10 && break
  5585   done
  5586   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5587 esac
  5589       $ac_path_EGREP_found && break 3
  5590     done
  5591   done
  5592 done
  5593 IFS=$as_save_IFS
  5594   if test -z "$ac_cv_path_EGREP"; then
  5595     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5596 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5597    { (exit 1); exit 1; }; }
  5598   fi
  5599 else
  5600   ac_cv_path_EGREP=$EGREP
  5601 fi
  5603    fi
  5604 fi
  5605 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  5606 $as_echo "$ac_cv_path_EGREP" >&6; }
  5607  EGREP="$ac_cv_path_EGREP"
  5610 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  5611 $as_echo_n "checking for ANSI C header files... " >&6; }
  5612 if test "${ac_cv_header_stdc+set}" = set; then
  5613   $as_echo_n "(cached) " >&6
  5614 else
  5615   cat >conftest.$ac_ext <<_ACEOF
  5616 /* confdefs.h.  */
  5617 _ACEOF
  5618 cat confdefs.h >>conftest.$ac_ext
  5619 cat >>conftest.$ac_ext <<_ACEOF
  5620 /* end confdefs.h.  */
  5621 #include <stdlib.h>
  5622 #include <stdarg.h>
  5623 #include <string.h>
  5624 #include <float.h>
  5626 int
  5627 main ()
  5631   return 0;
  5633 _ACEOF
  5634 rm -f conftest.$ac_objext
  5635 if { (ac_try="$ac_compile"
  5636 case "(($ac_try" in
  5637   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5638   *) ac_try_echo=$ac_try;;
  5639 esac
  5640 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5641 $as_echo "$ac_try_echo") >&5
  5642   (eval "$ac_compile") 2>conftest.er1
  5643   ac_status=$?
  5644   grep -v '^ *+' conftest.er1 >conftest.err
  5645   rm -f conftest.er1
  5646   cat conftest.err >&5
  5647   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5648   (exit $ac_status); } && {
  5649 	 test -z "$ac_c_werror_flag" ||
  5650 	 test ! -s conftest.err
  5651        } && test -s conftest.$ac_objext; then
  5652   ac_cv_header_stdc=yes
  5653 else
  5654   $as_echo "$as_me: failed program was:" >&5
  5655 sed 's/^/| /' conftest.$ac_ext >&5
  5657 	ac_cv_header_stdc=no
  5658 fi
  5660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5662 if test $ac_cv_header_stdc = yes; then
  5663   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  5664   cat >conftest.$ac_ext <<_ACEOF
  5665 /* confdefs.h.  */
  5666 _ACEOF
  5667 cat confdefs.h >>conftest.$ac_ext
  5668 cat >>conftest.$ac_ext <<_ACEOF
  5669 /* end confdefs.h.  */
  5670 #include <string.h>
  5672 _ACEOF
  5673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5674   $EGREP "memchr" >/dev/null 2>&1; then
  5676 else
  5677   ac_cv_header_stdc=no
  5678 fi
  5679 rm -f conftest*
  5681 fi
  5683 if test $ac_cv_header_stdc = yes; then
  5684   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  5685   cat >conftest.$ac_ext <<_ACEOF
  5686 /* confdefs.h.  */
  5687 _ACEOF
  5688 cat confdefs.h >>conftest.$ac_ext
  5689 cat >>conftest.$ac_ext <<_ACEOF
  5690 /* end confdefs.h.  */
  5691 #include <stdlib.h>
  5693 _ACEOF
  5694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5695   $EGREP "free" >/dev/null 2>&1; then
  5697 else
  5698   ac_cv_header_stdc=no
  5699 fi
  5700 rm -f conftest*
  5702 fi
  5704 if test $ac_cv_header_stdc = yes; then
  5705   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  5706   if test "$cross_compiling" = yes; then
  5708 else
  5709   cat >conftest.$ac_ext <<_ACEOF
  5710 /* confdefs.h.  */
  5711 _ACEOF
  5712 cat confdefs.h >>conftest.$ac_ext
  5713 cat >>conftest.$ac_ext <<_ACEOF
  5714 /* end confdefs.h.  */
  5715 #include <ctype.h>
  5716 #include <stdlib.h>
  5717 #if ((' ' & 0x0FF) == 0x020)
  5718 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  5719 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  5720 #else
  5721 # define ISLOWER(c) \
  5722 		   (('a' <= (c) && (c) <= 'i') \
  5723 		     || ('j' <= (c) && (c) <= 'r') \
  5724 		     || ('s' <= (c) && (c) <= 'z'))
  5725 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  5726 #endif
  5728 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  5729 int
  5730 main ()
  5732   int i;
  5733   for (i = 0; i < 256; i++)
  5734     if (XOR (islower (i), ISLOWER (i))
  5735 	|| toupper (i) != TOUPPER (i))
  5736       return 2;
  5737   return 0;
  5739 _ACEOF
  5740 rm -f conftest$ac_exeext
  5741 if { (ac_try="$ac_link"
  5742 case "(($ac_try" in
  5743   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5744   *) ac_try_echo=$ac_try;;
  5745 esac
  5746 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5747 $as_echo "$ac_try_echo") >&5
  5748   (eval "$ac_link") 2>&5
  5749   ac_status=$?
  5750   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5751   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5752   { (case "(($ac_try" in
  5753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5754   *) ac_try_echo=$ac_try;;
  5755 esac
  5756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5757 $as_echo "$ac_try_echo") >&5
  5758   (eval "$ac_try") 2>&5
  5759   ac_status=$?
  5760   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5761   (exit $ac_status); }; }; then
  5763 else
  5764   $as_echo "$as_me: program exited with status $ac_status" >&5
  5765 $as_echo "$as_me: failed program was:" >&5
  5766 sed 's/^/| /' conftest.$ac_ext >&5
  5768 ( exit $ac_status )
  5769 ac_cv_header_stdc=no
  5770 fi
  5771 rm -rf conftest.dSYM
  5772 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5773 fi
  5776 fi
  5777 fi
  5778 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  5779 $as_echo "$ac_cv_header_stdc" >&6; }
  5780 if test $ac_cv_header_stdc = yes; then
  5782 cat >>confdefs.h <<\_ACEOF
  5783 #define STDC_HEADERS 1
  5784 _ACEOF
  5786 fi
  5788 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  5798 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  5799 		  inttypes.h stdint.h unistd.h
  5800 do
  5801 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5802 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  5803 $as_echo_n "checking for $ac_header... " >&6; }
  5804 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5805   $as_echo_n "(cached) " >&6
  5806 else
  5807   cat >conftest.$ac_ext <<_ACEOF
  5808 /* confdefs.h.  */
  5809 _ACEOF
  5810 cat confdefs.h >>conftest.$ac_ext
  5811 cat >>conftest.$ac_ext <<_ACEOF
  5812 /* end confdefs.h.  */
  5813 $ac_includes_default
  5815 #include <$ac_header>
  5816 _ACEOF
  5817 rm -f conftest.$ac_objext
  5818 if { (ac_try="$ac_compile"
  5819 case "(($ac_try" in
  5820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5821   *) ac_try_echo=$ac_try;;
  5822 esac
  5823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5824 $as_echo "$ac_try_echo") >&5
  5825   (eval "$ac_compile") 2>conftest.er1
  5826   ac_status=$?
  5827   grep -v '^ *+' conftest.er1 >conftest.err
  5828   rm -f conftest.er1
  5829   cat conftest.err >&5
  5830   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5831   (exit $ac_status); } && {
  5832 	 test -z "$ac_c_werror_flag" ||
  5833 	 test ! -s conftest.err
  5834        } && test -s conftest.$ac_objext; then
  5835   eval "$as_ac_Header=yes"
  5836 else
  5837   $as_echo "$as_me: failed program was:" >&5
  5838 sed 's/^/| /' conftest.$ac_ext >&5
  5840 	eval "$as_ac_Header=no"
  5841 fi
  5843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5844 fi
  5845 ac_res=`eval 'as_val=${'$as_ac_Header'}
  5846 		 $as_echo "$as_val"'`
  5847 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  5848 $as_echo "$ac_res" >&6; }
  5849 if test `eval 'as_val=${'$as_ac_Header'}
  5850 		 $as_echo "$as_val"'` = yes; then
  5851   cat >>confdefs.h <<_ACEOF
  5852 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5853 _ACEOF
  5855 fi
  5857 done
  5860 # The cast to long int works around a bug in the HP C Compiler
  5861 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5862 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5863 # This bug is HP SR number 8606223364.
  5864 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
  5865 $as_echo_n "checking size of void *... " >&6; }
  5866 if test "${ac_cv_sizeof_void_p+set}" = set; then
  5867   $as_echo_n "(cached) " >&6
  5868 else
  5869   if test "$cross_compiling" = yes; then
  5870   # Depending upon the size, compute the lo and hi bounds.
  5871 cat >conftest.$ac_ext <<_ACEOF
  5872 /* confdefs.h.  */
  5873 _ACEOF
  5874 cat confdefs.h >>conftest.$ac_ext
  5875 cat >>conftest.$ac_ext <<_ACEOF
  5876 /* end confdefs.h.  */
  5877 $ac_includes_default
  5878 int
  5879 main ()
  5881 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
  5882 test_array [0] = 0
  5885   return 0;
  5887 _ACEOF
  5888 rm -f conftest.$ac_objext
  5889 if { (ac_try="$ac_compile"
  5890 case "(($ac_try" in
  5891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5892   *) ac_try_echo=$ac_try;;
  5893 esac
  5894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5895 $as_echo "$ac_try_echo") >&5
  5896   (eval "$ac_compile") 2>conftest.er1
  5897   ac_status=$?
  5898   grep -v '^ *+' conftest.er1 >conftest.err
  5899   rm -f conftest.er1
  5900   cat conftest.err >&5
  5901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5902   (exit $ac_status); } && {
  5903 	 test -z "$ac_c_werror_flag" ||
  5904 	 test ! -s conftest.err
  5905        } && test -s conftest.$ac_objext; then
  5906   ac_lo=0 ac_mid=0
  5907   while :; do
  5908     cat >conftest.$ac_ext <<_ACEOF
  5909 /* confdefs.h.  */
  5910 _ACEOF
  5911 cat confdefs.h >>conftest.$ac_ext
  5912 cat >>conftest.$ac_ext <<_ACEOF
  5913 /* end confdefs.h.  */
  5914 $ac_includes_default
  5915 int
  5916 main ()
  5918 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  5919 test_array [0] = 0
  5922   return 0;
  5924 _ACEOF
  5925 rm -f conftest.$ac_objext
  5926 if { (ac_try="$ac_compile"
  5927 case "(($ac_try" in
  5928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5929   *) ac_try_echo=$ac_try;;
  5930 esac
  5931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5932 $as_echo "$ac_try_echo") >&5
  5933   (eval "$ac_compile") 2>conftest.er1
  5934   ac_status=$?
  5935   grep -v '^ *+' conftest.er1 >conftest.err
  5936   rm -f conftest.er1
  5937   cat conftest.err >&5
  5938   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5939   (exit $ac_status); } && {
  5940 	 test -z "$ac_c_werror_flag" ||
  5941 	 test ! -s conftest.err
  5942        } && test -s conftest.$ac_objext; then
  5943   ac_hi=$ac_mid; break
  5944 else
  5945   $as_echo "$as_me: failed program was:" >&5
  5946 sed 's/^/| /' conftest.$ac_ext >&5
  5948 	ac_lo=`expr $ac_mid + 1`
  5949 			if test $ac_lo -le $ac_mid; then
  5950 			  ac_lo= ac_hi=
  5951 			  break
  5952 			fi
  5953 			ac_mid=`expr 2 '*' $ac_mid + 1`
  5954 fi
  5956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5957   done
  5958 else
  5959   $as_echo "$as_me: failed program was:" >&5
  5960 sed 's/^/| /' conftest.$ac_ext >&5
  5962 	cat >conftest.$ac_ext <<_ACEOF
  5963 /* confdefs.h.  */
  5964 _ACEOF
  5965 cat confdefs.h >>conftest.$ac_ext
  5966 cat >>conftest.$ac_ext <<_ACEOF
  5967 /* end confdefs.h.  */
  5968 $ac_includes_default
  5969 int
  5970 main ()
  5972 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
  5973 test_array [0] = 0
  5976   return 0;
  5978 _ACEOF
  5979 rm -f conftest.$ac_objext
  5980 if { (ac_try="$ac_compile"
  5981 case "(($ac_try" in
  5982   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5983   *) ac_try_echo=$ac_try;;
  5984 esac
  5985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5986 $as_echo "$ac_try_echo") >&5
  5987   (eval "$ac_compile") 2>conftest.er1
  5988   ac_status=$?
  5989   grep -v '^ *+' conftest.er1 >conftest.err
  5990   rm -f conftest.er1
  5991   cat conftest.err >&5
  5992   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5993   (exit $ac_status); } && {
  5994 	 test -z "$ac_c_werror_flag" ||
  5995 	 test ! -s conftest.err
  5996        } && test -s conftest.$ac_objext; then
  5997   ac_hi=-1 ac_mid=-1
  5998   while :; do
  5999     cat >conftest.$ac_ext <<_ACEOF
  6000 /* confdefs.h.  */
  6001 _ACEOF
  6002 cat confdefs.h >>conftest.$ac_ext
  6003 cat >>conftest.$ac_ext <<_ACEOF
  6004 /* end confdefs.h.  */
  6005 $ac_includes_default
  6006 int
  6007 main ()
  6009 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
  6010 test_array [0] = 0
  6013   return 0;
  6015 _ACEOF
  6016 rm -f conftest.$ac_objext
  6017 if { (ac_try="$ac_compile"
  6018 case "(($ac_try" in
  6019   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6020   *) ac_try_echo=$ac_try;;
  6021 esac
  6022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6023 $as_echo "$ac_try_echo") >&5
  6024   (eval "$ac_compile") 2>conftest.er1
  6025   ac_status=$?
  6026   grep -v '^ *+' conftest.er1 >conftest.err
  6027   rm -f conftest.er1
  6028   cat conftest.err >&5
  6029   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6030   (exit $ac_status); } && {
  6031 	 test -z "$ac_c_werror_flag" ||
  6032 	 test ! -s conftest.err
  6033        } && test -s conftest.$ac_objext; then
  6034   ac_lo=$ac_mid; break
  6035 else
  6036   $as_echo "$as_me: failed program was:" >&5
  6037 sed 's/^/| /' conftest.$ac_ext >&5
  6039 	ac_hi=`expr '(' $ac_mid ')' - 1`
  6040 			if test $ac_mid -le $ac_hi; then
  6041 			  ac_lo= ac_hi=
  6042 			  break
  6043 			fi
  6044 			ac_mid=`expr 2 '*' $ac_mid`
  6045 fi
  6047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6048   done
  6049 else
  6050   $as_echo "$as_me: failed program was:" >&5
  6051 sed 's/^/| /' conftest.$ac_ext >&5
  6053 	ac_lo= ac_hi=
  6054 fi
  6056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6057 fi
  6059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6060 # Binary search between lo and hi bounds.
  6061 while test "x$ac_lo" != "x$ac_hi"; do
  6062   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6063   cat >conftest.$ac_ext <<_ACEOF
  6064 /* confdefs.h.  */
  6065 _ACEOF
  6066 cat confdefs.h >>conftest.$ac_ext
  6067 cat >>conftest.$ac_ext <<_ACEOF
  6068 /* end confdefs.h.  */
  6069 $ac_includes_default
  6070 int
  6071 main ()
  6073 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6074 test_array [0] = 0
  6077   return 0;
  6079 _ACEOF
  6080 rm -f conftest.$ac_objext
  6081 if { (ac_try="$ac_compile"
  6082 case "(($ac_try" in
  6083   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6084   *) ac_try_echo=$ac_try;;
  6085 esac
  6086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6087 $as_echo "$ac_try_echo") >&5
  6088   (eval "$ac_compile") 2>conftest.er1
  6089   ac_status=$?
  6090   grep -v '^ *+' conftest.er1 >conftest.err
  6091   rm -f conftest.er1
  6092   cat conftest.err >&5
  6093   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6094   (exit $ac_status); } && {
  6095 	 test -z "$ac_c_werror_flag" ||
  6096 	 test ! -s conftest.err
  6097        } && test -s conftest.$ac_objext; then
  6098   ac_hi=$ac_mid
  6099 else
  6100   $as_echo "$as_me: failed program was:" >&5
  6101 sed 's/^/| /' conftest.$ac_ext >&5
  6103 	ac_lo=`expr '(' $ac_mid ')' + 1`
  6104 fi
  6106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6107 done
  6108 case $ac_lo in
  6109 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  6110 '') if test "$ac_cv_type_void_p" = yes; then
  6111      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6112 See \`config.log' for more details." >&5
  6113 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6114 See \`config.log' for more details." >&2;}
  6115    { (exit 77); exit 77; }; }
  6116    else
  6117      ac_cv_sizeof_void_p=0
  6118    fi ;;
  6119 esac
  6120 else
  6121   cat >conftest.$ac_ext <<_ACEOF
  6122 /* confdefs.h.  */
  6123 _ACEOF
  6124 cat confdefs.h >>conftest.$ac_ext
  6125 cat >>conftest.$ac_ext <<_ACEOF
  6126 /* end confdefs.h.  */
  6127 $ac_includes_default
  6128 static long int longval () { return (long int) (sizeof (void *)); }
  6129 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
  6130 #include <stdio.h>
  6131 #include <stdlib.h>
  6132 int
  6133 main ()
  6136   FILE *f = fopen ("conftest.val", "w");
  6137   if (! f)
  6138     return 1;
  6139   if (((long int) (sizeof (void *))) < 0)
  6141       long int i = longval ();
  6142       if (i != ((long int) (sizeof (void *))))
  6143 	return 1;
  6144       fprintf (f, "%ld", i);
  6146   else
  6148       unsigned long int i = ulongval ();
  6149       if (i != ((long int) (sizeof (void *))))
  6150 	return 1;
  6151       fprintf (f, "%lu", i);
  6153   /* Do not output a trailing newline, as this causes \r\n confusion
  6154      on some platforms.  */
  6155   return ferror (f) || fclose (f) != 0;
  6158   return 0;
  6160 _ACEOF
  6161 rm -f conftest$ac_exeext
  6162 if { (ac_try="$ac_link"
  6163 case "(($ac_try" in
  6164   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6165   *) ac_try_echo=$ac_try;;
  6166 esac
  6167 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6168 $as_echo "$ac_try_echo") >&5
  6169   (eval "$ac_link") 2>&5
  6170   ac_status=$?
  6171   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6172   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6173   { (case "(($ac_try" in
  6174   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6175   *) ac_try_echo=$ac_try;;
  6176 esac
  6177 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6178 $as_echo "$ac_try_echo") >&5
  6179   (eval "$ac_try") 2>&5
  6180   ac_status=$?
  6181   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6182   (exit $ac_status); }; }; then
  6183   ac_cv_sizeof_void_p=`cat conftest.val`
  6184 else
  6185   $as_echo "$as_me: program exited with status $ac_status" >&5
  6186 $as_echo "$as_me: failed program was:" >&5
  6187 sed 's/^/| /' conftest.$ac_ext >&5
  6189 ( exit $ac_status )
  6190 if test "$ac_cv_type_void_p" = yes; then
  6191      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6192 See \`config.log' for more details." >&5
  6193 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6194 See \`config.log' for more details." >&2;}
  6195    { (exit 77); exit 77; }; }
  6196    else
  6197      ac_cv_sizeof_void_p=0
  6198    fi
  6199 fi
  6200 rm -rf conftest.dSYM
  6201 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6202 fi
  6203 rm -f conftest.val
  6204 fi
  6205 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  6206 $as_echo "$ac_cv_sizeof_void_p" >&6; }
  6210 cat >>confdefs.h <<_ACEOF
  6211 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  6212 _ACEOF
  6215 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6216 $as_echo_n "checking for ANSI C header files... " >&6; }
  6217 if test "${ac_cv_header_stdc+set}" = set; then
  6218   $as_echo_n "(cached) " >&6
  6219 else
  6220   cat >conftest.$ac_ext <<_ACEOF
  6221 /* confdefs.h.  */
  6222 _ACEOF
  6223 cat confdefs.h >>conftest.$ac_ext
  6224 cat >>conftest.$ac_ext <<_ACEOF
  6225 /* end confdefs.h.  */
  6226 #include <stdlib.h>
  6227 #include <stdarg.h>
  6228 #include <string.h>
  6229 #include <float.h>
  6231 int
  6232 main ()
  6236   return 0;
  6238 _ACEOF
  6239 rm -f conftest.$ac_objext
  6240 if { (ac_try="$ac_compile"
  6241 case "(($ac_try" in
  6242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6243   *) ac_try_echo=$ac_try;;
  6244 esac
  6245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6246 $as_echo "$ac_try_echo") >&5
  6247   (eval "$ac_compile") 2>conftest.er1
  6248   ac_status=$?
  6249   grep -v '^ *+' conftest.er1 >conftest.err
  6250   rm -f conftest.er1
  6251   cat conftest.err >&5
  6252   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6253   (exit $ac_status); } && {
  6254 	 test -z "$ac_c_werror_flag" ||
  6255 	 test ! -s conftest.err
  6256        } && test -s conftest.$ac_objext; then
  6257   ac_cv_header_stdc=yes
  6258 else
  6259   $as_echo "$as_me: failed program was:" >&5
  6260 sed 's/^/| /' conftest.$ac_ext >&5
  6262 	ac_cv_header_stdc=no
  6263 fi
  6265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6267 if test $ac_cv_header_stdc = yes; then
  6268   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6269   cat >conftest.$ac_ext <<_ACEOF
  6270 /* confdefs.h.  */
  6271 _ACEOF
  6272 cat confdefs.h >>conftest.$ac_ext
  6273 cat >>conftest.$ac_ext <<_ACEOF
  6274 /* end confdefs.h.  */
  6275 #include <string.h>
  6277 _ACEOF
  6278 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6279   $EGREP "memchr" >/dev/null 2>&1; then
  6281 else
  6282   ac_cv_header_stdc=no
  6283 fi
  6284 rm -f conftest*
  6286 fi
  6288 if test $ac_cv_header_stdc = yes; then
  6289   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6290   cat >conftest.$ac_ext <<_ACEOF
  6291 /* confdefs.h.  */
  6292 _ACEOF
  6293 cat confdefs.h >>conftest.$ac_ext
  6294 cat >>conftest.$ac_ext <<_ACEOF
  6295 /* end confdefs.h.  */
  6296 #include <stdlib.h>
  6298 _ACEOF
  6299 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6300   $EGREP "free" >/dev/null 2>&1; then
  6302 else
  6303   ac_cv_header_stdc=no
  6304 fi
  6305 rm -f conftest*
  6307 fi
  6309 if test $ac_cv_header_stdc = yes; then
  6310   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6311   if test "$cross_compiling" = yes; then
  6313 else
  6314   cat >conftest.$ac_ext <<_ACEOF
  6315 /* confdefs.h.  */
  6316 _ACEOF
  6317 cat confdefs.h >>conftest.$ac_ext
  6318 cat >>conftest.$ac_ext <<_ACEOF
  6319 /* end confdefs.h.  */
  6320 #include <ctype.h>
  6321 #include <stdlib.h>
  6322 #if ((' ' & 0x0FF) == 0x020)
  6323 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6324 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6325 #else
  6326 # define ISLOWER(c) \
  6327 		   (('a' <= (c) && (c) <= 'i') \
  6328 		     || ('j' <= (c) && (c) <= 'r') \
  6329 		     || ('s' <= (c) && (c) <= 'z'))
  6330 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6331 #endif
  6333 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6334 int
  6335 main ()
  6337   int i;
  6338   for (i = 0; i < 256; i++)
  6339     if (XOR (islower (i), ISLOWER (i))
  6340 	|| toupper (i) != TOUPPER (i))
  6341       return 2;
  6342   return 0;
  6344 _ACEOF
  6345 rm -f conftest$ac_exeext
  6346 if { (ac_try="$ac_link"
  6347 case "(($ac_try" in
  6348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6349   *) ac_try_echo=$ac_try;;
  6350 esac
  6351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6352 $as_echo "$ac_try_echo") >&5
  6353   (eval "$ac_link") 2>&5
  6354   ac_status=$?
  6355   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6356   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6357   { (case "(($ac_try" in
  6358   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6359   *) ac_try_echo=$ac_try;;
  6360 esac
  6361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6362 $as_echo "$ac_try_echo") >&5
  6363   (eval "$ac_try") 2>&5
  6364   ac_status=$?
  6365   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6366   (exit $ac_status); }; }; then
  6368 else
  6369   $as_echo "$as_me: program exited with status $ac_status" >&5
  6370 $as_echo "$as_me: failed program was:" >&5
  6371 sed 's/^/| /' conftest.$ac_ext >&5
  6373 ( exit $ac_status )
  6374 ac_cv_header_stdc=no
  6375 fi
  6376 rm -rf conftest.dSYM
  6377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6378 fi
  6381 fi
  6382 fi
  6383 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6384 $as_echo "$ac_cv_header_stdc" >&6; }
  6385 if test $ac_cv_header_stdc = yes; then
  6387 cat >>confdefs.h <<\_ACEOF
  6388 #define STDC_HEADERS 1
  6389 _ACEOF
  6391 fi
  6393 # Make sure we can run config.sub.
  6394 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  6395   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  6396 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  6397    { (exit 1); exit 1; }; }
  6399 { $as_echo "$as_me:$LINENO: checking build system type" >&5
  6400 $as_echo_n "checking build system type... " >&6; }
  6401 if test "${ac_cv_build+set}" = set; then
  6402   $as_echo_n "(cached) " >&6
  6403 else
  6404   ac_build_alias=$build_alias
  6405 test "x$ac_build_alias" = x &&
  6406   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  6407 test "x$ac_build_alias" = x &&
  6408   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  6409 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  6410    { (exit 1); exit 1; }; }
  6411 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  6412   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  6413 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  6414    { (exit 1); exit 1; }; }
  6416 fi
  6417 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  6418 $as_echo "$ac_cv_build" >&6; }
  6419 case $ac_cv_build in
  6420 *-*-*) ;;
  6421 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  6422 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  6423    { (exit 1); exit 1; }; };;
  6424 esac
  6425 build=$ac_cv_build
  6426 ac_save_IFS=$IFS; IFS='-'
  6427 set x $ac_cv_build
  6428 shift
  6429 build_cpu=$1
  6430 build_vendor=$2
  6431 shift; shift
  6432 # Remember, the first character of IFS is used to create $*,
  6433 # except with old shells:
  6434 build_os=$*
  6435 IFS=$ac_save_IFS
  6436 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  6439 { $as_echo "$as_me:$LINENO: checking host system type" >&5
  6440 $as_echo_n "checking host system type... " >&6; }
  6441 if test "${ac_cv_host+set}" = set; then
  6442   $as_echo_n "(cached) " >&6
  6443 else
  6444   if test "x$host_alias" = x; then
  6445   ac_cv_host=$ac_cv_build
  6446 else
  6447   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  6448     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  6449 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  6450    { (exit 1); exit 1; }; }
  6451 fi
  6453 fi
  6454 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  6455 $as_echo "$ac_cv_host" >&6; }
  6456 case $ac_cv_host in
  6457 *-*-*) ;;
  6458 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  6459 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  6460    { (exit 1); exit 1; }; };;
  6461 esac
  6462 host=$ac_cv_host
  6463 ac_save_IFS=$IFS; IFS='-'
  6464 set x $ac_cv_host
  6465 shift
  6466 host_cpu=$1
  6467 host_vendor=$2
  6468 shift; shift
  6469 # Remember, the first character of IFS is used to create $*,
  6470 # except with old shells:
  6471 host_os=$*
  6472 IFS=$ac_save_IFS
  6473 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  6477 # Extract the first word of "pod2man", so it can be a program name with args.
  6478 set dummy pod2man; ac_word=$2
  6479 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6480 $as_echo_n "checking for $ac_word... " >&6; }
  6481 if test "${ac_cv_path_POD2MAN+set}" = set; then
  6482   $as_echo_n "(cached) " >&6
  6483 else
  6484   case $POD2MAN in
  6485   [\\/]* | ?:[\\/]*)
  6486   ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
  6487   ;;
  6488   *)
  6489   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6490 for as_dir in $PATH
  6491 do
  6492   IFS=$as_save_IFS
  6493   test -z "$as_dir" && as_dir=.
  6494   for ac_exec_ext in '' $ac_executable_extensions; do
  6495   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6496     ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
  6497     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6498     break 2
  6499   fi
  6500 done
  6501 done
  6502 IFS=$as_save_IFS
  6504   ;;
  6505 esac
  6506 fi
  6507 POD2MAN=$ac_cv_path_POD2MAN
  6508 if test -n "$POD2MAN"; then
  6509   { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5
  6510 $as_echo "$POD2MAN" >&6; }
  6511 else
  6512   { $as_echo "$as_me:$LINENO: result: no" >&5
  6513 $as_echo "no" >&6; }
  6514 fi
  6517 # Extract the first word of "pod2html", so it can be a program name with args.
  6518 set dummy pod2html; ac_word=$2
  6519 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6520 $as_echo_n "checking for $ac_word... " >&6; }
  6521 if test "${ac_cv_path_POD2HTML+set}" = set; then
  6522   $as_echo_n "(cached) " >&6
  6523 else
  6524   case $POD2HTML in
  6525   [\\/]* | ?:[\\/]*)
  6526   ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
  6527   ;;
  6528   *)
  6529   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6530 for as_dir in $PATH
  6531 do
  6532   IFS=$as_save_IFS
  6533   test -z "$as_dir" && as_dir=.
  6534   for ac_exec_ext in '' $ac_executable_extensions; do
  6535   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6536     ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
  6537     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6538     break 2
  6539   fi
  6540 done
  6541 done
  6542 IFS=$as_save_IFS
  6544   ;;
  6545 esac
  6546 fi
  6547 POD2HTML=$ac_cv_path_POD2HTML
  6548 if test -n "$POD2HTML"; then
  6549   { $as_echo "$as_me:$LINENO: result: $POD2HTML" >&5
  6550 $as_echo "$POD2HTML" >&6; }
  6551 else
  6552   { $as_echo "$as_me:$LINENO: result: no" >&5
  6553 $as_echo "no" >&6; }
  6554 fi
  6559 # Check whether --enable-strict-warn was given.
  6560 if test "${enable_strict_warn+set}" = set; then
  6561   enableval=$enable_strict_warn; CFLAGS="$CFLAGS -Werror -Wall -Wno-unused"
  6562 fi
  6564 # Check whether --enable-translator was given.
  6565 if test "${enable_translator+set}" = set; then
  6566   enableval=$enable_translator; true
  6567 else
  6568   enable_translator=yes
  6569 fi
  6571 # Check whether --enable-optimized was given.
  6572 if test "${enable_optimized+set}" = set; then
  6573   enableval=$enable_optimized; true
  6574 else
  6575   enable_optimized=yes
  6576 fi
  6578 # Check whether --enable-trace was given.
  6579 if test "${enable_trace+set}" = set; then
  6580   enableval=$enable_trace; if test "$enableval" == "yes"; then
  6582 cat >>confdefs.h <<\_ACEOF
  6583 #define ENABLE_TRACE_IO 1
  6584 _ACEOF
  6586     fi
  6587 fi
  6589 # Check whether --enable-watch was given.
  6590 if test "${enable_watch+set}" = set; then
  6591   enableval=$enable_watch; if test "$enableval" == "yes"; then
  6593 cat >>confdefs.h <<\_ACEOF
  6594 #define ENABLE_WATCH 1
  6595 _ACEOF
  6597    fi
  6598 fi
  6600 # Check whether --enable-sh4stats was given.
  6601 if test "${enable_sh4stats+set}" = set; then
  6602   enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
  6604 cat >>confdefs.h <<\_ACEOF
  6605 #define ENABLE_SH4STATS 1
  6606 _ACEOF
  6608     fi
  6609 fi
  6612 # Check whether --with-osmesa was given.
  6613 if test "${with_osmesa+set}" = set; then
  6614   withval=$with_osmesa;
  6615 else
  6616   with_osmesa=no
  6617 fi
  6620 # Check whether --with-gtk was given.
  6621 if test "${with_gtk+set}" = set; then
  6622   withval=$with_gtk; with_gtk=yes
  6623 else
  6624   with_gtk=x11
  6625 fi
  6628 # Check whether --with-esd was given.
  6629 if test "${with_esd+set}" = set; then
  6630   withval=$with_esd;
  6631 fi
  6634 # Check whether --with-pulse was given.
  6635 if test "${with_pulse+set}" = set; then
  6636   withval=$with_pulse;
  6637 fi
  6641 if test "x$enable_optimized" = "xyes"; then
  6642    CFLAGS="-g -O2"
  6643 else
  6644    CFLAGS="-g3"
  6645 fi
  6646 if test "x$GCC" = "xyes"; then
  6647    CFLAGS="$CFLAGS -fno-strict-aliasing"
  6648 fi
  6652 lxdream_save_cppflags="$CPPFLAGS"
  6653 CPPFLAGS="$CPPFLAGS -x objective-c"
  6654 cat >conftest.$ac_ext <<_ACEOF
  6655 /* confdefs.h.  */
  6656 _ACEOF
  6657 cat confdefs.h >>conftest.$ac_ext
  6658 cat >>conftest.$ac_ext <<_ACEOF
  6659 /* end confdefs.h.  */
  6660 @interface Foo @end
  6661 int
  6662 main ()
  6666   return 0;
  6668 _ACEOF
  6669 rm -f conftest.$ac_objext
  6670 if { (ac_try="$ac_compile"
  6671 case "(($ac_try" in
  6672   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6673   *) ac_try_echo=$ac_try;;
  6674 esac
  6675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6676 $as_echo "$ac_try_echo") >&5
  6677   (eval "$ac_compile") 2>conftest.er1
  6678   ac_status=$?
  6679   grep -v '^ *+' conftest.er1 >conftest.err
  6680   rm -f conftest.er1
  6681   cat conftest.err >&5
  6682   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6683   (exit $ac_status); } && {
  6684 	 test -z "$ac_c_werror_flag" ||
  6685 	 test ! -s conftest.err
  6686        } && test -s conftest.$ac_objext; then
  6689    if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6690   { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  6691 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
  6692 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6693   $as_echo_n "(cached) " >&6
  6694 fi
  6695 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  6696 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  6697 else
  6698   # Is the header compilable?
  6699 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
  6700 $as_echo_n "checking Cocoa/Cocoa.h usability... " >&6; }
  6701 cat >conftest.$ac_ext <<_ACEOF
  6702 /* confdefs.h.  */
  6703 _ACEOF
  6704 cat confdefs.h >>conftest.$ac_ext
  6705 cat >>conftest.$ac_ext <<_ACEOF
  6706 /* end confdefs.h.  */
  6707 $ac_includes_default
  6708 #include <Cocoa/Cocoa.h>
  6709 _ACEOF
  6710 rm -f conftest.$ac_objext
  6711 if { (ac_try="$ac_compile"
  6712 case "(($ac_try" in
  6713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6714   *) ac_try_echo=$ac_try;;
  6715 esac
  6716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6717 $as_echo "$ac_try_echo") >&5
  6718   (eval "$ac_compile") 2>conftest.er1
  6719   ac_status=$?
  6720   grep -v '^ *+' conftest.er1 >conftest.err
  6721   rm -f conftest.er1
  6722   cat conftest.err >&5
  6723   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6724   (exit $ac_status); } && {
  6725 	 test -z "$ac_c_werror_flag" ||
  6726 	 test ! -s conftest.err
  6727        } && test -s conftest.$ac_objext; then
  6728   ac_header_compiler=yes
  6729 else
  6730   $as_echo "$as_me: failed program was:" >&5
  6731 sed 's/^/| /' conftest.$ac_ext >&5
  6733 	ac_header_compiler=no
  6734 fi
  6736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6737 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6738 $as_echo "$ac_header_compiler" >&6; }
  6740 # Is the header present?
  6741 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
  6742 $as_echo_n "checking Cocoa/Cocoa.h presence... " >&6; }
  6743 cat >conftest.$ac_ext <<_ACEOF
  6744 /* confdefs.h.  */
  6745 _ACEOF
  6746 cat confdefs.h >>conftest.$ac_ext
  6747 cat >>conftest.$ac_ext <<_ACEOF
  6748 /* end confdefs.h.  */
  6749 #include <Cocoa/Cocoa.h>
  6750 _ACEOF
  6751 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6752 case "(($ac_try" in
  6753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6754   *) ac_try_echo=$ac_try;;
  6755 esac
  6756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6757 $as_echo "$ac_try_echo") >&5
  6758   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6759   ac_status=$?
  6760   grep -v '^ *+' conftest.er1 >conftest.err
  6761   rm -f conftest.er1
  6762   cat conftest.err >&5
  6763   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6764   (exit $ac_status); } >/dev/null && {
  6765 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6766 	 test ! -s conftest.err
  6767        }; then
  6768   ac_header_preproc=yes
  6769 else
  6770   $as_echo "$as_me: failed program was:" >&5
  6771 sed 's/^/| /' conftest.$ac_ext >&5
  6773   ac_header_preproc=no
  6774 fi
  6776 rm -f conftest.err conftest.$ac_ext
  6777 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6778 $as_echo "$ac_header_preproc" >&6; }
  6780 # So?  What about this header?
  6781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6782   yes:no: )
  6783     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6784 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6785     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
  6786 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
  6787     ac_header_preproc=yes
  6788     ;;
  6789   no:yes:* )
  6790     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
  6791 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
  6792     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&5
  6793 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&2;}
  6794     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
  6795 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
  6796     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&5
  6797 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6798     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&5
  6799 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}
  6800     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&5
  6801 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
  6803     ;;
  6804 esac
  6805 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  6806 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
  6807 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6808   $as_echo_n "(cached) " >&6
  6809 else
  6810   ac_cv_header_Cocoa_Cocoa_h=$ac_header_preproc
  6811 fi
  6812 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  6813 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  6815 fi
  6816 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
  6818       HAVE_COCOA='yes'
  6819       APPLE_BUILD='yes'
  6820       LIBS="$LIBS -framework AppKit"
  6821       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"
  6822       CPPFLAGS="$CPPFLAGS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4"
  6823       LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
  6825 cat >>confdefs.h <<\_ACEOF
  6826 #define HAVE_COCOA 1
  6827 _ACEOF
  6830 cat >>confdefs.h <<\_ACEOF
  6831 #define APPLE_BUILD 1
  6832 _ACEOF
  6834       if test "x$with_gtk" = "xx11"; then
  6835         with_gtk=no
  6836       fi
  6838 fi
  6843 else
  6844   $as_echo "$as_me: failed program was:" >&5
  6845 sed 's/^/| /' conftest.$ac_ext >&5
  6847 	CPPFLAGS="$lxdream_save_cppflags"
  6848 fi
  6850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6853 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
  6854   GUI_COCOA_TRUE=
  6855   GUI_COCOA_FALSE='#'
  6856 else
  6857   GUI_COCOA_TRUE='#'
  6858   GUI_COCOA_FALSE=
  6859 fi
  6861 if test "x$HAVE_COCOA" = 'xyes' -a "x$with_gtk" = "xno"; then
  6863 cat >>confdefs.h <<\_ACEOF
  6864 #define OSX_BUNDLE 1
  6865 _ACEOF
  6867 fi
  6868 if test "x$enable_optimized" = "xyes" -a "x$APPLE_BUILD" != "xyes"; then
  6869    CFLAGS="$CFLAGS -fexceptions -fomit-frame-pointer"
  6871 cat >>confdefs.h <<\_ACEOF
  6872 #define HAVE_EXCEPTIONS 1
  6873 _ACEOF
  6875 fi
  6879 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  6880 	if test -n "$ac_tool_prefix"; then
  6881   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  6882 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  6883 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6884 $as_echo_n "checking for $ac_word... " >&6; }
  6885 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  6886   $as_echo_n "(cached) " >&6
  6887 else
  6888   case $PKG_CONFIG in
  6889   [\\/]* | ?:[\\/]*)
  6890   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  6891   ;;
  6892   *)
  6893   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6894 for as_dir in $PATH
  6895 do
  6896   IFS=$as_save_IFS
  6897   test -z "$as_dir" && as_dir=.
  6898   for ac_exec_ext in '' $ac_executable_extensions; do
  6899   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6900     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  6901     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6902     break 2
  6903   fi
  6904 done
  6905 done
  6906 IFS=$as_save_IFS
  6908   ;;
  6909 esac
  6910 fi
  6911 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  6912 if test -n "$PKG_CONFIG"; then
  6913   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  6914 $as_echo "$PKG_CONFIG" >&6; }
  6915 else
  6916   { $as_echo "$as_me:$LINENO: result: no" >&5
  6917 $as_echo "no" >&6; }
  6918 fi
  6921 fi
  6922 if test -z "$ac_cv_path_PKG_CONFIG"; then
  6923   ac_pt_PKG_CONFIG=$PKG_CONFIG
  6924   # Extract the first word of "pkg-config", so it can be a program name with args.
  6925 set dummy pkg-config; ac_word=$2
  6926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6927 $as_echo_n "checking for $ac_word... " >&6; }
  6928 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  6929   $as_echo_n "(cached) " >&6
  6930 else
  6931   case $ac_pt_PKG_CONFIG in
  6932   [\\/]* | ?:[\\/]*)
  6933   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  6934   ;;
  6935   *)
  6936   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6937 for as_dir in $PATH
  6938 do
  6939   IFS=$as_save_IFS
  6940   test -z "$as_dir" && as_dir=.
  6941   for ac_exec_ext in '' $ac_executable_extensions; do
  6942   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6943     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  6944     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6945     break 2
  6946   fi
  6947 done
  6948 done
  6949 IFS=$as_save_IFS
  6951   ;;
  6952 esac
  6953 fi
  6954 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  6955 if test -n "$ac_pt_PKG_CONFIG"; then
  6956   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  6957 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  6958 else
  6959   { $as_echo "$as_me:$LINENO: result: no" >&5
  6960 $as_echo "no" >&6; }
  6961 fi
  6963   if test "x$ac_pt_PKG_CONFIG" = x; then
  6964     PKG_CONFIG=""
  6965   else
  6966     case $cross_compiling:$ac_tool_warned in
  6967 yes:)
  6968 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  6969 whose name does not start with the host triplet.  If you think this
  6970 configuration is useful to you, please write to autoconf@gnu.org." >&5
  6971 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6972 whose name does not start with the host triplet.  If you think this
  6973 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6974 ac_tool_warned=yes ;;
  6975 esac
  6976     PKG_CONFIG=$ac_pt_PKG_CONFIG
  6977   fi
  6978 else
  6979   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  6980 fi
  6982 fi
  6983 if test -n "$PKG_CONFIG"; then
  6984 	_pkg_min_version=0.9.0
  6985 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  6986 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  6987 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  6988 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
  6989 $as_echo "yes" >&6; }
  6990 	else
  6991 		{ $as_echo "$as_me:$LINENO: result: no" >&5
  6992 $as_echo "no" >&6; }
  6993 		PKG_CONFIG=""
  6994 	fi
  6996 fi
  6998 pkg_failed=no
  6999 { $as_echo "$as_me:$LINENO: checking for LIBPNG" >&5
  7000 $as_echo_n "checking for LIBPNG... " >&6; }
  7002 if test -n "$PKG_CONFIG"; then
  7003     if test -n "$LIBPNG_CFLAGS"; then
  7004         pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
  7005     else
  7006         if test -n "$PKG_CONFIG" && \
  7007     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  7008   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  7009   ac_status=$?
  7010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7011   (exit $ac_status); }; then
  7012   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
  7013 else
  7014   pkg_failed=yes
  7015 fi
  7016     fi
  7017 else
  7018 	pkg_failed=untried
  7019 fi
  7020 if test -n "$PKG_CONFIG"; then
  7021     if test -n "$LIBPNG_LIBS"; then
  7022         pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
  7023     else
  7024         if test -n "$PKG_CONFIG" && \
  7025     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  7026   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  7027   ac_status=$?
  7028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7029   (exit $ac_status); }; then
  7030   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
  7031 else
  7032   pkg_failed=yes
  7033 fi
  7034     fi
  7035 else
  7036 	pkg_failed=untried
  7037 fi
  7041 if test $pkg_failed = yes; then
  7043 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  7044         _pkg_short_errors_supported=yes
  7045 else
  7046         _pkg_short_errors_supported=no
  7047 fi
  7048         if test $_pkg_short_errors_supported = yes; then
  7049 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
  7050         else
  7051 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`
  7052         fi
  7053 	# Put the nasty error message in config.log where it belongs
  7054 	echo "$LIBPNG_PKG_ERRORS" >&5
  7056 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
  7058 $LIBPNG_PKG_ERRORS
  7060 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7061 installed software in a non-standard prefix.
  7063 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  7064 and LIBPNG_LIBS to avoid the need to call pkg-config.
  7065 See the pkg-config man page for more details.
  7066 " >&5
  7067 $as_echo "$as_me: error: Package requirements (libpng ) were not met:
  7069 $LIBPNG_PKG_ERRORS
  7071 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7072 installed software in a non-standard prefix.
  7074 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  7075 and LIBPNG_LIBS to avoid the need to call pkg-config.
  7076 See the pkg-config man page for more details.
  7077 " >&2;}
  7078    { (exit 1); exit 1; }; }
  7079 elif test $pkg_failed = untried; then
  7080 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  7081 is in your PATH or set the PKG_CONFIG environment variable to the full
  7082 path to pkg-config.
  7084 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  7085 and LIBPNG_LIBS to avoid the need to call pkg-config.
  7086 See the pkg-config man page for more details.
  7088 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7089 See \`config.log' for more details." >&5
  7090 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  7091 is in your PATH or set the PKG_CONFIG environment variable to the full
  7092 path to pkg-config.
  7094 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  7095 and LIBPNG_LIBS to avoid the need to call pkg-config.
  7096 See the pkg-config man page for more details.
  7098 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7099 See \`config.log' for more details." >&2;}
  7100    { (exit 1); exit 1; }; }
  7101 else
  7102 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
  7103 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
  7104         { $as_echo "$as_me:$LINENO: result: yes" >&5
  7105 $as_echo "yes" >&6; }
  7107 fi
  7110 { $as_echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
  7111 $as_echo_n "checking for uncompress in -lz... " >&6; }
  7112 if test "${ac_cv_lib_z_uncompress+set}" = set; then
  7113   $as_echo_n "(cached) " >&6
  7114 else
  7115   ac_check_lib_save_LIBS=$LIBS
  7116 LIBS="-lz  $LIBS"
  7117 cat >conftest.$ac_ext <<_ACEOF
  7118 /* confdefs.h.  */
  7119 _ACEOF
  7120 cat confdefs.h >>conftest.$ac_ext
  7121 cat >>conftest.$ac_ext <<_ACEOF
  7122 /* end confdefs.h.  */
  7124 /* Override any GCC internal prototype to avoid an error.
  7125    Use char because int might match the return type of a GCC
  7126    builtin and then its argument prototype would still apply.  */
  7127 #ifdef __cplusplus
  7128 extern "C"
  7129 #endif
  7130 char uncompress ();
  7131 int
  7132 main ()
  7134 return uncompress ();
  7136   return 0;
  7138 _ACEOF
  7139 rm -f conftest.$ac_objext conftest$ac_exeext
  7140 if { (ac_try="$ac_link"
  7141 case "(($ac_try" in
  7142   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7143   *) ac_try_echo=$ac_try;;
  7144 esac
  7145 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7146 $as_echo "$ac_try_echo") >&5
  7147   (eval "$ac_link") 2>conftest.er1
  7148   ac_status=$?
  7149   grep -v '^ *+' conftest.er1 >conftest.err
  7150   rm -f conftest.er1
  7151   cat conftest.err >&5
  7152   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7153   (exit $ac_status); } && {
  7154 	 test -z "$ac_c_werror_flag" ||
  7155 	 test ! -s conftest.err
  7156        } && test -s conftest$ac_exeext && {
  7157 	 test "$cross_compiling" = yes ||
  7158 	 $as_test_x conftest$ac_exeext
  7159        }; then
  7160   ac_cv_lib_z_uncompress=yes
  7161 else
  7162   $as_echo "$as_me: failed program was:" >&5
  7163 sed 's/^/| /' conftest.$ac_ext >&5
  7165 	ac_cv_lib_z_uncompress=no
  7166 fi
  7168 rm -rf conftest.dSYM
  7169 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7170       conftest$ac_exeext conftest.$ac_ext
  7171 LIBS=$ac_check_lib_save_LIBS
  7172 fi
  7173 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
  7174 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
  7175 if test $ac_cv_lib_z_uncompress = yes; then
  7176   cat >>confdefs.h <<_ACEOF
  7177 #define HAVE_LIBZ 1
  7178 _ACEOF
  7180   LIBS="-lz $LIBS"
  7182 else
  7184     echo "Zlib (libz.so) could not be found, but is required."
  7185     exit 1
  7186 fi
  7189 if test "x$with_gtk" = "xno"; then
  7191 pkg_failed=no
  7192 { $as_echo "$as_me:$LINENO: checking for GLIB" >&5
  7193 $as_echo_n "checking for GLIB... " >&6; }
  7195 if test -n "$PKG_CONFIG"; then
  7196     if test -n "$GLIB_CFLAGS"; then
  7197         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
  7198     else
  7199         if test -n "$PKG_CONFIG" && \
  7200     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
  7201   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  7202   ac_status=$?
  7203   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7204   (exit $ac_status); }; then
  7205   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
  7206 else
  7207   pkg_failed=yes
  7208 fi
  7209     fi
  7210 else
  7211 	pkg_failed=untried
  7212 fi
  7213 if test -n "$PKG_CONFIG"; then
  7214     if test -n "$GLIB_LIBS"; then
  7215         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
  7216     else
  7217         if test -n "$PKG_CONFIG" && \
  7218     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
  7219   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  7220   ac_status=$?
  7221   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7222   (exit $ac_status); }; then
  7223   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
  7224 else
  7225   pkg_failed=yes
  7226 fi
  7227     fi
  7228 else
  7229 	pkg_failed=untried
  7230 fi
  7234 if test $pkg_failed = yes; then
  7236 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  7237         _pkg_short_errors_supported=yes
  7238 else
  7239         _pkg_short_errors_supported=no
  7240 fi
  7241         if test $_pkg_short_errors_supported = yes; then
  7242 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
  7243         else
  7244 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
  7245         fi
  7246 	# Put the nasty error message in config.log where it belongs
  7247 	echo "$GLIB_PKG_ERRORS" >&5
  7249 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
  7251 $GLIB_PKG_ERRORS
  7253 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7254 installed software in a non-standard prefix.
  7256 Alternatively, you may set the environment variables GLIB_CFLAGS
  7257 and GLIB_LIBS to avoid the need to call pkg-config.
  7258 See the pkg-config man page for more details.
  7259 " >&5
  7260 $as_echo "$as_me: error: Package requirements (glib-2.0) were not met:
  7262 $GLIB_PKG_ERRORS
  7264 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7265 installed software in a non-standard prefix.
  7267 Alternatively, you may set the environment variables GLIB_CFLAGS
  7268 and GLIB_LIBS to avoid the need to call pkg-config.
  7269 See the pkg-config man page for more details.
  7270 " >&2;}
  7271    { (exit 1); exit 1; }; }
  7272 elif test $pkg_failed = untried; then
  7273 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  7274 is in your PATH or set the PKG_CONFIG environment variable to the full
  7275 path to pkg-config.
  7277 Alternatively, you may set the environment variables GLIB_CFLAGS
  7278 and GLIB_LIBS to avoid the need to call pkg-config.
  7279 See the pkg-config man page for more details.
  7281 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7282 See \`config.log' for more details." >&5
  7283 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  7284 is in your PATH or set the PKG_CONFIG environment variable to the full
  7285 path to pkg-config.
  7287 Alternatively, you may set the environment variables GLIB_CFLAGS
  7288 and GLIB_LIBS to avoid the need to call pkg-config.
  7289 See the pkg-config man page for more details.
  7291 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7292 See \`config.log' for more details." >&2;}
  7293    { (exit 1); exit 1; }; }
  7294 else
  7295 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
  7296 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
  7297         { $as_echo "$as_me:$LINENO: result: yes" >&5
  7298 $as_echo "yes" >&6; }
  7300 fi
  7301 else
  7303 pkg_failed=no
  7304 { $as_echo "$as_me:$LINENO: checking for GTK" >&5
  7305 $as_echo_n "checking for GTK... " >&6; }
  7307 if test -n "$PKG_CONFIG"; then
  7308     if test -n "$GTK_CFLAGS"; then
  7309         pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
  7310     else
  7311         if test -n "$PKG_CONFIG" && \
  7312     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  7313   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  7314   ac_status=$?
  7315   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7316   (exit $ac_status); }; then
  7317   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
  7318 else
  7319   pkg_failed=yes
  7320 fi
  7321     fi
  7322 else
  7323 	pkg_failed=untried
  7324 fi
  7325 if test -n "$PKG_CONFIG"; then
  7326     if test -n "$GTK_LIBS"; then
  7327         pkg_cv_GTK_LIBS="$GTK_LIBS"
  7328     else
  7329         if test -n "$PKG_CONFIG" && \
  7330     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  7331   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  7332   ac_status=$?
  7333   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7334   (exit $ac_status); }; then
  7335   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
  7336 else
  7337   pkg_failed=yes
  7338 fi
  7339     fi
  7340 else
  7341 	pkg_failed=untried
  7342 fi
  7346 if test $pkg_failed = yes; then
  7348 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  7349         _pkg_short_errors_supported=yes
  7350 else
  7351         _pkg_short_errors_supported=no
  7352 fi
  7353         if test $_pkg_short_errors_supported = yes; then
  7354 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
  7355         else
  7356 	        GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
  7357         fi
  7358 	# Put the nasty error message in config.log where it belongs
  7359 	echo "$GTK_PKG_ERRORS" >&5
  7361 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
  7363 $GTK_PKG_ERRORS
  7365 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7366 installed software in a non-standard prefix.
  7368 Alternatively, you may set the environment variables GTK_CFLAGS
  7369 and GTK_LIBS to avoid the need to call pkg-config.
  7370 See the pkg-config man page for more details.
  7371 " >&5
  7372 $as_echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
  7374 $GTK_PKG_ERRORS
  7376 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7377 installed software in a non-standard prefix.
  7379 Alternatively, you may set the environment variables GTK_CFLAGS
  7380 and GTK_LIBS to avoid the need to call pkg-config.
  7381 See the pkg-config man page for more details.
  7382 " >&2;}
  7383    { (exit 1); exit 1; }; }
  7384 elif test $pkg_failed = untried; then
  7385 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  7386 is in your PATH or set the PKG_CONFIG environment variable to the full
  7387 path to pkg-config.
  7389 Alternatively, you may set the environment variables GTK_CFLAGS
  7390 and GTK_LIBS to avoid the need to call pkg-config.
  7391 See the pkg-config man page for more details.
  7393 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7394 See \`config.log' for more details." >&5
  7395 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  7396 is in your PATH or set the PKG_CONFIG environment variable to the full
  7397 path to pkg-config.
  7399 Alternatively, you may set the environment variables GTK_CFLAGS
  7400 and GTK_LIBS to avoid the need to call pkg-config.
  7401 See the pkg-config man page for more details.
  7403 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7404 See \`config.log' for more details." >&2;}
  7405    { (exit 1); exit 1; }; }
  7406 else
  7407 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
  7408 	GTK_LIBS=$pkg_cv_GTK_LIBS
  7409         { $as_echo "$as_me:$LINENO: result: yes" >&5
  7410 $as_echo "yes" >&6; }
  7412        HAVE_GTK='yes'
  7414 cat >>confdefs.h <<\_ACEOF
  7415 #define HAVE_GTK 1
  7416 _ACEOF
  7419 fi
  7421       LIBS="$LIBS $GTK_LIBS"
  7422    { $as_echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
  7423 $as_echo_n "checking for gdk_x11_display_get_xdisplay... " >&6; }
  7424 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
  7425   $as_echo_n "(cached) " >&6
  7426 else
  7427   cat >conftest.$ac_ext <<_ACEOF
  7428 /* confdefs.h.  */
  7429 _ACEOF
  7430 cat confdefs.h >>conftest.$ac_ext
  7431 cat >>conftest.$ac_ext <<_ACEOF
  7432 /* end confdefs.h.  */
  7433 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
  7434    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  7435 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
  7437 /* System header to define __stub macros and hopefully few prototypes,
  7438     which can conflict with char gdk_x11_display_get_xdisplay (); below.
  7439     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7440     <limits.h> exists even on freestanding compilers.  */
  7442 #ifdef __STDC__
  7443 # include <limits.h>
  7444 #else
  7445 # include <assert.h>
  7446 #endif
  7448 #undef gdk_x11_display_get_xdisplay
  7450 /* Override any GCC internal prototype to avoid an error.
  7451    Use char because int might match the return type of a GCC
  7452    builtin and then its argument prototype would still apply.  */
  7453 #ifdef __cplusplus
  7454 extern "C"
  7455 #endif
  7456 char gdk_x11_display_get_xdisplay ();
  7457 /* The GNU C library defines this for functions which it implements
  7458     to always fail with ENOSYS.  Some functions are actually named
  7459     something starting with __ and the normal name is an alias.  */
  7460 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
  7461 choke me
  7462 #endif
  7464 int
  7465 main ()
  7467 return gdk_x11_display_get_xdisplay ();
  7469   return 0;
  7471 _ACEOF
  7472 rm -f conftest.$ac_objext conftest$ac_exeext
  7473 if { (ac_try="$ac_link"
  7474 case "(($ac_try" in
  7475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7476   *) ac_try_echo=$ac_try;;
  7477 esac
  7478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7479 $as_echo "$ac_try_echo") >&5
  7480   (eval "$ac_link") 2>conftest.er1
  7481   ac_status=$?
  7482   grep -v '^ *+' conftest.er1 >conftest.err
  7483   rm -f conftest.er1
  7484   cat conftest.err >&5
  7485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7486   (exit $ac_status); } && {
  7487 	 test -z "$ac_c_werror_flag" ||
  7488 	 test ! -s conftest.err
  7489        } && test -s conftest$ac_exeext && {
  7490 	 test "$cross_compiling" = yes ||
  7491 	 $as_test_x conftest$ac_exeext
  7492        }; then
  7493   ac_cv_func_gdk_x11_display_get_xdisplay=yes
  7494 else
  7495   $as_echo "$as_me: failed program was:" >&5
  7496 sed 's/^/| /' conftest.$ac_ext >&5
  7498 	ac_cv_func_gdk_x11_display_get_xdisplay=no
  7499 fi
  7501 rm -rf conftest.dSYM
  7502 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7503       conftest$ac_exeext conftest.$ac_ext
  7504 fi
  7505 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
  7506 $as_echo "$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
  7507 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
  7509       HAVE_GTK_X11='yes'
  7511 cat >>confdefs.h <<\_ACEOF
  7512 #define HAVE_GTK_X11 1
  7513 _ACEOF
  7515 fi
  7517    { $as_echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
  7518 $as_echo_n "checking for gdk_quartz_window_get_nsview... " >&6; }
  7519 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
  7520   $as_echo_n "(cached) " >&6
  7521 else
  7522   cat >conftest.$ac_ext <<_ACEOF
  7523 /* confdefs.h.  */
  7524 _ACEOF
  7525 cat confdefs.h >>conftest.$ac_ext
  7526 cat >>conftest.$ac_ext <<_ACEOF
  7527 /* end confdefs.h.  */
  7528 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
  7529    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  7530 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
  7532 /* System header to define __stub macros and hopefully few prototypes,
  7533     which can conflict with char gdk_quartz_window_get_nsview (); below.
  7534     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7535     <limits.h> exists even on freestanding compilers.  */
  7537 #ifdef __STDC__
  7538 # include <limits.h>
  7539 #else
  7540 # include <assert.h>
  7541 #endif
  7543 #undef gdk_quartz_window_get_nsview
  7545 /* Override any GCC internal prototype to avoid an error.
  7546    Use char because int might match the return type of a GCC
  7547    builtin and then its argument prototype would still apply.  */
  7548 #ifdef __cplusplus
  7549 extern "C"
  7550 #endif
  7551 char gdk_quartz_window_get_nsview ();
  7552 /* The GNU C library defines this for functions which it implements
  7553     to always fail with ENOSYS.  Some functions are actually named
  7554     something starting with __ and the normal name is an alias.  */
  7555 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
  7556 choke me
  7557 #endif
  7559 int
  7560 main ()
  7562 return gdk_quartz_window_get_nsview ();
  7564   return 0;
  7566 _ACEOF
  7567 rm -f conftest.$ac_objext conftest$ac_exeext
  7568 if { (ac_try="$ac_link"
  7569 case "(($ac_try" in
  7570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7571   *) ac_try_echo=$ac_try;;
  7572 esac
  7573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7574 $as_echo "$ac_try_echo") >&5
  7575   (eval "$ac_link") 2>conftest.er1
  7576   ac_status=$?
  7577   grep -v '^ *+' conftest.er1 >conftest.err
  7578   rm -f conftest.er1
  7579   cat conftest.err >&5
  7580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7581   (exit $ac_status); } && {
  7582 	 test -z "$ac_c_werror_flag" ||
  7583 	 test ! -s conftest.err
  7584        } && test -s conftest$ac_exeext && {
  7585 	 test "$cross_compiling" = yes ||
  7586 	 $as_test_x conftest$ac_exeext
  7587        }; then
  7588   ac_cv_func_gdk_quartz_window_get_nsview=yes
  7589 else
  7590   $as_echo "$as_me: failed program was:" >&5
  7591 sed 's/^/| /' conftest.$ac_ext >&5
  7593 	ac_cv_func_gdk_quartz_window_get_nsview=no
  7594 fi
  7596 rm -rf conftest.dSYM
  7597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7598       conftest$ac_exeext conftest.$ac_ext
  7599 fi
  7600 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
  7601 $as_echo "$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
  7602 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
  7604       HAVE_GTK_OSX='yes'
  7606 cat >>confdefs.h <<\_ACEOF
  7607 #define HAVE_GTK_OSX 1
  7608 _ACEOF
  7610 fi
  7612 fi
  7616 if test "$HAVE_GTK" = 'yes'; then
  7617   GUI_GTK_TRUE=
  7618   GUI_GTK_FALSE='#'
  7619 else
  7620   GUI_GTK_TRUE='#'
  7621   GUI_GTK_FALSE=
  7622 fi
  7625 if test "x$with_osmesa" != xno; then
  7629 { $as_echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
  7630 $as_echo_n "checking for OSMesaCreateContext in -lOSMesa... " >&6; }
  7631 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
  7632   $as_echo_n "(cached) " >&6
  7633 else
  7634   ac_check_lib_save_LIBS=$LIBS
  7635 LIBS="-lOSMesa  $LIBS"
  7636 cat >conftest.$ac_ext <<_ACEOF
  7637 /* confdefs.h.  */
  7638 _ACEOF
  7639 cat confdefs.h >>conftest.$ac_ext
  7640 cat >>conftest.$ac_ext <<_ACEOF
  7641 /* end confdefs.h.  */
  7643 /* Override any GCC internal prototype to avoid an error.
  7644    Use char because int might match the return type of a GCC
  7645    builtin and then its argument prototype would still apply.  */
  7646 #ifdef __cplusplus
  7647 extern "C"
  7648 #endif
  7649 char OSMesaCreateContext ();
  7650 int
  7651 main ()
  7653 return OSMesaCreateContext ();
  7655   return 0;
  7657 _ACEOF
  7658 rm -f conftest.$ac_objext conftest$ac_exeext
  7659 if { (ac_try="$ac_link"
  7660 case "(($ac_try" in
  7661   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7662   *) ac_try_echo=$ac_try;;
  7663 esac
  7664 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7665 $as_echo "$ac_try_echo") >&5
  7666   (eval "$ac_link") 2>conftest.er1
  7667   ac_status=$?
  7668   grep -v '^ *+' conftest.er1 >conftest.err
  7669   rm -f conftest.er1
  7670   cat conftest.err >&5
  7671   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7672   (exit $ac_status); } && {
  7673 	 test -z "$ac_c_werror_flag" ||
  7674 	 test ! -s conftest.err
  7675        } && test -s conftest$ac_exeext && {
  7676 	 test "$cross_compiling" = yes ||
  7677 	 $as_test_x conftest$ac_exeext
  7678        }; then
  7679   ac_cv_lib_OSMesa_OSMesaCreateContext=yes
  7680 else
  7681   $as_echo "$as_me: failed program was:" >&5
  7682 sed 's/^/| /' conftest.$ac_ext >&5
  7684 	ac_cv_lib_OSMesa_OSMesaCreateContext=no
  7685 fi
  7687 rm -rf conftest.dSYM
  7688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7689       conftest$ac_exeext conftest.$ac_ext
  7690 LIBS=$ac_check_lib_save_LIBS
  7691 fi
  7692 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
  7693 $as_echo "$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
  7694 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
  7695   cat >>confdefs.h <<_ACEOF
  7696 #define HAVE_LIBOSMESA 1
  7697 _ACEOF
  7699   LIBS="-lOSMesa $LIBS"
  7701 else
  7702   { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
  7703 See \`config.log' for more details." >&5
  7704 $as_echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
  7705 See \`config.log' for more details." >&2;}
  7706    { (exit 1); exit 1; }; }
  7707 fi
  7709   if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  7710   { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  7711 $as_echo_n "checking for GL/osmesa.h... " >&6; }
  7712 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  7713   $as_echo_n "(cached) " >&6
  7714 fi
  7715 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  7716 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
  7717 else
  7718   # Is the header compilable?
  7719 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
  7720 $as_echo_n "checking GL/osmesa.h usability... " >&6; }
  7721 cat >conftest.$ac_ext <<_ACEOF
  7722 /* confdefs.h.  */
  7723 _ACEOF
  7724 cat confdefs.h >>conftest.$ac_ext
  7725 cat >>conftest.$ac_ext <<_ACEOF
  7726 /* end confdefs.h.  */
  7727 $ac_includes_default
  7728 #include <GL/osmesa.h>
  7729 _ACEOF
  7730 rm -f conftest.$ac_objext
  7731 if { (ac_try="$ac_compile"
  7732 case "(($ac_try" in
  7733   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7734   *) ac_try_echo=$ac_try;;
  7735 esac
  7736 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7737 $as_echo "$ac_try_echo") >&5
  7738   (eval "$ac_compile") 2>conftest.er1
  7739   ac_status=$?
  7740   grep -v '^ *+' conftest.er1 >conftest.err
  7741   rm -f conftest.er1
  7742   cat conftest.err >&5
  7743   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7744   (exit $ac_status); } && {
  7745 	 test -z "$ac_c_werror_flag" ||
  7746 	 test ! -s conftest.err
  7747        } && test -s conftest.$ac_objext; then
  7748   ac_header_compiler=yes
  7749 else
  7750   $as_echo "$as_me: failed program was:" >&5
  7751 sed 's/^/| /' conftest.$ac_ext >&5
  7753 	ac_header_compiler=no
  7754 fi
  7756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7757 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  7758 $as_echo "$ac_header_compiler" >&6; }
  7760 # Is the header present?
  7761 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
  7762 $as_echo_n "checking GL/osmesa.h presence... " >&6; }
  7763 cat >conftest.$ac_ext <<_ACEOF
  7764 /* confdefs.h.  */
  7765 _ACEOF
  7766 cat confdefs.h >>conftest.$ac_ext
  7767 cat >>conftest.$ac_ext <<_ACEOF
  7768 /* end confdefs.h.  */
  7769 #include <GL/osmesa.h>
  7770 _ACEOF
  7771 if { (ac_try="$ac_cpp conftest.$ac_ext"
  7772 case "(($ac_try" in
  7773   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7774   *) ac_try_echo=$ac_try;;
  7775 esac
  7776 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7777 $as_echo "$ac_try_echo") >&5
  7778   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7779   ac_status=$?
  7780   grep -v '^ *+' conftest.er1 >conftest.err
  7781   rm -f conftest.er1
  7782   cat conftest.err >&5
  7783   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7784   (exit $ac_status); } >/dev/null && {
  7785 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7786 	 test ! -s conftest.err
  7787        }; then
  7788   ac_header_preproc=yes
  7789 else
  7790   $as_echo "$as_me: failed program was:" >&5
  7791 sed 's/^/| /' conftest.$ac_ext >&5
  7793   ac_header_preproc=no
  7794 fi
  7796 rm -f conftest.err conftest.$ac_ext
  7797 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  7798 $as_echo "$ac_header_preproc" >&6; }
  7800 # So?  What about this header?
  7801 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  7802   yes:no: )
  7803     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  7804 $as_echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  7805     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
  7806 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
  7807     ac_header_preproc=yes
  7808     ;;
  7809   no:yes:* )
  7810     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
  7811 $as_echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
  7812     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&5
  7813 $as_echo "$as_me: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&2;}
  7814     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
  7815 $as_echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
  7816     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&5
  7817 $as_echo "$as_me: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  7818     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
  7819 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
  7820     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
  7821 $as_echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
  7823     ;;
  7824 esac
  7825 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  7826 $as_echo_n "checking for GL/osmesa.h... " >&6; }
  7827 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  7828   $as_echo_n "(cached) " >&6
  7829 else
  7830   ac_cv_header_GL_osmesa_h=$ac_header_preproc
  7831 fi
  7832 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  7833 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
  7835 fi
  7836 if test $ac_cv_header_GL_osmesa_h = yes; then
  7838 else
  7839   { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
  7840 See \`config.log' for more details." >&5
  7841 $as_echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
  7842 See \`config.log' for more details." >&2;}
  7843    { (exit 1); exit 1; }; }
  7844 fi
  7847   HAVE_OSMESA='yes'
  7848   VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
  7850 cat >>confdefs.h <<\_ACEOF
  7851 #define HAVE_OSMESA 1
  7852 _ACEOF
  7854 else
  7857    if test "x$APPLE_BUILD" != 'xyes'; then
  7859 { $as_echo "$as_me:$LINENO: checking for glVertex3f in -lGL" >&5
  7860 $as_echo_n "checking for glVertex3f in -lGL... " >&6; }
  7861 if test "${ac_cv_lib_GL_glVertex3f+set}" = set; then
  7862   $as_echo_n "(cached) " >&6
  7863 else
  7864   ac_check_lib_save_LIBS=$LIBS
  7865 LIBS="-lGL  $LIBS"
  7866 cat >conftest.$ac_ext <<_ACEOF
  7867 /* confdefs.h.  */
  7868 _ACEOF
  7869 cat confdefs.h >>conftest.$ac_ext
  7870 cat >>conftest.$ac_ext <<_ACEOF
  7871 /* end confdefs.h.  */
  7873 /* Override any GCC internal prototype to avoid an error.
  7874    Use char because int might match the return type of a GCC
  7875    builtin and then its argument prototype would still apply.  */
  7876 #ifdef __cplusplus
  7877 extern "C"
  7878 #endif
  7879 char glVertex3f ();
  7880 int
  7881 main ()
  7883 return glVertex3f ();
  7885   return 0;
  7887 _ACEOF
  7888 rm -f conftest.$ac_objext conftest$ac_exeext
  7889 if { (ac_try="$ac_link"
  7890 case "(($ac_try" in
  7891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7892   *) ac_try_echo=$ac_try;;
  7893 esac
  7894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7895 $as_echo "$ac_try_echo") >&5
  7896   (eval "$ac_link") 2>conftest.er1
  7897   ac_status=$?
  7898   grep -v '^ *+' conftest.er1 >conftest.err
  7899   rm -f conftest.er1
  7900   cat conftest.err >&5
  7901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7902   (exit $ac_status); } && {
  7903 	 test -z "$ac_c_werror_flag" ||
  7904 	 test ! -s conftest.err
  7905        } && test -s conftest$ac_exeext && {
  7906 	 test "$cross_compiling" = yes ||
  7907 	 $as_test_x conftest$ac_exeext
  7908        }; then
  7909   ac_cv_lib_GL_glVertex3f=yes
  7910 else
  7911   $as_echo "$as_me: failed program was:" >&5
  7912 sed 's/^/| /' conftest.$ac_ext >&5
  7914 	ac_cv_lib_GL_glVertex3f=no
  7915 fi
  7917 rm -rf conftest.dSYM
  7918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7919       conftest$ac_exeext conftest.$ac_ext
  7920 LIBS=$ac_check_lib_save_LIBS
  7921 fi
  7922 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glVertex3f" >&5
  7923 $as_echo "$ac_cv_lib_GL_glVertex3f" >&6; }
  7924 if test $ac_cv_lib_GL_glVertex3f = yes; then
  7925   cat >>confdefs.h <<_ACEOF
  7926 #define HAVE_LIBGL 1
  7927 _ACEOF
  7929   LIBS="-lGL $LIBS"
  7931 else
  7933           { { $as_echo "$as_me:$LINENO: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
  7934 See \`config.log' for more details." >&5
  7935 $as_echo "$as_me: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
  7936 See \`config.log' for more details." >&2;}
  7937    { (exit 1); exit 1; }; }
  7938 fi
  7940       if test "${ac_cv_header_GL_gl_h+set}" = set; then
  7941   { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  7942 $as_echo_n "checking for GL/gl.h... " >&6; }
  7943 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  7944   $as_echo_n "(cached) " >&6
  7945 fi
  7946 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  7947 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
  7948 else
  7949   # Is the header compilable?
  7950 { $as_echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
  7951 $as_echo_n "checking GL/gl.h usability... " >&6; }
  7952 cat >conftest.$ac_ext <<_ACEOF
  7953 /* confdefs.h.  */
  7954 _ACEOF
  7955 cat confdefs.h >>conftest.$ac_ext
  7956 cat >>conftest.$ac_ext <<_ACEOF
  7957 /* end confdefs.h.  */
  7958 $ac_includes_default
  7959 #include <GL/gl.h>
  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 ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7968 $as_echo "$ac_try_echo") >&5
  7969   (eval "$ac_compile") 2>conftest.er1
  7970   ac_status=$?
  7971   grep -v '^ *+' conftest.er1 >conftest.err
  7972   rm -f conftest.er1
  7973   cat conftest.err >&5
  7974   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7975   (exit $ac_status); } && {
  7976 	 test -z "$ac_c_werror_flag" ||
  7977 	 test ! -s conftest.err
  7978        } && test -s conftest.$ac_objext; then
  7979   ac_header_compiler=yes
  7980 else
  7981   $as_echo "$as_me: failed program was:" >&5
  7982 sed 's/^/| /' conftest.$ac_ext >&5
  7984 	ac_header_compiler=no
  7985 fi
  7987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7988 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  7989 $as_echo "$ac_header_compiler" >&6; }
  7991 # Is the header present?
  7992 { $as_echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
  7993 $as_echo_n "checking GL/gl.h presence... " >&6; }
  7994 cat >conftest.$ac_ext <<_ACEOF
  7995 /* confdefs.h.  */
  7996 _ACEOF
  7997 cat confdefs.h >>conftest.$ac_ext
  7998 cat >>conftest.$ac_ext <<_ACEOF
  7999 /* end confdefs.h.  */
  8000 #include <GL/gl.h>
  8001 _ACEOF
  8002 if { (ac_try="$ac_cpp conftest.$ac_ext"
  8003 case "(($ac_try" in
  8004   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8005   *) ac_try_echo=$ac_try;;
  8006 esac
  8007 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8008 $as_echo "$ac_try_echo") >&5
  8009   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8010   ac_status=$?
  8011   grep -v '^ *+' conftest.er1 >conftest.err
  8012   rm -f conftest.er1
  8013   cat conftest.err >&5
  8014   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8015   (exit $ac_status); } >/dev/null && {
  8016 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8017 	 test ! -s conftest.err
  8018        }; then
  8019   ac_header_preproc=yes
  8020 else
  8021   $as_echo "$as_me: failed program was:" >&5
  8022 sed 's/^/| /' conftest.$ac_ext >&5
  8024   ac_header_preproc=no
  8025 fi
  8027 rm -f conftest.err conftest.$ac_ext
  8028 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8029 $as_echo "$ac_header_preproc" >&6; }
  8031 # So?  What about this header?
  8032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8033   yes:no: )
  8034     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8035 $as_echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8036     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
  8037 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
  8038     ac_header_preproc=yes
  8039     ;;
  8040   no:yes:* )
  8041     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
  8042 $as_echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
  8043     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&5
  8044 $as_echo "$as_me: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&2;}
  8045     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
  8046 $as_echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
  8047     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&5
  8048 $as_echo "$as_me: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  8049     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
  8050 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
  8051     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
  8052 $as_echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
  8054     ;;
  8055 esac
  8056 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  8057 $as_echo_n "checking for GL/gl.h... " >&6; }
  8058 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  8059   $as_echo_n "(cached) " >&6
  8060 else
  8061   ac_cv_header_GL_gl_h=$ac_header_preproc
  8062 fi
  8063 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  8064 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
  8066 fi
  8067 if test $ac_cv_header_GL_gl_h = yes; then
  8069 else
  8071           { { $as_echo "$as_me:$LINENO: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
  8072 See \`config.log' for more details." >&5
  8073 $as_echo "$as_me: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
  8074 See \`config.log' for more details." >&2;}
  8075    { (exit 1); exit 1; }; }
  8076 fi
  8079    else
  8080       { $as_echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
  8081 $as_echo_n "checking for NSOpenGLGetVersion... " >&6; }
  8082 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
  8083   $as_echo_n "(cached) " >&6
  8084 else
  8085   cat >conftest.$ac_ext <<_ACEOF
  8086 /* confdefs.h.  */
  8087 _ACEOF
  8088 cat confdefs.h >>conftest.$ac_ext
  8089 cat >>conftest.$ac_ext <<_ACEOF
  8090 /* end confdefs.h.  */
  8091 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
  8092    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8093 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
  8095 /* System header to define __stub macros and hopefully few prototypes,
  8096     which can conflict with char NSOpenGLGetVersion (); below.
  8097     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8098     <limits.h> exists even on freestanding compilers.  */
  8100 #ifdef __STDC__
  8101 # include <limits.h>
  8102 #else
  8103 # include <assert.h>
  8104 #endif
  8106 #undef NSOpenGLGetVersion
  8108 /* Override any GCC internal prototype to avoid an error.
  8109    Use char because int might match the return type of a GCC
  8110    builtin and then its argument prototype would still apply.  */
  8111 #ifdef __cplusplus
  8112 extern "C"
  8113 #endif
  8114 char NSOpenGLGetVersion ();
  8115 /* The GNU C library defines this for functions which it implements
  8116     to always fail with ENOSYS.  Some functions are actually named
  8117     something starting with __ and the normal name is an alias.  */
  8118 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
  8119 choke me
  8120 #endif
  8122 int
  8123 main ()
  8125 return NSOpenGLGetVersion ();
  8127   return 0;
  8129 _ACEOF
  8130 rm -f conftest.$ac_objext conftest$ac_exeext
  8131 if { (ac_try="$ac_link"
  8132 case "(($ac_try" in
  8133   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8134   *) ac_try_echo=$ac_try;;
  8135 esac
  8136 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8137 $as_echo "$ac_try_echo") >&5
  8138   (eval "$ac_link") 2>conftest.er1
  8139   ac_status=$?
  8140   grep -v '^ *+' conftest.er1 >conftest.err
  8141   rm -f conftest.er1
  8142   cat conftest.err >&5
  8143   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8144   (exit $ac_status); } && {
  8145 	 test -z "$ac_c_werror_flag" ||
  8146 	 test ! -s conftest.err
  8147        } && test -s conftest$ac_exeext && {
  8148 	 test "$cross_compiling" = yes ||
  8149 	 $as_test_x conftest$ac_exeext
  8150        }; then
  8151   ac_cv_func_NSOpenGLGetVersion=yes
  8152 else
  8153   $as_echo "$as_me: failed program was:" >&5
  8154 sed 's/^/| /' conftest.$ac_ext >&5
  8156 	ac_cv_func_NSOpenGLGetVersion=no
  8157 fi
  8159 rm -rf conftest.dSYM
  8160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8161       conftest$ac_exeext conftest.$ac_ext
  8162 fi
  8163 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
  8164 $as_echo "$ac_cv_func_NSOpenGLGetVersion" >&6; }
  8165 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
  8167          HAVE_NSGL='yes'
  8168          VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
  8170 cat >>confdefs.h <<\_ACEOF
  8171 #define HAVE_NSGL 1
  8172 _ACEOF
  8174 fi
  8176    fi
  8178    if test "x$HAVE_GTK_X11" = "xyes"; then
  8179       if test "x$APPLE_BUILD" = "xyes"; then
  8180          LIBS="$LIBS -L/usr/X11/lib -lGL"
  8181       fi
  8182       { $as_echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
  8183 $as_echo_n "checking for glXQueryVersion... " >&6; }
  8184 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
  8185   $as_echo_n "(cached) " >&6
  8186 else
  8187   cat >conftest.$ac_ext <<_ACEOF
  8188 /* confdefs.h.  */
  8189 _ACEOF
  8190 cat confdefs.h >>conftest.$ac_ext
  8191 cat >>conftest.$ac_ext <<_ACEOF
  8192 /* end confdefs.h.  */
  8193 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
  8194    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8195 #define glXQueryVersion innocuous_glXQueryVersion
  8197 /* System header to define __stub macros and hopefully few prototypes,
  8198     which can conflict with char glXQueryVersion (); below.
  8199     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8200     <limits.h> exists even on freestanding compilers.  */
  8202 #ifdef __STDC__
  8203 # include <limits.h>
  8204 #else
  8205 # include <assert.h>
  8206 #endif
  8208 #undef glXQueryVersion
  8210 /* Override any GCC internal prototype to avoid an error.
  8211    Use char because int might match the return type of a GCC
  8212    builtin and then its argument prototype would still apply.  */
  8213 #ifdef __cplusplus
  8214 extern "C"
  8215 #endif
  8216 char glXQueryVersion ();
  8217 /* The GNU C library defines this for functions which it implements
  8218     to always fail with ENOSYS.  Some functions are actually named
  8219     something starting with __ and the normal name is an alias.  */
  8220 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
  8221 choke me
  8222 #endif
  8224 int
  8225 main ()
  8227 return glXQueryVersion ();
  8229   return 0;
  8231 _ACEOF
  8232 rm -f conftest.$ac_objext conftest$ac_exeext
  8233 if { (ac_try="$ac_link"
  8234 case "(($ac_try" in
  8235   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8236   *) ac_try_echo=$ac_try;;
  8237 esac
  8238 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8239 $as_echo "$ac_try_echo") >&5
  8240   (eval "$ac_link") 2>conftest.er1
  8241   ac_status=$?
  8242   grep -v '^ *+' conftest.er1 >conftest.err
  8243   rm -f conftest.er1
  8244   cat conftest.err >&5
  8245   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8246   (exit $ac_status); } && {
  8247 	 test -z "$ac_c_werror_flag" ||
  8248 	 test ! -s conftest.err
  8249        } && test -s conftest$ac_exeext && {
  8250 	 test "$cross_compiling" = yes ||
  8251 	 $as_test_x conftest$ac_exeext
  8252        }; then
  8253   ac_cv_func_glXQueryVersion=yes
  8254 else
  8255   $as_echo "$as_me: failed program was:" >&5
  8256 sed 's/^/| /' conftest.$ac_ext >&5
  8258 	ac_cv_func_glXQueryVersion=no
  8259 fi
  8261 rm -rf conftest.dSYM
  8262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8263       conftest$ac_exeext conftest.$ac_ext
  8264 fi
  8265 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
  8266 $as_echo "$ac_cv_func_glXQueryVersion" >&6; }
  8267 if test $ac_cv_func_glXQueryVersion = yes; then
  8269          HAVE_GLX='yes'
  8270          VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
  8272 cat >>confdefs.h <<\_ACEOF
  8273 #define HAVE_GLX 1
  8274 _ACEOF
  8276 fi
  8278    fi
  8281 fi
  8288 if test "x$HAVE_OSMESA" = "xyes"; then
  8289   VIDEO_OSMESA_TRUE=
  8290   VIDEO_OSMESA_FALSE='#'
  8291 else
  8292   VIDEO_OSMESA_TRUE='#'
  8293   VIDEO_OSMESA_FALSE=
  8294 fi
  8298 if test "x$HAVE_GLX" = "xyes"; then
  8299   VIDEO_GLX_TRUE=
  8300   VIDEO_GLX_FALSE='#'
  8301 else
  8302   VIDEO_GLX_TRUE='#'
  8303   VIDEO_GLX_FALSE=
  8304 fi
  8308 if test "x$HAVE_NSGL" = "xyes"; then
  8309   VIDEO_NSGL_TRUE=
  8310   VIDEO_NSGL_FALSE='#'
  8311 else
  8312   VIDEO_NSGL_TRUE='#'
  8313   VIDEO_NSGL_FALSE=
  8314 fi
  8317 { $as_echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
  8318 $as_echo_n "checking for glGenFramebuffersEXT... " >&6; }
  8319 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
  8320   $as_echo_n "(cached) " >&6
  8321 else
  8322   cat >conftest.$ac_ext <<_ACEOF
  8323 /* confdefs.h.  */
  8324 _ACEOF
  8325 cat confdefs.h >>conftest.$ac_ext
  8326 cat >>conftest.$ac_ext <<_ACEOF
  8327 /* end confdefs.h.  */
  8328 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
  8329    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8330 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
  8332 /* System header to define __stub macros and hopefully few prototypes,
  8333     which can conflict with char glGenFramebuffersEXT (); below.
  8334     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8335     <limits.h> exists even on freestanding compilers.  */
  8337 #ifdef __STDC__
  8338 # include <limits.h>
  8339 #else
  8340 # include <assert.h>
  8341 #endif
  8343 #undef glGenFramebuffersEXT
  8345 /* Override any GCC internal prototype to avoid an error.
  8346    Use char because int might match the return type of a GCC
  8347    builtin and then its argument prototype would still apply.  */
  8348 #ifdef __cplusplus
  8349 extern "C"
  8350 #endif
  8351 char glGenFramebuffersEXT ();
  8352 /* The GNU C library defines this for functions which it implements
  8353     to always fail with ENOSYS.  Some functions are actually named
  8354     something starting with __ and the normal name is an alias.  */
  8355 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
  8356 choke me
  8357 #endif
  8359 int
  8360 main ()
  8362 return glGenFramebuffersEXT ();
  8364   return 0;
  8366 _ACEOF
  8367 rm -f conftest.$ac_objext conftest$ac_exeext
  8368 if { (ac_try="$ac_link"
  8369 case "(($ac_try" in
  8370   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8371   *) ac_try_echo=$ac_try;;
  8372 esac
  8373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8374 $as_echo "$ac_try_echo") >&5
  8375   (eval "$ac_link") 2>conftest.er1
  8376   ac_status=$?
  8377   grep -v '^ *+' conftest.er1 >conftest.err
  8378   rm -f conftest.er1
  8379   cat conftest.err >&5
  8380   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8381   (exit $ac_status); } && {
  8382 	 test -z "$ac_c_werror_flag" ||
  8383 	 test ! -s conftest.err
  8384        } && test -s conftest$ac_exeext && {
  8385 	 test "$cross_compiling" = yes ||
  8386 	 $as_test_x conftest$ac_exeext
  8387        }; then
  8388   ac_cv_func_glGenFramebuffersEXT=yes
  8389 else
  8390   $as_echo "$as_me: failed program was:" >&5
  8391 sed 's/^/| /' conftest.$ac_ext >&5
  8393 	ac_cv_func_glGenFramebuffersEXT=no
  8394 fi
  8396 rm -rf conftest.dSYM
  8397 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8398       conftest$ac_exeext conftest.$ac_ext
  8399 fi
  8400 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
  8401 $as_echo "$ac_cv_func_glGenFramebuffersEXT" >&6; }
  8402 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
  8404 cat >>confdefs.h <<\_ACEOF
  8405 #define HAVE_OPENGL_FBO 1
  8406 _ACEOF
  8408 fi
  8410 { $as_echo "$as_me:$LINENO: checking for glCreateShader" >&5
  8411 $as_echo_n "checking for glCreateShader... " >&6; }
  8412 if test "${ac_cv_func_glCreateShader+set}" = set; then
  8413   $as_echo_n "(cached) " >&6
  8414 else
  8415   cat >conftest.$ac_ext <<_ACEOF
  8416 /* confdefs.h.  */
  8417 _ACEOF
  8418 cat confdefs.h >>conftest.$ac_ext
  8419 cat >>conftest.$ac_ext <<_ACEOF
  8420 /* end confdefs.h.  */
  8421 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
  8422    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8423 #define glCreateShader innocuous_glCreateShader
  8425 /* System header to define __stub macros and hopefully few prototypes,
  8426     which can conflict with char glCreateShader (); below.
  8427     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8428     <limits.h> exists even on freestanding compilers.  */
  8430 #ifdef __STDC__
  8431 # include <limits.h>
  8432 #else
  8433 # include <assert.h>
  8434 #endif
  8436 #undef glCreateShader
  8438 /* Override any GCC internal prototype to avoid an error.
  8439    Use char because int might match the return type of a GCC
  8440    builtin and then its argument prototype would still apply.  */
  8441 #ifdef __cplusplus
  8442 extern "C"
  8443 #endif
  8444 char glCreateShader ();
  8445 /* The GNU C library defines this for functions which it implements
  8446     to always fail with ENOSYS.  Some functions are actually named
  8447     something starting with __ and the normal name is an alias.  */
  8448 #if defined __stub_glCreateShader || defined __stub___glCreateShader
  8449 choke me
  8450 #endif
  8452 int
  8453 main ()
  8455 return glCreateShader ();
  8457   return 0;
  8459 _ACEOF
  8460 rm -f conftest.$ac_objext conftest$ac_exeext
  8461 if { (ac_try="$ac_link"
  8462 case "(($ac_try" in
  8463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8464   *) ac_try_echo=$ac_try;;
  8465 esac
  8466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8467 $as_echo "$ac_try_echo") >&5
  8468   (eval "$ac_link") 2>conftest.er1
  8469   ac_status=$?
  8470   grep -v '^ *+' conftest.er1 >conftest.err
  8471   rm -f conftest.er1
  8472   cat conftest.err >&5
  8473   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8474   (exit $ac_status); } && {
  8475 	 test -z "$ac_c_werror_flag" ||
  8476 	 test ! -s conftest.err
  8477        } && test -s conftest$ac_exeext && {
  8478 	 test "$cross_compiling" = yes ||
  8479 	 $as_test_x conftest$ac_exeext
  8480        }; then
  8481   ac_cv_func_glCreateShader=yes
  8482 else
  8483   $as_echo "$as_me: failed program was:" >&5
  8484 sed 's/^/| /' conftest.$ac_ext >&5
  8486 	ac_cv_func_glCreateShader=no
  8487 fi
  8489 rm -rf conftest.dSYM
  8490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8491       conftest$ac_exeext conftest.$ac_ext
  8492 fi
  8493 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
  8494 $as_echo "$ac_cv_func_glCreateShader" >&6; }
  8495 if test $ac_cv_func_glCreateShader = yes; then
  8497 cat >>confdefs.h <<\_ACEOF
  8498 #define HAVE_OPENGL_SHADER 1
  8499 _ACEOF
  8501 fi
  8503 { $as_echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
  8504 $as_echo_n "checking for glCreateShaderObjectARB... " >&6; }
  8505 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
  8506   $as_echo_n "(cached) " >&6
  8507 else
  8508   cat >conftest.$ac_ext <<_ACEOF
  8509 /* confdefs.h.  */
  8510 _ACEOF
  8511 cat confdefs.h >>conftest.$ac_ext
  8512 cat >>conftest.$ac_ext <<_ACEOF
  8513 /* end confdefs.h.  */
  8514 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
  8515    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8516 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
  8518 /* System header to define __stub macros and hopefully few prototypes,
  8519     which can conflict with char glCreateShaderObjectARB (); below.
  8520     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8521     <limits.h> exists even on freestanding compilers.  */
  8523 #ifdef __STDC__
  8524 # include <limits.h>
  8525 #else
  8526 # include <assert.h>
  8527 #endif
  8529 #undef glCreateShaderObjectARB
  8531 /* Override any GCC internal prototype to avoid an error.
  8532    Use char because int might match the return type of a GCC
  8533    builtin and then its argument prototype would still apply.  */
  8534 #ifdef __cplusplus
  8535 extern "C"
  8536 #endif
  8537 char glCreateShaderObjectARB ();
  8538 /* The GNU C library defines this for functions which it implements
  8539     to always fail with ENOSYS.  Some functions are actually named
  8540     something starting with __ and the normal name is an alias.  */
  8541 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
  8542 choke me
  8543 #endif
  8545 int
  8546 main ()
  8548 return glCreateShaderObjectARB ();
  8550   return 0;
  8552 _ACEOF
  8553 rm -f conftest.$ac_objext conftest$ac_exeext
  8554 if { (ac_try="$ac_link"
  8555 case "(($ac_try" in
  8556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8557   *) ac_try_echo=$ac_try;;
  8558 esac
  8559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8560 $as_echo "$ac_try_echo") >&5
  8561   (eval "$ac_link") 2>conftest.er1
  8562   ac_status=$?
  8563   grep -v '^ *+' conftest.er1 >conftest.err
  8564   rm -f conftest.er1
  8565   cat conftest.err >&5
  8566   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8567   (exit $ac_status); } && {
  8568 	 test -z "$ac_c_werror_flag" ||
  8569 	 test ! -s conftest.err
  8570        } && test -s conftest$ac_exeext && {
  8571 	 test "$cross_compiling" = yes ||
  8572 	 $as_test_x conftest$ac_exeext
  8573        }; then
  8574   ac_cv_func_glCreateShaderObjectARB=yes
  8575 else
  8576   $as_echo "$as_me: failed program was:" >&5
  8577 sed 's/^/| /' conftest.$ac_ext >&5
  8579 	ac_cv_func_glCreateShaderObjectARB=no
  8580 fi
  8582 rm -rf conftest.dSYM
  8583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8584       conftest$ac_exeext conftest.$ac_ext
  8585 fi
  8586 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
  8587 $as_echo "$ac_cv_func_glCreateShaderObjectARB" >&6; }
  8588 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
  8590 cat >>confdefs.h <<\_ACEOF
  8591 #define HAVE_OPENGL_SHADER_ARB 1
  8592 _ACEOF
  8594 fi
  8596 { $as_echo "$as_me:$LINENO: checking for glClampColorARB" >&5
  8597 $as_echo_n "checking for glClampColorARB... " >&6; }
  8598 if test "${ac_cv_func_glClampColorARB+set}" = set; then
  8599   $as_echo_n "(cached) " >&6
  8600 else
  8601   cat >conftest.$ac_ext <<_ACEOF
  8602 /* confdefs.h.  */
  8603 _ACEOF
  8604 cat confdefs.h >>conftest.$ac_ext
  8605 cat >>conftest.$ac_ext <<_ACEOF
  8606 /* end confdefs.h.  */
  8607 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
  8608    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8609 #define glClampColorARB innocuous_glClampColorARB
  8611 /* System header to define __stub macros and hopefully few prototypes,
  8612     which can conflict with char glClampColorARB (); below.
  8613     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8614     <limits.h> exists even on freestanding compilers.  */
  8616 #ifdef __STDC__
  8617 # include <limits.h>
  8618 #else
  8619 # include <assert.h>
  8620 #endif
  8622 #undef glClampColorARB
  8624 /* Override any GCC internal prototype to avoid an error.
  8625    Use char because int might match the return type of a GCC
  8626    builtin and then its argument prototype would still apply.  */
  8627 #ifdef __cplusplus
  8628 extern "C"
  8629 #endif
  8630 char glClampColorARB ();
  8631 /* The GNU C library defines this for functions which it implements
  8632     to always fail with ENOSYS.  Some functions are actually named
  8633     something starting with __ and the normal name is an alias.  */
  8634 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
  8635 choke me
  8636 #endif
  8638 int
  8639 main ()
  8641 return glClampColorARB ();
  8643   return 0;
  8645 _ACEOF
  8646 rm -f conftest.$ac_objext conftest$ac_exeext
  8647 if { (ac_try="$ac_link"
  8648 case "(($ac_try" in
  8649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8650   *) ac_try_echo=$ac_try;;
  8651 esac
  8652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8653 $as_echo "$ac_try_echo") >&5
  8654   (eval "$ac_link") 2>conftest.er1
  8655   ac_status=$?
  8656   grep -v '^ *+' conftest.er1 >conftest.err
  8657   rm -f conftest.er1
  8658   cat conftest.err >&5
  8659   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8660   (exit $ac_status); } && {
  8661 	 test -z "$ac_c_werror_flag" ||
  8662 	 test ! -s conftest.err
  8663        } && test -s conftest$ac_exeext && {
  8664 	 test "$cross_compiling" = yes ||
  8665 	 $as_test_x conftest$ac_exeext
  8666        }; then
  8667   ac_cv_func_glClampColorARB=yes
  8668 else
  8669   $as_echo "$as_me: failed program was:" >&5
  8670 sed 's/^/| /' conftest.$ac_ext >&5
  8672 	ac_cv_func_glClampColorARB=no
  8673 fi
  8675 rm -rf conftest.dSYM
  8676 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8677       conftest$ac_exeext conftest.$ac_ext
  8678 fi
  8679 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
  8680 $as_echo "$ac_cv_func_glClampColorARB" >&6; }
  8681 if test $ac_cv_func_glClampColorARB = yes; then
  8683 cat >>confdefs.h <<\_ACEOF
  8684 #define HAVE_OPENGL_CLAMP_COLOR 1
  8685 _ACEOF
  8687 fi
  8692 if test "x$enable_translator" != "xno"; then
  8693     case $host_cpu in
  8694         i386|i486|i586|i686|x86_64)
  8695 	    SH4_TRANSLATOR="x86"
  8697 cat >>confdefs.h <<_ACEOF
  8698 #define SH4_TRANSLATOR TARGET_X86
  8699 _ACEOF
  8700 ;;
  8701     esac
  8702 fi
  8705 if test "$SH4_TRANSLATOR" = "x86"; then
  8706   BUILD_SH4X86_TRUE=
  8707   BUILD_SH4X86_FALSE='#'
  8708 else
  8709   BUILD_SH4X86_TRUE='#'
  8710   BUILD_SH4X86_FALSE=
  8711 fi
  8714 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  8715   { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
  8716 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
  8717 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  8718   $as_echo_n "(cached) " >&6
  8719 fi
  8720 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
  8721 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
  8722 else
  8723   # Is the header compilable?
  8724 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
  8725 $as_echo_n "checking CoreAudio/CoreAudio.h usability... " >&6; }
  8726 cat >conftest.$ac_ext <<_ACEOF
  8727 /* confdefs.h.  */
  8728 _ACEOF
  8729 cat confdefs.h >>conftest.$ac_ext
  8730 cat >>conftest.$ac_ext <<_ACEOF
  8731 /* end confdefs.h.  */
  8732 $ac_includes_default
  8733 #include <CoreAudio/CoreAudio.h>
  8734 _ACEOF
  8735 rm -f conftest.$ac_objext
  8736 if { (ac_try="$ac_compile"
  8737 case "(($ac_try" in
  8738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8739   *) ac_try_echo=$ac_try;;
  8740 esac
  8741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8742 $as_echo "$ac_try_echo") >&5
  8743   (eval "$ac_compile") 2>conftest.er1
  8744   ac_status=$?
  8745   grep -v '^ *+' conftest.er1 >conftest.err
  8746   rm -f conftest.er1
  8747   cat conftest.err >&5
  8748   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8749   (exit $ac_status); } && {
  8750 	 test -z "$ac_c_werror_flag" ||
  8751 	 test ! -s conftest.err
  8752        } && test -s conftest.$ac_objext; then
  8753   ac_header_compiler=yes
  8754 else
  8755   $as_echo "$as_me: failed program was:" >&5
  8756 sed 's/^/| /' conftest.$ac_ext >&5
  8758 	ac_header_compiler=no
  8759 fi
  8761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8762 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8763 $as_echo "$ac_header_compiler" >&6; }
  8765 # Is the header present?
  8766 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
  8767 $as_echo_n "checking CoreAudio/CoreAudio.h presence... " >&6; }
  8768 cat >conftest.$ac_ext <<_ACEOF
  8769 /* confdefs.h.  */
  8770 _ACEOF
  8771 cat confdefs.h >>conftest.$ac_ext
  8772 cat >>conftest.$ac_ext <<_ACEOF
  8773 /* end confdefs.h.  */
  8774 #include <CoreAudio/CoreAudio.h>
  8775 _ACEOF
  8776 if { (ac_try="$ac_cpp conftest.$ac_ext"
  8777 case "(($ac_try" in
  8778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8779   *) ac_try_echo=$ac_try;;
  8780 esac
  8781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8782 $as_echo "$ac_try_echo") >&5
  8783   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8784   ac_status=$?
  8785   grep -v '^ *+' conftest.er1 >conftest.err
  8786   rm -f conftest.er1
  8787   cat conftest.err >&5
  8788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8789   (exit $ac_status); } >/dev/null && {
  8790 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8791 	 test ! -s conftest.err
  8792        }; then
  8793   ac_header_preproc=yes
  8794 else
  8795   $as_echo "$as_me: failed program was:" >&5
  8796 sed 's/^/| /' conftest.$ac_ext >&5
  8798   ac_header_preproc=no
  8799 fi
  8801 rm -f conftest.err conftest.$ac_ext
  8802 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8803 $as_echo "$ac_header_preproc" >&6; }
  8805 # So?  What about this header?
  8806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8807   yes:no: )
  8808     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8809 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8810     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
  8811 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
  8812     ac_header_preproc=yes
  8813     ;;
  8814   no:yes:* )
  8815     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
  8816 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
  8817     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
  8818 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
  8819     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
  8820 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
  8821     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
  8822 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  8823     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
  8824 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
  8825     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
  8826 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
  8828     ;;
  8829 esac
  8830 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
  8831 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
  8832 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  8833   $as_echo_n "(cached) " >&6
  8834 else
  8835   ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
  8836 fi
  8837 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
  8838 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
  8840 fi
  8841 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
  8843      HAVE_CORE_AUDIO=yes
  8844      LIBS="$LIBS -framework CoreAudio"
  8845      AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
  8847 cat >>confdefs.h <<\_ACEOF
  8848 #define HAVE_CORE_AUDIO 1
  8849 _ACEOF
  8851 else
  8852   true
  8853 fi
  8858 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
  8859   AUDIO_OSX_TRUE=
  8860   AUDIO_OSX_FALSE='#'
  8861 else
  8862   AUDIO_OSX_TRUE='#'
  8863   AUDIO_OSX_FALSE=
  8864 fi
  8867 if test "x$with_pulse" != "xno"; then
  8869 pkg_failed=no
  8870 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
  8871 $as_echo_n "checking for PULSE... " >&6; }
  8873 if test -n "$PKG_CONFIG"; then
  8874     if test -n "$PULSE_CFLAGS"; then
  8875         pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
  8876     else
  8877         if test -n "$PKG_CONFIG" && \
  8878     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
  8879   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
  8880   ac_status=$?
  8881   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8882   (exit $ac_status); }; then
  8883   pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
  8884 else
  8885   pkg_failed=yes
  8886 fi
  8887     fi
  8888 else
  8889 	pkg_failed=untried
  8890 fi
  8891 if test -n "$PKG_CONFIG"; then
  8892     if test -n "$PULSE_LIBS"; then
  8893         pkg_cv_PULSE_LIBS="$PULSE_LIBS"
  8894     else
  8895         if test -n "$PKG_CONFIG" && \
  8896     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
  8897   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
  8898   ac_status=$?
  8899   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8900   (exit $ac_status); }; then
  8901   pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
  8902 else
  8903   pkg_failed=yes
  8904 fi
  8905     fi
  8906 else
  8907 	pkg_failed=untried
  8908 fi
  8912 if test $pkg_failed = yes; then
  8914 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8915         _pkg_short_errors_supported=yes
  8916 else
  8917         _pkg_short_errors_supported=no
  8918 fi
  8919         if test $_pkg_short_errors_supported = yes; then
  8920 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpulse-simple"`
  8921         else
  8922 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpulse-simple"`
  8923         fi
  8924 	# Put the nasty error message in config.log where it belongs
  8925 	echo "$PULSE_PKG_ERRORS" >&5
  8927 	{ $as_echo "$as_me:$LINENO: result: no" >&5
  8928 $as_echo "no" >&6; }
  8930        if test "x$with_pulse" = "xyes"; then
  8931           { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
  8932 See \`config.log' for more details." >&5
  8933 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
  8934 See \`config.log' for more details." >&2;}
  8935    { (exit 1); exit 1; }; }
  8936        fi
  8938 elif test $pkg_failed = untried; then
  8940        if test "x$with_pulse" = "xyes"; then
  8941           { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
  8942 See \`config.log' for more details." >&5
  8943 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
  8944 See \`config.log' for more details." >&2;}
  8945    { (exit 1); exit 1; }; }
  8946        fi
  8948 else
  8949 	PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
  8950 	PULSE_LIBS=$pkg_cv_PULSE_LIBS
  8951         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8952 $as_echo "yes" >&6; }
  8954        HAVE_PULSE='yes'
  8955        AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
  8957 cat >>confdefs.h <<\_ACEOF
  8958 #define HAVE_PULSE 1
  8959 _ACEOF
  8962 fi
  8963 fi
  8966 if test "$HAVE_PULSE" = 'yes' ; then
  8967   AUDIO_PULSE_TRUE=
  8968   AUDIO_PULSE_FALSE='#'
  8969 else
  8970   AUDIO_PULSE_TRUE='#'
  8971   AUDIO_PULSE_FALSE=
  8972 fi
  8975 if test "x$with_esd" != "xno"; then
  8977 pkg_failed=no
  8978 { $as_echo "$as_me:$LINENO: checking for ESOUND" >&5
  8979 $as_echo_n "checking for ESOUND... " >&6; }
  8981 if test -n "$PKG_CONFIG"; then
  8982     if test -n "$ESOUND_CFLAGS"; then
  8983         pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
  8984     else
  8985         if test -n "$PKG_CONFIG" && \
  8986     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  8987   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  8988   ac_status=$?
  8989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8990   (exit $ac_status); }; then
  8991   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
  8992 else
  8993   pkg_failed=yes
  8994 fi
  8995     fi
  8996 else
  8997 	pkg_failed=untried
  8998 fi
  8999 if test -n "$PKG_CONFIG"; then
  9000     if test -n "$ESOUND_LIBS"; then
  9001         pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
  9002     else
  9003         if test -n "$PKG_CONFIG" && \
  9004     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  9005   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  9006   ac_status=$?
  9007   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9008   (exit $ac_status); }; then
  9009   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
  9010 else
  9011   pkg_failed=yes
  9012 fi
  9013     fi
  9014 else
  9015 	pkg_failed=untried
  9016 fi
  9020 if test $pkg_failed = yes; then
  9022 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  9023         _pkg_short_errors_supported=yes
  9024 else
  9025         _pkg_short_errors_supported=no
  9026 fi
  9027         if test $_pkg_short_errors_supported = yes; then
  9028 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
  9029         else
  9030 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
  9031         fi
  9032 	# Put the nasty error message in config.log where it belongs
  9033 	echo "$ESOUND_PKG_ERRORS" >&5
  9035 	{ $as_echo "$as_me:$LINENO: result: no" >&5
  9036 $as_echo "no" >&6; }
  9038        if test "x$with_esd" = "xyes"; then
  9039           { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
  9040 See \`config.log' for more details." >&5
  9041 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
  9042 See \`config.log' for more details." >&2;}
  9043    { (exit 1); exit 1; }; }
  9044        fi
  9046 elif test $pkg_failed = untried; then
  9048        if test "x$with_esd" = "xyes"; then
  9049           { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
  9050 See \`config.log' for more details." >&5
  9051 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
  9052 See \`config.log' for more details." >&2;}
  9053    { (exit 1); exit 1; }; }
  9054        fi
  9056 else
  9057 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
  9058 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
  9059         { $as_echo "$as_me:$LINENO: result: yes" >&5
  9060 $as_echo "yes" >&6; }
  9062        HAVE_ESOUND='yes'
  9063        AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
  9065 cat >>confdefs.h <<\_ACEOF
  9066 #define HAVE_ESOUND 1
  9067 _ACEOF
  9070 fi
  9071 fi
  9074 if test "$HAVE_ESOUND" = 'yes' ; then
  9075   AUDIO_ESOUND_TRUE=
  9076   AUDIO_ESOUND_FALSE='#'
  9077 else
  9078   AUDIO_ESOUND_TRUE='#'
  9079   AUDIO_ESOUND_FALSE=
  9080 fi
  9084 pkg_failed=no
  9085 { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
  9086 $as_echo_n "checking for ALSA... " >&6; }
  9088 if test -n "$PKG_CONFIG"; then
  9089     if test -n "$ALSA_CFLAGS"; then
  9090         pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
  9091     else
  9092         if test -n "$PKG_CONFIG" && \
  9093     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
  9094   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
  9095   ac_status=$?
  9096   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9097   (exit $ac_status); }; then
  9098   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
  9099 else
  9100   pkg_failed=yes
  9101 fi
  9102     fi
  9103 else
  9104 	pkg_failed=untried
  9105 fi
  9106 if test -n "$PKG_CONFIG"; then
  9107     if test -n "$ALSA_LIBS"; then
  9108         pkg_cv_ALSA_LIBS="$ALSA_LIBS"
  9109     else
  9110         if test -n "$PKG_CONFIG" && \
  9111     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
  9112   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
  9113   ac_status=$?
  9114   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9115   (exit $ac_status); }; then
  9116   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
  9117 else
  9118   pkg_failed=yes
  9119 fi
  9120     fi
  9121 else
  9122 	pkg_failed=untried
  9123 fi
  9127 if test $pkg_failed = yes; then
  9129 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  9130         _pkg_short_errors_supported=yes
  9131 else
  9132         _pkg_short_errors_supported=no
  9133 fi
  9134         if test $_pkg_short_errors_supported = yes; then
  9135 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa"`
  9136         else
  9137 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa"`
  9138         fi
  9139 	# Put the nasty error message in config.log where it belongs
  9140 	echo "$ALSA_PKG_ERRORS" >&5
  9142 	{ $as_echo "$as_me:$LINENO: result: no" >&5
  9143 $as_echo "no" >&6; }
  9144                 true
  9145 elif test $pkg_failed = untried; then
  9146 	true
  9147 else
  9148 	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
  9149 	ALSA_LIBS=$pkg_cv_ALSA_LIBS
  9150         { $as_echo "$as_me:$LINENO: result: yes" >&5
  9151 $as_echo "yes" >&6; }
  9153      HAVE_ALSA='yes'
  9154      AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
  9156 cat >>confdefs.h <<\_ACEOF
  9157 #define HAVE_ALSA 1
  9158 _ACEOF
  9160 fi
  9163 if test "$HAVE_ALSA" = 'yes' ; then
  9164   AUDIO_ALSA_TRUE=
  9165   AUDIO_ALSA_FALSE='#'
  9166 else
  9167   AUDIO_ALSA_TRUE='#'
  9168   AUDIO_ALSA_FALSE=
  9169 fi
  9173 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  9174   { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  9175 $as_echo_n "checking for linux/cdrom.h... " >&6; }
  9176 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  9177   $as_echo_n "(cached) " >&6
  9178 fi
  9179 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  9180 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
  9181 else
  9182   # Is the header compilable?
  9183 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
  9184 $as_echo_n "checking linux/cdrom.h usability... " >&6; }
  9185 cat >conftest.$ac_ext <<_ACEOF
  9186 /* confdefs.h.  */
  9187 _ACEOF
  9188 cat confdefs.h >>conftest.$ac_ext
  9189 cat >>conftest.$ac_ext <<_ACEOF
  9190 /* end confdefs.h.  */
  9191 $ac_includes_default
  9192 #include <linux/cdrom.h>
  9193 _ACEOF
  9194 rm -f conftest.$ac_objext
  9195 if { (ac_try="$ac_compile"
  9196 case "(($ac_try" in
  9197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9198   *) ac_try_echo=$ac_try;;
  9199 esac
  9200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9201 $as_echo "$ac_try_echo") >&5
  9202   (eval "$ac_compile") 2>conftest.er1
  9203   ac_status=$?
  9204   grep -v '^ *+' conftest.er1 >conftest.err
  9205   rm -f conftest.er1
  9206   cat conftest.err >&5
  9207   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9208   (exit $ac_status); } && {
  9209 	 test -z "$ac_c_werror_flag" ||
  9210 	 test ! -s conftest.err
  9211        } && test -s conftest.$ac_objext; then
  9212   ac_header_compiler=yes
  9213 else
  9214   $as_echo "$as_me: failed program was:" >&5
  9215 sed 's/^/| /' conftest.$ac_ext >&5
  9217 	ac_header_compiler=no
  9218 fi
  9220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9221 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9222 $as_echo "$ac_header_compiler" >&6; }
  9224 # Is the header present?
  9225 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
  9226 $as_echo_n "checking linux/cdrom.h presence... " >&6; }
  9227 cat >conftest.$ac_ext <<_ACEOF
  9228 /* confdefs.h.  */
  9229 _ACEOF
  9230 cat confdefs.h >>conftest.$ac_ext
  9231 cat >>conftest.$ac_ext <<_ACEOF
  9232 /* end confdefs.h.  */
  9233 #include <linux/cdrom.h>
  9234 _ACEOF
  9235 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9236 case "(($ac_try" in
  9237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9238   *) ac_try_echo=$ac_try;;
  9239 esac
  9240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9241 $as_echo "$ac_try_echo") >&5
  9242   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9243   ac_status=$?
  9244   grep -v '^ *+' conftest.er1 >conftest.err
  9245   rm -f conftest.er1
  9246   cat conftest.err >&5
  9247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9248   (exit $ac_status); } >/dev/null && {
  9249 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9250 	 test ! -s conftest.err
  9251        }; then
  9252   ac_header_preproc=yes
  9253 else
  9254   $as_echo "$as_me: failed program was:" >&5
  9255 sed 's/^/| /' conftest.$ac_ext >&5
  9257   ac_header_preproc=no
  9258 fi
  9260 rm -f conftest.err conftest.$ac_ext
  9261 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9262 $as_echo "$ac_header_preproc" >&6; }
  9264 # So?  What about this header?
  9265 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9266   yes:no: )
  9267     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9268 $as_echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9269     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
  9270 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
  9271     ac_header_preproc=yes
  9272     ;;
  9273   no:yes:* )
  9274     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
  9275 $as_echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
  9276     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
  9277 $as_echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
  9278     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
  9279 $as_echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
  9280     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
  9281 $as_echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9282     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
  9283 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
  9284     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
  9285 $as_echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
  9287     ;;
  9288 esac
  9289 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  9290 $as_echo_n "checking for linux/cdrom.h... " >&6; }
  9291 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  9292   $as_echo_n "(cached) " >&6
  9293 else
  9294   ac_cv_header_linux_cdrom_h=$ac_header_preproc
  9295 fi
  9296 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  9297 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
  9299 fi
  9300 if test $ac_cv_header_linux_cdrom_h = yes; then
  9301   CDROM_DRIVER=linux
  9302 else
  9303   true
  9304 fi
  9307 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
  9308   { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
  9309 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
  9310 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
  9311   $as_echo_n "(cached) " >&6
  9312 fi
  9313 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
  9314 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
  9315 else
  9316   # Is the header compilable?
  9317 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
  9318 $as_echo_n "checking IOKit/IOKitLib.h usability... " >&6; }
  9319 cat >conftest.$ac_ext <<_ACEOF
  9320 /* confdefs.h.  */
  9321 _ACEOF
  9322 cat confdefs.h >>conftest.$ac_ext
  9323 cat >>conftest.$ac_ext <<_ACEOF
  9324 /* end confdefs.h.  */
  9325 $ac_includes_default
  9326 #include <IOKit/IOKitLib.h>
  9327 _ACEOF
  9328 rm -f conftest.$ac_objext
  9329 if { (ac_try="$ac_compile"
  9330 case "(($ac_try" in
  9331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9332   *) ac_try_echo=$ac_try;;
  9333 esac
  9334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9335 $as_echo "$ac_try_echo") >&5
  9336   (eval "$ac_compile") 2>conftest.er1
  9337   ac_status=$?
  9338   grep -v '^ *+' conftest.er1 >conftest.err
  9339   rm -f conftest.er1
  9340   cat conftest.err >&5
  9341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9342   (exit $ac_status); } && {
  9343 	 test -z "$ac_c_werror_flag" ||
  9344 	 test ! -s conftest.err
  9345        } && test -s conftest.$ac_objext; then
  9346   ac_header_compiler=yes
  9347 else
  9348   $as_echo "$as_me: failed program was:" >&5
  9349 sed 's/^/| /' conftest.$ac_ext >&5
  9351 	ac_header_compiler=no
  9352 fi
  9354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9355 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9356 $as_echo "$ac_header_compiler" >&6; }
  9358 # Is the header present?
  9359 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
  9360 $as_echo_n "checking IOKit/IOKitLib.h presence... " >&6; }
  9361 cat >conftest.$ac_ext <<_ACEOF
  9362 /* confdefs.h.  */
  9363 _ACEOF
  9364 cat confdefs.h >>conftest.$ac_ext
  9365 cat >>conftest.$ac_ext <<_ACEOF
  9366 /* end confdefs.h.  */
  9367 #include <IOKit/IOKitLib.h>
  9368 _ACEOF
  9369 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9370 case "(($ac_try" in
  9371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9372   *) ac_try_echo=$ac_try;;
  9373 esac
  9374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9375 $as_echo "$ac_try_echo") >&5
  9376   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9377   ac_status=$?
  9378   grep -v '^ *+' conftest.er1 >conftest.err
  9379   rm -f conftest.er1
  9380   cat conftest.err >&5
  9381   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9382   (exit $ac_status); } >/dev/null && {
  9383 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9384 	 test ! -s conftest.err
  9385        }; then
  9386   ac_header_preproc=yes
  9387 else
  9388   $as_echo "$as_me: failed program was:" >&5
  9389 sed 's/^/| /' conftest.$ac_ext >&5
  9391   ac_header_preproc=no
  9392 fi
  9394 rm -f conftest.err conftest.$ac_ext
  9395 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9396 $as_echo "$ac_header_preproc" >&6; }
  9398 # So?  What about this header?
  9399 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9400   yes:no: )
  9401     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9402 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9403     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
  9404 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
  9405     ac_header_preproc=yes
  9406     ;;
  9407   no:yes:* )
  9408     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
  9409 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
  9410     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&5
  9411 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&2;}
  9412     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
  9413 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
  9414     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&5
  9415 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9416     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
  9417 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
  9418     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
  9419 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
  9421     ;;
  9422 esac
  9423 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
  9424 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
  9425 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
  9426   $as_echo_n "(cached) " >&6
  9427 else
  9428   ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
  9429 fi
  9430 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
  9431 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
  9433 fi
  9434 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
  9436      CDROM_DRIVER=osx
  9437      LIBS="$LIBS -framework IOKit"
  9438 else
  9439   true
  9440 fi
  9445 if test "x$CDROM_DRIVER" = "xlinux"; then
  9446   CDROM_LINUX_TRUE=
  9447   CDROM_LINUX_FALSE='#'
  9448 else
  9449   CDROM_LINUX_TRUE='#'
  9450   CDROM_LINUX_FALSE=
  9451 fi
  9455 if test "x$CDROM_DRIVER" = "xosx"; then
  9456   CDROM_OSX_TRUE=
  9457   CDROM_OSX_FALSE='#'
  9458 else
  9459   CDROM_OSX_TRUE='#'
  9460   CDROM_OSX_FALSE=
  9461 fi
  9465 if test "x$CDROM_DRIVER" = "x"; then
  9466   CDROM_NONE_TRUE=
  9467   CDROM_NONE_FALSE='#'
  9468 else
  9469   CDROM_NONE_TRUE='#'
  9470   CDROM_NONE_FALSE=
  9471 fi
  9474 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
  9475   { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
  9476 $as_echo_n "checking for linux/joystick.h... " >&6; }
  9477 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
  9478   $as_echo_n "(cached) " >&6
  9479 fi
  9480 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
  9481 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
  9482 else
  9483   # Is the header compilable?
  9484 { $as_echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
  9485 $as_echo_n "checking linux/joystick.h usability... " >&6; }
  9486 cat >conftest.$ac_ext <<_ACEOF
  9487 /* confdefs.h.  */
  9488 _ACEOF
  9489 cat confdefs.h >>conftest.$ac_ext
  9490 cat >>conftest.$ac_ext <<_ACEOF
  9491 /* end confdefs.h.  */
  9492 $ac_includes_default
  9493 #include <linux/joystick.h>
  9494 _ACEOF
  9495 rm -f conftest.$ac_objext
  9496 if { (ac_try="$ac_compile"
  9497 case "(($ac_try" in
  9498   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9499   *) ac_try_echo=$ac_try;;
  9500 esac
  9501 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9502 $as_echo "$ac_try_echo") >&5
  9503   (eval "$ac_compile") 2>conftest.er1
  9504   ac_status=$?
  9505   grep -v '^ *+' conftest.er1 >conftest.err
  9506   rm -f conftest.er1
  9507   cat conftest.err >&5
  9508   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9509   (exit $ac_status); } && {
  9510 	 test -z "$ac_c_werror_flag" ||
  9511 	 test ! -s conftest.err
  9512        } && test -s conftest.$ac_objext; then
  9513   ac_header_compiler=yes
  9514 else
  9515   $as_echo "$as_me: failed program was:" >&5
  9516 sed 's/^/| /' conftest.$ac_ext >&5
  9518 	ac_header_compiler=no
  9519 fi
  9521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9522 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9523 $as_echo "$ac_header_compiler" >&6; }
  9525 # Is the header present?
  9526 { $as_echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
  9527 $as_echo_n "checking linux/joystick.h presence... " >&6; }
  9528 cat >conftest.$ac_ext <<_ACEOF
  9529 /* confdefs.h.  */
  9530 _ACEOF
  9531 cat confdefs.h >>conftest.$ac_ext
  9532 cat >>conftest.$ac_ext <<_ACEOF
  9533 /* end confdefs.h.  */
  9534 #include <linux/joystick.h>
  9535 _ACEOF
  9536 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9537 case "(($ac_try" in
  9538   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9539   *) ac_try_echo=$ac_try;;
  9540 esac
  9541 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9542 $as_echo "$ac_try_echo") >&5
  9543   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9544   ac_status=$?
  9545   grep -v '^ *+' conftest.er1 >conftest.err
  9546   rm -f conftest.er1
  9547   cat conftest.err >&5
  9548   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9549   (exit $ac_status); } >/dev/null && {
  9550 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9551 	 test ! -s conftest.err
  9552        }; then
  9553   ac_header_preproc=yes
  9554 else
  9555   $as_echo "$as_me: failed program was:" >&5
  9556 sed 's/^/| /' conftest.$ac_ext >&5
  9558   ac_header_preproc=no
  9559 fi
  9561 rm -f conftest.err conftest.$ac_ext
  9562 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9563 $as_echo "$ac_header_preproc" >&6; }
  9565 # So?  What about this header?
  9566 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9567   yes:no: )
  9568     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9569 $as_echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9570     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
  9571 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
  9572     ac_header_preproc=yes
  9573     ;;
  9574   no:yes:* )
  9575     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
  9576 $as_echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
  9577     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&5
  9578 $as_echo "$as_me: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&2;}
  9579     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
  9580 $as_echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
  9581     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&5
  9582 $as_echo "$as_me: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9583     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
  9584 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
  9585     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
  9586 $as_echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
  9588     ;;
  9589 esac
  9590 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
  9591 $as_echo_n "checking for linux/joystick.h... " >&6; }
  9592 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
  9593   $as_echo_n "(cached) " >&6
  9594 else
  9595   ac_cv_header_linux_joystick_h=$ac_header_preproc
  9596 fi
  9597 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
  9598 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
  9600 fi
  9601 if test $ac_cv_header_linux_joystick_h = yes; then
  9603     HAVE_LINUX_JOYSTICK_H=yes
  9605 cat >>confdefs.h <<\_ACEOF
  9606 #define HAVE_LINUX_JOYSTICK 1
  9607 _ACEOF
  9609 else
  9610    echo "Linux Joystick support not found, building without it."
  9611 fi
  9616 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
  9617   JOY_LINUX_TRUE=
  9618   JOY_LINUX_FALSE='#'
  9619 else
  9620   JOY_LINUX_TRUE='#'
  9621   JOY_LINUX_FALSE=
  9622 fi
  9625 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
  9626 set dummy sh-elf-gcc; ac_word=$2
  9627 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9628 $as_echo_n "checking for $ac_word... " >&6; }
  9629 if test "${ac_cv_path_SHCC+set}" = set; then
  9630   $as_echo_n "(cached) " >&6
  9631 else
  9632   case $SHCC in
  9633   [\\/]* | ?:[\\/]*)
  9634   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
  9635   ;;
  9636   *)
  9637   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9638 for as_dir in $PATH
  9639 do
  9640   IFS=$as_save_IFS
  9641   test -z "$as_dir" && as_dir=.
  9642   for ac_exec_ext in '' $ac_executable_extensions; do
  9643   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9644     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
  9645     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9646     break 2
  9647   fi
  9648 done
  9649 done
  9650 IFS=$as_save_IFS
  9652   ;;
  9653 esac
  9654 fi
  9655 SHCC=$ac_cv_path_SHCC
  9656 if test -n "$SHCC"; then
  9657   { $as_echo "$as_me:$LINENO: result: $SHCC" >&5
  9658 $as_echo "$SHCC" >&6; }
  9659 else
  9660   { $as_echo "$as_me:$LINENO: result: no" >&5
  9661 $as_echo "no" >&6; }
  9662 fi
  9665 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
  9666 set dummy sh-elf-ld; ac_word=$2
  9667 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9668 $as_echo_n "checking for $ac_word... " >&6; }
  9669 if test "${ac_cv_path_SHLD+set}" = set; then
  9670   $as_echo_n "(cached) " >&6
  9671 else
  9672   case $SHLD in
  9673   [\\/]* | ?:[\\/]*)
  9674   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
  9675   ;;
  9676   *)
  9677   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9678 for as_dir in $PATH
  9679 do
  9680   IFS=$as_save_IFS
  9681   test -z "$as_dir" && as_dir=.
  9682   for ac_exec_ext in '' $ac_executable_extensions; do
  9683   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9684     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
  9685     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9686     break 2
  9687   fi
  9688 done
  9689 done
  9690 IFS=$as_save_IFS
  9692   ;;
  9693 esac
  9694 fi
  9695 SHLD=$ac_cv_path_SHLD
  9696 if test -n "$SHLD"; then
  9697   { $as_echo "$as_me:$LINENO: result: $SHLD" >&5
  9698 $as_echo "$SHLD" >&6; }
  9699 else
  9700   { $as_echo "$as_me:$LINENO: result: no" >&5
  9701 $as_echo "no" >&6; }
  9702 fi
  9705 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
  9706 set dummy sh-elf-objcopy; ac_word=$2
  9707 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9708 $as_echo_n "checking for $ac_word... " >&6; }
  9709 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
  9710   $as_echo_n "(cached) " >&6
  9711 else
  9712   case $SHOBJCOPY in
  9713   [\\/]* | ?:[\\/]*)
  9714   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
  9715   ;;
  9716   *)
  9717   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9718 for as_dir in $PATH
  9719 do
  9720   IFS=$as_save_IFS
  9721   test -z "$as_dir" && as_dir=.
  9722   for ac_exec_ext in '' $ac_executable_extensions; do
  9723   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9724     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  9725     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9726     break 2
  9727   fi
  9728 done
  9729 done
  9730 IFS=$as_save_IFS
  9732   ;;
  9733 esac
  9734 fi
  9735 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
  9736 if test -n "$SHOBJCOPY"; then
  9737   { $as_echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
  9738 $as_echo "$SHOBJCOPY" >&6; }
  9739 else
  9740   { $as_echo "$as_me:$LINENO: result: no" >&5
  9741 $as_echo "no" >&6; }
  9742 fi
  9745 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
  9746 set dummy arm-elf-gcc; ac_word=$2
  9747 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9748 $as_echo_n "checking for $ac_word... " >&6; }
  9749 if test "${ac_cv_path_ARMCC+set}" = set; then
  9750   $as_echo_n "(cached) " >&6
  9751 else
  9752   case $ARMCC in
  9753   [\\/]* | ?:[\\/]*)
  9754   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
  9755   ;;
  9756   *)
  9757   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9758 for as_dir in $PATH
  9759 do
  9760   IFS=$as_save_IFS
  9761   test -z "$as_dir" && as_dir=.
  9762   for ac_exec_ext in '' $ac_executable_extensions; do
  9763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9764     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
  9765     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9766     break 2
  9767   fi
  9768 done
  9769 done
  9770 IFS=$as_save_IFS
  9772   ;;
  9773 esac
  9774 fi
  9775 ARMCC=$ac_cv_path_ARMCC
  9776 if test -n "$ARMCC"; then
  9777   { $as_echo "$as_me:$LINENO: result: $ARMCC" >&5
  9778 $as_echo "$ARMCC" >&6; }
  9779 else
  9780   { $as_echo "$as_me:$LINENO: result: no" >&5
  9781 $as_echo "no" >&6; }
  9782 fi
  9785 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
  9786 set dummy arm-elf-ld; ac_word=$2
  9787 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9788 $as_echo_n "checking for $ac_word... " >&6; }
  9789 if test "${ac_cv_path_ARMLD+set}" = set; then
  9790   $as_echo_n "(cached) " >&6
  9791 else
  9792   case $ARMLD in
  9793   [\\/]* | ?:[\\/]*)
  9794   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
  9795   ;;
  9796   *)
  9797   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9798 for as_dir in $PATH
  9799 do
  9800   IFS=$as_save_IFS
  9801   test -z "$as_dir" && as_dir=.
  9802   for ac_exec_ext in '' $ac_executable_extensions; do
  9803   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9804     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
  9805     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9806     break 2
  9807   fi
  9808 done
  9809 done
  9810 IFS=$as_save_IFS
  9812   ;;
  9813 esac
  9814 fi
  9815 ARMLD=$ac_cv_path_ARMLD
  9816 if test -n "$ARMLD"; then
  9817   { $as_echo "$as_me:$LINENO: result: $ARMLD" >&5
  9818 $as_echo "$ARMLD" >&6; }
  9819 else
  9820   { $as_echo "$as_me:$LINENO: result: no" >&5
  9821 $as_echo "no" >&6; }
  9822 fi
  9825 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
  9826 set dummy arm-elf-objcopy; ac_word=$2
  9827 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9828 $as_echo_n "checking for $ac_word... " >&6; }
  9829 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
  9830   $as_echo_n "(cached) " >&6
  9831 else
  9832   case $ARMOBJCOPY in
  9833   [\\/]* | ?:[\\/]*)
  9834   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
  9835   ;;
  9836   *)
  9837   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9838 for as_dir in $PATH
  9839 do
  9840   IFS=$as_save_IFS
  9841   test -z "$as_dir" && as_dir=.
  9842   for ac_exec_ext in '' $ac_executable_extensions; do
  9843   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9844     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  9845     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9846     break 2
  9847   fi
  9848 done
  9849 done
  9850 IFS=$as_save_IFS
  9852   ;;
  9853 esac
  9854 fi
  9855 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
  9856 if test -n "$ARMOBJCOPY"; then
  9857   { $as_echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
  9858 $as_echo "$ARMOBJCOPY" >&6; }
  9859 else
  9860   { $as_echo "$as_me:$LINENO: result: no" >&5
  9861 $as_echo "no" >&6; }
  9862 fi
  9866 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
  9867   BUILD_SH="no"
  9868   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
  9869 else
  9870   BUILD_SH="yes"
  9871 fi
  9872 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
  9873   BUILD_ARM="no"
  9874   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
  9875 else
  9876   BUILD_ARM="yes"
  9877 fi
  9880 if test "$BUILD_SH" = "yes"; then
  9881   BUILD_SYSTEST_TRUE=
  9882   BUILD_SYSTEST_FALSE='#'
  9883 else
  9884   BUILD_SYSTEST_TRUE='#'
  9885   BUILD_SYSTEST_FALSE=
  9886 fi
  9890 if test "$BUILD_ARM" = "yes"; then
  9891   BUILD_ARMTEST_TRUE=
  9892   BUILD_ARMTEST_FALSE='#'
  9893 else
  9894   BUILD_ARMTEST_TRUE='#'
  9895   BUILD_ARMTEST_FALSE=
  9896 fi
  9900 GETTEXT_PACKAGE=lxdream
  9903 cat >>confdefs.h <<_ACEOF
  9904 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
  9905 _ACEOF
  9908 ALL_LINGUAS="de es it pt_BR"
  9911 for ac_header in locale.h
  9912 do
  9913 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9914 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9915   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  9916 $as_echo_n "checking for $ac_header... " >&6; }
  9917 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9918   $as_echo_n "(cached) " >&6
  9919 fi
  9920 ac_res=`eval 'as_val=${'$as_ac_Header'}
  9921 		 $as_echo "$as_val"'`
  9922 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  9923 $as_echo "$ac_res" >&6; }
  9924 else
  9925   # Is the header compilable?
  9926 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9927 $as_echo_n "checking $ac_header usability... " >&6; }
  9928 cat >conftest.$ac_ext <<_ACEOF
  9929 /* confdefs.h.  */
  9930 _ACEOF
  9931 cat confdefs.h >>conftest.$ac_ext
  9932 cat >>conftest.$ac_ext <<_ACEOF
  9933 /* end confdefs.h.  */
  9934 $ac_includes_default
  9935 #include <$ac_header>
  9936 _ACEOF
  9937 rm -f conftest.$ac_objext
  9938 if { (ac_try="$ac_compile"
  9939 case "(($ac_try" in
  9940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9941   *) ac_try_echo=$ac_try;;
  9942 esac
  9943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9944 $as_echo "$ac_try_echo") >&5
  9945   (eval "$ac_compile") 2>conftest.er1
  9946   ac_status=$?
  9947   grep -v '^ *+' conftest.er1 >conftest.err
  9948   rm -f conftest.er1
  9949   cat conftest.err >&5
  9950   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9951   (exit $ac_status); } && {
  9952 	 test -z "$ac_c_werror_flag" ||
  9953 	 test ! -s conftest.err
  9954        } && test -s conftest.$ac_objext; then
  9955   ac_header_compiler=yes
  9956 else
  9957   $as_echo "$as_me: failed program was:" >&5
  9958 sed 's/^/| /' conftest.$ac_ext >&5
  9960 	ac_header_compiler=no
  9961 fi
  9963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9964 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9965 $as_echo "$ac_header_compiler" >&6; }
  9967 # Is the header present?
  9968 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9969 $as_echo_n "checking $ac_header presence... " >&6; }
  9970 cat >conftest.$ac_ext <<_ACEOF
  9971 /* confdefs.h.  */
  9972 _ACEOF
  9973 cat confdefs.h >>conftest.$ac_ext
  9974 cat >>conftest.$ac_ext <<_ACEOF
  9975 /* end confdefs.h.  */
  9976 #include <$ac_header>
  9977 _ACEOF
  9978 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9979 case "(($ac_try" in
  9980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9981   *) ac_try_echo=$ac_try;;
  9982 esac
  9983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9984 $as_echo "$ac_try_echo") >&5
  9985   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9986   ac_status=$?
  9987   grep -v '^ *+' conftest.er1 >conftest.err
  9988   rm -f conftest.er1
  9989   cat conftest.err >&5
  9990   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9991   (exit $ac_status); } >/dev/null && {
  9992 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9993 	 test ! -s conftest.err
  9994        }; then
  9995   ac_header_preproc=yes
  9996 else
  9997   $as_echo "$as_me: failed program was:" >&5
  9998 sed 's/^/| /' conftest.$ac_ext >&5
 10000   ac_header_preproc=no
 10001 fi
 10003 rm -f conftest.err conftest.$ac_ext
 10004 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10005 $as_echo "$ac_header_preproc" >&6; }
 10007 # So?  What about this header?
 10008 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10009   yes:no: )
 10010     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 10011 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10012     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 10013 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 10014     ac_header_preproc=yes
 10015     ;;
 10016   no:yes:* )
 10017     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 10018 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 10019     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 10020 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 10021     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 10022 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 10023     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 10024 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 10025     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 10026 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 10027     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 10028 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 10030     ;;
 10031 esac
 10032 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 10033 $as_echo_n "checking for $ac_header... " >&6; }
 10034 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 10035   $as_echo_n "(cached) " >&6
 10036 else
 10037   eval "$as_ac_Header=\$ac_header_preproc"
 10038 fi
 10039 ac_res=`eval 'as_val=${'$as_ac_Header'}
 10040 		 $as_echo "$as_val"'`
 10041 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 10042 $as_echo "$ac_res" >&6; }
 10044 fi
 10045 if test `eval 'as_val=${'$as_ac_Header'}
 10046 		 $as_echo "$as_val"'` = yes; then
 10047   cat >>confdefs.h <<_ACEOF
 10048 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 10049 _ACEOF
 10051 fi
 10053 done
 10055     if test $ac_cv_header_locale_h = yes; then
 10056     { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 10057 $as_echo_n "checking for LC_MESSAGES... " >&6; }
 10058 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 10059   $as_echo_n "(cached) " >&6
 10060 else
 10061   cat >conftest.$ac_ext <<_ACEOF
 10062 /* confdefs.h.  */
 10063 _ACEOF
 10064 cat confdefs.h >>conftest.$ac_ext
 10065 cat >>conftest.$ac_ext <<_ACEOF
 10066 /* end confdefs.h.  */
 10067 #include <locale.h>
 10068 int
 10069 main ()
 10071 return LC_MESSAGES
 10073   return 0;
 10075 _ACEOF
 10076 rm -f conftest.$ac_objext conftest$ac_exeext
 10077 if { (ac_try="$ac_link"
 10078 case "(($ac_try" in
 10079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10080   *) ac_try_echo=$ac_try;;
 10081 esac
 10082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10083 $as_echo "$ac_try_echo") >&5
 10084   (eval "$ac_link") 2>conftest.er1
 10085   ac_status=$?
 10086   grep -v '^ *+' conftest.er1 >conftest.err
 10087   rm -f conftest.er1
 10088   cat conftest.err >&5
 10089   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10090   (exit $ac_status); } && {
 10091 	 test -z "$ac_c_werror_flag" ||
 10092 	 test ! -s conftest.err
 10093        } && test -s conftest$ac_exeext && {
 10094 	 test "$cross_compiling" = yes ||
 10095 	 $as_test_x conftest$ac_exeext
 10096        }; then
 10097   am_cv_val_LC_MESSAGES=yes
 10098 else
 10099   $as_echo "$as_me: failed program was:" >&5
 10100 sed 's/^/| /' conftest.$ac_ext >&5
 10102 	am_cv_val_LC_MESSAGES=no
 10103 fi
 10105 rm -rf conftest.dSYM
 10106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10107       conftest$ac_exeext conftest.$ac_ext
 10108 fi
 10109 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 10110 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 10111     if test $am_cv_val_LC_MESSAGES = yes; then
 10113 cat >>confdefs.h <<\_ACEOF
 10114 #define HAVE_LC_MESSAGES 1
 10115 _ACEOF
 10117     fi
 10118   fi
 10119          USE_NLS=yes
 10122     gt_cv_have_gettext=no
 10124     CATOBJEXT=NONE
 10125     XGETTEXT=:
 10126     INTLLIBS=
 10128     if test "${ac_cv_header_libintl_h+set}" = set; then
 10129   { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 10130 $as_echo_n "checking for libintl.h... " >&6; }
 10131 if test "${ac_cv_header_libintl_h+set}" = set; then
 10132   $as_echo_n "(cached) " >&6
 10133 fi
 10134 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 10135 $as_echo "$ac_cv_header_libintl_h" >&6; }
 10136 else
 10137   # Is the header compilable?
 10138 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 10139 $as_echo_n "checking libintl.h usability... " >&6; }
 10140 cat >conftest.$ac_ext <<_ACEOF
 10141 /* confdefs.h.  */
 10142 _ACEOF
 10143 cat confdefs.h >>conftest.$ac_ext
 10144 cat >>conftest.$ac_ext <<_ACEOF
 10145 /* end confdefs.h.  */
 10146 $ac_includes_default
 10147 #include <libintl.h>
 10148 _ACEOF
 10149 rm -f conftest.$ac_objext
 10150 if { (ac_try="$ac_compile"
 10151 case "(($ac_try" in
 10152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10153   *) ac_try_echo=$ac_try;;
 10154 esac
 10155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10156 $as_echo "$ac_try_echo") >&5
 10157   (eval "$ac_compile") 2>conftest.er1
 10158   ac_status=$?
 10159   grep -v '^ *+' conftest.er1 >conftest.err
 10160   rm -f conftest.er1
 10161   cat conftest.err >&5
 10162   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10163   (exit $ac_status); } && {
 10164 	 test -z "$ac_c_werror_flag" ||
 10165 	 test ! -s conftest.err
 10166        } && test -s conftest.$ac_objext; then
 10167   ac_header_compiler=yes
 10168 else
 10169   $as_echo "$as_me: failed program was:" >&5
 10170 sed 's/^/| /' conftest.$ac_ext >&5
 10172 	ac_header_compiler=no
 10173 fi
 10175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10176 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10177 $as_echo "$ac_header_compiler" >&6; }
 10179 # Is the header present?
 10180 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 10181 $as_echo_n "checking libintl.h presence... " >&6; }
 10182 cat >conftest.$ac_ext <<_ACEOF
 10183 /* confdefs.h.  */
 10184 _ACEOF
 10185 cat confdefs.h >>conftest.$ac_ext
 10186 cat >>conftest.$ac_ext <<_ACEOF
 10187 /* end confdefs.h.  */
 10188 #include <libintl.h>
 10189 _ACEOF
 10190 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10191 case "(($ac_try" in
 10192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10193   *) ac_try_echo=$ac_try;;
 10194 esac
 10195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10196 $as_echo "$ac_try_echo") >&5
 10197   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10198   ac_status=$?
 10199   grep -v '^ *+' conftest.er1 >conftest.err
 10200   rm -f conftest.er1
 10201   cat conftest.err >&5
 10202   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10203   (exit $ac_status); } >/dev/null && {
 10204 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10205 	 test ! -s conftest.err
 10206        }; then
 10207   ac_header_preproc=yes
 10208 else
 10209   $as_echo "$as_me: failed program was:" >&5
 10210 sed 's/^/| /' conftest.$ac_ext >&5
 10212   ac_header_preproc=no
 10213 fi
 10215 rm -f conftest.err conftest.$ac_ext
 10216 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10217 $as_echo "$ac_header_preproc" >&6; }
 10219 # So?  What about this header?
 10220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10221   yes:no: )
 10222     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10223 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10224     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 10225 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 10226     ac_header_preproc=yes
 10227     ;;
 10228   no:yes:* )
 10229     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 10230 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 10231     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 10232 $as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 10233     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 10234 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 10235     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 10236 $as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10237     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 10238 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 10239     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 10240 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 10242     ;;
 10243 esac
 10244 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 10245 $as_echo_n "checking for libintl.h... " >&6; }
 10246 if test "${ac_cv_header_libintl_h+set}" = set; then
 10247   $as_echo_n "(cached) " >&6
 10248 else
 10249   ac_cv_header_libintl_h=$ac_header_preproc
 10250 fi
 10251 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 10252 $as_echo "$ac_cv_header_libintl_h" >&6; }
 10254 fi
 10255 if test $ac_cv_header_libintl_h = yes; then
 10256   gt_cv_func_dgettext_libintl="no"
 10257       libintl_extra_libs=""
 10260       # First check in libc
 10262       { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 10263 $as_echo_n "checking for ngettext in libc... " >&6; }
 10264 if test "${gt_cv_func_ngettext_libc+set}" = set; then
 10265   $as_echo_n "(cached) " >&6
 10266 else
 10267   cat >conftest.$ac_ext <<_ACEOF
 10268 /* confdefs.h.  */
 10269 _ACEOF
 10270 cat confdefs.h >>conftest.$ac_ext
 10271 cat >>conftest.$ac_ext <<_ACEOF
 10272 /* end confdefs.h.  */
 10274 #include <libintl.h>
 10276 int
 10277 main ()
 10279 return !ngettext ("","", 1)
 10281   return 0;
 10283 _ACEOF
 10284 rm -f conftest.$ac_objext conftest$ac_exeext
 10285 if { (ac_try="$ac_link"
 10286 case "(($ac_try" in
 10287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10288   *) ac_try_echo=$ac_try;;
 10289 esac
 10290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10291 $as_echo "$ac_try_echo") >&5
 10292   (eval "$ac_link") 2>conftest.er1
 10293   ac_status=$?
 10294   grep -v '^ *+' conftest.er1 >conftest.err
 10295   rm -f conftest.er1
 10296   cat conftest.err >&5
 10297   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10298   (exit $ac_status); } && {
 10299 	 test -z "$ac_c_werror_flag" ||
 10300 	 test ! -s conftest.err
 10301        } && test -s conftest$ac_exeext && {
 10302 	 test "$cross_compiling" = yes ||
 10303 	 $as_test_x conftest$ac_exeext
 10304        }; then
 10305   gt_cv_func_ngettext_libc=yes
 10306 else
 10307   $as_echo "$as_me: failed program was:" >&5
 10308 sed 's/^/| /' conftest.$ac_ext >&5
 10310 	gt_cv_func_ngettext_libc=no
 10311 fi
 10313 rm -rf conftest.dSYM
 10314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10315       conftest$ac_exeext conftest.$ac_ext
 10317 fi
 10318 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 10319 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
 10321       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 10322 	      { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 10323 $as_echo_n "checking for dgettext in libc... " >&6; }
 10324 if test "${gt_cv_func_dgettext_libc+set}" = set; then
 10325   $as_echo_n "(cached) " >&6
 10326 else
 10327   cat >conftest.$ac_ext <<_ACEOF
 10328 /* confdefs.h.  */
 10329 _ACEOF
 10330 cat confdefs.h >>conftest.$ac_ext
 10331 cat >>conftest.$ac_ext <<_ACEOF
 10332 /* end confdefs.h.  */
 10334 #include <libintl.h>
 10336 int
 10337 main ()
 10339 return !dgettext ("","")
 10341   return 0;
 10343 _ACEOF
 10344 rm -f conftest.$ac_objext conftest$ac_exeext
 10345 if { (ac_try="$ac_link"
 10346 case "(($ac_try" in
 10347   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10348   *) ac_try_echo=$ac_try;;
 10349 esac
 10350 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10351 $as_echo "$ac_try_echo") >&5
 10352   (eval "$ac_link") 2>conftest.er1
 10353   ac_status=$?
 10354   grep -v '^ *+' conftest.er1 >conftest.err
 10355   rm -f conftest.er1
 10356   cat conftest.err >&5
 10357   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10358   (exit $ac_status); } && {
 10359 	 test -z "$ac_c_werror_flag" ||
 10360 	 test ! -s conftest.err
 10361        } && test -s conftest$ac_exeext && {
 10362 	 test "$cross_compiling" = yes ||
 10363 	 $as_test_x conftest$ac_exeext
 10364        }; then
 10365   gt_cv_func_dgettext_libc=yes
 10366 else
 10367   $as_echo "$as_me: failed program was:" >&5
 10368 sed 's/^/| /' conftest.$ac_ext >&5
 10370 	gt_cv_func_dgettext_libc=no
 10371 fi
 10373 rm -rf conftest.dSYM
 10374 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10375       conftest$ac_exeext conftest.$ac_ext
 10377 fi
 10378 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 10379 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
 10380       fi
 10382       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 10384 for ac_func in bind_textdomain_codeset
 10385 do
 10386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 10387 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 10388 $as_echo_n "checking for $ac_func... " >&6; }
 10389 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 10390   $as_echo_n "(cached) " >&6
 10391 else
 10392   cat >conftest.$ac_ext <<_ACEOF
 10393 /* confdefs.h.  */
 10394 _ACEOF
 10395 cat confdefs.h >>conftest.$ac_ext
 10396 cat >>conftest.$ac_ext <<_ACEOF
 10397 /* end confdefs.h.  */
 10398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 10399    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 10400 #define $ac_func innocuous_$ac_func
 10402 /* System header to define __stub macros and hopefully few prototypes,
 10403     which can conflict with char $ac_func (); below.
 10404     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 10405     <limits.h> exists even on freestanding compilers.  */
 10407 #ifdef __STDC__
 10408 # include <limits.h>
 10409 #else
 10410 # include <assert.h>
 10411 #endif
 10413 #undef $ac_func
 10415 /* Override any GCC internal prototype to avoid an error.
 10416    Use char because int might match the return type of a GCC
 10417    builtin and then its argument prototype would still apply.  */
 10418 #ifdef __cplusplus
 10419 extern "C"
 10420 #endif
 10421 char $ac_func ();
 10422 /* The GNU C library defines this for functions which it implements
 10423     to always fail with ENOSYS.  Some functions are actually named
 10424     something starting with __ and the normal name is an alias.  */
 10425 #if defined __stub_$ac_func || defined __stub___$ac_func
 10426 choke me
 10427 #endif
 10429 int
 10430 main ()
 10432 return $ac_func ();
 10434   return 0;
 10436 _ACEOF
 10437 rm -f conftest.$ac_objext conftest$ac_exeext
 10438 if { (ac_try="$ac_link"
 10439 case "(($ac_try" in
 10440   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10441   *) ac_try_echo=$ac_try;;
 10442 esac
 10443 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10444 $as_echo "$ac_try_echo") >&5
 10445   (eval "$ac_link") 2>conftest.er1
 10446   ac_status=$?
 10447   grep -v '^ *+' conftest.er1 >conftest.err
 10448   rm -f conftest.er1
 10449   cat conftest.err >&5
 10450   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10451   (exit $ac_status); } && {
 10452 	 test -z "$ac_c_werror_flag" ||
 10453 	 test ! -s conftest.err
 10454        } && test -s conftest$ac_exeext && {
 10455 	 test "$cross_compiling" = yes ||
 10456 	 $as_test_x conftest$ac_exeext
 10457        }; then
 10458   eval "$as_ac_var=yes"
 10459 else
 10460   $as_echo "$as_me: failed program was:" >&5
 10461 sed 's/^/| /' conftest.$ac_ext >&5
 10463 	eval "$as_ac_var=no"
 10464 fi
 10466 rm -rf conftest.dSYM
 10467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10468       conftest$ac_exeext conftest.$ac_ext
 10469 fi
 10470 ac_res=`eval 'as_val=${'$as_ac_var'}
 10471 		 $as_echo "$as_val"'`
 10472 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 10473 $as_echo "$ac_res" >&6; }
 10474 if test `eval 'as_val=${'$as_ac_var'}
 10475 		 $as_echo "$as_val"'` = yes; then
 10476   cat >>confdefs.h <<_ACEOF
 10477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 10478 _ACEOF
 10480 fi
 10481 done
 10483       fi
 10486       # If we don't have everything we want, check in libintl
 10488       if test "$gt_cv_func_dgettext_libc" != "yes" \
 10489 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
 10490          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 10492         { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 10493 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 10494 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 10495   $as_echo_n "(cached) " >&6
 10496 else
 10497   ac_check_lib_save_LIBS=$LIBS
 10498 LIBS="-lintl  $LIBS"
 10499 cat >conftest.$ac_ext <<_ACEOF
 10500 /* confdefs.h.  */
 10501 _ACEOF
 10502 cat confdefs.h >>conftest.$ac_ext
 10503 cat >>conftest.$ac_ext <<_ACEOF
 10504 /* end confdefs.h.  */
 10506 /* Override any GCC internal prototype to avoid an error.
 10507    Use char because int might match the return type of a GCC
 10508    builtin and then its argument prototype would still apply.  */
 10509 #ifdef __cplusplus
 10510 extern "C"
 10511 #endif
 10512 char bindtextdomain ();
 10513 int
 10514 main ()
 10516 return bindtextdomain ();
 10518   return 0;
 10520 _ACEOF
 10521 rm -f conftest.$ac_objext conftest$ac_exeext
 10522 if { (ac_try="$ac_link"
 10523 case "(($ac_try" in
 10524   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10525   *) ac_try_echo=$ac_try;;
 10526 esac
 10527 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10528 $as_echo "$ac_try_echo") >&5
 10529   (eval "$ac_link") 2>conftest.er1
 10530   ac_status=$?
 10531   grep -v '^ *+' conftest.er1 >conftest.err
 10532   rm -f conftest.er1
 10533   cat conftest.err >&5
 10534   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10535   (exit $ac_status); } && {
 10536 	 test -z "$ac_c_werror_flag" ||
 10537 	 test ! -s conftest.err
 10538        } && test -s conftest$ac_exeext && {
 10539 	 test "$cross_compiling" = yes ||
 10540 	 $as_test_x conftest$ac_exeext
 10541        }; then
 10542   ac_cv_lib_intl_bindtextdomain=yes
 10543 else
 10544   $as_echo "$as_me: failed program was:" >&5
 10545 sed 's/^/| /' conftest.$ac_ext >&5
 10547 	ac_cv_lib_intl_bindtextdomain=no
 10548 fi
 10550 rm -rf conftest.dSYM
 10551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10552       conftest$ac_exeext conftest.$ac_ext
 10553 LIBS=$ac_check_lib_save_LIBS
 10554 fi
 10555 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 10556 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 10557 if test $ac_cv_lib_intl_bindtextdomain = yes; then
 10558   { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 10559 $as_echo_n "checking for ngettext in -lintl... " >&6; }
 10560 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 10561   $as_echo_n "(cached) " >&6
 10562 else
 10563   ac_check_lib_save_LIBS=$LIBS
 10564 LIBS="-lintl  $LIBS"
 10565 cat >conftest.$ac_ext <<_ACEOF
 10566 /* confdefs.h.  */
 10567 _ACEOF
 10568 cat confdefs.h >>conftest.$ac_ext
 10569 cat >>conftest.$ac_ext <<_ACEOF
 10570 /* end confdefs.h.  */
 10572 /* Override any GCC internal prototype to avoid an error.
 10573    Use char because int might match the return type of a GCC
 10574    builtin and then its argument prototype would still apply.  */
 10575 #ifdef __cplusplus
 10576 extern "C"
 10577 #endif
 10578 char ngettext ();
 10579 int
 10580 main ()
 10582 return ngettext ();
 10584   return 0;
 10586 _ACEOF
 10587 rm -f conftest.$ac_objext conftest$ac_exeext
 10588 if { (ac_try="$ac_link"
 10589 case "(($ac_try" in
 10590   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10591   *) ac_try_echo=$ac_try;;
 10592 esac
 10593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10594 $as_echo "$ac_try_echo") >&5
 10595   (eval "$ac_link") 2>conftest.er1
 10596   ac_status=$?
 10597   grep -v '^ *+' conftest.er1 >conftest.err
 10598   rm -f conftest.er1
 10599   cat conftest.err >&5
 10600   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10601   (exit $ac_status); } && {
 10602 	 test -z "$ac_c_werror_flag" ||
 10603 	 test ! -s conftest.err
 10604        } && test -s conftest$ac_exeext && {
 10605 	 test "$cross_compiling" = yes ||
 10606 	 $as_test_x conftest$ac_exeext
 10607        }; then
 10608   ac_cv_lib_intl_ngettext=yes
 10609 else
 10610   $as_echo "$as_me: failed program was:" >&5
 10611 sed 's/^/| /' conftest.$ac_ext >&5
 10613 	ac_cv_lib_intl_ngettext=no
 10614 fi
 10616 rm -rf conftest.dSYM
 10617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10618       conftest$ac_exeext conftest.$ac_ext
 10619 LIBS=$ac_check_lib_save_LIBS
 10620 fi
 10621 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 10622 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 10623 if test $ac_cv_lib_intl_ngettext = yes; then
 10624   { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 10625 $as_echo_n "checking for dgettext in -lintl... " >&6; }
 10626 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 10627   $as_echo_n "(cached) " >&6
 10628 else
 10629   ac_check_lib_save_LIBS=$LIBS
 10630 LIBS="-lintl  $LIBS"
 10631 cat >conftest.$ac_ext <<_ACEOF
 10632 /* confdefs.h.  */
 10633 _ACEOF
 10634 cat confdefs.h >>conftest.$ac_ext
 10635 cat >>conftest.$ac_ext <<_ACEOF
 10636 /* end confdefs.h.  */
 10638 /* Override any GCC internal prototype to avoid an error.
 10639    Use char because int might match the return type of a GCC
 10640    builtin and then its argument prototype would still apply.  */
 10641 #ifdef __cplusplus
 10642 extern "C"
 10643 #endif
 10644 char dgettext ();
 10645 int
 10646 main ()
 10648 return dgettext ();
 10650   return 0;
 10652 _ACEOF
 10653 rm -f conftest.$ac_objext conftest$ac_exeext
 10654 if { (ac_try="$ac_link"
 10655 case "(($ac_try" in
 10656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10657   *) ac_try_echo=$ac_try;;
 10658 esac
 10659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10660 $as_echo "$ac_try_echo") >&5
 10661   (eval "$ac_link") 2>conftest.er1
 10662   ac_status=$?
 10663   grep -v '^ *+' conftest.er1 >conftest.err
 10664   rm -f conftest.er1
 10665   cat conftest.err >&5
 10666   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10667   (exit $ac_status); } && {
 10668 	 test -z "$ac_c_werror_flag" ||
 10669 	 test ! -s conftest.err
 10670        } && test -s conftest$ac_exeext && {
 10671 	 test "$cross_compiling" = yes ||
 10672 	 $as_test_x conftest$ac_exeext
 10673        }; then
 10674   ac_cv_lib_intl_dgettext=yes
 10675 else
 10676   $as_echo "$as_me: failed program was:" >&5
 10677 sed 's/^/| /' conftest.$ac_ext >&5
 10679 	ac_cv_lib_intl_dgettext=no
 10680 fi
 10682 rm -rf conftest.dSYM
 10683 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10684       conftest$ac_exeext conftest.$ac_ext
 10685 LIBS=$ac_check_lib_save_LIBS
 10686 fi
 10687 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 10688 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 10689 if test $ac_cv_lib_intl_dgettext = yes; then
 10690   gt_cv_func_dgettext_libintl=yes
 10691 fi
 10693 fi
 10695 fi
 10698 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 10699 	  { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 10700 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 10701 	  { $as_echo "$as_me:$LINENO: result: " >&5
 10702 $as_echo "" >&6; }
 10703   	  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 10704 $as_echo_n "checking for ngettext in -lintl... " >&6; }
 10705 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 10706   $as_echo_n "(cached) " >&6
 10707 else
 10708   ac_check_lib_save_LIBS=$LIBS
 10709 LIBS="-lintl -liconv $LIBS"
 10710 cat >conftest.$ac_ext <<_ACEOF
 10711 /* confdefs.h.  */
 10712 _ACEOF
 10713 cat confdefs.h >>conftest.$ac_ext
 10714 cat >>conftest.$ac_ext <<_ACEOF
 10715 /* end confdefs.h.  */
 10717 /* Override any GCC internal prototype to avoid an error.
 10718    Use char because int might match the return type of a GCC
 10719    builtin and then its argument prototype would still apply.  */
 10720 #ifdef __cplusplus
 10721 extern "C"
 10722 #endif
 10723 char ngettext ();
 10724 int
 10725 main ()
 10727 return ngettext ();
 10729   return 0;
 10731 _ACEOF
 10732 rm -f conftest.$ac_objext conftest$ac_exeext
 10733 if { (ac_try="$ac_link"
 10734 case "(($ac_try" in
 10735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10736   *) ac_try_echo=$ac_try;;
 10737 esac
 10738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10739 $as_echo "$ac_try_echo") >&5
 10740   (eval "$ac_link") 2>conftest.er1
 10741   ac_status=$?
 10742   grep -v '^ *+' conftest.er1 >conftest.err
 10743   rm -f conftest.er1
 10744   cat conftest.err >&5
 10745   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10746   (exit $ac_status); } && {
 10747 	 test -z "$ac_c_werror_flag" ||
 10748 	 test ! -s conftest.err
 10749        } && test -s conftest$ac_exeext && {
 10750 	 test "$cross_compiling" = yes ||
 10751 	 $as_test_x conftest$ac_exeext
 10752        }; then
 10753   ac_cv_lib_intl_ngettext=yes
 10754 else
 10755   $as_echo "$as_me: failed program was:" >&5
 10756 sed 's/^/| /' conftest.$ac_ext >&5
 10758 	ac_cv_lib_intl_ngettext=no
 10759 fi
 10761 rm -rf conftest.dSYM
 10762 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10763       conftest$ac_exeext conftest.$ac_ext
 10764 LIBS=$ac_check_lib_save_LIBS
 10765 fi
 10766 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 10767 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 10768 if test $ac_cv_lib_intl_ngettext = yes; then
 10769   { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 10770 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
 10771 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 10772   $as_echo_n "(cached) " >&6
 10773 else
 10774   ac_check_lib_save_LIBS=$LIBS
 10775 LIBS="-lintl -liconv $LIBS"
 10776 cat >conftest.$ac_ext <<_ACEOF
 10777 /* confdefs.h.  */
 10778 _ACEOF
 10779 cat confdefs.h >>conftest.$ac_ext
 10780 cat >>conftest.$ac_ext <<_ACEOF
 10781 /* end confdefs.h.  */
 10783 /* Override any GCC internal prototype to avoid an error.
 10784    Use char because int might match the return type of a GCC
 10785    builtin and then its argument prototype would still apply.  */
 10786 #ifdef __cplusplus
 10787 extern "C"
 10788 #endif
 10789 char dcgettext ();
 10790 int
 10791 main ()
 10793 return dcgettext ();
 10795   return 0;
 10797 _ACEOF
 10798 rm -f conftest.$ac_objext conftest$ac_exeext
 10799 if { (ac_try="$ac_link"
 10800 case "(($ac_try" in
 10801   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10802   *) ac_try_echo=$ac_try;;
 10803 esac
 10804 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10805 $as_echo "$ac_try_echo") >&5
 10806   (eval "$ac_link") 2>conftest.er1
 10807   ac_status=$?
 10808   grep -v '^ *+' conftest.er1 >conftest.err
 10809   rm -f conftest.er1
 10810   cat conftest.err >&5
 10811   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10812   (exit $ac_status); } && {
 10813 	 test -z "$ac_c_werror_flag" ||
 10814 	 test ! -s conftest.err
 10815        } && test -s conftest$ac_exeext && {
 10816 	 test "$cross_compiling" = yes ||
 10817 	 $as_test_x conftest$ac_exeext
 10818        }; then
 10819   ac_cv_lib_intl_dcgettext=yes
 10820 else
 10821   $as_echo "$as_me: failed program was:" >&5
 10822 sed 's/^/| /' conftest.$ac_ext >&5
 10824 	ac_cv_lib_intl_dcgettext=no
 10825 fi
 10827 rm -rf conftest.dSYM
 10828 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10829       conftest$ac_exeext conftest.$ac_ext
 10830 LIBS=$ac_check_lib_save_LIBS
 10831 fi
 10832 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 10833 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 10834 if test $ac_cv_lib_intl_dcgettext = yes; then
 10835   gt_cv_func_dgettext_libintl=yes
 10836 			libintl_extra_libs=-liconv
 10837 else
 10839 fi
 10841 else
 10843 fi
 10845         fi
 10848         # If we found libintl, then check in it for bind_textdomain_codeset();
 10849         # we'll prefer libc if neither have bind_textdomain_codeset(),
 10850         # and both have dgettext and ngettext
 10852         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 10853           glib_save_LIBS="$LIBS"
 10854           LIBS="$LIBS -lintl $libintl_extra_libs"
 10855           unset ac_cv_func_bind_textdomain_codeset
 10857 for ac_func in bind_textdomain_codeset
 10858 do
 10859 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 10860 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 10861 $as_echo_n "checking for $ac_func... " >&6; }
 10862 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 10863   $as_echo_n "(cached) " >&6
 10864 else
 10865   cat >conftest.$ac_ext <<_ACEOF
 10866 /* confdefs.h.  */
 10867 _ACEOF
 10868 cat confdefs.h >>conftest.$ac_ext
 10869 cat >>conftest.$ac_ext <<_ACEOF
 10870 /* end confdefs.h.  */
 10871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 10872    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 10873 #define $ac_func innocuous_$ac_func
 10875 /* System header to define __stub macros and hopefully few prototypes,
 10876     which can conflict with char $ac_func (); below.
 10877     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 10878     <limits.h> exists even on freestanding compilers.  */
 10880 #ifdef __STDC__
 10881 # include <limits.h>
 10882 #else
 10883 # include <assert.h>
 10884 #endif
 10886 #undef $ac_func
 10888 /* Override any GCC internal prototype to avoid an error.
 10889    Use char because int might match the return type of a GCC
 10890    builtin and then its argument prototype would still apply.  */
 10891 #ifdef __cplusplus
 10892 extern "C"
 10893 #endif
 10894 char $ac_func ();
 10895 /* The GNU C library defines this for functions which it implements
 10896     to always fail with ENOSYS.  Some functions are actually named
 10897     something starting with __ and the normal name is an alias.  */
 10898 #if defined __stub_$ac_func || defined __stub___$ac_func
 10899 choke me
 10900 #endif
 10902 int
 10903 main ()
 10905 return $ac_func ();
 10907   return 0;
 10909 _ACEOF
 10910 rm -f conftest.$ac_objext conftest$ac_exeext
 10911 if { (ac_try="$ac_link"
 10912 case "(($ac_try" in
 10913   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10914   *) ac_try_echo=$ac_try;;
 10915 esac
 10916 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10917 $as_echo "$ac_try_echo") >&5
 10918   (eval "$ac_link") 2>conftest.er1
 10919   ac_status=$?
 10920   grep -v '^ *+' conftest.er1 >conftest.err
 10921   rm -f conftest.er1
 10922   cat conftest.err >&5
 10923   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10924   (exit $ac_status); } && {
 10925 	 test -z "$ac_c_werror_flag" ||
 10926 	 test ! -s conftest.err
 10927        } && test -s conftest$ac_exeext && {
 10928 	 test "$cross_compiling" = yes ||
 10929 	 $as_test_x conftest$ac_exeext
 10930        }; then
 10931   eval "$as_ac_var=yes"
 10932 else
 10933   $as_echo "$as_me: failed program was:" >&5
 10934 sed 's/^/| /' conftest.$ac_ext >&5
 10936 	eval "$as_ac_var=no"
 10937 fi
 10939 rm -rf conftest.dSYM
 10940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10941       conftest$ac_exeext conftest.$ac_ext
 10942 fi
 10943 ac_res=`eval 'as_val=${'$as_ac_var'}
 10944 		 $as_echo "$as_val"'`
 10945 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 10946 $as_echo "$ac_res" >&6; }
 10947 if test `eval 'as_val=${'$as_ac_var'}
 10948 		 $as_echo "$as_val"'` = yes; then
 10949   cat >>confdefs.h <<_ACEOF
 10950 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 10951 _ACEOF
 10953 fi
 10954 done
 10956           LIBS="$glib_save_LIBS"
 10958           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 10959             gt_cv_func_dgettext_libc=no
 10960           else
 10961             if test "$gt_cv_func_dgettext_libc" = "yes" \
 10962 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
 10963               gt_cv_func_dgettext_libintl=no
 10964             fi
 10965           fi
 10966         fi
 10967       fi
 10969       if test "$gt_cv_func_dgettext_libc" = "yes" \
 10970 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
 10971         gt_cv_have_gettext=yes
 10972       fi
 10974       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 10975         INTLLIBS="-lintl $libintl_extra_libs"
 10976       fi
 10978       if test "$gt_cv_have_gettext" = "yes"; then
 10980 cat >>confdefs.h <<\_ACEOF
 10981 #define HAVE_GETTEXT 1
 10982 _ACEOF
 10984 	# Extract the first word of "msgfmt", so it can be a program name with args.
 10985 set dummy msgfmt; ac_word=$2
 10986 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10987 $as_echo_n "checking for $ac_word... " >&6; }
 10988 if test "${ac_cv_path_MSGFMT+set}" = set; then
 10989   $as_echo_n "(cached) " >&6
 10990 else
 10991   case "$MSGFMT" in
 10992   /*)
 10993   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 10994   ;;
 10995   *)
 10996   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 10997   for ac_dir in $PATH; do
 10998     test -z "$ac_dir" && ac_dir=.
 10999     if test -f $ac_dir/$ac_word; then
 11000       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 11001 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 11002 	break
 11003       fi
 11004     fi
 11005   done
 11006   IFS="$ac_save_ifs"
 11007   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 11008   ;;
 11009 esac
 11010 fi
 11011 MSGFMT="$ac_cv_path_MSGFMT"
 11012 if test "$MSGFMT" != "no"; then
 11013   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 11014 $as_echo "$MSGFMT" >&6; }
 11015 else
 11016   { $as_echo "$as_me:$LINENO: result: no" >&5
 11017 $as_echo "no" >&6; }
 11018 fi
 11019 	if test "$MSGFMT" != "no"; then
 11020           glib_save_LIBS="$LIBS"
 11021           LIBS="$LIBS $INTLLIBS"
 11023 for ac_func in dcgettext
 11024 do
 11025 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 11026 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 11027 $as_echo_n "checking for $ac_func... " >&6; }
 11028 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 11029   $as_echo_n "(cached) " >&6
 11030 else
 11031   cat >conftest.$ac_ext <<_ACEOF
 11032 /* confdefs.h.  */
 11033 _ACEOF
 11034 cat confdefs.h >>conftest.$ac_ext
 11035 cat >>conftest.$ac_ext <<_ACEOF
 11036 /* end confdefs.h.  */
 11037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 11038    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11039 #define $ac_func innocuous_$ac_func
 11041 /* System header to define __stub macros and hopefully few prototypes,
 11042     which can conflict with char $ac_func (); below.
 11043     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11044     <limits.h> exists even on freestanding compilers.  */
 11046 #ifdef __STDC__
 11047 # include <limits.h>
 11048 #else
 11049 # include <assert.h>
 11050 #endif
 11052 #undef $ac_func
 11054 /* Override any GCC internal prototype to avoid an error.
 11055    Use char because int might match the return type of a GCC
 11056    builtin and then its argument prototype would still apply.  */
 11057 #ifdef __cplusplus
 11058 extern "C"
 11059 #endif
 11060 char $ac_func ();
 11061 /* The GNU C library defines this for functions which it implements
 11062     to always fail with ENOSYS.  Some functions are actually named
 11063     something starting with __ and the normal name is an alias.  */
 11064 #if defined __stub_$ac_func || defined __stub___$ac_func
 11065 choke me
 11066 #endif
 11068 int
 11069 main ()
 11071 return $ac_func ();
 11073   return 0;
 11075 _ACEOF
 11076 rm -f conftest.$ac_objext conftest$ac_exeext
 11077 if { (ac_try="$ac_link"
 11078 case "(($ac_try" in
 11079   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11080   *) ac_try_echo=$ac_try;;
 11081 esac
 11082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11083 $as_echo "$ac_try_echo") >&5
 11084   (eval "$ac_link") 2>conftest.er1
 11085   ac_status=$?
 11086   grep -v '^ *+' conftest.er1 >conftest.err
 11087   rm -f conftest.er1
 11088   cat conftest.err >&5
 11089   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11090   (exit $ac_status); } && {
 11091 	 test -z "$ac_c_werror_flag" ||
 11092 	 test ! -s conftest.err
 11093        } && test -s conftest$ac_exeext && {
 11094 	 test "$cross_compiling" = yes ||
 11095 	 $as_test_x conftest$ac_exeext
 11096        }; then
 11097   eval "$as_ac_var=yes"
 11098 else
 11099   $as_echo "$as_me: failed program was:" >&5
 11100 sed 's/^/| /' conftest.$ac_ext >&5
 11102 	eval "$as_ac_var=no"
 11103 fi
 11105 rm -rf conftest.dSYM
 11106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11107       conftest$ac_exeext conftest.$ac_ext
 11108 fi
 11109 ac_res=`eval 'as_val=${'$as_ac_var'}
 11110 		 $as_echo "$as_val"'`
 11111 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 11112 $as_echo "$ac_res" >&6; }
 11113 if test `eval 'as_val=${'$as_ac_var'}
 11114 		 $as_echo "$as_val"'` = yes; then
 11115   cat >>confdefs.h <<_ACEOF
 11116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 11117 _ACEOF
 11119 fi
 11120 done
 11122 	  MSGFMT_OPTS=
 11123 	  { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 11124 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
 11125 	  cat >conftest.foo <<_ACEOF
 11127 msgid ""
 11128 msgstr ""
 11129 "Content-Type: text/plain; charset=UTF-8\n"
 11130 "Project-Id-Version: test 1.0\n"
 11131 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
 11132 "Last-Translator: test <foo@bar.xx>\n"
 11133 "Language-Team: C <LL@li.org>\n"
 11134 "MIME-Version: 1.0\n"
 11135 "Content-Transfer-Encoding: 8bit\n"
 11137 _ACEOF
 11138 if { ($as_echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5
 11139   (msgfmt -c -o /dev/null conftest.foo) 2>&5
 11140   ac_status=$?
 11141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11142   (exit $ac_status); }; then
 11143   MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 11144 $as_echo "yes" >&6; }
 11145 else { $as_echo "$as_me:$LINENO: result: no" >&5
 11146 $as_echo "no" >&6; }
 11147 echo "$as_me: failed input was:" >&5
 11148 sed 's/^/| /' conftest.foo >&5
 11149 fi
 11151 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 11152 set dummy gmsgfmt; ac_word=$2
 11153 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 11154 $as_echo_n "checking for $ac_word... " >&6; }
 11155 if test "${ac_cv_path_GMSGFMT+set}" = set; then
 11156   $as_echo_n "(cached) " >&6
 11157 else
 11158   case $GMSGFMT in
 11159   [\\/]* | ?:[\\/]*)
 11160   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 11161   ;;
 11162   *)
 11163   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11164 for as_dir in $PATH
 11165 do
 11166   IFS=$as_save_IFS
 11167   test -z "$as_dir" && as_dir=.
 11168   for ac_exec_ext in '' $ac_executable_extensions; do
 11169   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 11170     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 11171     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11172     break 2
 11173   fi
 11174 done
 11175 done
 11176 IFS=$as_save_IFS
 11178   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 11179   ;;
 11180 esac
 11181 fi
 11182 GMSGFMT=$ac_cv_path_GMSGFMT
 11183 if test -n "$GMSGFMT"; then
 11184   { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 11185 $as_echo "$GMSGFMT" >&6; }
 11186 else
 11187   { $as_echo "$as_me:$LINENO: result: no" >&5
 11188 $as_echo "no" >&6; }
 11189 fi
 11192 	  # Extract the first word of "xgettext", so it can be a program name with args.
 11193 set dummy xgettext; ac_word=$2
 11194 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 11195 $as_echo_n "checking for $ac_word... " >&6; }
 11196 if test "${ac_cv_path_XGETTEXT+set}" = set; then
 11197   $as_echo_n "(cached) " >&6
 11198 else
 11199   case "$XGETTEXT" in
 11200   /*)
 11201   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 11202   ;;
 11203   *)
 11204   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 11205   for ac_dir in $PATH; do
 11206     test -z "$ac_dir" && ac_dir=.
 11207     if test -f $ac_dir/$ac_word; then
 11208       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 11209 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 11210 	break
 11211       fi
 11212     fi
 11213   done
 11214   IFS="$ac_save_ifs"
 11215   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 11216   ;;
 11217 esac
 11218 fi
 11219 XGETTEXT="$ac_cv_path_XGETTEXT"
 11220 if test "$XGETTEXT" != ":"; then
 11221   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 11222 $as_echo "$XGETTEXT" >&6; }
 11223 else
 11224   { $as_echo "$as_me:$LINENO: result: no" >&5
 11225 $as_echo "no" >&6; }
 11226 fi
 11228 	  cat >conftest.$ac_ext <<_ACEOF
 11229 /* confdefs.h.  */
 11230 _ACEOF
 11231 cat confdefs.h >>conftest.$ac_ext
 11232 cat >>conftest.$ac_ext <<_ACEOF
 11233 /* end confdefs.h.  */
 11235 int
 11236 main ()
 11238 extern int _nl_msg_cat_cntr;
 11239 			 return _nl_msg_cat_cntr
 11241   return 0;
 11243 _ACEOF
 11244 rm -f conftest.$ac_objext conftest$ac_exeext
 11245 if { (ac_try="$ac_link"
 11246 case "(($ac_try" in
 11247   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11248   *) ac_try_echo=$ac_try;;
 11249 esac
 11250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11251 $as_echo "$ac_try_echo") >&5
 11252   (eval "$ac_link") 2>conftest.er1
 11253   ac_status=$?
 11254   grep -v '^ *+' conftest.er1 >conftest.err
 11255   rm -f conftest.er1
 11256   cat conftest.err >&5
 11257   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11258   (exit $ac_status); } && {
 11259 	 test -z "$ac_c_werror_flag" ||
 11260 	 test ! -s conftest.err
 11261        } && test -s conftest$ac_exeext && {
 11262 	 test "$cross_compiling" = yes ||
 11263 	 $as_test_x conftest$ac_exeext
 11264        }; then
 11265   CATOBJEXT=.gmo
 11266              DATADIRNAME=share
 11267 else
 11268   $as_echo "$as_me: failed program was:" >&5
 11269 sed 's/^/| /' conftest.$ac_ext >&5
 11271 	case $host in
 11272 	    *-*-solaris*)
 11273 	    	                	    	                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 11274 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
 11275 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 11276   $as_echo_n "(cached) " >&6
 11277 else
 11278   cat >conftest.$ac_ext <<_ACEOF
 11279 /* confdefs.h.  */
 11280 _ACEOF
 11281 cat confdefs.h >>conftest.$ac_ext
 11282 cat >>conftest.$ac_ext <<_ACEOF
 11283 /* end confdefs.h.  */
 11284 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 11285    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11286 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 11288 /* System header to define __stub macros and hopefully few prototypes,
 11289     which can conflict with char bind_textdomain_codeset (); below.
 11290     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11291     <limits.h> exists even on freestanding compilers.  */
 11293 #ifdef __STDC__
 11294 # include <limits.h>
 11295 #else
 11296 # include <assert.h>
 11297 #endif
 11299 #undef bind_textdomain_codeset
 11301 /* Override any GCC internal prototype to avoid an error.
 11302    Use char because int might match the return type of a GCC
 11303    builtin and then its argument prototype would still apply.  */
 11304 #ifdef __cplusplus
 11305 extern "C"
 11306 #endif
 11307 char bind_textdomain_codeset ();
 11308 /* The GNU C library defines this for functions which it implements
 11309     to always fail with ENOSYS.  Some functions are actually named
 11310     something starting with __ and the normal name is an alias.  */
 11311 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 11312 choke me
 11313 #endif
 11315 int
 11316 main ()
 11318 return bind_textdomain_codeset ();
 11320   return 0;
 11322 _ACEOF
 11323 rm -f conftest.$ac_objext conftest$ac_exeext
 11324 if { (ac_try="$ac_link"
 11325 case "(($ac_try" in
 11326   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11327   *) ac_try_echo=$ac_try;;
 11328 esac
 11329 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11330 $as_echo "$ac_try_echo") >&5
 11331   (eval "$ac_link") 2>conftest.er1
 11332   ac_status=$?
 11333   grep -v '^ *+' conftest.er1 >conftest.err
 11334   rm -f conftest.er1
 11335   cat conftest.err >&5
 11336   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11337   (exit $ac_status); } && {
 11338 	 test -z "$ac_c_werror_flag" ||
 11339 	 test ! -s conftest.err
 11340        } && test -s conftest$ac_exeext && {
 11341 	 test "$cross_compiling" = yes ||
 11342 	 $as_test_x conftest$ac_exeext
 11343        }; then
 11344   ac_cv_func_bind_textdomain_codeset=yes
 11345 else
 11346   $as_echo "$as_me: failed program was:" >&5
 11347 sed 's/^/| /' conftest.$ac_ext >&5
 11349 	ac_cv_func_bind_textdomain_codeset=no
 11350 fi
 11352 rm -rf conftest.dSYM
 11353 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11354       conftest$ac_exeext conftest.$ac_ext
 11355 fi
 11356 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 11357 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 11358 if test $ac_cv_func_bind_textdomain_codeset = yes; then
 11359   CATOBJEXT=.gmo
 11360                DATADIRNAME=share
 11361 else
 11362   CATOBJEXT=.mo
 11363                DATADIRNAME=lib
 11364 fi
 11366 	    ;;
 11367 	    *)
 11368 	    CATOBJEXT=.mo
 11369             DATADIRNAME=lib
 11370 	    ;;
 11371 	    esac
 11372 fi
 11374 rm -rf conftest.dSYM
 11375 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11376       conftest$ac_exeext conftest.$ac_ext
 11377           LIBS="$glib_save_LIBS"
 11378 	  INSTOBJEXT=.mo
 11379 	else
 11380 	  gt_cv_have_gettext=no
 11381 	fi
 11382       fi
 11384 fi
 11388     if test "$gt_cv_have_gettext" = "yes" ; then
 11390 cat >>confdefs.h <<\_ACEOF
 11391 #define ENABLE_NLS 1
 11392 _ACEOF
 11394     fi
 11396         if test "$XGETTEXT" != ":"; then
 11397                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 11398         : ;
 11399       else
 11400         { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 11401 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 11402         XGETTEXT=":"
 11403       fi
 11404     fi
 11406     # We need to process the po/ directory.
 11407     POSUB=po
 11409     ac_config_commands="$ac_config_commands default-1"
 11412                 for lang in $ALL_LINGUAS; do
 11413       GMOFILES="$GMOFILES $lang.gmo"
 11414       POFILES="$POFILES $lang.po"
 11415     done
 11429    if test "$gt_cv_have_gettext" = "yes"; then
 11430      if test "x$ALL_LINGUAS" = "x"; then
 11431        LINGUAS=
 11432      else
 11433        { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 11434 $as_echo_n "checking for catalogs to be installed... " >&6; }
 11435        NEW_LINGUAS=
 11436        for presentlang in $ALL_LINGUAS; do
 11437          useit=no
 11438          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 11439            desiredlanguages="$LINGUAS"
 11440          else
 11441            desiredlanguages="$ALL_LINGUAS"
 11442          fi
 11443          for desiredlang in $desiredlanguages; do
 11444  	   # Use the presentlang catalog if desiredlang is
 11445            #   a. equal to presentlang, or
 11446            #   b. a variant of presentlang (because in this case,
 11447            #      presentlang can be used as a fallback for messages
 11448            #      which are not translated in the desiredlang catalog).
 11449            case "$desiredlang" in
 11450              "$presentlang"*) useit=yes;;
 11451            esac
 11452          done
 11453          if test $useit = yes; then
 11454            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 11455          fi
 11456        done
 11457        LINGUAS=$NEW_LINGUAS
 11458        { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 11459 $as_echo "$LINGUAS" >&6; }
 11460      fi
 11462           if test -n "$LINGUAS"; then
 11463        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 11464      fi
 11465    fi
 11467             MKINSTALLDIRS=
 11468    if test -n "$ac_aux_dir"; then
 11469      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 11470    fi
 11471    if test -z "$MKINSTALLDIRS"; then
 11472      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 11473    fi
 11476          test -d po || mkdir po
 11477    if test "x$srcdir" != "x."; then
 11478      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 11479        posrcprefix="$srcdir/"
 11480      else
 11481        posrcprefix="../$srcdir/"
 11482      fi
 11483    else
 11484      posrcprefix="../"
 11485    fi
 11486    rm -f po/POTFILES
 11487    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 11488 	< $srcdir/po/POTFILES.in > po/POTFILES
 11491 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile Info.plist"
 11493 cat >confcache <<\_ACEOF
 11494 # This file is a shell script that caches the results of configure
 11495 # tests run on this system so they can be shared between configure
 11496 # scripts and configure runs, see configure's option --config-cache.
 11497 # It is not useful on other systems.  If it contains results you don't
 11498 # want to keep, you may remove or edit it.
 11500 # config.status only pays attention to the cache file if you give it
 11501 # the --recheck option to rerun configure.
 11503 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 11504 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 11505 # following values.
 11507 _ACEOF
 11509 # The following way of writing the cache mishandles newlines in values,
 11510 # but we know of no workaround that is simple, portable, and efficient.
 11511 # So, we kill variables containing newlines.
 11512 # Ultrix sh set writes to stderr and can't be redirected directly,
 11513 # and sets the high bit in the cache file unless we assign to the vars.
 11515   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 11516     eval ac_val=\$$ac_var
 11517     case $ac_val in #(
 11518     *${as_nl}*)
 11519       case $ac_var in #(
 11520       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 11521 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 11522       esac
 11523       case $ac_var in #(
 11524       _ | IFS | as_nl) ;; #(
 11525       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 11526       *) $as_unset $ac_var ;;
 11527       esac ;;
 11528     esac
 11529   done
 11531   (set) 2>&1 |
 11532     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 11533     *${as_nl}ac_space=\ *)
 11534       # `set' does not quote correctly, so add quotes (double-quote
 11535       # substitution turns \\\\ into \\, and sed turns \\ into \).
 11536       sed -n \
 11537 	"s/'/'\\\\''/g;
 11538 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 11539       ;; #(
 11540     *)
 11541       # `set' quotes correctly as required by POSIX, so do not add quotes.
 11542       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 11543       ;;
 11544     esac |
 11545     sort
 11546 ) |
 11547   sed '
 11548      /^ac_cv_env_/b end
 11549      t clear
 11550      :clear
 11551      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 11552      t end
 11553      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 11554      :end' >>confcache
 11555 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 11556   if test -w "$cache_file"; then
 11557     test "x$cache_file" != "x/dev/null" &&
 11558       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 11559 $as_echo "$as_me: updating cache $cache_file" >&6;}
 11560     cat confcache >$cache_file
 11561   else
 11562     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 11563 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 11564   fi
 11565 fi
 11566 rm -f confcache
 11568 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 11569 # Let make expand exec_prefix.
 11570 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 11572 DEFS=-DHAVE_CONFIG_H
 11574 ac_libobjs=
 11575 ac_ltlibobjs=
 11576 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 11577   # 1. Remove the extension, and $U if already installed.
 11578   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 11579   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 11580   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 11581   #    will be set to the directory where LIBOBJS objects are built.
 11582   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 11583   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 11584 done
 11585 LIBOBJS=$ac_libobjs
 11587 LTLIBOBJS=$ac_ltlibobjs
 11590 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 11591   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 11592 Usually this means the macro was only invoked conditionally." >&5
 11593 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 11594 Usually this means the macro was only invoked conditionally." >&2;}
 11595    { (exit 1); exit 1; }; }
 11596 fi
 11597 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 11598   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 11599 Usually this means the macro was only invoked conditionally." >&5
 11600 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 11601 Usually this means the macro was only invoked conditionally." >&2;}
 11602    { (exit 1); exit 1; }; }
 11603 fi
 11604 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 11605   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 11606 Usually this means the macro was only invoked conditionally." >&5
 11607 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 11608 Usually this means the macro was only invoked conditionally." >&2;}
 11609    { (exit 1); exit 1; }; }
 11610 fi
 11611 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 11612   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 11613 Usually this means the macro was only invoked conditionally." >&5
 11614 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 11615 Usually this means the macro was only invoked conditionally." >&2;}
 11616    { (exit 1); exit 1; }; }
 11617 fi
 11618 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 11619   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 11620 Usually this means the macro was only invoked conditionally." >&5
 11621 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 11622 Usually this means the macro was only invoked conditionally." >&2;}
 11623    { (exit 1); exit 1; }; }
 11624 fi
 11625 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
 11626   { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
 11627 Usually this means the macro was only invoked conditionally." >&5
 11628 $as_echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
 11629 Usually this means the macro was only invoked conditionally." >&2;}
 11630    { (exit 1); exit 1; }; }
 11631 fi
 11632 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
 11633   { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
 11634 Usually this means the macro was only invoked conditionally." >&5
 11635 $as_echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
 11636 Usually this means the macro was only invoked conditionally." >&2;}
 11637    { (exit 1); exit 1; }; }
 11638 fi
 11639 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
 11640   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
 11641 Usually this means the macro was only invoked conditionally." >&5
 11642 $as_echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
 11643 Usually this means the macro was only invoked conditionally." >&2;}
 11644    { (exit 1); exit 1; }; }
 11645 fi
 11646 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
 11647   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
 11648 Usually this means the macro was only invoked conditionally." >&5
 11649 $as_echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
 11650 Usually this means the macro was only invoked conditionally." >&2;}
 11651    { (exit 1); exit 1; }; }
 11652 fi
 11653 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
 11654   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
 11655 Usually this means the macro was only invoked conditionally." >&5
 11656 $as_echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
 11657 Usually this means the macro was only invoked conditionally." >&2;}
 11658    { (exit 1); exit 1; }; }
 11659 fi
 11660 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
 11661   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
 11662 Usually this means the macro was only invoked conditionally." >&5
 11663 $as_echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
 11664 Usually this means the macro was only invoked conditionally." >&2;}
 11665    { (exit 1); exit 1; }; }
 11666 fi
 11667 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
 11668   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
 11669 Usually this means the macro was only invoked conditionally." >&5
 11670 $as_echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
 11671 Usually this means the macro was only invoked conditionally." >&2;}
 11672    { (exit 1); exit 1; }; }
 11673 fi
 11674 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
 11675   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
 11676 Usually this means the macro was only invoked conditionally." >&5
 11677 $as_echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
 11678 Usually this means the macro was only invoked conditionally." >&2;}
 11679    { (exit 1); exit 1; }; }
 11680 fi
 11681 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
 11682   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
 11683 Usually this means the macro was only invoked conditionally." >&5
 11684 $as_echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
 11685 Usually this means the macro was only invoked conditionally." >&2;}
 11686    { (exit 1); exit 1; }; }
 11687 fi
 11688 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
 11689   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
 11690 Usually this means the macro was only invoked conditionally." >&5
 11691 $as_echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
 11692 Usually this means the macro was only invoked conditionally." >&2;}
 11693    { (exit 1); exit 1; }; }
 11694 fi
 11695 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
 11696   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
 11697 Usually this means the macro was only invoked conditionally." >&5
 11698 $as_echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
 11699 Usually this means the macro was only invoked conditionally." >&2;}
 11700    { (exit 1); exit 1; }; }
 11701 fi
 11702 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
 11703   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
 11704 Usually this means the macro was only invoked conditionally." >&5
 11705 $as_echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
 11706 Usually this means the macro was only invoked conditionally." >&2;}
 11707    { (exit 1); exit 1; }; }
 11708 fi
 11709 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
 11710   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
 11711 Usually this means the macro was only invoked conditionally." >&5
 11712 $as_echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
 11713 Usually this means the macro was only invoked conditionally." >&2;}
 11714    { (exit 1); exit 1; }; }
 11715 fi
 11716 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
 11717   { { $as_echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
 11718 Usually this means the macro was only invoked conditionally." >&5
 11719 $as_echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
 11720 Usually this means the macro was only invoked conditionally." >&2;}
 11721    { (exit 1); exit 1; }; }
 11722 fi
 11723 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
 11724   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
 11725 Usually this means the macro was only invoked conditionally." >&5
 11726 $as_echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
 11727 Usually this means the macro was only invoked conditionally." >&2;}
 11728    { (exit 1); exit 1; }; }
 11729 fi
 11730 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
 11731   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
 11732 Usually this means the macro was only invoked conditionally." >&5
 11733 $as_echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
 11734 Usually this means the macro was only invoked conditionally." >&2;}
 11735    { (exit 1); exit 1; }; }
 11736 fi
 11738 : ${CONFIG_STATUS=./config.status}
 11739 ac_write_fail=0
 11740 ac_clean_files_save=$ac_clean_files
 11741 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 11742 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 11743 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 11744 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 11745 #! $SHELL
 11746 # Generated by $as_me.
 11747 # Run this file to recreate the current configuration.
 11748 # Compiler output produced by configure, useful for debugging
 11749 # configure, is in config.log if it exists.
 11751 debug=false
 11752 ac_cs_recheck=false
 11753 ac_cs_silent=false
 11754 SHELL=\${CONFIG_SHELL-$SHELL}
 11755 _ACEOF
 11757 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 11758 ## --------------------- ##
 11759 ## M4sh Initialization.  ##
 11760 ## --------------------- ##
 11762 # Be more Bourne compatible
 11763 DUALCASE=1; export DUALCASE # for MKS sh
 11764 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 11765   emulate sh
 11766   NULLCMD=:
 11767   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 11768   # is contrary to our usage.  Disable this feature.
 11769   alias -g '${1+"$@"}'='"$@"'
 11770   setopt NO_GLOB_SUBST
 11771 else
 11772   case `(set -o) 2>/dev/null` in
 11773   *posix*) set -o posix ;;
 11774 esac
 11776 fi
 11781 # PATH needs CR
 11782 # Avoid depending upon Character Ranges.
 11783 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 11784 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 11785 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 11786 as_cr_digits='0123456789'
 11787 as_cr_alnum=$as_cr_Letters$as_cr_digits
 11789 as_nl='
 11791 export as_nl
 11792 # Printing a long string crashes Solaris 7 /usr/bin/printf.
 11793 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 11794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 11795 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 11796 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 11797   as_echo='printf %s\n'
 11798   as_echo_n='printf %s'
 11799 else
 11800   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 11801     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 11802     as_echo_n='/usr/ucb/echo -n'
 11803   else
 11804     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 11805     as_echo_n_body='eval
 11806       arg=$1;
 11807       case $arg in
 11808       *"$as_nl"*)
 11809 	expr "X$arg" : "X\\(.*\\)$as_nl";
 11810 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 11811       esac;
 11812       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 11814     export as_echo_n_body
 11815     as_echo_n='sh -c $as_echo_n_body as_echo'
 11816   fi
 11817   export as_echo_body
 11818   as_echo='sh -c $as_echo_body as_echo'
 11819 fi
 11821 # The user is always right.
 11822 if test "${PATH_SEPARATOR+set}" != set; then
 11823   PATH_SEPARATOR=:
 11824   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 11825     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 11826       PATH_SEPARATOR=';'
 11828 fi
 11830 # Support unset when possible.
 11831 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 11832   as_unset=unset
 11833 else
 11834   as_unset=false
 11835 fi
 11838 # IFS
 11839 # We need space, tab and new line, in precisely that order.  Quoting is
 11840 # there to prevent editors from complaining about space-tab.
 11841 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 11842 # splitting by setting IFS to empty value.)
 11843 IFS=" ""	$as_nl"
 11845 # Find who we are.  Look in the path if we contain no directory separator.
 11846 case $0 in
 11847   *[\\/]* ) as_myself=$0 ;;
 11848   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11849 for as_dir in $PATH
 11850 do
 11851   IFS=$as_save_IFS
 11852   test -z "$as_dir" && as_dir=.
 11853   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 11854 done
 11855 IFS=$as_save_IFS
 11857      ;;
 11858 esac
 11859 # We did not find ourselves, most probably we were run as `sh COMMAND'
 11860 # in which case we are not to be found in the path.
 11861 if test "x$as_myself" = x; then
 11862   as_myself=$0
 11863 fi
 11864 if test ! -f "$as_myself"; then
 11865   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 11866   { (exit 1); exit 1; }
 11867 fi
 11869 # Work around bugs in pre-3.0 UWIN ksh.
 11870 for as_var in ENV MAIL MAILPATH
 11871 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 11872 done
 11873 PS1='$ '
 11874 PS2='> '
 11875 PS4='+ '
 11877 # NLS nuisances.
 11878 LC_ALL=C
 11879 export LC_ALL
 11880 LANGUAGE=C
 11881 export LANGUAGE
 11883 # Required to use basename.
 11884 if expr a : '\(a\)' >/dev/null 2>&1 &&
 11885    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 11886   as_expr=expr
 11887 else
 11888   as_expr=false
 11889 fi
 11891 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 11892   as_basename=basename
 11893 else
 11894   as_basename=false
 11895 fi
 11898 # Name of the executable.
 11899 as_me=`$as_basename -- "$0" ||
 11900 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 11901 	 X"$0" : 'X\(//\)$' \| \
 11902 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 11903 $as_echo X/"$0" |
 11904     sed '/^.*\/\([^/][^/]*\)\/*$/{
 11905 	    s//\1/
 11908 	  /^X\/\(\/\/\)$/{
 11909 	    s//\1/
 11912 	  /^X\/\(\/\).*/{
 11913 	    s//\1/
 11916 	  s/.*/./; q'`
 11918 # CDPATH.
 11919 $as_unset CDPATH
 11923   as_lineno_1=$LINENO
 11924   as_lineno_2=$LINENO
 11925   test "x$as_lineno_1" != "x$as_lineno_2" &&
 11926   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 11928   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 11929   # uniformly replaced by the line number.  The first 'sed' inserts a
 11930   # line-number line after each line using $LINENO; the second 'sed'
 11931   # does the real work.  The second script uses 'N' to pair each
 11932   # line-number line with the line containing $LINENO, and appends
 11933   # trailing '-' during substitution so that $LINENO is not a special
 11934   # case at line end.
 11935   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 11936   # scripts with optimization help from Paolo Bonzini.  Blame Lee
 11937   # E. McMahon (1931-1989) for sed's syntax.  :-)
 11938   sed -n '
 11940     /[$]LINENO/=
 11941   ' <$as_myself |
 11942     sed '
 11943       s/[$]LINENO.*/&-/
 11944       t lineno
 11946       :lineno
 11948       :loop
 11949       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 11950       t loop
 11951       s/-\n.*//
 11952     ' >$as_me.lineno &&
 11953   chmod +x "$as_me.lineno" ||
 11954     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 11955    { (exit 1); exit 1; }; }
 11957   # Don't try to exec as it changes $[0], causing all sort of problems
 11958   # (the dirname of $[0] is not the place where we might find the
 11959   # original and so on.  Autoconf is especially sensitive to this).
 11960   . "./$as_me.lineno"
 11961   # Exit status is that of the last command.
 11962   exit
 11966 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 11967   as_dirname=dirname
 11968 else
 11969   as_dirname=false
 11970 fi
 11972 ECHO_C= ECHO_N= ECHO_T=
 11973 case `echo -n x` in
 11974 -n*)
 11975   case `echo 'x\c'` in
 11976   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 11977   *)   ECHO_C='\c';;
 11978   esac;;
 11979 *)
 11980   ECHO_N='-n';;
 11981 esac
 11982 if expr a : '\(a\)' >/dev/null 2>&1 &&
 11983    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 11984   as_expr=expr
 11985 else
 11986   as_expr=false
 11987 fi
 11989 rm -f conf$$ conf$$.exe conf$$.file
 11990 if test -d conf$$.dir; then
 11991   rm -f conf$$.dir/conf$$.file
 11992 else
 11993   rm -f conf$$.dir
 11994   mkdir conf$$.dir 2>/dev/null
 11995 fi
 11996 if (echo >conf$$.file) 2>/dev/null; then
 11997   if ln -s conf$$.file conf$$ 2>/dev/null; then
 11998     as_ln_s='ln -s'
 11999     # ... but there are two gotchas:
 12000     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 12001     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 12002     # In both cases, we have to default to `cp -p'.
 12003     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 12004       as_ln_s='cp -p'
 12005   elif ln conf$$.file conf$$ 2>/dev/null; then
 12006     as_ln_s=ln
 12007   else
 12008     as_ln_s='cp -p'
 12009   fi
 12010 else
 12011   as_ln_s='cp -p'
 12012 fi
 12013 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 12014 rmdir conf$$.dir 2>/dev/null
 12016 if mkdir -p . 2>/dev/null; then
 12017   as_mkdir_p=:
 12018 else
 12019   test -d ./-p && rmdir ./-p
 12020   as_mkdir_p=false
 12021 fi
 12023 if test -x / >/dev/null 2>&1; then
 12024   as_test_x='test -x'
 12025 else
 12026   if ls -dL / >/dev/null 2>&1; then
 12027     as_ls_L_option=L
 12028   else
 12029     as_ls_L_option=
 12030   fi
 12031   as_test_x='
 12032     eval sh -c '\''
 12033       if test -d "$1"; then
 12034 	test -d "$1/.";
 12035       else
 12036 	case $1 in
 12037 	-*)set "./$1";;
 12038 	esac;
 12039 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 12040 	???[sx]*):;;*)false;;esac;fi
 12041     '\'' sh
 12043 fi
 12044 as_executable_p=$as_test_x
 12046 # Sed expression to map a string onto a valid CPP name.
 12047 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 12049 # Sed expression to map a string onto a valid variable name.
 12050 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 12053 exec 6>&1
 12055 # Save the log message, to keep $[0] and so on meaningful, and to
 12056 # report actual input values of CONFIG_FILES etc. instead of their
 12057 # values after options handling.
 12058 ac_log="
 12059 This file was extended by $as_me, which was
 12060 generated by GNU Autoconf 2.62.  Invocation command line was
 12062   CONFIG_FILES    = $CONFIG_FILES
 12063   CONFIG_HEADERS  = $CONFIG_HEADERS
 12064   CONFIG_LINKS    = $CONFIG_LINKS
 12065   CONFIG_COMMANDS = $CONFIG_COMMANDS
 12066   $ $0 $@
 12068 on `(hostname || uname -n) 2>/dev/null | sed 1q`
 12071 _ACEOF
 12073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12074 # Files that config.status was made for.
 12075 config_files="$ac_config_files"
 12076 config_headers="$ac_config_headers"
 12077 config_commands="$ac_config_commands"
 12079 _ACEOF
 12081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12082 ac_cs_usage="\
 12083 \`$as_me' instantiates files from templates according to the
 12084 current configuration.
 12086 Usage: $0 [OPTIONS] [FILE]...
 12088   -h, --help       print this help, then exit
 12089   -V, --version    print version number and configuration settings, then exit
 12090   -q, --quiet      do not print progress messages
 12091   -d, --debug      don't remove temporary files
 12092       --recheck    update $as_me by reconfiguring in the same conditions
 12093   --file=FILE[:TEMPLATE]
 12094                    instantiate the configuration file FILE
 12095   --header=FILE[:TEMPLATE]
 12096                    instantiate the configuration header FILE
 12098 Configuration files:
 12099 $config_files
 12101 Configuration headers:
 12102 $config_headers
 12104 Configuration commands:
 12105 $config_commands
 12107 Report bugs to <bug-autoconf@gnu.org>."
 12109 _ACEOF
 12110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12111 ac_cs_version="\\
 12112 config.status
 12113 configured by $0, generated by GNU Autoconf 2.62,
 12114   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 12116 Copyright (C) 2008 Free Software Foundation, Inc.
 12117 This config.status script is free software; the Free Software Foundation
 12118 gives unlimited permission to copy, distribute and modify it."
 12120 ac_pwd='$ac_pwd'
 12121 srcdir='$srcdir'
 12122 INSTALL='$INSTALL'
 12123 AWK='$AWK'
 12124 test -n "\$AWK" || AWK=awk
 12125 _ACEOF
 12127 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12128 # The default lists apply if the user does not specify any file.
 12129 ac_need_defaults=:
 12130 while test $# != 0
 12131 do
 12132   case $1 in
 12133   --*=*)
 12134     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 12135     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 12136     ac_shift=:
 12137     ;;
 12138   *)
 12139     ac_option=$1
 12140     ac_optarg=$2
 12141     ac_shift=shift
 12142     ;;
 12143   esac
 12145   case $ac_option in
 12146   # Handling of the options.
 12147   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 12148     ac_cs_recheck=: ;;
 12149   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 12150     $as_echo "$ac_cs_version"; exit ;;
 12151   --debug | --debu | --deb | --de | --d | -d )
 12152     debug=: ;;
 12153   --file | --fil | --fi | --f )
 12154     $ac_shift
 12155     case $ac_optarg in
 12156     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 12157     esac
 12158     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 12159     ac_need_defaults=false;;
 12160   --header | --heade | --head | --hea )
 12161     $ac_shift
 12162     case $ac_optarg in
 12163     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 12164     esac
 12165     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 12166     ac_need_defaults=false;;
 12167   --he | --h)
 12168     # Conflict between --help and --header
 12169     { $as_echo "$as_me: error: ambiguous option: $1
 12170 Try \`$0 --help' for more information." >&2
 12171    { (exit 1); exit 1; }; };;
 12172   --help | --hel | -h )
 12173     $as_echo "$ac_cs_usage"; exit ;;
 12174   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 12175   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 12176     ac_cs_silent=: ;;
 12178   # This is an error.
 12179   -*) { $as_echo "$as_me: error: unrecognized option: $1
 12180 Try \`$0 --help' for more information." >&2
 12181    { (exit 1); exit 1; }; } ;;
 12183   *) ac_config_targets="$ac_config_targets $1"
 12184      ac_need_defaults=false ;;
 12186   esac
 12187   shift
 12188 done
 12190 ac_configure_extra_args=
 12192 if $ac_cs_silent; then
 12193   exec 6>/dev/null
 12194   ac_configure_extra_args="$ac_configure_extra_args --silent"
 12195 fi
 12197 _ACEOF
 12198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12199 if \$ac_cs_recheck; then
 12200   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 12201   shift
 12202   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 12203   CONFIG_SHELL='$SHELL'
 12204   export CONFIG_SHELL
 12205   exec "\$@"
 12206 fi
 12208 _ACEOF
 12209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12210 exec 5>>config.log
 12212   echo
 12213   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 12214 ## Running $as_me. ##
 12215 _ASBOX
 12216   $as_echo "$ac_log"
 12217 } >&5
 12219 _ACEOF
 12220 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12222 # INIT-COMMANDS
 12224 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 12227 _ACEOF
 12229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12231 # Handling of arguments.
 12232 for ac_config_target in $ac_config_targets
 12233 do
 12234   case $ac_config_target in
 12235     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 12236     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 12237     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 12238     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 12239     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 12240     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 12241     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 12242     "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;
 12244   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 12245 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 12246    { (exit 1); exit 1; }; };;
 12247   esac
 12248 done
 12251 # If the user did not use the arguments to specify the items to instantiate,
 12252 # then the envvar interface is used.  Set only those that are not.
 12253 # We use the long form for the default assignment because of an extremely
 12254 # bizarre bug on SunOS 4.1.3.
 12255 if $ac_need_defaults; then
 12256   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 12257   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 12258   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 12259 fi
 12261 # Have a temporary directory for convenience.  Make it in the build tree
 12262 # simply because there is no reason against having it here, and in addition,
 12263 # creating and moving files from /tmp can sometimes cause problems.
 12264 # Hook for its removal unless debugging.
 12265 # Note that there is a small window in which the directory will not be cleaned:
 12266 # after its creation but before its name has been assigned to `$tmp'.
 12267 $debug ||
 12269   tmp=
 12270   trap 'exit_status=$?
 12271   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 12272 ' 0
 12273   trap '{ (exit 1); exit 1; }' 1 2 13 15
 12275 # Create a (secure) tmp directory for tmp files.
 12278   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 12279   test -n "$tmp" && test -d "$tmp"
 12280 }  ||
 12282   tmp=./conf$$-$RANDOM
 12283   (umask 077 && mkdir "$tmp")
 12284 } ||
 12286    $as_echo "$as_me: cannot create a temporary directory in ." >&2
 12287    { (exit 1); exit 1; }
 12290 # Set up the scripts for CONFIG_FILES section.
 12291 # No need to generate them if there are no CONFIG_FILES.
 12292 # This happens for instance with `./config.status config.h'.
 12293 if test -n "$CONFIG_FILES"; then
 12296 ac_cr='
 12298 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 12299 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 12300   ac_cs_awk_cr='\\r'
 12301 else
 12302   ac_cs_awk_cr=$ac_cr
 12303 fi
 12305 echo 'BEGIN {' >"$tmp/subs1.awk" &&
 12306 _ACEOF
 12310   echo "cat >conf$$subs.awk <<_ACEOF" &&
 12311   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 12312   echo "_ACEOF"
 12313 } >conf$$subs.sh ||
 12314   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 12315 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 12316    { (exit 1); exit 1; }; }
 12317 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 12318 ac_delim='%!_!# '
 12319 for ac_last_try in false false false false false :; do
 12320   . ./conf$$subs.sh ||
 12321     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 12322 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 12323    { (exit 1); exit 1; }; }
 12325   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 12326     break
 12327   elif $ac_last_try; then
 12328     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 12329 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 12330    { (exit 1); exit 1; }; }
 12331   else
 12332     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 12333   fi
 12334 done
 12335 rm -f conf$$subs.sh
 12337 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12338 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 12339 _ACEOF
 12340 sed -n '
 12342 s/^/S["/; s/!.*/"]=/
 12345 s/^[^!]*!//
 12346 :repl
 12347 t repl
 12348 s/'"$ac_delim"'$//
 12349 t delim
 12350 :nl
 12352 s/\(.\{148\}\).*/\1/
 12353 t more1
 12354 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 12357 b repl
 12358 :more1
 12359 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 12362 s/.\{148\}//
 12363 t nl
 12364 :delim
 12366 s/\(.\{148\}\).*/\1/
 12367 t more2
 12368 s/["\\]/\\&/g; s/^/"/; s/$/"/
 12371 :more2
 12372 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 12375 s/.\{148\}//
 12376 t delim
 12377 ' <conf$$subs.awk | sed '
 12378 /^[^""]/{
 12380   s/\n//
 12382 ' >>$CONFIG_STATUS || ac_write_fail=1
 12383 rm -f conf$$subs.awk
 12384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12385 _ACAWK
 12386 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 12387   for (key in S) S_is_set[key] = 1
 12388   FS = ""
 12392   line = $ 0
 12393   nfields = split(line, field, "@")
 12394   substed = 0
 12395   len = length(field[1])
 12396   for (i = 2; i < nfields; i++) {
 12397     key = field[i]
 12398     keylen = length(key)
 12399     if (S_is_set[key]) {
 12400       value = S[key]
 12401       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 12402       len += length(value) + length(field[++i])
 12403       substed = 1
 12404     } else
 12405       len += 1 + keylen
 12408   print line
 12411 _ACAWK
 12412 _ACEOF
 12413 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12414 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 12415   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 12416 else
 12417   cat
 12418 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 12419   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 12420 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
 12421    { (exit 1); exit 1; }; }
 12422 _ACEOF
 12424 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 12425 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 12426 # trailing colons and then remove the whole line if VPATH becomes empty
 12427 # (actually we leave an empty line to preserve line numbers).
 12428 if test "x$srcdir" = x.; then
 12429   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 12430 s/:*\$(srcdir):*/:/
 12431 s/:*\${srcdir}:*/:/
 12432 s/:*@srcdir@:*/:/
 12433 s/^\([^=]*=[	 ]*\):*/\1/
 12434 s/:*$//
 12435 s/^[^=]*=[	 ]*$//
 12436 }'
 12437 fi
 12439 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12440 fi # test -n "$CONFIG_FILES"
 12442 # Set up the scripts for CONFIG_HEADERS section.
 12443 # No need to generate them if there are no CONFIG_HEADERS.
 12444 # This happens for instance with `./config.status Makefile'.
 12445 if test -n "$CONFIG_HEADERS"; then
 12446 cat >"$tmp/defines.awk" <<\_ACAWK ||
 12447 BEGIN {
 12448 _ACEOF
 12450 # Transform confdefs.h into an awk script `defines.awk', embedded as
 12451 # here-document in config.status, that substitutes the proper values into
 12452 # config.h.in to produce config.h.
 12454 # Create a delimiter string that does not exist in confdefs.h, to ease
 12455 # handling of long lines.
 12456 ac_delim='%!_!# '
 12457 for ac_last_try in false false :; do
 12458   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 12459   if test -z "$ac_t"; then
 12460     break
 12461   elif $ac_last_try; then
 12462     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 12463 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 12464    { (exit 1); exit 1; }; }
 12465   else
 12466     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 12467   fi
 12468 done
 12470 # For the awk script, D is an array of macro values keyed by name,
 12471 # likewise P contains macro parameters if any.  Preserve backslash
 12472 # newline sequences.
 12474 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 12475 sed -n '
 12476 s/.\{148\}/&'"$ac_delim"'/g
 12477 t rset
 12478 :rset
 12479 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 12480 t def
 12482 :def
 12483 s/\\$//
 12484 t bsnl
 12485 s/["\\]/\\&/g
 12486 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 12487 D["\1"]=" \3"/p
 12488 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 12490 :bsnl
 12491 s/["\\]/\\&/g
 12492 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 12493 D["\1"]=" \3\\\\\\n"\\/p
 12494 t cont
 12495 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 12496 t cont
 12498 :cont
 12500 s/.\{148\}/&'"$ac_delim"'/g
 12501 t clear
 12502 :clear
 12503 s/\\$//
 12504 t bsnlc
 12505 s/["\\]/\\&/g; s/^/"/; s/$/"/p
 12507 :bsnlc
 12508 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 12509 b cont
 12510 ' <confdefs.h | sed '
 12511 s/'"$ac_delim"'/"\\\
 12512 "/g' >>$CONFIG_STATUS || ac_write_fail=1
 12514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12515   for (key in D) D_is_set[key] = 1
 12516   FS = ""
 12518 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 12519   line = \$ 0
 12520   split(line, arg, " ")
 12521   if (arg[1] == "#") {
 12522     defundef = arg[2]
 12523     mac1 = arg[3]
 12524   } else {
 12525     defundef = substr(arg[1], 2)
 12526     mac1 = arg[2]
 12528   split(mac1, mac2, "(") #)
 12529   macro = mac2[1]
 12530   if (D_is_set[macro]) {
 12531     # Preserve the white space surrounding the "#".
 12532     prefix = substr(line, 1, index(line, defundef) - 1)
 12533     print prefix "define", macro P[macro] D[macro]
 12534     next
 12535   } else {
 12536     # Replace #undef with comments.  This is necessary, for example,
 12537     # in the case of _POSIX_SOURCE, which is predefined and required
 12538     # on some systems where configure will not decide to define it.
 12539     if (defundef == "undef") {
 12540       print "/*", line, "*/"
 12541       next
 12545 { print }
 12546 _ACAWK
 12547 _ACEOF
 12548 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12549   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 12550 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 12551    { (exit 1); exit 1; }; }
 12552 fi # test -n "$CONFIG_HEADERS"
 12555 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 12556 shift
 12557 for ac_tag
 12558 do
 12559   case $ac_tag in
 12560   :[FHLC]) ac_mode=$ac_tag; continue;;
 12561   esac
 12562   case $ac_mode$ac_tag in
 12563   :[FHL]*:*);;
 12564   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 12565 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 12566    { (exit 1); exit 1; }; };;
 12567   :[FH]-) ac_tag=-:-;;
 12568   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 12569   esac
 12570   ac_save_IFS=$IFS
 12571   IFS=:
 12572   set x $ac_tag
 12573   IFS=$ac_save_IFS
 12574   shift
 12575   ac_file=$1
 12576   shift
 12578   case $ac_mode in
 12579   :L) ac_source=$1;;
 12580   :[FH])
 12581     ac_file_inputs=
 12582     for ac_f
 12583     do
 12584       case $ac_f in
 12585       -) ac_f="$tmp/stdin";;
 12586       *) # Look for the file first in the build tree, then in the source tree
 12587 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 12588 	 # because $ac_f cannot contain `:'.
 12589 	 test -f "$ac_f" ||
 12590 	   case $ac_f in
 12591 	   [\\/$]*) false;;
 12592 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 12593 	   esac ||
 12594 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 12595 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 12596    { (exit 1); exit 1; }; };;
 12597       esac
 12598       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 12599       ac_file_inputs="$ac_file_inputs '$ac_f'"
 12600     done
 12602     # Let's still pretend it is `configure' which instantiates (i.e., don't
 12603     # use $as_me), people would be surprised to read:
 12604     #    /* config.h.  Generated by config.status.  */
 12605     configure_input='Generated from '`
 12606 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 12607 	`' by configure.'
 12608     if test x"$ac_file" != x-; then
 12609       configure_input="$ac_file.  $configure_input"
 12610       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 12611 $as_echo "$as_me: creating $ac_file" >&6;}
 12612     fi
 12613     # Neutralize special characters interpreted by sed in replacement strings.
 12614     case $configure_input in #(
 12615     *\&* | *\|* | *\\* )
 12616        ac_sed_conf_input=`$as_echo "$configure_input" |
 12617        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 12618     *) ac_sed_conf_input=$configure_input;;
 12619     esac
 12621     case $ac_tag in
 12622     *:-:* | *:-) cat >"$tmp/stdin" \
 12623       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 12624 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 12625    { (exit 1); exit 1; }; } ;;
 12626     esac
 12627     ;;
 12628   esac
 12630   ac_dir=`$as_dirname -- "$ac_file" ||
 12631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12632 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 12633 	 X"$ac_file" : 'X\(//\)$' \| \
 12634 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 12635 $as_echo X"$ac_file" |
 12636     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12637 	    s//\1/
 12640 	  /^X\(\/\/\)[^/].*/{
 12641 	    s//\1/
 12644 	  /^X\(\/\/\)$/{
 12645 	    s//\1/
 12648 	  /^X\(\/\).*/{
 12649 	    s//\1/
 12652 	  s/.*/./; q'`
 12653   { as_dir="$ac_dir"
 12654   case $as_dir in #(
 12655   -*) as_dir=./$as_dir;;
 12656   esac
 12657   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 12658     as_dirs=
 12659     while :; do
 12660       case $as_dir in #(
 12661       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 12662       *) as_qdir=$as_dir;;
 12663       esac
 12664       as_dirs="'$as_qdir' $as_dirs"
 12665       as_dir=`$as_dirname -- "$as_dir" ||
 12666 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12667 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 12668 	 X"$as_dir" : 'X\(//\)$' \| \
 12669 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 12670 $as_echo X"$as_dir" |
 12671     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12672 	    s//\1/
 12675 	  /^X\(\/\/\)[^/].*/{
 12676 	    s//\1/
 12679 	  /^X\(\/\/\)$/{
 12680 	    s//\1/
 12683 	  /^X\(\/\).*/{
 12684 	    s//\1/
 12687 	  s/.*/./; q'`
 12688       test -d "$as_dir" && break
 12689     done
 12690     test -z "$as_dirs" || eval "mkdir $as_dirs"
 12691   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 12692 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 12693    { (exit 1); exit 1; }; }; }
 12694   ac_builddir=.
 12696 case "$ac_dir" in
 12697 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 12698 *)
 12699   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 12700   # A ".." for each directory in $ac_dir_suffix.
 12701   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 12702   case $ac_top_builddir_sub in
 12703   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 12704   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 12705   esac ;;
 12706 esac
 12707 ac_abs_top_builddir=$ac_pwd
 12708 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 12709 # for backward compatibility:
 12710 ac_top_builddir=$ac_top_build_prefix
 12712 case $srcdir in
 12713   .)  # We are building in place.
 12714     ac_srcdir=.
 12715     ac_top_srcdir=$ac_top_builddir_sub
 12716     ac_abs_top_srcdir=$ac_pwd ;;
 12717   [\\/]* | ?:[\\/]* )  # Absolute name.
 12718     ac_srcdir=$srcdir$ac_dir_suffix;
 12719     ac_top_srcdir=$srcdir
 12720     ac_abs_top_srcdir=$srcdir ;;
 12721   *) # Relative name.
 12722     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 12723     ac_top_srcdir=$ac_top_build_prefix$srcdir
 12724     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 12725 esac
 12726 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 12729   case $ac_mode in
 12730   :F)
 12732   # CONFIG_FILE
 12735   case $INSTALL in
 12736   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 12737   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 12738   esac
 12739 _ACEOF
 12741 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12742 # If the template does not know about datarootdir, expand it.
 12743 # FIXME: This hack should be removed a few years after 2.60.
 12744 ac_datarootdir_hack=; ac_datarootdir_seen=
 12746 ac_sed_dataroot='
 12747 /datarootdir/ {
 12751 /@datadir@/p
 12752 /@docdir@/p
 12753 /@infodir@/p
 12754 /@localedir@/p
 12755 /@mandir@/p
 12757 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 12758 *datarootdir*) ac_datarootdir_seen=yes;;
 12759 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 12760   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 12761 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 12762 _ACEOF
 12763 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12764   ac_datarootdir_hack='
 12765   s&@datadir@&$datadir&g
 12766   s&@docdir@&$docdir&g
 12767   s&@infodir@&$infodir&g
 12768   s&@localedir@&$localedir&g
 12769   s&@mandir@&$mandir&g
 12770     s&\\\${datarootdir}&$datarootdir&g' ;;
 12771 esac
 12772 _ACEOF
 12774 # Neutralize VPATH when `$srcdir' = `.'.
 12775 # Shell code in configure.ac might set extrasub.
 12776 # FIXME: do we really want to maintain this feature?
 12777 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12778 ac_sed_extra="$ac_vpsub
 12779 $extrasub
 12780 _ACEOF
 12781 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12782 :t
 12783 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 12784 s|@configure_input@|$ac_sed_conf_input|;t t
 12785 s&@top_builddir@&$ac_top_builddir_sub&;t t
 12786 s&@top_build_prefix@&$ac_top_build_prefix&;t t
 12787 s&@srcdir@&$ac_srcdir&;t t
 12788 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 12789 s&@top_srcdir@&$ac_top_srcdir&;t t
 12790 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 12791 s&@builddir@&$ac_builddir&;t t
 12792 s&@abs_builddir@&$ac_abs_builddir&;t t
 12793 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 12794 s&@INSTALL@&$ac_INSTALL&;t t
 12795 $ac_datarootdir_hack
 12797 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 12798   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 12799 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 12800    { (exit 1); exit 1; }; }
 12802 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 12803   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 12804   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 12805   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 12806 which seems to be undefined.  Please make sure it is defined." >&5
 12807 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 12808 which seems to be undefined.  Please make sure it is defined." >&2;}
 12810   rm -f "$tmp/stdin"
 12811   case $ac_file in
 12812   -) cat "$tmp/out" && rm -f "$tmp/out";;
 12813   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 12814   esac \
 12815   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 12816 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 12817    { (exit 1); exit 1; }; }
 12818  ;;
 12819   :H)
 12821   # CONFIG_HEADER
 12823   if test x"$ac_file" != x-; then
 12825       $as_echo "/* $configure_input  */" \
 12826       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 12827     } >"$tmp/config.h" \
 12828       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 12829 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 12830    { (exit 1); exit 1; }; }
 12831     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 12832       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 12833 $as_echo "$as_me: $ac_file is unchanged" >&6;}
 12834     else
 12835       rm -f "$ac_file"
 12836       mv "$tmp/config.h" "$ac_file" \
 12837 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 12838 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 12839    { (exit 1); exit 1; }; }
 12840     fi
 12841   else
 12842     $as_echo "/* $configure_input  */" \
 12843       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 12844       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 12845 $as_echo "$as_me: error: could not create -" >&2;}
 12846    { (exit 1); exit 1; }; }
 12847   fi
 12848 # Compute "$ac_file"'s index in $config_headers.
 12849 _am_stamp_count=1
 12850 for _am_header in $config_headers :; do
 12851   case $_am_header in
 12852     "$ac_file" | "$ac_file":* )
 12853       break ;;
 12854     * )
 12855       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 12856   esac
 12857 done
 12858 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
 12859 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12860 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 12861 	 X"$ac_file" : 'X\(//\)$' \| \
 12862 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 12863 $as_echo X"$ac_file" |
 12864     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12865 	    s//\1/
 12868 	  /^X\(\/\/\)[^/].*/{
 12869 	    s//\1/
 12872 	  /^X\(\/\/\)$/{
 12873 	    s//\1/
 12876 	  /^X\(\/\).*/{
 12877 	    s//\1/
 12880 	  s/.*/./; q'`/stamp-h$_am_stamp_count
 12881  ;;
 12883   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 12884 $as_echo "$as_me: executing $ac_file commands" >&6;}
 12885  ;;
 12886   esac
 12889   case $ac_file$ac_mode in
 12890     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 12891   # Strip MF so we end up with the name of the file.
 12892   mf=`echo "$mf" | sed -e 's/:.*$//'`
 12893   # Check whether this is an Automake generated Makefile or not.
 12894   # We used to match only the files named `Makefile.in', but
 12895   # some people rename them; so instead we look at the file content.
 12896   # Grep'ing the first line is not enough: some people post-process
 12897   # each Makefile.in and add a new line on top of each file to say so.
 12898   # So let's grep whole file.
 12899   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 12900     dirpart=`$as_dirname -- "$mf" ||
 12901 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12902 	 X"$mf" : 'X\(//\)[^/]' \| \
 12903 	 X"$mf" : 'X\(//\)$' \| \
 12904 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 12905 $as_echo X"$mf" |
 12906     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12907 	    s//\1/
 12910 	  /^X\(\/\/\)[^/].*/{
 12911 	    s//\1/
 12914 	  /^X\(\/\/\)$/{
 12915 	    s//\1/
 12918 	  /^X\(\/\).*/{
 12919 	    s//\1/
 12922 	  s/.*/./; q'`
 12923   else
 12924     continue
 12925   fi
 12926   # Extract the definition of DEPDIR, am__include, and am__quote
 12927   # from the Makefile without running `make'.
 12928   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 12929   test -z "$DEPDIR" && continue
 12930   am__include=`sed -n 's/^am__include = //p' < "$mf"`
 12931   test -z "am__include" && continue
 12932   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 12933   # When using ansi2knr, U may be empty or an underscore; expand it
 12934   U=`sed -n 's/^U = //p' < "$mf"`
 12935   # Find all dependency output files, they are included files with
 12936   # $(DEPDIR) in their names.  We invoke sed twice because it is the
 12937   # simplest approach to changing $(DEPDIR) to its actual value in the
 12938   # expansion.
 12939   for file in `sed -n "
 12940     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 12941        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 12942     # Make sure the directory exists.
 12943     test -f "$dirpart/$file" && continue
 12944     fdir=`$as_dirname -- "$file" ||
 12945 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12946 	 X"$file" : 'X\(//\)[^/]' \| \
 12947 	 X"$file" : 'X\(//\)$' \| \
 12948 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 12949 $as_echo X"$file" |
 12950     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12951 	    s//\1/
 12954 	  /^X\(\/\/\)[^/].*/{
 12955 	    s//\1/
 12958 	  /^X\(\/\/\)$/{
 12959 	    s//\1/
 12962 	  /^X\(\/\).*/{
 12963 	    s//\1/
 12966 	  s/.*/./; q'`
 12967     { as_dir=$dirpart/$fdir
 12968   case $as_dir in #(
 12969   -*) as_dir=./$as_dir;;
 12970   esac
 12971   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 12972     as_dirs=
 12973     while :; do
 12974       case $as_dir in #(
 12975       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 12976       *) as_qdir=$as_dir;;
 12977       esac
 12978       as_dirs="'$as_qdir' $as_dirs"
 12979       as_dir=`$as_dirname -- "$as_dir" ||
 12980 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12981 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 12982 	 X"$as_dir" : 'X\(//\)$' \| \
 12983 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 12984 $as_echo X"$as_dir" |
 12985     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12986 	    s//\1/
 12989 	  /^X\(\/\/\)[^/].*/{
 12990 	    s//\1/
 12993 	  /^X\(\/\/\)$/{
 12994 	    s//\1/
 12997 	  /^X\(\/\).*/{
 12998 	    s//\1/
 13001 	  s/.*/./; q'`
 13002       test -d "$as_dir" && break
 13003     done
 13004     test -z "$as_dirs" || eval "mkdir $as_dirs"
 13005   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 13006 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 13007    { (exit 1); exit 1; }; }; }
 13008     # echo "creating $dirpart/$file"
 13009     echo '# dummy' > "$dirpart/$file"
 13010   done
 13011 done
 13012  ;;
 13013     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 13014         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 13015       esac ;;
 13017   esac
 13018 done # for ac_tag
 13021 { (exit 0); exit 0; }
 13022 _ACEOF
 13023 chmod +x $CONFIG_STATUS
 13024 ac_clean_files=$ac_clean_files_save
 13026 test $ac_write_fail = 0 ||
 13027   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 13028 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 13029    { (exit 1); exit 1; }; }
 13032 # configure is writing to config.log, and then calls config.status.
 13033 # config.status does its own redirection, appending to config.log.
 13034 # Unfortunately, on DOS this fails, as config.log is still kept open
 13035 # by configure, so config.status won't be able to write to it; its
 13036 # output is simply discarded.  So we exec the FD to /dev/null,
 13037 # effectively closing config.log, so it can be properly (re)opened and
 13038 # appended to by config.status.  When coming back to configure, we
 13039 # need to make the FD available again.
 13040 if test "$no_create" != yes; then
 13041   ac_cs_success=:
 13042   ac_config_status_args=
 13043   test "$silent" = yes &&
 13044     ac_config_status_args="$ac_config_status_args --quiet"
 13045   exec 5>/dev/null
 13046   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 13047   exec 5>>config.log
 13048   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 13049   # would make configure fail if this is the last instruction.
 13050   $ac_cs_success || { (exit 1); exit 1; }
 13051 fi
 13052 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 13053   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 13054 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 13055 fi
 13057 { as_dir=test/sh4
 13058   case $as_dir in #(
 13059   -*) as_dir=./$as_dir;;
 13060   esac
 13061   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 13062     as_dirs=
 13063     while :; do
 13064       case $as_dir in #(
 13065       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 13066       *) as_qdir=$as_dir;;
 13067       esac
 13068       as_dirs="'$as_qdir' $as_dirs"
 13069       as_dir=`$as_dirname -- "$as_dir" ||
 13070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13071 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 13072 	 X"$as_dir" : 'X\(//\)$' \| \
 13073 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 13074 $as_echo X"$as_dir" |
 13075     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13076 	    s//\1/
 13079 	  /^X\(\/\/\)[^/].*/{
 13080 	    s//\1/
 13083 	  /^X\(\/\/\)$/{
 13084 	    s//\1/
 13087 	  /^X\(\/\).*/{
 13088 	    s//\1/
 13091 	  s/.*/./; q'`
 13092       test -d "$as_dir" && break
 13093     done
 13094     test -z "$as_dirs" || eval "mkdir $as_dirs"
 13095   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 13096 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 13097    { (exit 1); exit 1; }; }; }
 13100 echo
 13101 echo "Configuration complete"
 13102 echo
 13104 if test "x$HAVE_GTK" = x; then
 13105   if test "x$HAVE_COCOA" = x; then
 13106      echo "  User interface: none"
 13107   else
 13108      echo "  User interface: Cocoa"
 13109   fi
 13110 else
 13111   echo "  User interface: GTK"
 13112 fi
 13114 if test "x$SH4_TRANSLATOR" = "x"; then
 13115   echo "  SH4 translator: None (emulation core only)"
 13116 else
 13117   echo "  SH4 translator: $SH4_TRANSLATOR"
 13118 fi
 13120 if test "x$VIDEO_DRIVERS" = "x"; then
 13121    echo "  Video drivers: none (no supported GL found)"
 13122 else
 13123    echo "  Video drivers: $VIDEO_DRIVERS"
 13124 fi
 13126 if test "x$AUDIO_DRIVERS" = "x"; then
 13127    echo "  Audio drivers: none (no supported output devices found)"
 13128 else
 13129    echo "  Audio drivers: $AUDIO_DRIVERS"
 13130 fi
 13132 if test "x$CDROM_DRIVER" = "x"; then
 13133    echo "  CD-ROM driver: none (no supported cd-rom devices found)"
 13134 else
 13135    echo "  CD-ROM driver: $CDROM_DRIVER"
 13136 fi
.