Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 989:7baf5ecd8e98
prev987:3bd03f1ce0a7
next1002:8ad76ddbdc58
author nkeynes
date Thu Mar 05 21:42:35 2009 +0000 (15 years ago)
permissions -rwxr-xr-x
last change Cleanup ABI headers - most of the content made consistent between versions, and moved into sh4x86.in proper
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 OBJC
   716 OBJCFLAGS
   717 ac_ct_OBJC
   718 SED
   719 CCAS
   720 CCASFLAGS
   721 CPP
   722 GREP
   723 EGREP
   724 build
   725 build_cpu
   726 build_vendor
   727 build_os
   728 host
   729 host_cpu
   730 host_vendor
   731 host_os
   732 OBJCDEPMODE
   733 am__fastdepOBJC_TRUE
   734 am__fastdepOBJC_FALSE
   735 POD2MAN
   736 POD2HTML
   737 GUI_COCOA_TRUE
   738 GUI_COCOA_FALSE
   739 PKG_CONFIG
   740 LIBPNG_CFLAGS
   741 LIBPNG_LIBS
   742 GLIB_CFLAGS
   743 GLIB_LIBS
   744 GTK_CFLAGS
   745 GTK_LIBS
   746 GUI_GTK_TRUE
   747 GUI_GTK_FALSE
   748 VIDEO_OSMESA_TRUE
   749 VIDEO_OSMESA_FALSE
   750 VIDEO_GLX_TRUE
   751 VIDEO_GLX_FALSE
   752 VIDEO_NSGL_TRUE
   753 VIDEO_NSGL_FALSE
   754 BUILD_SH4X86_TRUE
   755 BUILD_SH4X86_FALSE
   756 AUDIO_OSX_TRUE
   757 AUDIO_OSX_FALSE
   758 SDL_CFLAGS
   759 SDL_LIBS
   760 AUDIO_SDL_TRUE
   761 AUDIO_SDL_FALSE
   762 PULSE_CFLAGS
   763 PULSE_LIBS
   764 AUDIO_PULSE_TRUE
   765 AUDIO_PULSE_FALSE
   766 ESOUND_CFLAGS
   767 ESOUND_LIBS
   768 AUDIO_ESOUND_TRUE
   769 AUDIO_ESOUND_FALSE
   770 ALSA_CFLAGS
   771 ALSA_LIBS
   772 AUDIO_ALSA_TRUE
   773 AUDIO_ALSA_FALSE
   774 CDROM_LINUX_TRUE
   775 CDROM_LINUX_FALSE
   776 CDROM_OSX_TRUE
   777 CDROM_OSX_FALSE
   778 CDROM_NONE_TRUE
   779 CDROM_NONE_FALSE
   780 JOY_LINUX_TRUE
   781 JOY_LINUX_FALSE
   782 SHCC
   783 SHLD
   784 SHOBJCOPY
   785 ARMCC
   786 ARMLD
   787 ARMOBJCOPY
   788 BUILD_SYSTEST_TRUE
   789 BUILD_SYSTEST_FALSE
   790 BUILD_ARMTEST_TRUE
   791 BUILD_ARMTEST_FALSE
   792 GETTEXT_PACKAGE
   793 USE_NLS
   794 MSGFMT
   795 MSGFMT_OPTS
   796 GMSGFMT
   797 XGETTEXT
   798 CATALOGS
   799 CATOBJEXT
   800 DATADIRNAME
   801 GMOFILES
   802 INSTOBJEXT
   803 INTLLIBS
   804 PO_IN_DATADIR_TRUE
   805 PO_IN_DATADIR_FALSE
   806 POFILES
   807 POSUB
   808 MKINSTALLDIRS
   809 LIBOBJS
   810 LTLIBOBJS'
   811 ac_subst_files=''
   812 ac_user_opts='
   813 enable_option_checking
   814 enable_maintainer_mode
   815 enable_dependency_tracking
   816 enable_strict_warn
   817 enable_translator
   818 enable_optimized
   819 enable_profiled
   820 enable_trace
   821 enable_watch
   822 enable_sh4stats
   823 with_osmesa
   824 with_gtk
   825 with_esd
   826 with_pulse
   827 with_sdl
   828 '
   829       ac_precious_vars='build_alias
   830 host_alias
   831 target_alias
   832 CC
   833 CFLAGS
   834 LDFLAGS
   835 LIBS
   836 CPPFLAGS
   837 OBJC
   838 OBJCFLAGS
   839 CCAS
   840 CCASFLAGS
   841 CPP
   842 PKG_CONFIG
   843 LIBPNG_CFLAGS
   844 LIBPNG_LIBS
   845 GLIB_CFLAGS
   846 GLIB_LIBS
   847 GTK_CFLAGS
   848 GTK_LIBS
   849 SDL_CFLAGS
   850 SDL_LIBS
   851 PULSE_CFLAGS
   852 PULSE_LIBS
   853 ESOUND_CFLAGS
   854 ESOUND_LIBS
   855 ALSA_CFLAGS
   856 ALSA_LIBS'
   859 # Initialize some variables set by options.
   860 ac_init_help=
   861 ac_init_version=false
   862 ac_unrecognized_opts=
   863 ac_unrecognized_sep=
   864 # The variables have the same names as the options, with
   865 # dashes changed to underlines.
   866 cache_file=/dev/null
   867 exec_prefix=NONE
   868 no_create=
   869 no_recursion=
   870 prefix=NONE
   871 program_prefix=NONE
   872 program_suffix=NONE
   873 program_transform_name=s,x,x,
   874 silent=
   875 site=
   876 srcdir=
   877 verbose=
   878 x_includes=NONE
   879 x_libraries=NONE
   881 # Installation directory options.
   882 # These are left unexpanded so users can "make install exec_prefix=/foo"
   883 # and all the variables that are supposed to be based on exec_prefix
   884 # by default will actually change.
   885 # Use braces instead of parens because sh, perl, etc. also accept them.
   886 # (The list follows the same order as the GNU Coding Standards.)
   887 bindir='${exec_prefix}/bin'
   888 sbindir='${exec_prefix}/sbin'
   889 libexecdir='${exec_prefix}/libexec'
   890 datarootdir='${prefix}/share'
   891 datadir='${datarootdir}'
   892 sysconfdir='${prefix}/etc'
   893 sharedstatedir='${prefix}/com'
   894 localstatedir='${prefix}/var'
   895 includedir='${prefix}/include'
   896 oldincludedir='/usr/include'
   897 docdir='${datarootdir}/doc/${PACKAGE}'
   898 infodir='${datarootdir}/info'
   899 htmldir='${docdir}'
   900 dvidir='${docdir}'
   901 pdfdir='${docdir}'
   902 psdir='${docdir}'
   903 libdir='${exec_prefix}/lib'
   904 localedir='${datarootdir}/locale'
   905 mandir='${datarootdir}/man'
   907 ac_prev=
   908 ac_dashdash=
   909 for ac_option
   910 do
   911   # If the previous option needs an argument, assign it.
   912   if test -n "$ac_prev"; then
   913     eval $ac_prev=\$ac_option
   914     ac_prev=
   915     continue
   916   fi
   918   case $ac_option in
   919   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   920   *)	ac_optarg=yes ;;
   921   esac
   923   # Accept the important Cygnus configure options, so we can diagnose typos.
   925   case $ac_dashdash$ac_option in
   926   --)
   927     ac_dashdash=yes ;;
   929   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   930     ac_prev=bindir ;;
   931   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   932     bindir=$ac_optarg ;;
   934   -build | --build | --buil | --bui | --bu)
   935     ac_prev=build_alias ;;
   936   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   937     build_alias=$ac_optarg ;;
   939   -cache-file | --cache-file | --cache-fil | --cache-fi \
   940   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   941     ac_prev=cache_file ;;
   942   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   943   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   944     cache_file=$ac_optarg ;;
   946   --config-cache | -C)
   947     cache_file=config.cache ;;
   949   -datadir | --datadir | --datadi | --datad)
   950     ac_prev=datadir ;;
   951   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   952     datadir=$ac_optarg ;;
   954   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   955   | --dataroo | --dataro | --datar)
   956     ac_prev=datarootdir ;;
   957   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   958   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   959     datarootdir=$ac_optarg ;;
   961   -disable-* | --disable-*)
   962     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   963     # Reject names that are not valid shell variable names.
   964     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   965       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   966    { (exit 1); exit 1; }; }
   967     ac_useropt_orig=$ac_useropt
   968     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   969     case $ac_user_opts in
   970       *"
   971 "enable_$ac_useropt"
   972 "*) ;;
   973       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   974 	 ac_unrecognized_sep=', ';;
   975     esac
   976     eval enable_$ac_useropt=no ;;
   978   -docdir | --docdir | --docdi | --doc | --do)
   979     ac_prev=docdir ;;
   980   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   981     docdir=$ac_optarg ;;
   983   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   984     ac_prev=dvidir ;;
   985   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   986     dvidir=$ac_optarg ;;
   988   -enable-* | --enable-*)
   989     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   990     # Reject names that are not valid shell variable names.
   991     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   992       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   993    { (exit 1); exit 1; }; }
   994     ac_useropt_orig=$ac_useropt
   995     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   996     case $ac_user_opts in
   997       *"
   998 "enable_$ac_useropt"
   999 "*) ;;
  1000       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1001 	 ac_unrecognized_sep=', ';;
  1002     esac
  1003     eval enable_$ac_useropt=\$ac_optarg ;;
  1005   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1006   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1007   | --exec | --exe | --ex)
  1008     ac_prev=exec_prefix ;;
  1009   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1010   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1011   | --exec=* | --exe=* | --ex=*)
  1012     exec_prefix=$ac_optarg ;;
  1014   -gas | --gas | --ga | --g)
  1015     # Obsolete; use --with-gas.
  1016     with_gas=yes ;;
  1018   -help | --help | --hel | --he | -h)
  1019     ac_init_help=long ;;
  1020   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1021     ac_init_help=recursive ;;
  1022   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1023     ac_init_help=short ;;
  1025   -host | --host | --hos | --ho)
  1026     ac_prev=host_alias ;;
  1027   -host=* | --host=* | --hos=* | --ho=*)
  1028     host_alias=$ac_optarg ;;
  1030   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1031     ac_prev=htmldir ;;
  1032   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1033   | --ht=*)
  1034     htmldir=$ac_optarg ;;
  1036   -includedir | --includedir | --includedi | --included | --include \
  1037   | --includ | --inclu | --incl | --inc)
  1038     ac_prev=includedir ;;
  1039   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1040   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1041     includedir=$ac_optarg ;;
  1043   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1044     ac_prev=infodir ;;
  1045   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1046     infodir=$ac_optarg ;;
  1048   -libdir | --libdir | --libdi | --libd)
  1049     ac_prev=libdir ;;
  1050   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1051     libdir=$ac_optarg ;;
  1053   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1054   | --libexe | --libex | --libe)
  1055     ac_prev=libexecdir ;;
  1056   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1057   | --libexe=* | --libex=* | --libe=*)
  1058     libexecdir=$ac_optarg ;;
  1060   -localedir | --localedir | --localedi | --localed | --locale)
  1061     ac_prev=localedir ;;
  1062   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1063     localedir=$ac_optarg ;;
  1065   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1066   | --localstate | --localstat | --localsta | --localst | --locals)
  1067     ac_prev=localstatedir ;;
  1068   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1069   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1070     localstatedir=$ac_optarg ;;
  1072   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1073     ac_prev=mandir ;;
  1074   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1075     mandir=$ac_optarg ;;
  1077   -nfp | --nfp | --nf)
  1078     # Obsolete; use --without-fp.
  1079     with_fp=no ;;
  1081   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1082   | --no-cr | --no-c | -n)
  1083     no_create=yes ;;
  1085   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1086   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1087     no_recursion=yes ;;
  1089   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1090   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1091   | --oldin | --oldi | --old | --ol | --o)
  1092     ac_prev=oldincludedir ;;
  1093   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1094   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1095   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1096     oldincludedir=$ac_optarg ;;
  1098   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1099     ac_prev=prefix ;;
  1100   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1101     prefix=$ac_optarg ;;
  1103   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1104   | --program-pre | --program-pr | --program-p)
  1105     ac_prev=program_prefix ;;
  1106   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1107   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1108     program_prefix=$ac_optarg ;;
  1110   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1111   | --program-suf | --program-su | --program-s)
  1112     ac_prev=program_suffix ;;
  1113   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1114   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1115     program_suffix=$ac_optarg ;;
  1117   -program-transform-name | --program-transform-name \
  1118   | --program-transform-nam | --program-transform-na \
  1119   | --program-transform-n | --program-transform- \
  1120   | --program-transform | --program-transfor \
  1121   | --program-transfo | --program-transf \
  1122   | --program-trans | --program-tran \
  1123   | --progr-tra | --program-tr | --program-t)
  1124     ac_prev=program_transform_name ;;
  1125   -program-transform-name=* | --program-transform-name=* \
  1126   | --program-transform-nam=* | --program-transform-na=* \
  1127   | --program-transform-n=* | --program-transform-=* \
  1128   | --program-transform=* | --program-transfor=* \
  1129   | --program-transfo=* | --program-transf=* \
  1130   | --program-trans=* | --program-tran=* \
  1131   | --progr-tra=* | --program-tr=* | --program-t=*)
  1132     program_transform_name=$ac_optarg ;;
  1134   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1135     ac_prev=pdfdir ;;
  1136   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1137     pdfdir=$ac_optarg ;;
  1139   -psdir | --psdir | --psdi | --psd | --ps)
  1140     ac_prev=psdir ;;
  1141   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1142     psdir=$ac_optarg ;;
  1144   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1145   | -silent | --silent | --silen | --sile | --sil)
  1146     silent=yes ;;
  1148   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1149     ac_prev=sbindir ;;
  1150   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1151   | --sbi=* | --sb=*)
  1152     sbindir=$ac_optarg ;;
  1154   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1155   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1156   | --sharedst | --shareds | --shared | --share | --shar \
  1157   | --sha | --sh)
  1158     ac_prev=sharedstatedir ;;
  1159   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1160   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1161   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1162   | --sha=* | --sh=*)
  1163     sharedstatedir=$ac_optarg ;;
  1165   -site | --site | --sit)
  1166     ac_prev=site ;;
  1167   -site=* | --site=* | --sit=*)
  1168     site=$ac_optarg ;;
  1170   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1171     ac_prev=srcdir ;;
  1172   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1173     srcdir=$ac_optarg ;;
  1175   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1176   | --syscon | --sysco | --sysc | --sys | --sy)
  1177     ac_prev=sysconfdir ;;
  1178   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1179   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1180     sysconfdir=$ac_optarg ;;
  1182   -target | --target | --targe | --targ | --tar | --ta | --t)
  1183     ac_prev=target_alias ;;
  1184   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1185     target_alias=$ac_optarg ;;
  1187   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1188     verbose=yes ;;
  1190   -version | --version | --versio | --versi | --vers | -V)
  1191     ac_init_version=: ;;
  1193   -with-* | --with-*)
  1194     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  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--with-$ac_useropt_orig"
  1206 	 ac_unrecognized_sep=', ';;
  1207     esac
  1208     eval with_$ac_useropt=\$ac_optarg ;;
  1210   -without-* | --without-*)
  1211     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1212     # Reject names that are not valid shell variable names.
  1213     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1214       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1215    { (exit 1); exit 1; }; }
  1216     ac_useropt_orig=$ac_useropt
  1217     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1218     case $ac_user_opts in
  1219       *"
  1220 "with_$ac_useropt"
  1221 "*) ;;
  1222       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1223 	 ac_unrecognized_sep=', ';;
  1224     esac
  1225     eval with_$ac_useropt=no ;;
  1227   --x)
  1228     # Obsolete; use --with-x.
  1229     with_x=yes ;;
  1231   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1232   | --x-incl | --x-inc | --x-in | --x-i)
  1233     ac_prev=x_includes ;;
  1234   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1235   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1236     x_includes=$ac_optarg ;;
  1238   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1239   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1240     ac_prev=x_libraries ;;
  1241   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1242   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1243     x_libraries=$ac_optarg ;;
  1245   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1246 Try \`$0 --help' for more information." >&2
  1247    { (exit 1); exit 1; }; }
  1248     ;;
  1250   *=*)
  1251     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1252     # Reject names that are not valid shell variable names.
  1253     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1254       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1255    { (exit 1); exit 1; }; }
  1256     eval $ac_envvar=\$ac_optarg
  1257     export $ac_envvar ;;
  1259   *)
  1260     # FIXME: should be removed in autoconf 3.0.
  1261     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1262     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1263       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1264     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1265     ;;
  1267   esac
  1268 done
  1270 if test -n "$ac_prev"; then
  1271   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1272   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1273    { (exit 1); exit 1; }; }
  1274 fi
  1276 if test -n "$ac_unrecognized_opts"; then
  1277   case $enable_option_checking in
  1278     no) ;;
  1279     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  1280    { (exit 1); exit 1; }; } ;;
  1281     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1282   esac
  1283 fi
  1285 # Check all directory arguments for consistency.
  1286 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1287 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1288 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1289 		libdir localedir mandir
  1290 do
  1291   eval ac_val=\$$ac_var
  1292   # Remove trailing slashes.
  1293   case $ac_val in
  1294     */ )
  1295       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1296       eval $ac_var=\$ac_val;;
  1297   esac
  1298   # Be sure to have absolute directory names.
  1299   case $ac_val in
  1300     [\\/$]* | ?:[\\/]* )  continue;;
  1301     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1302   esac
  1303   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1304    { (exit 1); exit 1; }; }
  1305 done
  1307 # There might be people who depend on the old broken behavior: `$host'
  1308 # used to hold the argument of --host etc.
  1309 # FIXME: To remove some day.
  1310 build=$build_alias
  1311 host=$host_alias
  1312 target=$target_alias
  1314 # FIXME: To remove some day.
  1315 if test "x$host_alias" != x; then
  1316   if test "x$build_alias" = x; then
  1317     cross_compiling=maybe
  1318     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1319     If a cross compiler is detected then cross compile mode will be used." >&2
  1320   elif test "x$build_alias" != "x$host_alias"; then
  1321     cross_compiling=yes
  1322   fi
  1323 fi
  1325 ac_tool_prefix=
  1326 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1328 test "$silent" = yes && exec 6>/dev/null
  1331 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1332 ac_ls_di=`ls -di .` &&
  1333 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1334   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  1335    { (exit 1); exit 1; }; }
  1336 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1337   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1338    { (exit 1); exit 1; }; }
  1341 # Find the source files, if location was not specified.
  1342 if test -z "$srcdir"; then
  1343   ac_srcdir_defaulted=yes
  1344   # Try the directory containing this script, then the parent directory.
  1345   ac_confdir=`$as_dirname -- "$as_myself" ||
  1346 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1347 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1348 	 X"$as_myself" : 'X\(//\)$' \| \
  1349 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1350 $as_echo X"$as_myself" |
  1351     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1352 	    s//\1/
  1355 	  /^X\(\/\/\)[^/].*/{
  1356 	    s//\1/
  1359 	  /^X\(\/\/\)$/{
  1360 	    s//\1/
  1363 	  /^X\(\/\).*/{
  1364 	    s//\1/
  1367 	  s/.*/./; q'`
  1368   srcdir=$ac_confdir
  1369   if test ! -r "$srcdir/$ac_unique_file"; then
  1370     srcdir=..
  1371   fi
  1372 else
  1373   ac_srcdir_defaulted=no
  1374 fi
  1375 if test ! -r "$srcdir/$ac_unique_file"; then
  1376   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1377   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1378    { (exit 1); exit 1; }; }
  1379 fi
  1380 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1381 ac_abs_confdir=`(
  1382 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1383    { (exit 1); exit 1; }; }
  1384 	pwd)`
  1385 # When building in place, set srcdir=.
  1386 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1387   srcdir=.
  1388 fi
  1389 # Remove unnecessary trailing slashes from srcdir.
  1390 # Double slashes in file names in object file debugging info
  1391 # mess up M-x gdb in Emacs.
  1392 case $srcdir in
  1393 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1394 esac
  1395 for ac_var in $ac_precious_vars; do
  1396   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1397   eval ac_env_${ac_var}_value=\$${ac_var}
  1398   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1399   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1400 done
  1403 # Report the --help message.
  1405 if test "$ac_init_help" = "long"; then
  1406   # Omit some internal or obsolete options to make the list less imposing.
  1407   # This message is too long to be a string in the A/UX 3.1 sh.
  1408   cat <<_ACEOF
  1409 \`configure' configures this package to adapt to many kinds of systems.
  1411 Usage: $0 [OPTION]... [VAR=VALUE]...
  1413 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1414 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1416 Defaults for the options are specified in brackets.
  1418 Configuration:
  1419   -h, --help              display this help and exit
  1420       --help=short        display options specific to this package
  1421       --help=recursive    display the short help of all the included packages
  1422   -V, --version           display version information and exit
  1423   -q, --quiet, --silent   do not print \`checking...' messages
  1424       --cache-file=FILE   cache test results in FILE [disabled]
  1425   -C, --config-cache      alias for \`--cache-file=config.cache'
  1426   -n, --no-create         do not create output files
  1427       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1429 Installation directories:
  1430   --prefix=PREFIX         install architecture-independent files in PREFIX
  1431                           [$ac_default_prefix]
  1432   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1433                           [PREFIX]
  1435 By default, \`make install' will install all the files in
  1436 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1437 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1438 for instance \`--prefix=\$HOME'.
  1440 For better control, use the options below.
  1442 Fine tuning of the installation directories:
  1443   --bindir=DIR            user executables [EPREFIX/bin]
  1444   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1445   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1446   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1447   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1448   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1449   --libdir=DIR            object code libraries [EPREFIX/lib]
  1450   --includedir=DIR        C header files [PREFIX/include]
  1451   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1452   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1453   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1454   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1455   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1456   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1457   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1458   --htmldir=DIR           html documentation [DOCDIR]
  1459   --dvidir=DIR            dvi documentation [DOCDIR]
  1460   --pdfdir=DIR            pdf documentation [DOCDIR]
  1461   --psdir=DIR             ps documentation [DOCDIR]
  1462 _ACEOF
  1464   cat <<\_ACEOF
  1466 Program names:
  1467   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1468   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1469   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1471 System types:
  1472   --build=BUILD     configure for building on BUILD [guessed]
  1473   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1474 _ACEOF
  1475 fi
  1477 if test -n "$ac_init_help"; then
  1479   cat <<\_ACEOF
  1481 Optional Features:
  1482   --disable-option-checking  ignore unrecognized --enable/--with options
  1483   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1484   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1485   --enable-maintainer-mode  enable make rules and dependencies not useful
  1486 			  (and sometimes confusing) to the casual installer
  1487   --disable-dependency-tracking  speeds up one-time build
  1488   --enable-dependency-tracking   do not reject slow dependency extractors
  1489   --enable-strict-warn    Enable strict compilation warnings
  1490   --disable-translator    Disable the SH4 translator (Enabled by default)
  1491   --disable-optimized     Disable compile-time optimizations (Enabled by
  1492                           default)
  1493   --enable-profiled       Enable profiling build
  1494   --enable-trace          Enable generation of IO traces (warning: hurts
  1495                           performance)
  1496   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1497                           performance)
  1498   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1500 Optional Packages:
  1501   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1502   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1503   --with-osmesa           Build with the osmesa GL library (software
  1504                           rendering)
  1505   --with-gtk              Build with the GTK UI. Default on X11 systems
  1506   --with-esd              Build with support for the ESounD audio system
  1507   --with-pulse            Build with support for the PulseAudio audio system
  1508   --with-sdl              Build with support for SDL audio
  1510 Some influential environment variables:
  1511   CC          C compiler command
  1512   CFLAGS      C compiler flags
  1513   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1514               nonstandard directory <lib dir>
  1515   LIBS        libraries to pass to the linker, e.g. -l<library>
  1516   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1517               you have headers in a nonstandard directory <include dir>
  1518   OBJC        Objective C compiler command
  1519   OBJCFLAGS   Objective C compiler flags
  1520   CCAS        assembler compiler command (defaults to CC)
  1521   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1522   CPP         C preprocessor
  1523   PKG_CONFIG  path to pkg-config utility
  1524   LIBPNG_CFLAGS
  1525               C compiler flags for LIBPNG, overriding pkg-config
  1526   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1527   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1528   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1529   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1530   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1531   SDL_CFLAGS  C compiler flags for SDL, overriding pkg-config
  1532   SDL_LIBS    linker flags for SDL, overriding pkg-config
  1533   PULSE_CFLAGS
  1534               C compiler flags for PULSE, overriding pkg-config
  1535   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1536   ESOUND_CFLAGS
  1537               C compiler flags for ESOUND, overriding pkg-config
  1538   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1539   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1540   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1542 Use these variables to override the choices made by `configure' or to help
  1543 it to find libraries and programs with nonstandard names/locations.
  1545 _ACEOF
  1546 ac_status=$?
  1547 fi
  1549 if test "$ac_init_help" = "recursive"; then
  1550   # If there are subdirs, report their specific --help.
  1551   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1552     test -d "$ac_dir" ||
  1553       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1554       continue
  1555     ac_builddir=.
  1557 case "$ac_dir" in
  1558 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1559 *)
  1560   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1561   # A ".." for each directory in $ac_dir_suffix.
  1562   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1563   case $ac_top_builddir_sub in
  1564   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1565   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1566   esac ;;
  1567 esac
  1568 ac_abs_top_builddir=$ac_pwd
  1569 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1570 # for backward compatibility:
  1571 ac_top_builddir=$ac_top_build_prefix
  1573 case $srcdir in
  1574   .)  # We are building in place.
  1575     ac_srcdir=.
  1576     ac_top_srcdir=$ac_top_builddir_sub
  1577     ac_abs_top_srcdir=$ac_pwd ;;
  1578   [\\/]* | ?:[\\/]* )  # Absolute name.
  1579     ac_srcdir=$srcdir$ac_dir_suffix;
  1580     ac_top_srcdir=$srcdir
  1581     ac_abs_top_srcdir=$srcdir ;;
  1582   *) # Relative name.
  1583     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1584     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1585     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1586 esac
  1587 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1589     cd "$ac_dir" || { ac_status=$?; continue; }
  1590     # Check for guested configure.
  1591     if test -f "$ac_srcdir/configure.gnu"; then
  1592       echo &&
  1593       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1594     elif test -f "$ac_srcdir/configure"; then
  1595       echo &&
  1596       $SHELL "$ac_srcdir/configure" --help=recursive
  1597     else
  1598       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1599     fi || ac_status=$?
  1600     cd "$ac_pwd" || { ac_status=$?; break; }
  1601   done
  1602 fi
  1604 test -n "$ac_init_help" && exit $ac_status
  1605 if $ac_init_version; then
  1606   cat <<\_ACEOF
  1607 configure
  1608 generated by GNU Autoconf 2.62
  1610 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1611 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1612 This configure script is free software; the Free Software Foundation
  1613 gives unlimited permission to copy, distribute and modify it.
  1614 _ACEOF
  1615   exit
  1616 fi
  1617 cat >config.log <<_ACEOF
  1618 This file contains any messages produced by compilers while
  1619 running configure, to aid debugging if configure makes a mistake.
  1621 It was created by $as_me, which was
  1622 generated by GNU Autoconf 2.62.  Invocation command line was
  1624   $ $0 $@
  1626 _ACEOF
  1627 exec 5>>config.log
  1629 cat <<_ASUNAME
  1630 ## --------- ##
  1631 ## Platform. ##
  1632 ## --------- ##
  1634 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1635 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1636 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1637 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1638 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1640 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1641 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1643 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1644 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1645 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1646 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1647 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1648 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1649 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1651 _ASUNAME
  1653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1654 for as_dir in $PATH
  1655 do
  1656   IFS=$as_save_IFS
  1657   test -z "$as_dir" && as_dir=.
  1658   $as_echo "PATH: $as_dir"
  1659 done
  1660 IFS=$as_save_IFS
  1662 } >&5
  1664 cat >&5 <<_ACEOF
  1667 ## ----------- ##
  1668 ## Core tests. ##
  1669 ## ----------- ##
  1671 _ACEOF
  1674 # Keep a trace of the command line.
  1675 # Strip out --no-create and --no-recursion so they do not pile up.
  1676 # Strip out --silent because we don't want to record it for future runs.
  1677 # Also quote any args containing shell meta-characters.
  1678 # Make two passes to allow for proper duplicate-argument suppression.
  1679 ac_configure_args=
  1680 ac_configure_args0=
  1681 ac_configure_args1=
  1682 ac_must_keep_next=false
  1683 for ac_pass in 1 2
  1684 do
  1685   for ac_arg
  1686   do
  1687     case $ac_arg in
  1688     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1689     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1690     | -silent | --silent | --silen | --sile | --sil)
  1691       continue ;;
  1692     *\'*)
  1693       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1694     esac
  1695     case $ac_pass in
  1696     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1697     2)
  1698       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1699       if test $ac_must_keep_next = true; then
  1700 	ac_must_keep_next=false # Got value, back to normal.
  1701       else
  1702 	case $ac_arg in
  1703 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1704 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1705 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1706 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1707 	    case "$ac_configure_args0 " in
  1708 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1709 	    esac
  1710 	    ;;
  1711 	  -* ) ac_must_keep_next=true ;;
  1712 	esac
  1713       fi
  1714       ac_configure_args="$ac_configure_args '$ac_arg'"
  1715       ;;
  1716     esac
  1717   done
  1718 done
  1719 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1720 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1722 # When interrupted or exit'd, cleanup temporary files, and complete
  1723 # config.log.  We remove comments because anyway the quotes in there
  1724 # would cause problems or look ugly.
  1725 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1726 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1727 trap 'exit_status=$?
  1728   # Save into config.log some information that might help in debugging.
  1730     echo
  1732     cat <<\_ASBOX
  1733 ## ---------------- ##
  1734 ## Cache variables. ##
  1735 ## ---------------- ##
  1736 _ASBOX
  1737     echo
  1738     # The following way of writing the cache mishandles newlines in values,
  1740   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1741     eval ac_val=\$$ac_var
  1742     case $ac_val in #(
  1743     *${as_nl}*)
  1744       case $ac_var in #(
  1745       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1746 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1747       esac
  1748       case $ac_var in #(
  1749       _ | IFS | as_nl) ;; #(
  1750       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1751       *) $as_unset $ac_var ;;
  1752       esac ;;
  1753     esac
  1754   done
  1755   (set) 2>&1 |
  1756     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1757     *${as_nl}ac_space=\ *)
  1758       sed -n \
  1759 	"s/'\''/'\''\\\\'\'''\''/g;
  1760 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1761       ;; #(
  1762     *)
  1763       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1764       ;;
  1765     esac |
  1766     sort
  1768     echo
  1770     cat <<\_ASBOX
  1771 ## ----------------- ##
  1772 ## Output variables. ##
  1773 ## ----------------- ##
  1774 _ASBOX
  1775     echo
  1776     for ac_var in $ac_subst_vars
  1777     do
  1778       eval ac_val=\$$ac_var
  1779       case $ac_val in
  1780       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1781       esac
  1782       $as_echo "$ac_var='\''$ac_val'\''"
  1783     done | sort
  1784     echo
  1786     if test -n "$ac_subst_files"; then
  1787       cat <<\_ASBOX
  1788 ## ------------------- ##
  1789 ## File substitutions. ##
  1790 ## ------------------- ##
  1791 _ASBOX
  1792       echo
  1793       for ac_var in $ac_subst_files
  1794       do
  1795 	eval ac_val=\$$ac_var
  1796 	case $ac_val in
  1797 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1798 	esac
  1799 	$as_echo "$ac_var='\''$ac_val'\''"
  1800       done | sort
  1801       echo
  1802     fi
  1804     if test -s confdefs.h; then
  1805       cat <<\_ASBOX
  1806 ## ----------- ##
  1807 ## confdefs.h. ##
  1808 ## ----------- ##
  1809 _ASBOX
  1810       echo
  1811       cat confdefs.h
  1812       echo
  1813     fi
  1814     test "$ac_signal" != 0 &&
  1815       $as_echo "$as_me: caught signal $ac_signal"
  1816     $as_echo "$as_me: exit $exit_status"
  1817   } >&5
  1818   rm -f core *.core core.conftest.* &&
  1819     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1820     exit $exit_status
  1821 ' 0
  1822 for ac_signal in 1 2 13 15; do
  1823   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1824 done
  1825 ac_signal=0
  1827 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1828 rm -f -r conftest* confdefs.h
  1830 # Predefined preprocessor variables.
  1832 cat >>confdefs.h <<_ACEOF
  1833 #define PACKAGE_NAME "$PACKAGE_NAME"
  1834 _ACEOF
  1837 cat >>confdefs.h <<_ACEOF
  1838 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1839 _ACEOF
  1842 cat >>confdefs.h <<_ACEOF
  1843 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1844 _ACEOF
  1847 cat >>confdefs.h <<_ACEOF
  1848 #define PACKAGE_STRING "$PACKAGE_STRING"
  1849 _ACEOF
  1852 cat >>confdefs.h <<_ACEOF
  1853 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1854 _ACEOF
  1857 # Let the site file select an alternate cache file if it wants to.
  1858 # Prefer an explicitly selected file to automatically selected ones.
  1859 ac_site_file1=NONE
  1860 ac_site_file2=NONE
  1861 if test -n "$CONFIG_SITE"; then
  1862   ac_site_file1=$CONFIG_SITE
  1863 elif test "x$prefix" != xNONE; then
  1864   ac_site_file1=$prefix/share/config.site
  1865   ac_site_file2=$prefix/etc/config.site
  1866 else
  1867   ac_site_file1=$ac_default_prefix/share/config.site
  1868   ac_site_file2=$ac_default_prefix/etc/config.site
  1869 fi
  1870 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1871 do
  1872   test "x$ac_site_file" = xNONE && continue
  1873   if test -r "$ac_site_file"; then
  1874     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1875 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1876     sed 's/^/| /' "$ac_site_file" >&5
  1877     . "$ac_site_file"
  1878   fi
  1879 done
  1881 if test -r "$cache_file"; then
  1882   # Some versions of bash will fail to source /dev/null (special
  1883   # files actually), so we avoid doing that.
  1884   if test -f "$cache_file"; then
  1885     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1886 $as_echo "$as_me: loading cache $cache_file" >&6;}
  1887     case $cache_file in
  1888       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1889       *)                      . "./$cache_file";;
  1890     esac
  1891   fi
  1892 else
  1893   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1894 $as_echo "$as_me: creating cache $cache_file" >&6;}
  1895   >$cache_file
  1896 fi
  1898 # Check that the precious variables saved in the cache have kept the same
  1899 # value.
  1900 ac_cache_corrupted=false
  1901 for ac_var in $ac_precious_vars; do
  1902   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1903   eval ac_new_set=\$ac_env_${ac_var}_set
  1904   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1905   eval ac_new_val=\$ac_env_${ac_var}_value
  1906   case $ac_old_set,$ac_new_set in
  1907     set,)
  1908       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1909 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1910       ac_cache_corrupted=: ;;
  1911     ,set)
  1912       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1913 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1914       ac_cache_corrupted=: ;;
  1915     ,);;
  1916     *)
  1917       if test "x$ac_old_val" != "x$ac_new_val"; then
  1918 	# differences in whitespace do not lead to failure.
  1919 	ac_old_val_w=`echo x $ac_old_val`
  1920 	ac_new_val_w=`echo x $ac_new_val`
  1921 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1922 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1923 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1924 	  ac_cache_corrupted=:
  1925 	else
  1926 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1927 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1928 	  eval $ac_var=\$ac_old_val
  1929 	fi
  1930 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  1931 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1932 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  1933 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1934       fi;;
  1935   esac
  1936   # Pass precious variables to config.status.
  1937   if test "$ac_new_set" = set; then
  1938     case $ac_new_val in
  1939     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1940     *) ac_arg=$ac_var=$ac_new_val ;;
  1941     esac
  1942     case " $ac_configure_args " in
  1943       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1944       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1945     esac
  1946   fi
  1947 done
  1948 if $ac_cache_corrupted; then
  1949   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1950 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1951   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1952 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1953    { (exit 1); exit 1; }; }
  1954 fi
  1972 ac_ext=c
  1973 ac_cpp='$CPP $CPPFLAGS'
  1974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1979 am__api_version="1.9"
  1980 ac_aux_dir=
  1981 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1982   if test -f "$ac_dir/install-sh"; then
  1983     ac_aux_dir=$ac_dir
  1984     ac_install_sh="$ac_aux_dir/install-sh -c"
  1985     break
  1986   elif test -f "$ac_dir/install.sh"; then
  1987     ac_aux_dir=$ac_dir
  1988     ac_install_sh="$ac_aux_dir/install.sh -c"
  1989     break
  1990   elif test -f "$ac_dir/shtool"; then
  1991     ac_aux_dir=$ac_dir
  1992     ac_install_sh="$ac_aux_dir/shtool install -c"
  1993     break
  1994   fi
  1995 done
  1996 if test -z "$ac_aux_dir"; then
  1997   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1998 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1999    { (exit 1); exit 1; }; }
  2000 fi
  2002 # These three variables are undocumented and unsupported,
  2003 # and are intended to be withdrawn in a future Autoconf release.
  2004 # They can cause serious problems if a builder's source tree is in a directory
  2005 # whose full name contains unusual characters.
  2006 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2007 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2008 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2011 # Find a good install program.  We prefer a C program (faster),
  2012 # so one script is as good as another.  But avoid the broken or
  2013 # incompatible versions:
  2014 # SysV /etc/install, /usr/sbin/install
  2015 # SunOS /usr/etc/install
  2016 # IRIX /sbin/install
  2017 # AIX /bin/install
  2018 # AmigaOS /C/install, which installs bootblocks on floppy discs
  2019 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2020 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2021 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2022 # OS/2's system install, which has a completely different semantic
  2023 # ./install, which can be erroneously created by make from ./install.sh.
  2024 # Reject install programs that cannot install multiple files.
  2025 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2026 $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2027 if test -z "$INSTALL"; then
  2028 if test "${ac_cv_path_install+set}" = set; then
  2029   $as_echo_n "(cached) " >&6
  2030 else
  2031   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2032 for as_dir in $PATH
  2033 do
  2034   IFS=$as_save_IFS
  2035   test -z "$as_dir" && as_dir=.
  2036   # Account for people who put trailing slashes in PATH elements.
  2037 case $as_dir/ in
  2038   ./ | .// | /cC/* | \
  2039   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2040   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2041   /usr/ucb/* ) ;;
  2042   *)
  2043     # OSF1 and SCO ODT 3.0 have their own names for install.
  2044     # Don't use installbsd from OSF since it installs stuff as root
  2045     # by default.
  2046     for ac_prog in ginstall scoinst install; do
  2047       for ac_exec_ext in '' $ac_executable_extensions; do
  2048 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2049 	  if test $ac_prog = install &&
  2050 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2051 	    # AIX install.  It has an incompatible calling convention.
  2053 	  elif test $ac_prog = install &&
  2054 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2055 	    # program-specific install script used by HP pwplus--don't use.
  2057 	  else
  2058 	    rm -rf conftest.one conftest.two conftest.dir
  2059 	    echo one > conftest.one
  2060 	    echo two > conftest.two
  2061 	    mkdir conftest.dir
  2062 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2063 	      test -s conftest.one && test -s conftest.two &&
  2064 	      test -s conftest.dir/conftest.one &&
  2065 	      test -s conftest.dir/conftest.two
  2066 	    then
  2067 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2068 	      break 3
  2069 	    fi
  2070 	  fi
  2071 	fi
  2072       done
  2073     done
  2074     ;;
  2075 esac
  2077 done
  2078 IFS=$as_save_IFS
  2080 rm -rf conftest.one conftest.two conftest.dir
  2082 fi
  2083   if test "${ac_cv_path_install+set}" = set; then
  2084     INSTALL=$ac_cv_path_install
  2085   else
  2086     # As a last resort, use the slow shell script.  Don't cache a
  2087     # value for INSTALL within a source directory, because that will
  2088     # break other packages using the cache if that directory is
  2089     # removed, or if the value is a relative name.
  2090     INSTALL=$ac_install_sh
  2091   fi
  2092 fi
  2093 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2094 $as_echo "$INSTALL" >&6; }
  2096 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2097 # It thinks the first close brace ends the variable substitution.
  2098 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2100 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2102 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2104 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2105 $as_echo_n "checking whether build environment is sane... " >&6; }
  2106 # Just in case
  2107 sleep 1
  2108 echo timestamp > conftest.file
  2109 # Do `set' in a subshell so we don't clobber the current shell's
  2110 # arguments.  Must try -L first in case configure is actually a
  2111 # symlink; some systems play weird games with the mod time of symlinks
  2112 # (eg FreeBSD returns the mod time of the symlink's containing
  2113 # directory).
  2114 if (
  2115    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2116    if test "$*" = "X"; then
  2117       # -L didn't work.
  2118       set X `ls -t $srcdir/configure conftest.file`
  2119    fi
  2120    rm -f conftest.file
  2121    if test "$*" != "X $srcdir/configure conftest.file" \
  2122       && test "$*" != "X conftest.file $srcdir/configure"; then
  2124       # If neither matched, then we have a broken ls.  This can happen
  2125       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2126       # broken ls alias from the environment.  This has actually
  2127       # happened.  Such a system could not be considered "sane".
  2128       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2129 alias in your environment" >&5
  2130 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2131 alias in your environment" >&2;}
  2132    { (exit 1); exit 1; }; }
  2133    fi
  2135    test "$2" = conftest.file
  2137 then
  2138    # Ok.
  2140 else
  2141    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2142 Check your system clock" >&5
  2143 $as_echo "$as_me: error: newly created file is older than distributed files!
  2144 Check your system clock" >&2;}
  2145    { (exit 1); exit 1; }; }
  2146 fi
  2147 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2148 $as_echo "yes" >&6; }
  2149 test "$program_prefix" != NONE &&
  2150   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2151 # Use a double $ so make ignores it.
  2152 test "$program_suffix" != NONE &&
  2153   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2154 # Double any \ or $.
  2155 # By default was `s,x,x', remove it if useless.
  2156 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2157 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2159 # expand $ac_aux_dir to an absolute path
  2160 am_aux_dir=`cd $ac_aux_dir && pwd`
  2162 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2163 # Use eval to expand $SHELL
  2164 if eval "$MISSING --run true"; then
  2165   am_missing_run="$MISSING --run "
  2166 else
  2167   am_missing_run=
  2168   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2169 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2170 fi
  2172 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2173   # We used to keeping the `.' as first argument, in order to
  2174   # allow $(mkdir_p) to be used without argument.  As in
  2175   #   $(mkdir_p) $(somedir)
  2176   # where $(somedir) is conditionally defined.  However this is wrong
  2177   # for two reasons:
  2178   #  1. if the package is installed by a user who cannot write `.'
  2179   #     make install will fail,
  2180   #  2. the above comment should most certainly read
  2181   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2182   #     so it does not work when $(somedir) is undefined and
  2183   #     $(DESTDIR) is not.
  2184   #  To support the latter case, we have to write
  2185   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2186   #  so the `.' trick is pointless.
  2187   mkdir_p='mkdir -p --'
  2188 else
  2189   # On NextStep and OpenStep, the `mkdir' command does not
  2190   # recognize any option.  It will interpret all options as
  2191   # directories to create, and then abort because `.' already
  2192   # exists.
  2193   for d in ./-p ./--version;
  2194   do
  2195     test -d $d && rmdir $d
  2196   done
  2197   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2198   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2199     mkdir_p='$(mkinstalldirs)'
  2200   else
  2201     mkdir_p='$(install_sh) -d'
  2202   fi
  2203 fi
  2205 for ac_prog in gawk mawk nawk awk
  2206 do
  2207   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2208 set dummy $ac_prog; ac_word=$2
  2209 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2210 $as_echo_n "checking for $ac_word... " >&6; }
  2211 if test "${ac_cv_prog_AWK+set}" = set; then
  2212   $as_echo_n "(cached) " >&6
  2213 else
  2214   if test -n "$AWK"; then
  2215   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2216 else
  2217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2218 for as_dir in $PATH
  2219 do
  2220   IFS=$as_save_IFS
  2221   test -z "$as_dir" && as_dir=.
  2222   for ac_exec_ext in '' $ac_executable_extensions; do
  2223   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2224     ac_cv_prog_AWK="$ac_prog"
  2225     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2226     break 2
  2227   fi
  2228 done
  2229 done
  2230 IFS=$as_save_IFS
  2232 fi
  2233 fi
  2234 AWK=$ac_cv_prog_AWK
  2235 if test -n "$AWK"; then
  2236   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2237 $as_echo "$AWK" >&6; }
  2238 else
  2239   { $as_echo "$as_me:$LINENO: result: no" >&5
  2240 $as_echo "no" >&6; }
  2241 fi
  2244   test -n "$AWK" && break
  2245 done
  2247 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2248 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2249 set x ${MAKE-make}
  2250 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2251 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2252   $as_echo_n "(cached) " >&6
  2253 else
  2254   cat >conftest.make <<\_ACEOF
  2255 SHELL = /bin/sh
  2256 all:
  2257 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2258 _ACEOF
  2259 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2260 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2261   *@@@%%%=?*=@@@%%%*)
  2262     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2263   *)
  2264     eval ac_cv_prog_make_${ac_make}_set=no;;
  2265 esac
  2266 rm -f conftest.make
  2267 fi
  2268 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2269   { $as_echo "$as_me:$LINENO: result: yes" >&5
  2270 $as_echo "yes" >&6; }
  2271   SET_MAKE=
  2272 else
  2273   { $as_echo "$as_me:$LINENO: result: no" >&5
  2274 $as_echo "no" >&6; }
  2275   SET_MAKE="MAKE=${MAKE-make}"
  2276 fi
  2278 rm -rf .tst 2>/dev/null
  2279 mkdir .tst 2>/dev/null
  2280 if test -d .tst; then
  2281   am__leading_dot=.
  2282 else
  2283   am__leading_dot=_
  2284 fi
  2285 rmdir .tst 2>/dev/null
  2287 # test to see if srcdir already configured
  2288 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2289    test -f $srcdir/config.status; then
  2290   { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2291 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2292    { (exit 1); exit 1; }; }
  2293 fi
  2295 # test whether we have cygpath
  2296 if test -z "$CYGPATH_W"; then
  2297   if (cygpath --version) >/dev/null 2>/dev/null; then
  2298     CYGPATH_W='cygpath -w'
  2299   else
  2300     CYGPATH_W=echo
  2301   fi
  2302 fi
  2305 # Define the identity of the package.
  2306  PACKAGE=lxdream
  2307  VERSION=0.9
  2310 cat >>confdefs.h <<_ACEOF
  2311 #define PACKAGE "$PACKAGE"
  2312 _ACEOF
  2315 cat >>confdefs.h <<_ACEOF
  2316 #define VERSION "$VERSION"
  2317 _ACEOF
  2319 # Some tools Automake needs.
  2321 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2324 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2327 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2330 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2333 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2335 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2337 # Installed binaries are usually stripped using `strip' when the user
  2338 # run `make install-strip'.  However `strip' might not be the right
  2339 # tool to use in cross-compilation environments, therefore Automake
  2340 # will honor the `STRIP' environment variable to overrule this program.
  2341 if test "$cross_compiling" != no; then
  2342   if test -n "$ac_tool_prefix"; then
  2343   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2344 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2345 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2346 $as_echo_n "checking for $ac_word... " >&6; }
  2347 if test "${ac_cv_prog_STRIP+set}" = set; then
  2348   $as_echo_n "(cached) " >&6
  2349 else
  2350   if test -n "$STRIP"; then
  2351   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2352 else
  2353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2354 for as_dir in $PATH
  2355 do
  2356   IFS=$as_save_IFS
  2357   test -z "$as_dir" && as_dir=.
  2358   for ac_exec_ext in '' $ac_executable_extensions; do
  2359   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2360     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2361     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2362     break 2
  2363   fi
  2364 done
  2365 done
  2366 IFS=$as_save_IFS
  2368 fi
  2369 fi
  2370 STRIP=$ac_cv_prog_STRIP
  2371 if test -n "$STRIP"; then
  2372   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2373 $as_echo "$STRIP" >&6; }
  2374 else
  2375   { $as_echo "$as_me:$LINENO: result: no" >&5
  2376 $as_echo "no" >&6; }
  2377 fi
  2380 fi
  2381 if test -z "$ac_cv_prog_STRIP"; then
  2382   ac_ct_STRIP=$STRIP
  2383   # Extract the first word of "strip", so it can be a program name with args.
  2384 set dummy strip; ac_word=$2
  2385 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2386 $as_echo_n "checking for $ac_word... " >&6; }
  2387 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2388   $as_echo_n "(cached) " >&6
  2389 else
  2390   if test -n "$ac_ct_STRIP"; then
  2391   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2392 else
  2393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2394 for as_dir in $PATH
  2395 do
  2396   IFS=$as_save_IFS
  2397   test -z "$as_dir" && as_dir=.
  2398   for ac_exec_ext in '' $ac_executable_extensions; do
  2399   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2400     ac_cv_prog_ac_ct_STRIP="strip"
  2401     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2402     break 2
  2403   fi
  2404 done
  2405 done
  2406 IFS=$as_save_IFS
  2408 fi
  2409 fi
  2410 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2411 if test -n "$ac_ct_STRIP"; then
  2412   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2413 $as_echo "$ac_ct_STRIP" >&6; }
  2414 else
  2415   { $as_echo "$as_me:$LINENO: result: no" >&5
  2416 $as_echo "no" >&6; }
  2417 fi
  2419   if test "x$ac_ct_STRIP" = x; then
  2420     STRIP=":"
  2421   else
  2422     case $cross_compiling:$ac_tool_warned in
  2423 yes:)
  2424 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2425 whose name does not start with the host triplet.  If you think this
  2426 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2427 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2428 whose name does not start with the host triplet.  If you think this
  2429 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2430 ac_tool_warned=yes ;;
  2431 esac
  2432     STRIP=$ac_ct_STRIP
  2433   fi
  2434 else
  2435   STRIP="$ac_cv_prog_STRIP"
  2436 fi
  2438 fi
  2439 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2441 # We need awk for the "check" target.  The system "awk" is bad on
  2442 # some platforms.
  2443 # Always define AMTAR for backward compatibility.
  2445 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2447 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2453 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2454 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2455     # Check whether --enable-maintainer-mode was given.
  2456 if test "${enable_maintainer_mode+set}" = set; then
  2457   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2458 else
  2459   USE_MAINTAINER_MODE=no
  2460 fi
  2462   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2463 $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2466 if test $USE_MAINTAINER_MODE = yes; then
  2467   MAINTAINER_MODE_TRUE=
  2468   MAINTAINER_MODE_FALSE='#'
  2469 else
  2470   MAINTAINER_MODE_TRUE='#'
  2471   MAINTAINER_MODE_FALSE=
  2472 fi
  2474   MAINT=$MAINTAINER_MODE_TRUE
  2477 ac_config_headers="$ac_config_headers config.h"
  2480 DEPDIR="${am__leading_dot}deps"
  2482 ac_config_commands="$ac_config_commands depfiles"
  2485 am_make=${MAKE-make}
  2486 cat > confinc << 'END'
  2487 am__doit:
  2488 	@echo done
  2489 .PHONY: am__doit
  2490 END
  2491 # If we don't find an include directive, just comment out the code.
  2492 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2493 $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2494 am__include="#"
  2495 am__quote=
  2496 _am_result=none
  2497 # First try GNU make style include.
  2498 echo "include confinc" > confmf
  2499 # We grep out `Entering directory' and `Leaving directory'
  2500 # messages which can occur if `w' ends up in MAKEFLAGS.
  2501 # In particular we don't look at `^make:' because GNU make might
  2502 # be invoked under some other name (usually "gmake"), in which
  2503 # case it prints its new name instead of `make'.
  2504 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2505    am__include=include
  2506    am__quote=
  2507    _am_result=GNU
  2508 fi
  2509 # Now try BSD make style include.
  2510 if test "$am__include" = "#"; then
  2511    echo '.include "confinc"' > confmf
  2512    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2513       am__include=.include
  2514       am__quote="\""
  2515       _am_result=BSD
  2516    fi
  2517 fi
  2520 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  2521 $as_echo "$_am_result" >&6; }
  2522 rm -f confinc confmf
  2524 # Check whether --enable-dependency-tracking was given.
  2525 if test "${enable_dependency_tracking+set}" = set; then
  2526   enableval=$enable_dependency_tracking;
  2527 fi
  2529 if test "x$enable_dependency_tracking" != xno; then
  2530   am_depcomp="$ac_aux_dir/depcomp"
  2531   AMDEPBACKSLASH='\'
  2532 fi
  2535 if test "x$enable_dependency_tracking" != xno; then
  2536   AMDEP_TRUE=
  2537   AMDEP_FALSE='#'
  2538 else
  2539   AMDEP_TRUE='#'
  2540   AMDEP_FALSE=
  2541 fi
  2545 ac_ext=c
  2546 ac_cpp='$CPP $CPPFLAGS'
  2547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2550 if test -n "$ac_tool_prefix"; then
  2551   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2552 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2553 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2554 $as_echo_n "checking for $ac_word... " >&6; }
  2555 if test "${ac_cv_prog_CC+set}" = set; then
  2556   $as_echo_n "(cached) " >&6
  2557 else
  2558   if test -n "$CC"; then
  2559   ac_cv_prog_CC="$CC" # Let the user override the test.
  2560 else
  2561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2562 for as_dir in $PATH
  2563 do
  2564   IFS=$as_save_IFS
  2565   test -z "$as_dir" && as_dir=.
  2566   for ac_exec_ext in '' $ac_executable_extensions; do
  2567   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2568     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2569     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2570     break 2
  2571   fi
  2572 done
  2573 done
  2574 IFS=$as_save_IFS
  2576 fi
  2577 fi
  2578 CC=$ac_cv_prog_CC
  2579 if test -n "$CC"; then
  2580   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2581 $as_echo "$CC" >&6; }
  2582 else
  2583   { $as_echo "$as_me:$LINENO: result: no" >&5
  2584 $as_echo "no" >&6; }
  2585 fi
  2588 fi
  2589 if test -z "$ac_cv_prog_CC"; then
  2590   ac_ct_CC=$CC
  2591   # Extract the first word of "gcc", so it can be a program name with args.
  2592 set dummy gcc; ac_word=$2
  2593 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2594 $as_echo_n "checking for $ac_word... " >&6; }
  2595 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2596   $as_echo_n "(cached) " >&6
  2597 else
  2598   if test -n "$ac_ct_CC"; then
  2599   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2600 else
  2601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2602 for as_dir in $PATH
  2603 do
  2604   IFS=$as_save_IFS
  2605   test -z "$as_dir" && as_dir=.
  2606   for ac_exec_ext in '' $ac_executable_extensions; do
  2607   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2608     ac_cv_prog_ac_ct_CC="gcc"
  2609     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2610     break 2
  2611   fi
  2612 done
  2613 done
  2614 IFS=$as_save_IFS
  2616 fi
  2617 fi
  2618 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2619 if test -n "$ac_ct_CC"; then
  2620   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2621 $as_echo "$ac_ct_CC" >&6; }
  2622 else
  2623   { $as_echo "$as_me:$LINENO: result: no" >&5
  2624 $as_echo "no" >&6; }
  2625 fi
  2627   if test "x$ac_ct_CC" = x; then
  2628     CC=""
  2629   else
  2630     case $cross_compiling:$ac_tool_warned in
  2631 yes:)
  2632 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2633 whose name does not start with the host triplet.  If you think this
  2634 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2635 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2636 whose name does not start with the host triplet.  If you think this
  2637 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2638 ac_tool_warned=yes ;;
  2639 esac
  2640     CC=$ac_ct_CC
  2641   fi
  2642 else
  2643   CC="$ac_cv_prog_CC"
  2644 fi
  2646 if test -z "$CC"; then
  2647           if test -n "$ac_tool_prefix"; then
  2648     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2649 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2650 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2651 $as_echo_n "checking for $ac_word... " >&6; }
  2652 if test "${ac_cv_prog_CC+set}" = set; then
  2653   $as_echo_n "(cached) " >&6
  2654 else
  2655   if test -n "$CC"; then
  2656   ac_cv_prog_CC="$CC" # Let the user override the test.
  2657 else
  2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2659 for as_dir in $PATH
  2660 do
  2661   IFS=$as_save_IFS
  2662   test -z "$as_dir" && as_dir=.
  2663   for ac_exec_ext in '' $ac_executable_extensions; do
  2664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2665     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2666     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2667     break 2
  2668   fi
  2669 done
  2670 done
  2671 IFS=$as_save_IFS
  2673 fi
  2674 fi
  2675 CC=$ac_cv_prog_CC
  2676 if test -n "$CC"; then
  2677   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2678 $as_echo "$CC" >&6; }
  2679 else
  2680   { $as_echo "$as_me:$LINENO: result: no" >&5
  2681 $as_echo "no" >&6; }
  2682 fi
  2685   fi
  2686 fi
  2687 if test -z "$CC"; then
  2688   # Extract the first word of "cc", so it can be a program name with args.
  2689 set dummy cc; ac_word=$2
  2690 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2691 $as_echo_n "checking for $ac_word... " >&6; }
  2692 if test "${ac_cv_prog_CC+set}" = set; then
  2693   $as_echo_n "(cached) " >&6
  2694 else
  2695   if test -n "$CC"; then
  2696   ac_cv_prog_CC="$CC" # Let the user override the test.
  2697 else
  2698   ac_prog_rejected=no
  2699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2700 for as_dir in $PATH
  2701 do
  2702   IFS=$as_save_IFS
  2703   test -z "$as_dir" && as_dir=.
  2704   for ac_exec_ext in '' $ac_executable_extensions; do
  2705   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2706     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2707        ac_prog_rejected=yes
  2708        continue
  2709      fi
  2710     ac_cv_prog_CC="cc"
  2711     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2712     break 2
  2713   fi
  2714 done
  2715 done
  2716 IFS=$as_save_IFS
  2718 if test $ac_prog_rejected = yes; then
  2719   # We found a bogon in the path, so make sure we never use it.
  2720   set dummy $ac_cv_prog_CC
  2721   shift
  2722   if test $# != 0; then
  2723     # We chose a different compiler from the bogus one.
  2724     # However, it has the same basename, so the bogon will be chosen
  2725     # first if we set CC to just the basename; use the full file name.
  2726     shift
  2727     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2728   fi
  2729 fi
  2730 fi
  2731 fi
  2732 CC=$ac_cv_prog_CC
  2733 if test -n "$CC"; then
  2734   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2735 $as_echo "$CC" >&6; }
  2736 else
  2737   { $as_echo "$as_me:$LINENO: result: no" >&5
  2738 $as_echo "no" >&6; }
  2739 fi
  2742 fi
  2743 if test -z "$CC"; then
  2744   if test -n "$ac_tool_prefix"; then
  2745   for ac_prog in cl.exe
  2746   do
  2747     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2748 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2749 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2750 $as_echo_n "checking for $ac_word... " >&6; }
  2751 if test "${ac_cv_prog_CC+set}" = set; then
  2752   $as_echo_n "(cached) " >&6
  2753 else
  2754   if test -n "$CC"; then
  2755   ac_cv_prog_CC="$CC" # Let the user override the test.
  2756 else
  2757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2758 for as_dir in $PATH
  2759 do
  2760   IFS=$as_save_IFS
  2761   test -z "$as_dir" && as_dir=.
  2762   for ac_exec_ext in '' $ac_executable_extensions; do
  2763   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2764     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2765     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2766     break 2
  2767   fi
  2768 done
  2769 done
  2770 IFS=$as_save_IFS
  2772 fi
  2773 fi
  2774 CC=$ac_cv_prog_CC
  2775 if test -n "$CC"; then
  2776   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2777 $as_echo "$CC" >&6; }
  2778 else
  2779   { $as_echo "$as_me:$LINENO: result: no" >&5
  2780 $as_echo "no" >&6; }
  2781 fi
  2784     test -n "$CC" && break
  2785   done
  2786 fi
  2787 if test -z "$CC"; then
  2788   ac_ct_CC=$CC
  2789   for ac_prog in cl.exe
  2790 do
  2791   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2792 set dummy $ac_prog; ac_word=$2
  2793 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2794 $as_echo_n "checking for $ac_word... " >&6; }
  2795 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2796   $as_echo_n "(cached) " >&6
  2797 else
  2798   if test -n "$ac_ct_CC"; then
  2799   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2800 else
  2801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2802 for as_dir in $PATH
  2803 do
  2804   IFS=$as_save_IFS
  2805   test -z "$as_dir" && as_dir=.
  2806   for ac_exec_ext in '' $ac_executable_extensions; do
  2807   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2808     ac_cv_prog_ac_ct_CC="$ac_prog"
  2809     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2810     break 2
  2811   fi
  2812 done
  2813 done
  2814 IFS=$as_save_IFS
  2816 fi
  2817 fi
  2818 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2819 if test -n "$ac_ct_CC"; then
  2820   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2821 $as_echo "$ac_ct_CC" >&6; }
  2822 else
  2823   { $as_echo "$as_me:$LINENO: result: no" >&5
  2824 $as_echo "no" >&6; }
  2825 fi
  2828   test -n "$ac_ct_CC" && break
  2829 done
  2831   if test "x$ac_ct_CC" = x; then
  2832     CC=""
  2833   else
  2834     case $cross_compiling:$ac_tool_warned in
  2835 yes:)
  2836 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2837 whose name does not start with the host triplet.  If you think this
  2838 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2839 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2840 whose name does not start with the host triplet.  If you think this
  2841 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2842 ac_tool_warned=yes ;;
  2843 esac
  2844     CC=$ac_ct_CC
  2845   fi
  2846 fi
  2848 fi
  2851 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2852 See \`config.log' for more details." >&5
  2853 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2854 See \`config.log' for more details." >&2;}
  2855    { (exit 1); exit 1; }; }
  2857 # Provide some information about the compiler.
  2858 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2859 set X $ac_compile
  2860 ac_compiler=$2
  2861 { (ac_try="$ac_compiler --version >&5"
  2862 case "(($ac_try" in
  2863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2864   *) ac_try_echo=$ac_try;;
  2865 esac
  2866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2867 $as_echo "$ac_try_echo") >&5
  2868   (eval "$ac_compiler --version >&5") 2>&5
  2869   ac_status=$?
  2870   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2871   (exit $ac_status); }
  2872 { (ac_try="$ac_compiler -v >&5"
  2873 case "(($ac_try" in
  2874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2875   *) ac_try_echo=$ac_try;;
  2876 esac
  2877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2878 $as_echo "$ac_try_echo") >&5
  2879   (eval "$ac_compiler -v >&5") 2>&5
  2880   ac_status=$?
  2881   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2882   (exit $ac_status); }
  2883 { (ac_try="$ac_compiler -V >&5"
  2884 case "(($ac_try" in
  2885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2886   *) ac_try_echo=$ac_try;;
  2887 esac
  2888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2889 $as_echo "$ac_try_echo") >&5
  2890   (eval "$ac_compiler -V >&5") 2>&5
  2891   ac_status=$?
  2892   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2893   (exit $ac_status); }
  2895 cat >conftest.$ac_ext <<_ACEOF
  2896 /* confdefs.h.  */
  2897 _ACEOF
  2898 cat confdefs.h >>conftest.$ac_ext
  2899 cat >>conftest.$ac_ext <<_ACEOF
  2900 /* end confdefs.h.  */
  2902 int
  2903 main ()
  2907   return 0;
  2909 _ACEOF
  2910 ac_clean_files_save=$ac_clean_files
  2911 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2912 # Try to create an executable without -o first, disregard a.out.
  2913 # It will help us diagnose broken compilers, and finding out an intuition
  2914 # of exeext.
  2915 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2916 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2917 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2919 # The possible output files:
  2920 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2922 ac_rmfiles=
  2923 for ac_file in $ac_files
  2924 do
  2925   case $ac_file in
  2926     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2927     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2928   esac
  2929 done
  2930 rm -f $ac_rmfiles
  2932 if { (ac_try="$ac_link_default"
  2933 case "(($ac_try" in
  2934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2935   *) ac_try_echo=$ac_try;;
  2936 esac
  2937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2938 $as_echo "$ac_try_echo") >&5
  2939   (eval "$ac_link_default") 2>&5
  2940   ac_status=$?
  2941   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2942   (exit $ac_status); }; then
  2943   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2944 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2945 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2946 # so that the user can short-circuit this test for compilers unknown to
  2947 # Autoconf.
  2948 for ac_file in $ac_files ''
  2949 do
  2950   test -f "$ac_file" || continue
  2951   case $ac_file in
  2952     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2953 	;;
  2954     [ab].out )
  2955 	# We found the default executable, but exeext='' is most
  2956 	# certainly right.
  2957 	break;;
  2958     *.* )
  2959         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2960 	then :; else
  2961 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2962 	fi
  2963 	# We set ac_cv_exeext here because the later test for it is not
  2964 	# safe: cross compilers may not add the suffix if given an `-o'
  2965 	# argument, so we may need to know it at that point already.
  2966 	# Even if this section looks crufty: it has the advantage of
  2967 	# actually working.
  2968 	break;;
  2969     * )
  2970 	break;;
  2971   esac
  2972 done
  2973 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2975 else
  2976   ac_file=''
  2977 fi
  2979 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2980 $as_echo "$ac_file" >&6; }
  2981 if test -z "$ac_file"; then
  2982   $as_echo "$as_me: failed program was:" >&5
  2983 sed 's/^/| /' conftest.$ac_ext >&5
  2985 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2986 See \`config.log' for more details." >&5
  2987 $as_echo "$as_me: error: C compiler cannot create executables
  2988 See \`config.log' for more details." >&2;}
  2989    { (exit 77); exit 77; }; }
  2990 fi
  2992 ac_exeext=$ac_cv_exeext
  2994 # Check that the compiler produces executables we can run.  If not, either
  2995 # the compiler is broken, or we cross compile.
  2996 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2997 $as_echo_n "checking whether the C compiler works... " >&6; }
  2998 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2999 # If not cross compiling, check that we can run a simple program.
  3000 if test "$cross_compiling" != yes; then
  3001   if { ac_try='./$ac_file'
  3002   { (case "(($ac_try" in
  3003   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3004   *) ac_try_echo=$ac_try;;
  3005 esac
  3006 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3007 $as_echo "$ac_try_echo") >&5
  3008   (eval "$ac_try") 2>&5
  3009   ac_status=$?
  3010   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3011   (exit $ac_status); }; }; then
  3012     cross_compiling=no
  3013   else
  3014     if test "$cross_compiling" = maybe; then
  3015 	cross_compiling=yes
  3016     else
  3017 	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3018 If you meant to cross compile, use \`--host'.
  3019 See \`config.log' for more details." >&5
  3020 $as_echo "$as_me: error: cannot run C compiled programs.
  3021 If you meant to cross compile, use \`--host'.
  3022 See \`config.log' for more details." >&2;}
  3023    { (exit 1); exit 1; }; }
  3024     fi
  3025   fi
  3026 fi
  3027 { $as_echo "$as_me:$LINENO: result: yes" >&5
  3028 $as_echo "yes" >&6; }
  3030 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3031 ac_clean_files=$ac_clean_files_save
  3032 # Check that the compiler produces executables we can run.  If not, either
  3033 # the compiler is broken, or we cross compile.
  3034 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3035 $as_echo_n "checking whether we are cross compiling... " >&6; }
  3036 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3037 $as_echo "$cross_compiling" >&6; }
  3039 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3040 $as_echo_n "checking for suffix of executables... " >&6; }
  3041 if { (ac_try="$ac_link"
  3042 case "(($ac_try" in
  3043   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3044   *) ac_try_echo=$ac_try;;
  3045 esac
  3046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3047 $as_echo "$ac_try_echo") >&5
  3048   (eval "$ac_link") 2>&5
  3049   ac_status=$?
  3050   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3051   (exit $ac_status); }; then
  3052   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3053 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3054 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3055 # `rm'.
  3056 for ac_file in conftest.exe conftest conftest.*; do
  3057   test -f "$ac_file" || continue
  3058   case $ac_file in
  3059     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3060     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3061 	  break;;
  3062     * ) break;;
  3063   esac
  3064 done
  3065 else
  3066   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3067 See \`config.log' for more details." >&5
  3068 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3069 See \`config.log' for more details." >&2;}
  3070    { (exit 1); exit 1; }; }
  3071 fi
  3073 rm -f conftest$ac_cv_exeext
  3074 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3075 $as_echo "$ac_cv_exeext" >&6; }
  3077 rm -f conftest.$ac_ext
  3078 EXEEXT=$ac_cv_exeext
  3079 ac_exeext=$EXEEXT
  3080 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3081 $as_echo_n "checking for suffix of object files... " >&6; }
  3082 if test "${ac_cv_objext+set}" = set; then
  3083   $as_echo_n "(cached) " >&6
  3084 else
  3085   cat >conftest.$ac_ext <<_ACEOF
  3086 /* confdefs.h.  */
  3087 _ACEOF
  3088 cat confdefs.h >>conftest.$ac_ext
  3089 cat >>conftest.$ac_ext <<_ACEOF
  3090 /* end confdefs.h.  */
  3092 int
  3093 main ()
  3097   return 0;
  3099 _ACEOF
  3100 rm -f conftest.o conftest.obj
  3101 if { (ac_try="$ac_compile"
  3102 case "(($ac_try" in
  3103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3104   *) ac_try_echo=$ac_try;;
  3105 esac
  3106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3107 $as_echo "$ac_try_echo") >&5
  3108   (eval "$ac_compile") 2>&5
  3109   ac_status=$?
  3110   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3111   (exit $ac_status); }; then
  3112   for ac_file in conftest.o conftest.obj conftest.*; do
  3113   test -f "$ac_file" || continue;
  3114   case $ac_file in
  3115     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3116     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3117        break;;
  3118   esac
  3119 done
  3120 else
  3121   $as_echo "$as_me: failed program was:" >&5
  3122 sed 's/^/| /' conftest.$ac_ext >&5
  3124 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3125 See \`config.log' for more details." >&5
  3126 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3127 See \`config.log' for more details." >&2;}
  3128    { (exit 1); exit 1; }; }
  3129 fi
  3131 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3132 fi
  3133 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3134 $as_echo "$ac_cv_objext" >&6; }
  3135 OBJEXT=$ac_cv_objext
  3136 ac_objext=$OBJEXT
  3137 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3138 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3139 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3140   $as_echo_n "(cached) " >&6
  3141 else
  3142   cat >conftest.$ac_ext <<_ACEOF
  3143 /* confdefs.h.  */
  3144 _ACEOF
  3145 cat confdefs.h >>conftest.$ac_ext
  3146 cat >>conftest.$ac_ext <<_ACEOF
  3147 /* end confdefs.h.  */
  3149 int
  3150 main ()
  3152 #ifndef __GNUC__
  3153        choke me
  3154 #endif
  3157   return 0;
  3159 _ACEOF
  3160 rm -f conftest.$ac_objext
  3161 if { (ac_try="$ac_compile"
  3162 case "(($ac_try" in
  3163   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3164   *) ac_try_echo=$ac_try;;
  3165 esac
  3166 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3167 $as_echo "$ac_try_echo") >&5
  3168   (eval "$ac_compile") 2>conftest.er1
  3169   ac_status=$?
  3170   grep -v '^ *+' conftest.er1 >conftest.err
  3171   rm -f conftest.er1
  3172   cat conftest.err >&5
  3173   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3174   (exit $ac_status); } && {
  3175 	 test -z "$ac_c_werror_flag" ||
  3176 	 test ! -s conftest.err
  3177        } && test -s conftest.$ac_objext; then
  3178   ac_compiler_gnu=yes
  3179 else
  3180   $as_echo "$as_me: failed program was:" >&5
  3181 sed 's/^/| /' conftest.$ac_ext >&5
  3183 	ac_compiler_gnu=no
  3184 fi
  3186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3187 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3189 fi
  3190 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3191 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3192 if test $ac_compiler_gnu = yes; then
  3193   GCC=yes
  3194 else
  3195   GCC=
  3196 fi
  3197 ac_test_CFLAGS=${CFLAGS+set}
  3198 ac_save_CFLAGS=$CFLAGS
  3199 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3200 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3201 if test "${ac_cv_prog_cc_g+set}" = set; then
  3202   $as_echo_n "(cached) " >&6
  3203 else
  3204   ac_save_c_werror_flag=$ac_c_werror_flag
  3205    ac_c_werror_flag=yes
  3206    ac_cv_prog_cc_g=no
  3207    CFLAGS="-g"
  3208    cat >conftest.$ac_ext <<_ACEOF
  3209 /* confdefs.h.  */
  3210 _ACEOF
  3211 cat confdefs.h >>conftest.$ac_ext
  3212 cat >>conftest.$ac_ext <<_ACEOF
  3213 /* end confdefs.h.  */
  3215 int
  3216 main ()
  3220   return 0;
  3222 _ACEOF
  3223 rm -f conftest.$ac_objext
  3224 if { (ac_try="$ac_compile"
  3225 case "(($ac_try" in
  3226   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3227   *) ac_try_echo=$ac_try;;
  3228 esac
  3229 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3230 $as_echo "$ac_try_echo") >&5
  3231   (eval "$ac_compile") 2>conftest.er1
  3232   ac_status=$?
  3233   grep -v '^ *+' conftest.er1 >conftest.err
  3234   rm -f conftest.er1
  3235   cat conftest.err >&5
  3236   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3237   (exit $ac_status); } && {
  3238 	 test -z "$ac_c_werror_flag" ||
  3239 	 test ! -s conftest.err
  3240        } && test -s conftest.$ac_objext; then
  3241   ac_cv_prog_cc_g=yes
  3242 else
  3243   $as_echo "$as_me: failed program was:" >&5
  3244 sed 's/^/| /' conftest.$ac_ext >&5
  3246 	CFLAGS=""
  3247       cat >conftest.$ac_ext <<_ACEOF
  3248 /* confdefs.h.  */
  3249 _ACEOF
  3250 cat confdefs.h >>conftest.$ac_ext
  3251 cat >>conftest.$ac_ext <<_ACEOF
  3252 /* end confdefs.h.  */
  3254 int
  3255 main ()
  3259   return 0;
  3261 _ACEOF
  3262 rm -f conftest.$ac_objext
  3263 if { (ac_try="$ac_compile"
  3264 case "(($ac_try" in
  3265   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3266   *) ac_try_echo=$ac_try;;
  3267 esac
  3268 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3269 $as_echo "$ac_try_echo") >&5
  3270   (eval "$ac_compile") 2>conftest.er1
  3271   ac_status=$?
  3272   grep -v '^ *+' conftest.er1 >conftest.err
  3273   rm -f conftest.er1
  3274   cat conftest.err >&5
  3275   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3276   (exit $ac_status); } && {
  3277 	 test -z "$ac_c_werror_flag" ||
  3278 	 test ! -s conftest.err
  3279        } && test -s conftest.$ac_objext; then
  3281 else
  3282   $as_echo "$as_me: failed program was:" >&5
  3283 sed 's/^/| /' conftest.$ac_ext >&5
  3285 	ac_c_werror_flag=$ac_save_c_werror_flag
  3286 	 CFLAGS="-g"
  3287 	 cat >conftest.$ac_ext <<_ACEOF
  3288 /* confdefs.h.  */
  3289 _ACEOF
  3290 cat confdefs.h >>conftest.$ac_ext
  3291 cat >>conftest.$ac_ext <<_ACEOF
  3292 /* end confdefs.h.  */
  3294 int
  3295 main ()
  3299   return 0;
  3301 _ACEOF
  3302 rm -f conftest.$ac_objext
  3303 if { (ac_try="$ac_compile"
  3304 case "(($ac_try" in
  3305   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3306   *) ac_try_echo=$ac_try;;
  3307 esac
  3308 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3309 $as_echo "$ac_try_echo") >&5
  3310   (eval "$ac_compile") 2>conftest.er1
  3311   ac_status=$?
  3312   grep -v '^ *+' conftest.er1 >conftest.err
  3313   rm -f conftest.er1
  3314   cat conftest.err >&5
  3315   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3316   (exit $ac_status); } && {
  3317 	 test -z "$ac_c_werror_flag" ||
  3318 	 test ! -s conftest.err
  3319        } && test -s conftest.$ac_objext; then
  3320   ac_cv_prog_cc_g=yes
  3321 else
  3322   $as_echo "$as_me: failed program was:" >&5
  3323 sed 's/^/| /' conftest.$ac_ext >&5
  3326 fi
  3328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3329 fi
  3331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3332 fi
  3334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3335    ac_c_werror_flag=$ac_save_c_werror_flag
  3336 fi
  3337 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3338 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3339 if test "$ac_test_CFLAGS" = set; then
  3340   CFLAGS=$ac_save_CFLAGS
  3341 elif test $ac_cv_prog_cc_g = yes; then
  3342   if test "$GCC" = yes; then
  3343     CFLAGS="-g -O2"
  3344   else
  3345     CFLAGS="-g"
  3346   fi
  3347 else
  3348   if test "$GCC" = yes; then
  3349     CFLAGS="-O2"
  3350   else
  3351     CFLAGS=
  3352   fi
  3353 fi
  3354 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3355 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3356 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3357   $as_echo_n "(cached) " >&6
  3358 else
  3359   ac_cv_prog_cc_c89=no
  3360 ac_save_CC=$CC
  3361 cat >conftest.$ac_ext <<_ACEOF
  3362 /* confdefs.h.  */
  3363 _ACEOF
  3364 cat confdefs.h >>conftest.$ac_ext
  3365 cat >>conftest.$ac_ext <<_ACEOF
  3366 /* end confdefs.h.  */
  3367 #include <stdarg.h>
  3368 #include <stdio.h>
  3369 #include <sys/types.h>
  3370 #include <sys/stat.h>
  3371 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3372 struct buf { int x; };
  3373 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3374 static char *e (p, i)
  3375      char **p;
  3376      int i;
  3378   return p[i];
  3380 static char *f (char * (*g) (char **, int), char **p, ...)
  3382   char *s;
  3383   va_list v;
  3384   va_start (v,p);
  3385   s = g (p, va_arg (v,int));
  3386   va_end (v);
  3387   return s;
  3390 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3391    function prototypes and stuff, but not '\xHH' hex character constants.
  3392    These don't provoke an error unfortunately, instead are silently treated
  3393    as 'x'.  The following induces an error, until -std is added to get
  3394    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3395    array size at least.  It's necessary to write '\x00'==0 to get something
  3396    that's true only with -std.  */
  3397 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3399 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3400    inside strings and character constants.  */
  3401 #define FOO(x) 'x'
  3402 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3404 int test (int i, double x);
  3405 struct s1 {int (*f) (int a);};
  3406 struct s2 {int (*f) (double a);};
  3407 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3408 int argc;
  3409 char **argv;
  3410 int
  3411 main ()
  3413 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3415   return 0;
  3417 _ACEOF
  3418 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3419 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3420 do
  3421   CC="$ac_save_CC $ac_arg"
  3422   rm -f conftest.$ac_objext
  3423 if { (ac_try="$ac_compile"
  3424 case "(($ac_try" in
  3425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3426   *) ac_try_echo=$ac_try;;
  3427 esac
  3428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3429 $as_echo "$ac_try_echo") >&5
  3430   (eval "$ac_compile") 2>conftest.er1
  3431   ac_status=$?
  3432   grep -v '^ *+' conftest.er1 >conftest.err
  3433   rm -f conftest.er1
  3434   cat conftest.err >&5
  3435   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3436   (exit $ac_status); } && {
  3437 	 test -z "$ac_c_werror_flag" ||
  3438 	 test ! -s conftest.err
  3439        } && test -s conftest.$ac_objext; then
  3440   ac_cv_prog_cc_c89=$ac_arg
  3441 else
  3442   $as_echo "$as_me: failed program was:" >&5
  3443 sed 's/^/| /' conftest.$ac_ext >&5
  3446 fi
  3448 rm -f core conftest.err conftest.$ac_objext
  3449   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3450 done
  3451 rm -f conftest.$ac_ext
  3452 CC=$ac_save_CC
  3454 fi
  3455 # AC_CACHE_VAL
  3456 case "x$ac_cv_prog_cc_c89" in
  3457   x)
  3458     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3459 $as_echo "none needed" >&6; } ;;
  3460   xno)
  3461     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3462 $as_echo "unsupported" >&6; } ;;
  3463   *)
  3464     CC="$CC $ac_cv_prog_cc_c89"
  3465     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3466 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3467 esac
  3470 ac_ext=c
  3471 ac_cpp='$CPP $CPPFLAGS'
  3472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3476 depcc="$CC"   am_compiler_list=
  3478 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3479 $as_echo_n "checking dependency style of $depcc... " >&6; }
  3480 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3481   $as_echo_n "(cached) " >&6
  3482 else
  3483   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3484   # We make a subdir and do the tests there.  Otherwise we can end up
  3485   # making bogus files that we don't know about and never remove.  For
  3486   # instance it was reported that on HP-UX the gcc test will end up
  3487   # making a dummy file named `D' -- because `-MD' means `put the output
  3488   # in D'.
  3489   mkdir conftest.dir
  3490   # Copy depcomp to subdir because otherwise we won't find it if we're
  3491   # using a relative directory.
  3492   cp "$am_depcomp" conftest.dir
  3493   cd conftest.dir
  3494   # We will build objects and dependencies in a subdirectory because
  3495   # it helps to detect inapplicable dependency modes.  For instance
  3496   # both Tru64's cc and ICC support -MD to output dependencies as a
  3497   # side effect of compilation, but ICC will put the dependencies in
  3498   # the current directory while Tru64 will put them in the object
  3499   # directory.
  3500   mkdir sub
  3502   am_cv_CC_dependencies_compiler_type=none
  3503   if test "$am_compiler_list" = ""; then
  3504      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3505   fi
  3506   for depmode in $am_compiler_list; do
  3507     # Setup a source with many dependencies, because some compilers
  3508     # like to wrap large dependency lists on column 80 (with \), and
  3509     # we should not choose a depcomp mode which is confused by this.
  3511     # We need to recreate these files for each test, as the compiler may
  3512     # overwrite some of them when testing with obscure command lines.
  3513     # This happens at least with the AIX C compiler.
  3514     : > sub/conftest.c
  3515     for i in 1 2 3 4 5 6; do
  3516       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3517       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3518       # Solaris 8's {/usr,}/bin/sh.
  3519       touch sub/conftst$i.h
  3520     done
  3521     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3523     case $depmode in
  3524     nosideeffect)
  3525       # after this tag, mechanisms are not by side-effect, so they'll
  3526       # only be used when explicitly requested
  3527       if test "x$enable_dependency_tracking" = xyes; then
  3528 	continue
  3529       else
  3530 	break
  3531       fi
  3532       ;;
  3533     none) break ;;
  3534     esac
  3535     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3536     # mode.  It turns out that the SunPro C++ compiler does not properly
  3537     # handle `-M -o', and we need to detect this.
  3538     if depmode=$depmode \
  3539        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3540        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3541        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3542          >/dev/null 2>conftest.err &&
  3543        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3544        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3545        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3546       # icc doesn't choke on unknown options, it will just issue warnings
  3547       # or remarks (even with -Werror).  So we grep stderr for any message
  3548       # that says an option was ignored or not supported.
  3549       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3550       #   icc: Command line warning: ignoring option '-M'; no argument required
  3551       # The diagnosis changed in icc 8.0:
  3552       #   icc: Command line remark: option '-MP' not supported
  3553       if (grep 'ignoring option' conftest.err ||
  3554           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3555         am_cv_CC_dependencies_compiler_type=$depmode
  3556         break
  3557       fi
  3558     fi
  3559   done
  3561   cd ..
  3562   rm -rf conftest.dir
  3563 else
  3564   am_cv_CC_dependencies_compiler_type=none
  3565 fi
  3567 fi
  3568 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3569 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3570 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3574 if
  3575   test "x$enable_dependency_tracking" != xno \
  3576   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3577   am__fastdepCC_TRUE=
  3578   am__fastdepCC_FALSE='#'
  3579 else
  3580   am__fastdepCC_TRUE='#'
  3581   am__fastdepCC_FALSE=
  3582 fi
  3587         { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3588 $as_echo_n "checking for strerror in -lcposix... " >&6; }
  3589 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3590   $as_echo_n "(cached) " >&6
  3591 else
  3592   ac_check_lib_save_LIBS=$LIBS
  3593 LIBS="-lcposix  $LIBS"
  3594 cat >conftest.$ac_ext <<_ACEOF
  3595 /* confdefs.h.  */
  3596 _ACEOF
  3597 cat confdefs.h >>conftest.$ac_ext
  3598 cat >>conftest.$ac_ext <<_ACEOF
  3599 /* end confdefs.h.  */
  3601 /* Override any GCC internal prototype to avoid an error.
  3602    Use char because int might match the return type of a GCC
  3603    builtin and then its argument prototype would still apply.  */
  3604 #ifdef __cplusplus
  3605 extern "C"
  3606 #endif
  3607 char strerror ();
  3608 int
  3609 main ()
  3611 return strerror ();
  3613   return 0;
  3615 _ACEOF
  3616 rm -f conftest.$ac_objext conftest$ac_exeext
  3617 if { (ac_try="$ac_link"
  3618 case "(($ac_try" in
  3619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3620   *) ac_try_echo=$ac_try;;
  3621 esac
  3622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3623 $as_echo "$ac_try_echo") >&5
  3624   (eval "$ac_link") 2>conftest.er1
  3625   ac_status=$?
  3626   grep -v '^ *+' conftest.er1 >conftest.err
  3627   rm -f conftest.er1
  3628   cat conftest.err >&5
  3629   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3630   (exit $ac_status); } && {
  3631 	 test -z "$ac_c_werror_flag" ||
  3632 	 test ! -s conftest.err
  3633        } && test -s conftest$ac_exeext && {
  3634 	 test "$cross_compiling" = yes ||
  3635 	 $as_test_x conftest$ac_exeext
  3636        }; then
  3637   ac_cv_lib_cposix_strerror=yes
  3638 else
  3639   $as_echo "$as_me: failed program was:" >&5
  3640 sed 's/^/| /' conftest.$ac_ext >&5
  3642 	ac_cv_lib_cposix_strerror=no
  3643 fi
  3645 rm -rf conftest.dSYM
  3646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3647       conftest$ac_exeext conftest.$ac_ext
  3648 LIBS=$ac_check_lib_save_LIBS
  3649 fi
  3650 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3651 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
  3652 if test $ac_cv_lib_cposix_strerror = yes; then
  3653   LIBS="$LIBS -lcposix"
  3654 fi
  3658 ac_ext=c
  3659 ac_cpp='$CPP $CPPFLAGS'
  3660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3663 if test -n "$ac_tool_prefix"; then
  3664   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3665 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3666 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3667 $as_echo_n "checking for $ac_word... " >&6; }
  3668 if test "${ac_cv_prog_CC+set}" = set; then
  3669   $as_echo_n "(cached) " >&6
  3670 else
  3671   if test -n "$CC"; then
  3672   ac_cv_prog_CC="$CC" # Let the user override the test.
  3673 else
  3674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3675 for as_dir in $PATH
  3676 do
  3677   IFS=$as_save_IFS
  3678   test -z "$as_dir" && as_dir=.
  3679   for ac_exec_ext in '' $ac_executable_extensions; do
  3680   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3681     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3682     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3683     break 2
  3684   fi
  3685 done
  3686 done
  3687 IFS=$as_save_IFS
  3689 fi
  3690 fi
  3691 CC=$ac_cv_prog_CC
  3692 if test -n "$CC"; then
  3693   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3694 $as_echo "$CC" >&6; }
  3695 else
  3696   { $as_echo "$as_me:$LINENO: result: no" >&5
  3697 $as_echo "no" >&6; }
  3698 fi
  3701 fi
  3702 if test -z "$ac_cv_prog_CC"; then
  3703   ac_ct_CC=$CC
  3704   # Extract the first word of "gcc", so it can be a program name with args.
  3705 set dummy gcc; ac_word=$2
  3706 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3707 $as_echo_n "checking for $ac_word... " >&6; }
  3708 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3709   $as_echo_n "(cached) " >&6
  3710 else
  3711   if test -n "$ac_ct_CC"; then
  3712   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3713 else
  3714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3715 for as_dir in $PATH
  3716 do
  3717   IFS=$as_save_IFS
  3718   test -z "$as_dir" && as_dir=.
  3719   for ac_exec_ext in '' $ac_executable_extensions; do
  3720   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3721     ac_cv_prog_ac_ct_CC="gcc"
  3722     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3723     break 2
  3724   fi
  3725 done
  3726 done
  3727 IFS=$as_save_IFS
  3729 fi
  3730 fi
  3731 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3732 if test -n "$ac_ct_CC"; then
  3733   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3734 $as_echo "$ac_ct_CC" >&6; }
  3735 else
  3736   { $as_echo "$as_me:$LINENO: result: no" >&5
  3737 $as_echo "no" >&6; }
  3738 fi
  3740   if test "x$ac_ct_CC" = x; then
  3741     CC=""
  3742   else
  3743     case $cross_compiling:$ac_tool_warned in
  3744 yes:)
  3745 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3746 whose name does not start with the host triplet.  If you think this
  3747 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3748 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3749 whose name does not start with the host triplet.  If you think this
  3750 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3751 ac_tool_warned=yes ;;
  3752 esac
  3753     CC=$ac_ct_CC
  3754   fi
  3755 else
  3756   CC="$ac_cv_prog_CC"
  3757 fi
  3759 if test -z "$CC"; then
  3760           if test -n "$ac_tool_prefix"; then
  3761     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3762 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3763 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3764 $as_echo_n "checking for $ac_word... " >&6; }
  3765 if test "${ac_cv_prog_CC+set}" = set; then
  3766   $as_echo_n "(cached) " >&6
  3767 else
  3768   if test -n "$CC"; then
  3769   ac_cv_prog_CC="$CC" # Let the user override the test.
  3770 else
  3771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3772 for as_dir in $PATH
  3773 do
  3774   IFS=$as_save_IFS
  3775   test -z "$as_dir" && as_dir=.
  3776   for ac_exec_ext in '' $ac_executable_extensions; do
  3777   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3778     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3779     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3780     break 2
  3781   fi
  3782 done
  3783 done
  3784 IFS=$as_save_IFS
  3786 fi
  3787 fi
  3788 CC=$ac_cv_prog_CC
  3789 if test -n "$CC"; then
  3790   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3791 $as_echo "$CC" >&6; }
  3792 else
  3793   { $as_echo "$as_me:$LINENO: result: no" >&5
  3794 $as_echo "no" >&6; }
  3795 fi
  3798   fi
  3799 fi
  3800 if test -z "$CC"; then
  3801   # Extract the first word of "cc", so it can be a program name with args.
  3802 set dummy cc; ac_word=$2
  3803 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3804 $as_echo_n "checking for $ac_word... " >&6; }
  3805 if test "${ac_cv_prog_CC+set}" = set; then
  3806   $as_echo_n "(cached) " >&6
  3807 else
  3808   if test -n "$CC"; then
  3809   ac_cv_prog_CC="$CC" # Let the user override the test.
  3810 else
  3811   ac_prog_rejected=no
  3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3813 for as_dir in $PATH
  3814 do
  3815   IFS=$as_save_IFS
  3816   test -z "$as_dir" && as_dir=.
  3817   for ac_exec_ext in '' $ac_executable_extensions; do
  3818   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3819     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3820        ac_prog_rejected=yes
  3821        continue
  3822      fi
  3823     ac_cv_prog_CC="cc"
  3824     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3825     break 2
  3826   fi
  3827 done
  3828 done
  3829 IFS=$as_save_IFS
  3831 if test $ac_prog_rejected = yes; then
  3832   # We found a bogon in the path, so make sure we never use it.
  3833   set dummy $ac_cv_prog_CC
  3834   shift
  3835   if test $# != 0; then
  3836     # We chose a different compiler from the bogus one.
  3837     # However, it has the same basename, so the bogon will be chosen
  3838     # first if we set CC to just the basename; use the full file name.
  3839     shift
  3840     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3841   fi
  3842 fi
  3843 fi
  3844 fi
  3845 CC=$ac_cv_prog_CC
  3846 if test -n "$CC"; then
  3847   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3848 $as_echo "$CC" >&6; }
  3849 else
  3850   { $as_echo "$as_me:$LINENO: result: no" >&5
  3851 $as_echo "no" >&6; }
  3852 fi
  3855 fi
  3856 if test -z "$CC"; then
  3857   if test -n "$ac_tool_prefix"; then
  3858   for ac_prog in cl.exe
  3859   do
  3860     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3861 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3863 $as_echo_n "checking for $ac_word... " >&6; }
  3864 if test "${ac_cv_prog_CC+set}" = set; then
  3865   $as_echo_n "(cached) " >&6
  3866 else
  3867   if test -n "$CC"; then
  3868   ac_cv_prog_CC="$CC" # Let the user override the test.
  3869 else
  3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3871 for as_dir in $PATH
  3872 do
  3873   IFS=$as_save_IFS
  3874   test -z "$as_dir" && as_dir=.
  3875   for ac_exec_ext in '' $ac_executable_extensions; do
  3876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3877     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3878     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3879     break 2
  3880   fi
  3881 done
  3882 done
  3883 IFS=$as_save_IFS
  3885 fi
  3886 fi
  3887 CC=$ac_cv_prog_CC
  3888 if test -n "$CC"; then
  3889   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3890 $as_echo "$CC" >&6; }
  3891 else
  3892   { $as_echo "$as_me:$LINENO: result: no" >&5
  3893 $as_echo "no" >&6; }
  3894 fi
  3897     test -n "$CC" && break
  3898   done
  3899 fi
  3900 if test -z "$CC"; then
  3901   ac_ct_CC=$CC
  3902   for ac_prog in cl.exe
  3903 do
  3904   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3905 set dummy $ac_prog; ac_word=$2
  3906 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3907 $as_echo_n "checking for $ac_word... " >&6; }
  3908 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3909   $as_echo_n "(cached) " >&6
  3910 else
  3911   if test -n "$ac_ct_CC"; then
  3912   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3913 else
  3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3915 for as_dir in $PATH
  3916 do
  3917   IFS=$as_save_IFS
  3918   test -z "$as_dir" && as_dir=.
  3919   for ac_exec_ext in '' $ac_executable_extensions; do
  3920   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3921     ac_cv_prog_ac_ct_CC="$ac_prog"
  3922     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3923     break 2
  3924   fi
  3925 done
  3926 done
  3927 IFS=$as_save_IFS
  3929 fi
  3930 fi
  3931 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3932 if test -n "$ac_ct_CC"; then
  3933   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3934 $as_echo "$ac_ct_CC" >&6; }
  3935 else
  3936   { $as_echo "$as_me:$LINENO: result: no" >&5
  3937 $as_echo "no" >&6; }
  3938 fi
  3941   test -n "$ac_ct_CC" && break
  3942 done
  3944   if test "x$ac_ct_CC" = x; then
  3945     CC=""
  3946   else
  3947     case $cross_compiling:$ac_tool_warned in
  3948 yes:)
  3949 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3950 whose name does not start with the host triplet.  If you think this
  3951 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3952 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3953 whose name does not start with the host triplet.  If you think this
  3954 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3955 ac_tool_warned=yes ;;
  3956 esac
  3957     CC=$ac_ct_CC
  3958   fi
  3959 fi
  3961 fi
  3964 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3965 See \`config.log' for more details." >&5
  3966 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  3967 See \`config.log' for more details." >&2;}
  3968    { (exit 1); exit 1; }; }
  3970 # Provide some information about the compiler.
  3971 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  3972 set X $ac_compile
  3973 ac_compiler=$2
  3974 { (ac_try="$ac_compiler --version >&5"
  3975 case "(($ac_try" in
  3976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3977   *) ac_try_echo=$ac_try;;
  3978 esac
  3979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3980 $as_echo "$ac_try_echo") >&5
  3981   (eval "$ac_compiler --version >&5") 2>&5
  3982   ac_status=$?
  3983   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3984   (exit $ac_status); }
  3985 { (ac_try="$ac_compiler -v >&5"
  3986 case "(($ac_try" in
  3987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3988   *) ac_try_echo=$ac_try;;
  3989 esac
  3990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3991 $as_echo "$ac_try_echo") >&5
  3992   (eval "$ac_compiler -v >&5") 2>&5
  3993   ac_status=$?
  3994   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3995   (exit $ac_status); }
  3996 { (ac_try="$ac_compiler -V >&5"
  3997 case "(($ac_try" in
  3998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3999   *) ac_try_echo=$ac_try;;
  4000 esac
  4001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4002 $as_echo "$ac_try_echo") >&5
  4003   (eval "$ac_compiler -V >&5") 2>&5
  4004   ac_status=$?
  4005   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4006   (exit $ac_status); }
  4008 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4009 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4010 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4011   $as_echo_n "(cached) " >&6
  4012 else
  4013   cat >conftest.$ac_ext <<_ACEOF
  4014 /* confdefs.h.  */
  4015 _ACEOF
  4016 cat confdefs.h >>conftest.$ac_ext
  4017 cat >>conftest.$ac_ext <<_ACEOF
  4018 /* end confdefs.h.  */
  4020 int
  4021 main ()
  4023 #ifndef __GNUC__
  4024        choke me
  4025 #endif
  4028   return 0;
  4030 _ACEOF
  4031 rm -f conftest.$ac_objext
  4032 if { (ac_try="$ac_compile"
  4033 case "(($ac_try" in
  4034   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4035   *) ac_try_echo=$ac_try;;
  4036 esac
  4037 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4038 $as_echo "$ac_try_echo") >&5
  4039   (eval "$ac_compile") 2>conftest.er1
  4040   ac_status=$?
  4041   grep -v '^ *+' conftest.er1 >conftest.err
  4042   rm -f conftest.er1
  4043   cat conftest.err >&5
  4044   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4045   (exit $ac_status); } && {
  4046 	 test -z "$ac_c_werror_flag" ||
  4047 	 test ! -s conftest.err
  4048        } && test -s conftest.$ac_objext; then
  4049   ac_compiler_gnu=yes
  4050 else
  4051   $as_echo "$as_me: failed program was:" >&5
  4052 sed 's/^/| /' conftest.$ac_ext >&5
  4054 	ac_compiler_gnu=no
  4055 fi
  4057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4058 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4060 fi
  4061 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4062 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4063 if test $ac_compiler_gnu = yes; then
  4064   GCC=yes
  4065 else
  4066   GCC=
  4067 fi
  4068 ac_test_CFLAGS=${CFLAGS+set}
  4069 ac_save_CFLAGS=$CFLAGS
  4070 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4071 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4072 if test "${ac_cv_prog_cc_g+set}" = set; then
  4073   $as_echo_n "(cached) " >&6
  4074 else
  4075   ac_save_c_werror_flag=$ac_c_werror_flag
  4076    ac_c_werror_flag=yes
  4077    ac_cv_prog_cc_g=no
  4078    CFLAGS="-g"
  4079    cat >conftest.$ac_ext <<_ACEOF
  4080 /* confdefs.h.  */
  4081 _ACEOF
  4082 cat confdefs.h >>conftest.$ac_ext
  4083 cat >>conftest.$ac_ext <<_ACEOF
  4084 /* end confdefs.h.  */
  4086 int
  4087 main ()
  4091   return 0;
  4093 _ACEOF
  4094 rm -f conftest.$ac_objext
  4095 if { (ac_try="$ac_compile"
  4096 case "(($ac_try" in
  4097   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4098   *) ac_try_echo=$ac_try;;
  4099 esac
  4100 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4101 $as_echo "$ac_try_echo") >&5
  4102   (eval "$ac_compile") 2>conftest.er1
  4103   ac_status=$?
  4104   grep -v '^ *+' conftest.er1 >conftest.err
  4105   rm -f conftest.er1
  4106   cat conftest.err >&5
  4107   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4108   (exit $ac_status); } && {
  4109 	 test -z "$ac_c_werror_flag" ||
  4110 	 test ! -s conftest.err
  4111        } && test -s conftest.$ac_objext; then
  4112   ac_cv_prog_cc_g=yes
  4113 else
  4114   $as_echo "$as_me: failed program was:" >&5
  4115 sed 's/^/| /' conftest.$ac_ext >&5
  4117 	CFLAGS=""
  4118       cat >conftest.$ac_ext <<_ACEOF
  4119 /* confdefs.h.  */
  4120 _ACEOF
  4121 cat confdefs.h >>conftest.$ac_ext
  4122 cat >>conftest.$ac_ext <<_ACEOF
  4123 /* end confdefs.h.  */
  4125 int
  4126 main ()
  4130   return 0;
  4132 _ACEOF
  4133 rm -f conftest.$ac_objext
  4134 if { (ac_try="$ac_compile"
  4135 case "(($ac_try" in
  4136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4137   *) ac_try_echo=$ac_try;;
  4138 esac
  4139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4140 $as_echo "$ac_try_echo") >&5
  4141   (eval "$ac_compile") 2>conftest.er1
  4142   ac_status=$?
  4143   grep -v '^ *+' conftest.er1 >conftest.err
  4144   rm -f conftest.er1
  4145   cat conftest.err >&5
  4146   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4147   (exit $ac_status); } && {
  4148 	 test -z "$ac_c_werror_flag" ||
  4149 	 test ! -s conftest.err
  4150        } && test -s conftest.$ac_objext; then
  4152 else
  4153   $as_echo "$as_me: failed program was:" >&5
  4154 sed 's/^/| /' conftest.$ac_ext >&5
  4156 	ac_c_werror_flag=$ac_save_c_werror_flag
  4157 	 CFLAGS="-g"
  4158 	 cat >conftest.$ac_ext <<_ACEOF
  4159 /* confdefs.h.  */
  4160 _ACEOF
  4161 cat confdefs.h >>conftest.$ac_ext
  4162 cat >>conftest.$ac_ext <<_ACEOF
  4163 /* end confdefs.h.  */
  4165 int
  4166 main ()
  4170   return 0;
  4172 _ACEOF
  4173 rm -f conftest.$ac_objext
  4174 if { (ac_try="$ac_compile"
  4175 case "(($ac_try" in
  4176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4177   *) ac_try_echo=$ac_try;;
  4178 esac
  4179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4180 $as_echo "$ac_try_echo") >&5
  4181   (eval "$ac_compile") 2>conftest.er1
  4182   ac_status=$?
  4183   grep -v '^ *+' conftest.er1 >conftest.err
  4184   rm -f conftest.er1
  4185   cat conftest.err >&5
  4186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4187   (exit $ac_status); } && {
  4188 	 test -z "$ac_c_werror_flag" ||
  4189 	 test ! -s conftest.err
  4190        } && test -s conftest.$ac_objext; then
  4191   ac_cv_prog_cc_g=yes
  4192 else
  4193   $as_echo "$as_me: failed program was:" >&5
  4194 sed 's/^/| /' conftest.$ac_ext >&5
  4197 fi
  4199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4200 fi
  4202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4203 fi
  4205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4206    ac_c_werror_flag=$ac_save_c_werror_flag
  4207 fi
  4208 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4209 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4210 if test "$ac_test_CFLAGS" = set; then
  4211   CFLAGS=$ac_save_CFLAGS
  4212 elif test $ac_cv_prog_cc_g = yes; then
  4213   if test "$GCC" = yes; then
  4214     CFLAGS="-g -O2"
  4215   else
  4216     CFLAGS="-g"
  4217   fi
  4218 else
  4219   if test "$GCC" = yes; then
  4220     CFLAGS="-O2"
  4221   else
  4222     CFLAGS=
  4223   fi
  4224 fi
  4225 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4226 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4227 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4228   $as_echo_n "(cached) " >&6
  4229 else
  4230   ac_cv_prog_cc_c89=no
  4231 ac_save_CC=$CC
  4232 cat >conftest.$ac_ext <<_ACEOF
  4233 /* confdefs.h.  */
  4234 _ACEOF
  4235 cat confdefs.h >>conftest.$ac_ext
  4236 cat >>conftest.$ac_ext <<_ACEOF
  4237 /* end confdefs.h.  */
  4238 #include <stdarg.h>
  4239 #include <stdio.h>
  4240 #include <sys/types.h>
  4241 #include <sys/stat.h>
  4242 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4243 struct buf { int x; };
  4244 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4245 static char *e (p, i)
  4246      char **p;
  4247      int i;
  4249   return p[i];
  4251 static char *f (char * (*g) (char **, int), char **p, ...)
  4253   char *s;
  4254   va_list v;
  4255   va_start (v,p);
  4256   s = g (p, va_arg (v,int));
  4257   va_end (v);
  4258   return s;
  4261 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4262    function prototypes and stuff, but not '\xHH' hex character constants.
  4263    These don't provoke an error unfortunately, instead are silently treated
  4264    as 'x'.  The following induces an error, until -std is added to get
  4265    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4266    array size at least.  It's necessary to write '\x00'==0 to get something
  4267    that's true only with -std.  */
  4268 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4270 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4271    inside strings and character constants.  */
  4272 #define FOO(x) 'x'
  4273 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4275 int test (int i, double x);
  4276 struct s1 {int (*f) (int a);};
  4277 struct s2 {int (*f) (double a);};
  4278 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4279 int argc;
  4280 char **argv;
  4281 int
  4282 main ()
  4284 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4286   return 0;
  4288 _ACEOF
  4289 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4290 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4291 do
  4292   CC="$ac_save_CC $ac_arg"
  4293   rm -f conftest.$ac_objext
  4294 if { (ac_try="$ac_compile"
  4295 case "(($ac_try" in
  4296   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4297   *) ac_try_echo=$ac_try;;
  4298 esac
  4299 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4300 $as_echo "$ac_try_echo") >&5
  4301   (eval "$ac_compile") 2>conftest.er1
  4302   ac_status=$?
  4303   grep -v '^ *+' conftest.er1 >conftest.err
  4304   rm -f conftest.er1
  4305   cat conftest.err >&5
  4306   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4307   (exit $ac_status); } && {
  4308 	 test -z "$ac_c_werror_flag" ||
  4309 	 test ! -s conftest.err
  4310        } && test -s conftest.$ac_objext; then
  4311   ac_cv_prog_cc_c89=$ac_arg
  4312 else
  4313   $as_echo "$as_me: failed program was:" >&5
  4314 sed 's/^/| /' conftest.$ac_ext >&5
  4317 fi
  4319 rm -f core conftest.err conftest.$ac_objext
  4320   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4321 done
  4322 rm -f conftest.$ac_ext
  4323 CC=$ac_save_CC
  4325 fi
  4326 # AC_CACHE_VAL
  4327 case "x$ac_cv_prog_cc_c89" in
  4328   x)
  4329     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4330 $as_echo "none needed" >&6; } ;;
  4331   xno)
  4332     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4333 $as_echo "unsupported" >&6; } ;;
  4334   *)
  4335     CC="$CC $ac_cv_prog_cc_c89"
  4336     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4337 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4338 esac
  4341 ac_ext=c
  4342 ac_cpp='$CPP $CPPFLAGS'
  4343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4347 depcc="$CC"   am_compiler_list=
  4349 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4350 $as_echo_n "checking dependency style of $depcc... " >&6; }
  4351 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4352   $as_echo_n "(cached) " >&6
  4353 else
  4354   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4355   # We make a subdir and do the tests there.  Otherwise we can end up
  4356   # making bogus files that we don't know about and never remove.  For
  4357   # instance it was reported that on HP-UX the gcc test will end up
  4358   # making a dummy file named `D' -- because `-MD' means `put the output
  4359   # in D'.
  4360   mkdir conftest.dir
  4361   # Copy depcomp to subdir because otherwise we won't find it if we're
  4362   # using a relative directory.
  4363   cp "$am_depcomp" conftest.dir
  4364   cd conftest.dir
  4365   # We will build objects and dependencies in a subdirectory because
  4366   # it helps to detect inapplicable dependency modes.  For instance
  4367   # both Tru64's cc and ICC support -MD to output dependencies as a
  4368   # side effect of compilation, but ICC will put the dependencies in
  4369   # the current directory while Tru64 will put them in the object
  4370   # directory.
  4371   mkdir sub
  4373   am_cv_CC_dependencies_compiler_type=none
  4374   if test "$am_compiler_list" = ""; then
  4375      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4376   fi
  4377   for depmode in $am_compiler_list; do
  4378     # Setup a source with many dependencies, because some compilers
  4379     # like to wrap large dependency lists on column 80 (with \), and
  4380     # we should not choose a depcomp mode which is confused by this.
  4382     # We need to recreate these files for each test, as the compiler may
  4383     # overwrite some of them when testing with obscure command lines.
  4384     # This happens at least with the AIX C compiler.
  4385     : > sub/conftest.c
  4386     for i in 1 2 3 4 5 6; do
  4387       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4388       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4389       # Solaris 8's {/usr,}/bin/sh.
  4390       touch sub/conftst$i.h
  4391     done
  4392     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4394     case $depmode in
  4395     nosideeffect)
  4396       # after this tag, mechanisms are not by side-effect, so they'll
  4397       # only be used when explicitly requested
  4398       if test "x$enable_dependency_tracking" = xyes; then
  4399 	continue
  4400       else
  4401 	break
  4402       fi
  4403       ;;
  4404     none) break ;;
  4405     esac
  4406     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4407     # mode.  It turns out that the SunPro C++ compiler does not properly
  4408     # handle `-M -o', and we need to detect this.
  4409     if depmode=$depmode \
  4410        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4411        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4412        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4413          >/dev/null 2>conftest.err &&
  4414        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4415        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4416        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4417       # icc doesn't choke on unknown options, it will just issue warnings
  4418       # or remarks (even with -Werror).  So we grep stderr for any message
  4419       # that says an option was ignored or not supported.
  4420       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4421       #   icc: Command line warning: ignoring option '-M'; no argument required
  4422       # The diagnosis changed in icc 8.0:
  4423       #   icc: Command line remark: option '-MP' not supported
  4424       if (grep 'ignoring option' conftest.err ||
  4425           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4426         am_cv_CC_dependencies_compiler_type=$depmode
  4427         break
  4428       fi
  4429     fi
  4430   done
  4432   cd ..
  4433   rm -rf conftest.dir
  4434 else
  4435   am_cv_CC_dependencies_compiler_type=none
  4436 fi
  4438 fi
  4439 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4440 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4441 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4445 if
  4446   test "x$enable_dependency_tracking" != xno \
  4447   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4448   am__fastdepCC_TRUE=
  4449   am__fastdepCC_FALSE='#'
  4450 else
  4451   am__fastdepCC_TRUE='#'
  4452   am__fastdepCC_FALSE=
  4453 fi
  4456 ac_ext=c
  4457 ac_cpp='$CPP $CPPFLAGS'
  4458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4461 if test -n "$ac_tool_prefix"; then
  4462   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4463 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4464 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4465 $as_echo_n "checking for $ac_word... " >&6; }
  4466 if test "${ac_cv_prog_CC+set}" = set; then
  4467   $as_echo_n "(cached) " >&6
  4468 else
  4469   if test -n "$CC"; then
  4470   ac_cv_prog_CC="$CC" # Let the user override the test.
  4471 else
  4472 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4473 for as_dir in $PATH
  4474 do
  4475   IFS=$as_save_IFS
  4476   test -z "$as_dir" && as_dir=.
  4477   for ac_exec_ext in '' $ac_executable_extensions; do
  4478   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4479     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4480     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4481     break 2
  4482   fi
  4483 done
  4484 done
  4485 IFS=$as_save_IFS
  4487 fi
  4488 fi
  4489 CC=$ac_cv_prog_CC
  4490 if test -n "$CC"; then
  4491   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4492 $as_echo "$CC" >&6; }
  4493 else
  4494   { $as_echo "$as_me:$LINENO: result: no" >&5
  4495 $as_echo "no" >&6; }
  4496 fi
  4499 fi
  4500 if test -z "$ac_cv_prog_CC"; then
  4501   ac_ct_CC=$CC
  4502   # Extract the first word of "gcc", so it can be a program name with args.
  4503 set dummy gcc; ac_word=$2
  4504 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4505 $as_echo_n "checking for $ac_word... " >&6; }
  4506 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4507   $as_echo_n "(cached) " >&6
  4508 else
  4509   if test -n "$ac_ct_CC"; then
  4510   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4511 else
  4512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4513 for as_dir in $PATH
  4514 do
  4515   IFS=$as_save_IFS
  4516   test -z "$as_dir" && as_dir=.
  4517   for ac_exec_ext in '' $ac_executable_extensions; do
  4518   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4519     ac_cv_prog_ac_ct_CC="gcc"
  4520     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4521     break 2
  4522   fi
  4523 done
  4524 done
  4525 IFS=$as_save_IFS
  4527 fi
  4528 fi
  4529 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4530 if test -n "$ac_ct_CC"; then
  4531   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4532 $as_echo "$ac_ct_CC" >&6; }
  4533 else
  4534   { $as_echo "$as_me:$LINENO: result: no" >&5
  4535 $as_echo "no" >&6; }
  4536 fi
  4538   if test "x$ac_ct_CC" = x; then
  4539     CC=""
  4540   else
  4541     case $cross_compiling:$ac_tool_warned in
  4542 yes:)
  4543 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4544 whose name does not start with the host triplet.  If you think this
  4545 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4546 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4547 whose name does not start with the host triplet.  If you think this
  4548 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4549 ac_tool_warned=yes ;;
  4550 esac
  4551     CC=$ac_ct_CC
  4552   fi
  4553 else
  4554   CC="$ac_cv_prog_CC"
  4555 fi
  4557 if test -z "$CC"; then
  4558           if test -n "$ac_tool_prefix"; then
  4559     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4560 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4561 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4562 $as_echo_n "checking for $ac_word... " >&6; }
  4563 if test "${ac_cv_prog_CC+set}" = set; then
  4564   $as_echo_n "(cached) " >&6
  4565 else
  4566   if test -n "$CC"; then
  4567   ac_cv_prog_CC="$CC" # Let the user override the test.
  4568 else
  4569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4570 for as_dir in $PATH
  4571 do
  4572   IFS=$as_save_IFS
  4573   test -z "$as_dir" && as_dir=.
  4574   for ac_exec_ext in '' $ac_executable_extensions; do
  4575   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4576     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4577     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4578     break 2
  4579   fi
  4580 done
  4581 done
  4582 IFS=$as_save_IFS
  4584 fi
  4585 fi
  4586 CC=$ac_cv_prog_CC
  4587 if test -n "$CC"; then
  4588   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4589 $as_echo "$CC" >&6; }
  4590 else
  4591   { $as_echo "$as_me:$LINENO: result: no" >&5
  4592 $as_echo "no" >&6; }
  4593 fi
  4596   fi
  4597 fi
  4598 if test -z "$CC"; then
  4599   # Extract the first word of "cc", so it can be a program name with args.
  4600 set dummy cc; ac_word=$2
  4601 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4602 $as_echo_n "checking for $ac_word... " >&6; }
  4603 if test "${ac_cv_prog_CC+set}" = set; then
  4604   $as_echo_n "(cached) " >&6
  4605 else
  4606   if test -n "$CC"; then
  4607   ac_cv_prog_CC="$CC" # Let the user override the test.
  4608 else
  4609   ac_prog_rejected=no
  4610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4611 for as_dir in $PATH
  4612 do
  4613   IFS=$as_save_IFS
  4614   test -z "$as_dir" && as_dir=.
  4615   for ac_exec_ext in '' $ac_executable_extensions; do
  4616   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4617     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4618        ac_prog_rejected=yes
  4619        continue
  4620      fi
  4621     ac_cv_prog_CC="cc"
  4622     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4623     break 2
  4624   fi
  4625 done
  4626 done
  4627 IFS=$as_save_IFS
  4629 if test $ac_prog_rejected = yes; then
  4630   # We found a bogon in the path, so make sure we never use it.
  4631   set dummy $ac_cv_prog_CC
  4632   shift
  4633   if test $# != 0; then
  4634     # We chose a different compiler from the bogus one.
  4635     # However, it has the same basename, so the bogon will be chosen
  4636     # first if we set CC to just the basename; use the full file name.
  4637     shift
  4638     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4639   fi
  4640 fi
  4641 fi
  4642 fi
  4643 CC=$ac_cv_prog_CC
  4644 if test -n "$CC"; then
  4645   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4646 $as_echo "$CC" >&6; }
  4647 else
  4648   { $as_echo "$as_me:$LINENO: result: no" >&5
  4649 $as_echo "no" >&6; }
  4650 fi
  4653 fi
  4654 if test -z "$CC"; then
  4655   if test -n "$ac_tool_prefix"; then
  4656   for ac_prog in cl.exe
  4657   do
  4658     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4659 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4660 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4661 $as_echo_n "checking for $ac_word... " >&6; }
  4662 if test "${ac_cv_prog_CC+set}" = set; then
  4663   $as_echo_n "(cached) " >&6
  4664 else
  4665   if test -n "$CC"; then
  4666   ac_cv_prog_CC="$CC" # Let the user override the test.
  4667 else
  4668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4669 for as_dir in $PATH
  4670 do
  4671   IFS=$as_save_IFS
  4672   test -z "$as_dir" && as_dir=.
  4673   for ac_exec_ext in '' $ac_executable_extensions; do
  4674   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4675     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4676     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4677     break 2
  4678   fi
  4679 done
  4680 done
  4681 IFS=$as_save_IFS
  4683 fi
  4684 fi
  4685 CC=$ac_cv_prog_CC
  4686 if test -n "$CC"; then
  4687   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4688 $as_echo "$CC" >&6; }
  4689 else
  4690   { $as_echo "$as_me:$LINENO: result: no" >&5
  4691 $as_echo "no" >&6; }
  4692 fi
  4695     test -n "$CC" && break
  4696   done
  4697 fi
  4698 if test -z "$CC"; then
  4699   ac_ct_CC=$CC
  4700   for ac_prog in cl.exe
  4701 do
  4702   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4703 set dummy $ac_prog; ac_word=$2
  4704 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4705 $as_echo_n "checking for $ac_word... " >&6; }
  4706 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4707   $as_echo_n "(cached) " >&6
  4708 else
  4709   if test -n "$ac_ct_CC"; then
  4710   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4711 else
  4712 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4713 for as_dir in $PATH
  4714 do
  4715   IFS=$as_save_IFS
  4716   test -z "$as_dir" && as_dir=.
  4717   for ac_exec_ext in '' $ac_executable_extensions; do
  4718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4719     ac_cv_prog_ac_ct_CC="$ac_prog"
  4720     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4721     break 2
  4722   fi
  4723 done
  4724 done
  4725 IFS=$as_save_IFS
  4727 fi
  4728 fi
  4729 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4730 if test -n "$ac_ct_CC"; then
  4731   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4732 $as_echo "$ac_ct_CC" >&6; }
  4733 else
  4734   { $as_echo "$as_me:$LINENO: result: no" >&5
  4735 $as_echo "no" >&6; }
  4736 fi
  4739   test -n "$ac_ct_CC" && break
  4740 done
  4742   if test "x$ac_ct_CC" = x; then
  4743     CC=""
  4744   else
  4745     case $cross_compiling:$ac_tool_warned in
  4746 yes:)
  4747 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4748 whose name does not start with the host triplet.  If you think this
  4749 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4750 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4751 whose name does not start with the host triplet.  If you think this
  4752 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4753 ac_tool_warned=yes ;;
  4754 esac
  4755     CC=$ac_ct_CC
  4756   fi
  4757 fi
  4759 fi
  4762 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4763 See \`config.log' for more details." >&5
  4764 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  4765 See \`config.log' for more details." >&2;}
  4766    { (exit 1); exit 1; }; }
  4768 # Provide some information about the compiler.
  4769 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  4770 set X $ac_compile
  4771 ac_compiler=$2
  4772 { (ac_try="$ac_compiler --version >&5"
  4773 case "(($ac_try" in
  4774   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4775   *) ac_try_echo=$ac_try;;
  4776 esac
  4777 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4778 $as_echo "$ac_try_echo") >&5
  4779   (eval "$ac_compiler --version >&5") 2>&5
  4780   ac_status=$?
  4781   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4782   (exit $ac_status); }
  4783 { (ac_try="$ac_compiler -v >&5"
  4784 case "(($ac_try" in
  4785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4786   *) ac_try_echo=$ac_try;;
  4787 esac
  4788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4789 $as_echo "$ac_try_echo") >&5
  4790   (eval "$ac_compiler -v >&5") 2>&5
  4791   ac_status=$?
  4792   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4793   (exit $ac_status); }
  4794 { (ac_try="$ac_compiler -V >&5"
  4795 case "(($ac_try" in
  4796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4797   *) ac_try_echo=$ac_try;;
  4798 esac
  4799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4800 $as_echo "$ac_try_echo") >&5
  4801   (eval "$ac_compiler -V >&5") 2>&5
  4802   ac_status=$?
  4803   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4804   (exit $ac_status); }
  4806 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4807 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4808 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4809   $as_echo_n "(cached) " >&6
  4810 else
  4811   cat >conftest.$ac_ext <<_ACEOF
  4812 /* confdefs.h.  */
  4813 _ACEOF
  4814 cat confdefs.h >>conftest.$ac_ext
  4815 cat >>conftest.$ac_ext <<_ACEOF
  4816 /* end confdefs.h.  */
  4818 int
  4819 main ()
  4821 #ifndef __GNUC__
  4822        choke me
  4823 #endif
  4826   return 0;
  4828 _ACEOF
  4829 rm -f conftest.$ac_objext
  4830 if { (ac_try="$ac_compile"
  4831 case "(($ac_try" in
  4832   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4833   *) ac_try_echo=$ac_try;;
  4834 esac
  4835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4836 $as_echo "$ac_try_echo") >&5
  4837   (eval "$ac_compile") 2>conftest.er1
  4838   ac_status=$?
  4839   grep -v '^ *+' conftest.er1 >conftest.err
  4840   rm -f conftest.er1
  4841   cat conftest.err >&5
  4842   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4843   (exit $ac_status); } && {
  4844 	 test -z "$ac_c_werror_flag" ||
  4845 	 test ! -s conftest.err
  4846        } && test -s conftest.$ac_objext; then
  4847   ac_compiler_gnu=yes
  4848 else
  4849   $as_echo "$as_me: failed program was:" >&5
  4850 sed 's/^/| /' conftest.$ac_ext >&5
  4852 	ac_compiler_gnu=no
  4853 fi
  4855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4856 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4858 fi
  4859 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4860 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4861 if test $ac_compiler_gnu = yes; then
  4862   GCC=yes
  4863 else
  4864   GCC=
  4865 fi
  4866 ac_test_CFLAGS=${CFLAGS+set}
  4867 ac_save_CFLAGS=$CFLAGS
  4868 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4869 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4870 if test "${ac_cv_prog_cc_g+set}" = set; then
  4871   $as_echo_n "(cached) " >&6
  4872 else
  4873   ac_save_c_werror_flag=$ac_c_werror_flag
  4874    ac_c_werror_flag=yes
  4875    ac_cv_prog_cc_g=no
  4876    CFLAGS="-g"
  4877    cat >conftest.$ac_ext <<_ACEOF
  4878 /* confdefs.h.  */
  4879 _ACEOF
  4880 cat confdefs.h >>conftest.$ac_ext
  4881 cat >>conftest.$ac_ext <<_ACEOF
  4882 /* end confdefs.h.  */
  4884 int
  4885 main ()
  4889   return 0;
  4891 _ACEOF
  4892 rm -f conftest.$ac_objext
  4893 if { (ac_try="$ac_compile"
  4894 case "(($ac_try" in
  4895   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4896   *) ac_try_echo=$ac_try;;
  4897 esac
  4898 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4899 $as_echo "$ac_try_echo") >&5
  4900   (eval "$ac_compile") 2>conftest.er1
  4901   ac_status=$?
  4902   grep -v '^ *+' conftest.er1 >conftest.err
  4903   rm -f conftest.er1
  4904   cat conftest.err >&5
  4905   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4906   (exit $ac_status); } && {
  4907 	 test -z "$ac_c_werror_flag" ||
  4908 	 test ! -s conftest.err
  4909        } && test -s conftest.$ac_objext; then
  4910   ac_cv_prog_cc_g=yes
  4911 else
  4912   $as_echo "$as_me: failed program was:" >&5
  4913 sed 's/^/| /' conftest.$ac_ext >&5
  4915 	CFLAGS=""
  4916       cat >conftest.$ac_ext <<_ACEOF
  4917 /* confdefs.h.  */
  4918 _ACEOF
  4919 cat confdefs.h >>conftest.$ac_ext
  4920 cat >>conftest.$ac_ext <<_ACEOF
  4921 /* end confdefs.h.  */
  4923 int
  4924 main ()
  4928   return 0;
  4930 _ACEOF
  4931 rm -f conftest.$ac_objext
  4932 if { (ac_try="$ac_compile"
  4933 case "(($ac_try" in
  4934   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4935   *) ac_try_echo=$ac_try;;
  4936 esac
  4937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4938 $as_echo "$ac_try_echo") >&5
  4939   (eval "$ac_compile") 2>conftest.er1
  4940   ac_status=$?
  4941   grep -v '^ *+' conftest.er1 >conftest.err
  4942   rm -f conftest.er1
  4943   cat conftest.err >&5
  4944   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4945   (exit $ac_status); } && {
  4946 	 test -z "$ac_c_werror_flag" ||
  4947 	 test ! -s conftest.err
  4948        } && test -s conftest.$ac_objext; then
  4950 else
  4951   $as_echo "$as_me: failed program was:" >&5
  4952 sed 's/^/| /' conftest.$ac_ext >&5
  4954 	ac_c_werror_flag=$ac_save_c_werror_flag
  4955 	 CFLAGS="-g"
  4956 	 cat >conftest.$ac_ext <<_ACEOF
  4957 /* confdefs.h.  */
  4958 _ACEOF
  4959 cat confdefs.h >>conftest.$ac_ext
  4960 cat >>conftest.$ac_ext <<_ACEOF
  4961 /* end confdefs.h.  */
  4963 int
  4964 main ()
  4968   return 0;
  4970 _ACEOF
  4971 rm -f conftest.$ac_objext
  4972 if { (ac_try="$ac_compile"
  4973 case "(($ac_try" in
  4974   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4975   *) ac_try_echo=$ac_try;;
  4976 esac
  4977 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4978 $as_echo "$ac_try_echo") >&5
  4979   (eval "$ac_compile") 2>conftest.er1
  4980   ac_status=$?
  4981   grep -v '^ *+' conftest.er1 >conftest.err
  4982   rm -f conftest.er1
  4983   cat conftest.err >&5
  4984   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4985   (exit $ac_status); } && {
  4986 	 test -z "$ac_c_werror_flag" ||
  4987 	 test ! -s conftest.err
  4988        } && test -s conftest.$ac_objext; then
  4989   ac_cv_prog_cc_g=yes
  4990 else
  4991   $as_echo "$as_me: failed program was:" >&5
  4992 sed 's/^/| /' conftest.$ac_ext >&5
  4995 fi
  4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4998 fi
  5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5001 fi
  5003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5004    ac_c_werror_flag=$ac_save_c_werror_flag
  5005 fi
  5006 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  5007 $as_echo "$ac_cv_prog_cc_g" >&6; }
  5008 if test "$ac_test_CFLAGS" = set; then
  5009   CFLAGS=$ac_save_CFLAGS
  5010 elif test $ac_cv_prog_cc_g = yes; then
  5011   if test "$GCC" = yes; then
  5012     CFLAGS="-g -O2"
  5013   else
  5014     CFLAGS="-g"
  5015   fi
  5016 else
  5017   if test "$GCC" = yes; then
  5018     CFLAGS="-O2"
  5019   else
  5020     CFLAGS=
  5021   fi
  5022 fi
  5023 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  5024 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  5025 if test "${ac_cv_prog_cc_c89+set}" = set; then
  5026   $as_echo_n "(cached) " >&6
  5027 else
  5028   ac_cv_prog_cc_c89=no
  5029 ac_save_CC=$CC
  5030 cat >conftest.$ac_ext <<_ACEOF
  5031 /* confdefs.h.  */
  5032 _ACEOF
  5033 cat confdefs.h >>conftest.$ac_ext
  5034 cat >>conftest.$ac_ext <<_ACEOF
  5035 /* end confdefs.h.  */
  5036 #include <stdarg.h>
  5037 #include <stdio.h>
  5038 #include <sys/types.h>
  5039 #include <sys/stat.h>
  5040 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5041 struct buf { int x; };
  5042 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5043 static char *e (p, i)
  5044      char **p;
  5045      int i;
  5047   return p[i];
  5049 static char *f (char * (*g) (char **, int), char **p, ...)
  5051   char *s;
  5052   va_list v;
  5053   va_start (v,p);
  5054   s = g (p, va_arg (v,int));
  5055   va_end (v);
  5056   return s;
  5059 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5060    function prototypes and stuff, but not '\xHH' hex character constants.
  5061    These don't provoke an error unfortunately, instead are silently treated
  5062    as 'x'.  The following induces an error, until -std is added to get
  5063    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5064    array size at least.  It's necessary to write '\x00'==0 to get something
  5065    that's true only with -std.  */
  5066 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5068 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5069    inside strings and character constants.  */
  5070 #define FOO(x) 'x'
  5071 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5073 int test (int i, double x);
  5074 struct s1 {int (*f) (int a);};
  5075 struct s2 {int (*f) (double a);};
  5076 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5077 int argc;
  5078 char **argv;
  5079 int
  5080 main ()
  5082 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5084   return 0;
  5086 _ACEOF
  5087 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5088 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5089 do
  5090   CC="$ac_save_CC $ac_arg"
  5091   rm -f conftest.$ac_objext
  5092 if { (ac_try="$ac_compile"
  5093 case "(($ac_try" in
  5094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5095   *) ac_try_echo=$ac_try;;
  5096 esac
  5097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5098 $as_echo "$ac_try_echo") >&5
  5099   (eval "$ac_compile") 2>conftest.er1
  5100   ac_status=$?
  5101   grep -v '^ *+' conftest.er1 >conftest.err
  5102   rm -f conftest.er1
  5103   cat conftest.err >&5
  5104   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5105   (exit $ac_status); } && {
  5106 	 test -z "$ac_c_werror_flag" ||
  5107 	 test ! -s conftest.err
  5108        } && test -s conftest.$ac_objext; then
  5109   ac_cv_prog_cc_c89=$ac_arg
  5110 else
  5111   $as_echo "$as_me: failed program was:" >&5
  5112 sed 's/^/| /' conftest.$ac_ext >&5
  5115 fi
  5117 rm -f core conftest.err conftest.$ac_objext
  5118   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5119 done
  5120 rm -f conftest.$ac_ext
  5121 CC=$ac_save_CC
  5123 fi
  5124 # AC_CACHE_VAL
  5125 case "x$ac_cv_prog_cc_c89" in
  5126   x)
  5127     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  5128 $as_echo "none needed" >&6; } ;;
  5129   xno)
  5130     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  5131 $as_echo "unsupported" >&6; } ;;
  5132   *)
  5133     CC="$CC $ac_cv_prog_cc_c89"
  5134     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5135 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  5136 esac
  5139 ac_ext=c
  5140 ac_cpp='$CPP $CPPFLAGS'
  5141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5145 depcc="$CC"   am_compiler_list=
  5147 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5148 $as_echo_n "checking dependency style of $depcc... " >&6; }
  5149 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5150   $as_echo_n "(cached) " >&6
  5151 else
  5152   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5153   # We make a subdir and do the tests there.  Otherwise we can end up
  5154   # making bogus files that we don't know about and never remove.  For
  5155   # instance it was reported that on HP-UX the gcc test will end up
  5156   # making a dummy file named `D' -- because `-MD' means `put the output
  5157   # in D'.
  5158   mkdir conftest.dir
  5159   # Copy depcomp to subdir because otherwise we won't find it if we're
  5160   # using a relative directory.
  5161   cp "$am_depcomp" conftest.dir
  5162   cd conftest.dir
  5163   # We will build objects and dependencies in a subdirectory because
  5164   # it helps to detect inapplicable dependency modes.  For instance
  5165   # both Tru64's cc and ICC support -MD to output dependencies as a
  5166   # side effect of compilation, but ICC will put the dependencies in
  5167   # the current directory while Tru64 will put them in the object
  5168   # directory.
  5169   mkdir sub
  5171   am_cv_CC_dependencies_compiler_type=none
  5172   if test "$am_compiler_list" = ""; then
  5173      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5174   fi
  5175   for depmode in $am_compiler_list; do
  5176     # Setup a source with many dependencies, because some compilers
  5177     # like to wrap large dependency lists on column 80 (with \), and
  5178     # we should not choose a depcomp mode which is confused by this.
  5180     # We need to recreate these files for each test, as the compiler may
  5181     # overwrite some of them when testing with obscure command lines.
  5182     # This happens at least with the AIX C compiler.
  5183     : > sub/conftest.c
  5184     for i in 1 2 3 4 5 6; do
  5185       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5186       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5187       # Solaris 8's {/usr,}/bin/sh.
  5188       touch sub/conftst$i.h
  5189     done
  5190     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5192     case $depmode in
  5193     nosideeffect)
  5194       # after this tag, mechanisms are not by side-effect, so they'll
  5195       # only be used when explicitly requested
  5196       if test "x$enable_dependency_tracking" = xyes; then
  5197 	continue
  5198       else
  5199 	break
  5200       fi
  5201       ;;
  5202     none) break ;;
  5203     esac
  5204     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5205     # mode.  It turns out that the SunPro C++ compiler does not properly
  5206     # handle `-M -o', and we need to detect this.
  5207     if depmode=$depmode \
  5208        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5209        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5210        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5211          >/dev/null 2>conftest.err &&
  5212        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5213        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5214        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5215       # icc doesn't choke on unknown options, it will just issue warnings
  5216       # or remarks (even with -Werror).  So we grep stderr for any message
  5217       # that says an option was ignored or not supported.
  5218       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5219       #   icc: Command line warning: ignoring option '-M'; no argument required
  5220       # The diagnosis changed in icc 8.0:
  5221       #   icc: Command line remark: option '-MP' not supported
  5222       if (grep 'ignoring option' conftest.err ||
  5223           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5224         am_cv_CC_dependencies_compiler_type=$depmode
  5225         break
  5226       fi
  5227     fi
  5228   done
  5230   cd ..
  5231   rm -rf conftest.dir
  5232 else
  5233   am_cv_CC_dependencies_compiler_type=none
  5234 fi
  5236 fi
  5237 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5238 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5239 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5243 if
  5244   test "x$enable_dependency_tracking" != xno \
  5245   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5246   am__fastdepCC_TRUE=
  5247   am__fastdepCC_FALSE='#'
  5248 else
  5249   am__fastdepCC_TRUE='#'
  5250   am__fastdepCC_FALSE=
  5251 fi
  5255 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5257 ac_ext=m
  5258 ac_cpp='$OBJCPP $CPPFLAGS'
  5259 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5260 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5261 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  5262 if test -n "$ac_tool_prefix"; then
  5263   for ac_prog in gcc objcc objc cc CC
  5264   do
  5265     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5266 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5267 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5268 $as_echo_n "checking for $ac_word... " >&6; }
  5269 if test "${ac_cv_prog_OBJC+set}" = set; then
  5270   $as_echo_n "(cached) " >&6
  5271 else
  5272   if test -n "$OBJC"; then
  5273   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  5274 else
  5275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5276 for as_dir in $PATH
  5277 do
  5278   IFS=$as_save_IFS
  5279   test -z "$as_dir" && as_dir=.
  5280   for ac_exec_ext in '' $ac_executable_extensions; do
  5281   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5282     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  5283     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5284     break 2
  5285   fi
  5286 done
  5287 done
  5288 IFS=$as_save_IFS
  5290 fi
  5291 fi
  5292 OBJC=$ac_cv_prog_OBJC
  5293 if test -n "$OBJC"; then
  5294   { $as_echo "$as_me:$LINENO: result: $OBJC" >&5
  5295 $as_echo "$OBJC" >&6; }
  5296 else
  5297   { $as_echo "$as_me:$LINENO: result: no" >&5
  5298 $as_echo "no" >&6; }
  5299 fi
  5302     test -n "$OBJC" && break
  5303   done
  5304 fi
  5305 if test -z "$OBJC"; then
  5306   ac_ct_OBJC=$OBJC
  5307   for ac_prog in gcc objcc objc cc CC
  5308 do
  5309   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5310 set dummy $ac_prog; ac_word=$2
  5311 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5312 $as_echo_n "checking for $ac_word... " >&6; }
  5313 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  5314   $as_echo_n "(cached) " >&6
  5315 else
  5316   if test -n "$ac_ct_OBJC"; then
  5317   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  5318 else
  5319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5320 for as_dir in $PATH
  5321 do
  5322   IFS=$as_save_IFS
  5323   test -z "$as_dir" && as_dir=.
  5324   for ac_exec_ext in '' $ac_executable_extensions; do
  5325   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5326     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  5327     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5328     break 2
  5329   fi
  5330 done
  5331 done
  5332 IFS=$as_save_IFS
  5334 fi
  5335 fi
  5336 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  5337 if test -n "$ac_ct_OBJC"; then
  5338   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  5339 $as_echo "$ac_ct_OBJC" >&6; }
  5340 else
  5341   { $as_echo "$as_me:$LINENO: result: no" >&5
  5342 $as_echo "no" >&6; }
  5343 fi
  5346   test -n "$ac_ct_OBJC" && break
  5347 done
  5349   if test "x$ac_ct_OBJC" = x; then
  5350     OBJC="gcc"
  5351   else
  5352     case $cross_compiling:$ac_tool_warned in
  5353 yes:)
  5354 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5355 whose name does not start with the host triplet.  If you think this
  5356 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5357 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5358 whose name does not start with the host triplet.  If you think this
  5359 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5360 ac_tool_warned=yes ;;
  5361 esac
  5362     OBJC=$ac_ct_OBJC
  5363   fi
  5364 fi
  5366 # Provide some information about the compiler.
  5367 $as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  5368 set X $ac_compile
  5369 ac_compiler=$2
  5370 { (ac_try="$ac_compiler --version >&5"
  5371 case "(($ac_try" in
  5372   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5373   *) ac_try_echo=$ac_try;;
  5374 esac
  5375 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5376 $as_echo "$ac_try_echo") >&5
  5377   (eval "$ac_compiler --version >&5") 2>&5
  5378   ac_status=$?
  5379   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5380   (exit $ac_status); }
  5381 { (ac_try="$ac_compiler -v >&5"
  5382 case "(($ac_try" in
  5383   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5384   *) ac_try_echo=$ac_try;;
  5385 esac
  5386 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5387 $as_echo "$ac_try_echo") >&5
  5388   (eval "$ac_compiler -v >&5") 2>&5
  5389   ac_status=$?
  5390   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5391   (exit $ac_status); }
  5392 { (ac_try="$ac_compiler -V >&5"
  5393 case "(($ac_try" in
  5394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5395   *) ac_try_echo=$ac_try;;
  5396 esac
  5397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5398 $as_echo "$ac_try_echo") >&5
  5399   (eval "$ac_compiler -V >&5") 2>&5
  5400   ac_status=$?
  5401   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5402   (exit $ac_status); }
  5404 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  5405 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  5406 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  5407   $as_echo_n "(cached) " >&6
  5408 else
  5409   cat >conftest.$ac_ext <<_ACEOF
  5410 /* confdefs.h.  */
  5411 _ACEOF
  5412 cat confdefs.h >>conftest.$ac_ext
  5413 cat >>conftest.$ac_ext <<_ACEOF
  5414 /* end confdefs.h.  */
  5416 int
  5417 main ()
  5419 #ifndef __GNUC__
  5420        choke me
  5421 #endif
  5424   return 0;
  5426 _ACEOF
  5427 rm -f conftest.$ac_objext
  5428 if { (ac_try="$ac_compile"
  5429 case "(($ac_try" in
  5430   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5431   *) ac_try_echo=$ac_try;;
  5432 esac
  5433 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5434 $as_echo "$ac_try_echo") >&5
  5435   (eval "$ac_compile") 2>conftest.er1
  5436   ac_status=$?
  5437   grep -v '^ *+' conftest.er1 >conftest.err
  5438   rm -f conftest.er1
  5439   cat conftest.err >&5
  5440   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5441   (exit $ac_status); } && {
  5442 	 test -z "$ac_objc_werror_flag" ||
  5443 	 test ! -s conftest.err
  5444        } && test -s conftest.$ac_objext; then
  5445   ac_compiler_gnu=yes
  5446 else
  5447   $as_echo "$as_me: failed program was:" >&5
  5448 sed 's/^/| /' conftest.$ac_ext >&5
  5450 	ac_compiler_gnu=no
  5451 fi
  5453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5454 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  5456 fi
  5457 { $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  5458 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  5459 if test $ac_compiler_gnu = yes; then
  5460   GOBJC=yes
  5461 else
  5462   GOBJC=
  5463 fi
  5464 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  5465 ac_save_OBJCFLAGS=$OBJCFLAGS
  5466 { $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  5467 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  5468 if test "${ac_cv_prog_objc_g+set}" = set; then
  5469   $as_echo_n "(cached) " >&6
  5470 else
  5471   ac_save_objc_werror_flag=$ac_objc_werror_flag
  5472    ac_objc_werror_flag=yes
  5473    ac_cv_prog_objc_g=no
  5474    OBJCFLAGS="-g"
  5475    cat >conftest.$ac_ext <<_ACEOF
  5476 /* confdefs.h.  */
  5477 _ACEOF
  5478 cat confdefs.h >>conftest.$ac_ext
  5479 cat >>conftest.$ac_ext <<_ACEOF
  5480 /* end confdefs.h.  */
  5482 int
  5483 main ()
  5487   return 0;
  5489 _ACEOF
  5490 rm -f conftest.$ac_objext
  5491 if { (ac_try="$ac_compile"
  5492 case "(($ac_try" in
  5493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5494   *) ac_try_echo=$ac_try;;
  5495 esac
  5496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5497 $as_echo "$ac_try_echo") >&5
  5498   (eval "$ac_compile") 2>conftest.er1
  5499   ac_status=$?
  5500   grep -v '^ *+' conftest.er1 >conftest.err
  5501   rm -f conftest.er1
  5502   cat conftest.err >&5
  5503   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5504   (exit $ac_status); } && {
  5505 	 test -z "$ac_objc_werror_flag" ||
  5506 	 test ! -s conftest.err
  5507        } && test -s conftest.$ac_objext; then
  5508   ac_cv_prog_objc_g=yes
  5509 else
  5510   $as_echo "$as_me: failed program was:" >&5
  5511 sed 's/^/| /' conftest.$ac_ext >&5
  5513 	OBJCFLAGS=""
  5514       cat >conftest.$ac_ext <<_ACEOF
  5515 /* confdefs.h.  */
  5516 _ACEOF
  5517 cat confdefs.h >>conftest.$ac_ext
  5518 cat >>conftest.$ac_ext <<_ACEOF
  5519 /* end confdefs.h.  */
  5521 int
  5522 main ()
  5526   return 0;
  5528 _ACEOF
  5529 rm -f conftest.$ac_objext
  5530 if { (ac_try="$ac_compile"
  5531 case "(($ac_try" in
  5532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5533   *) ac_try_echo=$ac_try;;
  5534 esac
  5535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5536 $as_echo "$ac_try_echo") >&5
  5537   (eval "$ac_compile") 2>conftest.er1
  5538   ac_status=$?
  5539   grep -v '^ *+' conftest.er1 >conftest.err
  5540   rm -f conftest.er1
  5541   cat conftest.err >&5
  5542   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5543   (exit $ac_status); } && {
  5544 	 test -z "$ac_objc_werror_flag" ||
  5545 	 test ! -s conftest.err
  5546        } && test -s conftest.$ac_objext; then
  5548 else
  5549   $as_echo "$as_me: failed program was:" >&5
  5550 sed 's/^/| /' conftest.$ac_ext >&5
  5552 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  5553 	 OBJCFLAGS="-g"
  5554 	 cat >conftest.$ac_ext <<_ACEOF
  5555 /* confdefs.h.  */
  5556 _ACEOF
  5557 cat confdefs.h >>conftest.$ac_ext
  5558 cat >>conftest.$ac_ext <<_ACEOF
  5559 /* end confdefs.h.  */
  5561 int
  5562 main ()
  5566   return 0;
  5568 _ACEOF
  5569 rm -f conftest.$ac_objext
  5570 if { (ac_try="$ac_compile"
  5571 case "(($ac_try" in
  5572   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5573   *) ac_try_echo=$ac_try;;
  5574 esac
  5575 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5576 $as_echo "$ac_try_echo") >&5
  5577   (eval "$ac_compile") 2>conftest.er1
  5578   ac_status=$?
  5579   grep -v '^ *+' conftest.er1 >conftest.err
  5580   rm -f conftest.er1
  5581   cat conftest.err >&5
  5582   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5583   (exit $ac_status); } && {
  5584 	 test -z "$ac_objc_werror_flag" ||
  5585 	 test ! -s conftest.err
  5586        } && test -s conftest.$ac_objext; then
  5587   ac_cv_prog_objc_g=yes
  5588 else
  5589   $as_echo "$as_me: failed program was:" >&5
  5590 sed 's/^/| /' conftest.$ac_ext >&5
  5593 fi
  5595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5596 fi
  5598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5599 fi
  5601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5602    ac_objc_werror_flag=$ac_save_objc_werror_flag
  5603 fi
  5604 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  5605 $as_echo "$ac_cv_prog_objc_g" >&6; }
  5606 if test "$ac_test_OBJCFLAGS" = set; then
  5607   OBJCFLAGS=$ac_save_OBJCFLAGS
  5608 elif test $ac_cv_prog_objc_g = yes; then
  5609   if test "$GOBJC" = yes; then
  5610     OBJCFLAGS="-g -O2"
  5611   else
  5612     OBJCFLAGS="-g"
  5613   fi
  5614 else
  5615   if test "$GOBJC" = yes; then
  5616     OBJCFLAGS="-O2"
  5617   else
  5618     OBJCFLAGS=
  5619   fi
  5620 fi
  5621 ac_ext=c
  5622 ac_cpp='$CPP $CPPFLAGS'
  5623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5627 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  5628 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  5629 if test "${ac_cv_path_SED+set}" = set; then
  5630   $as_echo_n "(cached) " >&6
  5631 else
  5632             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  5633      for ac_i in 1 2 3 4 5 6 7; do
  5634        ac_script="$ac_script$as_nl$ac_script"
  5635      done
  5636      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  5637      $as_unset ac_script || ac_script=
  5638      if test -z "$SED"; then
  5639   ac_path_SED_found=false
  5640   # Loop through the user's path and test for each of PROGNAME-LIST
  5641   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5642 for as_dir in $PATH
  5643 do
  5644   IFS=$as_save_IFS
  5645   test -z "$as_dir" && as_dir=.
  5646   for ac_prog in sed gsed; do
  5647     for ac_exec_ext in '' $ac_executable_extensions; do
  5648       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  5649       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  5650 # Check for GNU ac_path_SED and select it if it is found.
  5651   # Check for GNU $ac_path_SED
  5652 case `"$ac_path_SED" --version 2>&1` in
  5653 *GNU*)
  5654   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  5655 *)
  5656   ac_count=0
  5657   $as_echo_n 0123456789 >"conftest.in"
  5658   while :
  5659   do
  5660     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5661     mv "conftest.tmp" "conftest.in"
  5662     cp "conftest.in" "conftest.nl"
  5663     $as_echo '' >> "conftest.nl"
  5664     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5665     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5666     ac_count=`expr $ac_count + 1`
  5667     if test $ac_count -gt ${ac_path_SED_max-0}; then
  5668       # Best one so far, save it but keep looking for a better one
  5669       ac_cv_path_SED="$ac_path_SED"
  5670       ac_path_SED_max=$ac_count
  5671     fi
  5672     # 10*(2^10) chars as input seems more than enough
  5673     test $ac_count -gt 10 && break
  5674   done
  5675   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5676 esac
  5678       $ac_path_SED_found && break 3
  5679     done
  5680   done
  5681 done
  5682 IFS=$as_save_IFS
  5683   if test -z "$ac_cv_path_SED"; then
  5684     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
  5685 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
  5686    { (exit 1); exit 1; }; }
  5687   fi
  5688 else
  5689   ac_cv_path_SED=$SED
  5690 fi
  5692 fi
  5693 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  5694 $as_echo "$ac_cv_path_SED" >&6; }
  5695  SED="$ac_cv_path_SED"
  5696   rm -f conftest.sed
  5698 # By default we simply use the C compiler to build assembly code.
  5700 test "${CCAS+set}" = set || CCAS=$CC
  5701 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  5705 ac_ext=c
  5706 ac_cpp='$CPP $CPPFLAGS'
  5707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5710 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5711 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5712 # On Suns, sometimes $CPP names a directory.
  5713 if test -n "$CPP" && test -d "$CPP"; then
  5714   CPP=
  5715 fi
  5716 if test -z "$CPP"; then
  5717   if test "${ac_cv_prog_CPP+set}" = set; then
  5718   $as_echo_n "(cached) " >&6
  5719 else
  5720       # Double quotes because CPP needs to be expanded
  5721     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5722     do
  5723       ac_preproc_ok=false
  5724 for ac_c_preproc_warn_flag in '' yes
  5725 do
  5726   # Use a header file that comes with gcc, so configuring glibc
  5727   # with a fresh cross-compiler works.
  5728   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5729   # <limits.h> exists even on freestanding compilers.
  5730   # On the NeXT, cc -E runs the code through the compiler's parser,
  5731   # not just through cpp. "Syntax error" is here to catch this case.
  5732   cat >conftest.$ac_ext <<_ACEOF
  5733 /* confdefs.h.  */
  5734 _ACEOF
  5735 cat confdefs.h >>conftest.$ac_ext
  5736 cat >>conftest.$ac_ext <<_ACEOF
  5737 /* end confdefs.h.  */
  5738 #ifdef __STDC__
  5739 # include <limits.h>
  5740 #else
  5741 # include <assert.h>
  5742 #endif
  5743 		     Syntax error
  5744 _ACEOF
  5745 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5746 case "(($ac_try" in
  5747   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5748   *) ac_try_echo=$ac_try;;
  5749 esac
  5750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5751 $as_echo "$ac_try_echo") >&5
  5752   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5753   ac_status=$?
  5754   grep -v '^ *+' conftest.er1 >conftest.err
  5755   rm -f conftest.er1
  5756   cat conftest.err >&5
  5757   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5758   (exit $ac_status); } >/dev/null && {
  5759 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5760 	 test ! -s conftest.err
  5761        }; then
  5763 else
  5764   $as_echo "$as_me: failed program was:" >&5
  5765 sed 's/^/| /' conftest.$ac_ext >&5
  5767   # Broken: fails on valid input.
  5768 continue
  5769 fi
  5771 rm -f conftest.err conftest.$ac_ext
  5773   # OK, works on sane cases.  Now check whether nonexistent headers
  5774   # can be detected and how.
  5775   cat >conftest.$ac_ext <<_ACEOF
  5776 /* confdefs.h.  */
  5777 _ACEOF
  5778 cat confdefs.h >>conftest.$ac_ext
  5779 cat >>conftest.$ac_ext <<_ACEOF
  5780 /* end confdefs.h.  */
  5781 #include <ac_nonexistent.h>
  5782 _ACEOF
  5783 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5784 case "(($ac_try" in
  5785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5786   *) ac_try_echo=$ac_try;;
  5787 esac
  5788 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5789 $as_echo "$ac_try_echo") >&5
  5790   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5791   ac_status=$?
  5792   grep -v '^ *+' conftest.er1 >conftest.err
  5793   rm -f conftest.er1
  5794   cat conftest.err >&5
  5795   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5796   (exit $ac_status); } >/dev/null && {
  5797 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5798 	 test ! -s conftest.err
  5799        }; then
  5800   # Broken: success on invalid input.
  5801 continue
  5802 else
  5803   $as_echo "$as_me: failed program was:" >&5
  5804 sed 's/^/| /' conftest.$ac_ext >&5
  5806   # Passes both tests.
  5807 ac_preproc_ok=:
  5808 break
  5809 fi
  5811 rm -f conftest.err conftest.$ac_ext
  5813 done
  5814 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5815 rm -f conftest.err conftest.$ac_ext
  5816 if $ac_preproc_ok; then
  5817   break
  5818 fi
  5820     done
  5821     ac_cv_prog_CPP=$CPP
  5823 fi
  5824   CPP=$ac_cv_prog_CPP
  5825 else
  5826   ac_cv_prog_CPP=$CPP
  5827 fi
  5828 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  5829 $as_echo "$CPP" >&6; }
  5830 ac_preproc_ok=false
  5831 for ac_c_preproc_warn_flag in '' yes
  5832 do
  5833   # Use a header file that comes with gcc, so configuring glibc
  5834   # with a fresh cross-compiler works.
  5835   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5836   # <limits.h> exists even on freestanding compilers.
  5837   # On the NeXT, cc -E runs the code through the compiler's parser,
  5838   # not just through cpp. "Syntax error" is here to catch this case.
  5839   cat >conftest.$ac_ext <<_ACEOF
  5840 /* confdefs.h.  */
  5841 _ACEOF
  5842 cat confdefs.h >>conftest.$ac_ext
  5843 cat >>conftest.$ac_ext <<_ACEOF
  5844 /* end confdefs.h.  */
  5845 #ifdef __STDC__
  5846 # include <limits.h>
  5847 #else
  5848 # include <assert.h>
  5849 #endif
  5850 		     Syntax error
  5851 _ACEOF
  5852 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5853 case "(($ac_try" in
  5854   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5855   *) ac_try_echo=$ac_try;;
  5856 esac
  5857 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5858 $as_echo "$ac_try_echo") >&5
  5859   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5860   ac_status=$?
  5861   grep -v '^ *+' conftest.er1 >conftest.err
  5862   rm -f conftest.er1
  5863   cat conftest.err >&5
  5864   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5865   (exit $ac_status); } >/dev/null && {
  5866 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5867 	 test ! -s conftest.err
  5868        }; then
  5870 else
  5871   $as_echo "$as_me: failed program was:" >&5
  5872 sed 's/^/| /' conftest.$ac_ext >&5
  5874   # Broken: fails on valid input.
  5875 continue
  5876 fi
  5878 rm -f conftest.err conftest.$ac_ext
  5880   # OK, works on sane cases.  Now check whether nonexistent headers
  5881   # can be detected and how.
  5882   cat >conftest.$ac_ext <<_ACEOF
  5883 /* confdefs.h.  */
  5884 _ACEOF
  5885 cat confdefs.h >>conftest.$ac_ext
  5886 cat >>conftest.$ac_ext <<_ACEOF
  5887 /* end confdefs.h.  */
  5888 #include <ac_nonexistent.h>
  5889 _ACEOF
  5890 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5891 case "(($ac_try" in
  5892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5893   *) ac_try_echo=$ac_try;;
  5894 esac
  5895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5896 $as_echo "$ac_try_echo") >&5
  5897   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5898   ac_status=$?
  5899   grep -v '^ *+' conftest.er1 >conftest.err
  5900   rm -f conftest.er1
  5901   cat conftest.err >&5
  5902   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5903   (exit $ac_status); } >/dev/null && {
  5904 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5905 	 test ! -s conftest.err
  5906        }; then
  5907   # Broken: success on invalid input.
  5908 continue
  5909 else
  5910   $as_echo "$as_me: failed program was:" >&5
  5911 sed 's/^/| /' conftest.$ac_ext >&5
  5913   # Passes both tests.
  5914 ac_preproc_ok=:
  5915 break
  5916 fi
  5918 rm -f conftest.err conftest.$ac_ext
  5920 done
  5921 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5922 rm -f conftest.err conftest.$ac_ext
  5923 if $ac_preproc_ok; then
  5925 else
  5926   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5927 See \`config.log' for more details." >&5
  5928 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5929 See \`config.log' for more details." >&2;}
  5930    { (exit 1); exit 1; }; }
  5931 fi
  5933 ac_ext=c
  5934 ac_cpp='$CPP $CPPFLAGS'
  5935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5940 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  5941 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5942 if test "${ac_cv_path_GREP+set}" = set; then
  5943   $as_echo_n "(cached) " >&6
  5944 else
  5945   if test -z "$GREP"; then
  5946   ac_path_GREP_found=false
  5947   # Loop through the user's path and test for each of PROGNAME-LIST
  5948   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5949 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5950 do
  5951   IFS=$as_save_IFS
  5952   test -z "$as_dir" && as_dir=.
  5953   for ac_prog in grep ggrep; do
  5954     for ac_exec_ext in '' $ac_executable_extensions; do
  5955       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5956       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5957 # Check for GNU ac_path_GREP and select it if it is found.
  5958   # Check for GNU $ac_path_GREP
  5959 case `"$ac_path_GREP" --version 2>&1` in
  5960 *GNU*)
  5961   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5962 *)
  5963   ac_count=0
  5964   $as_echo_n 0123456789 >"conftest.in"
  5965   while :
  5966   do
  5967     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5968     mv "conftest.tmp" "conftest.in"
  5969     cp "conftest.in" "conftest.nl"
  5970     $as_echo 'GREP' >> "conftest.nl"
  5971     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5972     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5973     ac_count=`expr $ac_count + 1`
  5974     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5975       # Best one so far, save it but keep looking for a better one
  5976       ac_cv_path_GREP="$ac_path_GREP"
  5977       ac_path_GREP_max=$ac_count
  5978     fi
  5979     # 10*(2^10) chars as input seems more than enough
  5980     test $ac_count -gt 10 && break
  5981   done
  5982   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5983 esac
  5985       $ac_path_GREP_found && break 3
  5986     done
  5987   done
  5988 done
  5989 IFS=$as_save_IFS
  5990   if test -z "$ac_cv_path_GREP"; then
  5991     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5992 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5993    { (exit 1); exit 1; }; }
  5994   fi
  5995 else
  5996   ac_cv_path_GREP=$GREP
  5997 fi
  5999 fi
  6000 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  6001 $as_echo "$ac_cv_path_GREP" >&6; }
  6002  GREP="$ac_cv_path_GREP"
  6005 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  6006 $as_echo_n "checking for egrep... " >&6; }
  6007 if test "${ac_cv_path_EGREP+set}" = set; then
  6008   $as_echo_n "(cached) " >&6
  6009 else
  6010   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  6011    then ac_cv_path_EGREP="$GREP -E"
  6012    else
  6013      if test -z "$EGREP"; then
  6014   ac_path_EGREP_found=false
  6015   # Loop through the user's path and test for each of PROGNAME-LIST
  6016   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6017 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6018 do
  6019   IFS=$as_save_IFS
  6020   test -z "$as_dir" && as_dir=.
  6021   for ac_prog in egrep; do
  6022     for ac_exec_ext in '' $ac_executable_extensions; do
  6023       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  6024       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  6025 # Check for GNU ac_path_EGREP and select it if it is found.
  6026   # Check for GNU $ac_path_EGREP
  6027 case `"$ac_path_EGREP" --version 2>&1` in
  6028 *GNU*)
  6029   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  6030 *)
  6031   ac_count=0
  6032   $as_echo_n 0123456789 >"conftest.in"
  6033   while :
  6034   do
  6035     cat "conftest.in" "conftest.in" >"conftest.tmp"
  6036     mv "conftest.tmp" "conftest.in"
  6037     cp "conftest.in" "conftest.nl"
  6038     $as_echo 'EGREP' >> "conftest.nl"
  6039     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6040     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6041     ac_count=`expr $ac_count + 1`
  6042     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  6043       # Best one so far, save it but keep looking for a better one
  6044       ac_cv_path_EGREP="$ac_path_EGREP"
  6045       ac_path_EGREP_max=$ac_count
  6046     fi
  6047     # 10*(2^10) chars as input seems more than enough
  6048     test $ac_count -gt 10 && break
  6049   done
  6050   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6051 esac
  6053       $ac_path_EGREP_found && break 3
  6054     done
  6055   done
  6056 done
  6057 IFS=$as_save_IFS
  6058   if test -z "$ac_cv_path_EGREP"; then
  6059     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  6060 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  6061    { (exit 1); exit 1; }; }
  6062   fi
  6063 else
  6064   ac_cv_path_EGREP=$EGREP
  6065 fi
  6067    fi
  6068 fi
  6069 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  6070 $as_echo "$ac_cv_path_EGREP" >&6; }
  6071  EGREP="$ac_cv_path_EGREP"
  6074 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6075 $as_echo_n "checking for ANSI C header files... " >&6; }
  6076 if test "${ac_cv_header_stdc+set}" = set; then
  6077   $as_echo_n "(cached) " >&6
  6078 else
  6079   cat >conftest.$ac_ext <<_ACEOF
  6080 /* confdefs.h.  */
  6081 _ACEOF
  6082 cat confdefs.h >>conftest.$ac_ext
  6083 cat >>conftest.$ac_ext <<_ACEOF
  6084 /* end confdefs.h.  */
  6085 #include <stdlib.h>
  6086 #include <stdarg.h>
  6087 #include <string.h>
  6088 #include <float.h>
  6090 int
  6091 main ()
  6095   return 0;
  6097 _ACEOF
  6098 rm -f conftest.$ac_objext
  6099 if { (ac_try="$ac_compile"
  6100 case "(($ac_try" in
  6101   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6102   *) ac_try_echo=$ac_try;;
  6103 esac
  6104 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6105 $as_echo "$ac_try_echo") >&5
  6106   (eval "$ac_compile") 2>conftest.er1
  6107   ac_status=$?
  6108   grep -v '^ *+' conftest.er1 >conftest.err
  6109   rm -f conftest.er1
  6110   cat conftest.err >&5
  6111   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6112   (exit $ac_status); } && {
  6113 	 test -z "$ac_c_werror_flag" ||
  6114 	 test ! -s conftest.err
  6115        } && test -s conftest.$ac_objext; then
  6116   ac_cv_header_stdc=yes
  6117 else
  6118   $as_echo "$as_me: failed program was:" >&5
  6119 sed 's/^/| /' conftest.$ac_ext >&5
  6121 	ac_cv_header_stdc=no
  6122 fi
  6124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6126 if test $ac_cv_header_stdc = yes; then
  6127   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6128   cat >conftest.$ac_ext <<_ACEOF
  6129 /* confdefs.h.  */
  6130 _ACEOF
  6131 cat confdefs.h >>conftest.$ac_ext
  6132 cat >>conftest.$ac_ext <<_ACEOF
  6133 /* end confdefs.h.  */
  6134 #include <string.h>
  6136 _ACEOF
  6137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6138   $EGREP "memchr" >/dev/null 2>&1; then
  6140 else
  6141   ac_cv_header_stdc=no
  6142 fi
  6143 rm -f conftest*
  6145 fi
  6147 if test $ac_cv_header_stdc = yes; then
  6148   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6149   cat >conftest.$ac_ext <<_ACEOF
  6150 /* confdefs.h.  */
  6151 _ACEOF
  6152 cat confdefs.h >>conftest.$ac_ext
  6153 cat >>conftest.$ac_ext <<_ACEOF
  6154 /* end confdefs.h.  */
  6155 #include <stdlib.h>
  6157 _ACEOF
  6158 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6159   $EGREP "free" >/dev/null 2>&1; then
  6161 else
  6162   ac_cv_header_stdc=no
  6163 fi
  6164 rm -f conftest*
  6166 fi
  6168 if test $ac_cv_header_stdc = yes; then
  6169   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6170   if test "$cross_compiling" = yes; then
  6172 else
  6173   cat >conftest.$ac_ext <<_ACEOF
  6174 /* confdefs.h.  */
  6175 _ACEOF
  6176 cat confdefs.h >>conftest.$ac_ext
  6177 cat >>conftest.$ac_ext <<_ACEOF
  6178 /* end confdefs.h.  */
  6179 #include <ctype.h>
  6180 #include <stdlib.h>
  6181 #if ((' ' & 0x0FF) == 0x020)
  6182 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6183 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6184 #else
  6185 # define ISLOWER(c) \
  6186 		   (('a' <= (c) && (c) <= 'i') \
  6187 		     || ('j' <= (c) && (c) <= 'r') \
  6188 		     || ('s' <= (c) && (c) <= 'z'))
  6189 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6190 #endif
  6192 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6193 int
  6194 main ()
  6196   int i;
  6197   for (i = 0; i < 256; i++)
  6198     if (XOR (islower (i), ISLOWER (i))
  6199 	|| toupper (i) != TOUPPER (i))
  6200       return 2;
  6201   return 0;
  6203 _ACEOF
  6204 rm -f conftest$ac_exeext
  6205 if { (ac_try="$ac_link"
  6206 case "(($ac_try" in
  6207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6208   *) ac_try_echo=$ac_try;;
  6209 esac
  6210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6211 $as_echo "$ac_try_echo") >&5
  6212   (eval "$ac_link") 2>&5
  6213   ac_status=$?
  6214   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6215   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6216   { (case "(($ac_try" in
  6217   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6218   *) ac_try_echo=$ac_try;;
  6219 esac
  6220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6221 $as_echo "$ac_try_echo") >&5
  6222   (eval "$ac_try") 2>&5
  6223   ac_status=$?
  6224   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6225   (exit $ac_status); }; }; then
  6227 else
  6228   $as_echo "$as_me: program exited with status $ac_status" >&5
  6229 $as_echo "$as_me: failed program was:" >&5
  6230 sed 's/^/| /' conftest.$ac_ext >&5
  6232 ( exit $ac_status )
  6233 ac_cv_header_stdc=no
  6234 fi
  6235 rm -rf conftest.dSYM
  6236 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6237 fi
  6240 fi
  6241 fi
  6242 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6243 $as_echo "$ac_cv_header_stdc" >&6; }
  6244 if test $ac_cv_header_stdc = yes; then
  6246 cat >>confdefs.h <<\_ACEOF
  6247 #define STDC_HEADERS 1
  6248 _ACEOF
  6250 fi
  6252 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6262 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6263 		  inttypes.h stdint.h unistd.h
  6264 do
  6265 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6266 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  6267 $as_echo_n "checking for $ac_header... " >&6; }
  6268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6269   $as_echo_n "(cached) " >&6
  6270 else
  6271   cat >conftest.$ac_ext <<_ACEOF
  6272 /* confdefs.h.  */
  6273 _ACEOF
  6274 cat confdefs.h >>conftest.$ac_ext
  6275 cat >>conftest.$ac_ext <<_ACEOF
  6276 /* end confdefs.h.  */
  6277 $ac_includes_default
  6279 #include <$ac_header>
  6280 _ACEOF
  6281 rm -f conftest.$ac_objext
  6282 if { (ac_try="$ac_compile"
  6283 case "(($ac_try" in
  6284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6285   *) ac_try_echo=$ac_try;;
  6286 esac
  6287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6288 $as_echo "$ac_try_echo") >&5
  6289   (eval "$ac_compile") 2>conftest.er1
  6290   ac_status=$?
  6291   grep -v '^ *+' conftest.er1 >conftest.err
  6292   rm -f conftest.er1
  6293   cat conftest.err >&5
  6294   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6295   (exit $ac_status); } && {
  6296 	 test -z "$ac_c_werror_flag" ||
  6297 	 test ! -s conftest.err
  6298        } && test -s conftest.$ac_objext; then
  6299   eval "$as_ac_Header=yes"
  6300 else
  6301   $as_echo "$as_me: failed program was:" >&5
  6302 sed 's/^/| /' conftest.$ac_ext >&5
  6304 	eval "$as_ac_Header=no"
  6305 fi
  6307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6308 fi
  6309 ac_res=`eval 'as_val=${'$as_ac_Header'}
  6310 		 $as_echo "$as_val"'`
  6311 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6312 $as_echo "$ac_res" >&6; }
  6313 if test `eval 'as_val=${'$as_ac_Header'}
  6314 		 $as_echo "$as_val"'` = yes; then
  6315   cat >>confdefs.h <<_ACEOF
  6316 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6317 _ACEOF
  6319 fi
  6321 done
  6324 # The cast to long int works around a bug in the HP C Compiler
  6325 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6326 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6327 # This bug is HP SR number 8606223364.
  6328 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
  6329 $as_echo_n "checking size of void *... " >&6; }
  6330 if test "${ac_cv_sizeof_void_p+set}" = set; then
  6331   $as_echo_n "(cached) " >&6
  6332 else
  6333   if test "$cross_compiling" = yes; then
  6334   # Depending upon the size, compute the lo and hi bounds.
  6335 cat >conftest.$ac_ext <<_ACEOF
  6336 /* confdefs.h.  */
  6337 _ACEOF
  6338 cat confdefs.h >>conftest.$ac_ext
  6339 cat >>conftest.$ac_ext <<_ACEOF
  6340 /* end confdefs.h.  */
  6341 $ac_includes_default
  6342 int
  6343 main ()
  6345 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
  6346 test_array [0] = 0
  6349   return 0;
  6351 _ACEOF
  6352 rm -f conftest.$ac_objext
  6353 if { (ac_try="$ac_compile"
  6354 case "(($ac_try" in
  6355   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6356   *) ac_try_echo=$ac_try;;
  6357 esac
  6358 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6359 $as_echo "$ac_try_echo") >&5
  6360   (eval "$ac_compile") 2>conftest.er1
  6361   ac_status=$?
  6362   grep -v '^ *+' conftest.er1 >conftest.err
  6363   rm -f conftest.er1
  6364   cat conftest.err >&5
  6365   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6366   (exit $ac_status); } && {
  6367 	 test -z "$ac_c_werror_flag" ||
  6368 	 test ! -s conftest.err
  6369        } && test -s conftest.$ac_objext; then
  6370   ac_lo=0 ac_mid=0
  6371   while :; do
  6372     cat >conftest.$ac_ext <<_ACEOF
  6373 /* confdefs.h.  */
  6374 _ACEOF
  6375 cat confdefs.h >>conftest.$ac_ext
  6376 cat >>conftest.$ac_ext <<_ACEOF
  6377 /* end confdefs.h.  */
  6378 $ac_includes_default
  6379 int
  6380 main ()
  6382 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6383 test_array [0] = 0
  6386   return 0;
  6388 _ACEOF
  6389 rm -f conftest.$ac_objext
  6390 if { (ac_try="$ac_compile"
  6391 case "(($ac_try" in
  6392   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6393   *) ac_try_echo=$ac_try;;
  6394 esac
  6395 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6396 $as_echo "$ac_try_echo") >&5
  6397   (eval "$ac_compile") 2>conftest.er1
  6398   ac_status=$?
  6399   grep -v '^ *+' conftest.er1 >conftest.err
  6400   rm -f conftest.er1
  6401   cat conftest.err >&5
  6402   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6403   (exit $ac_status); } && {
  6404 	 test -z "$ac_c_werror_flag" ||
  6405 	 test ! -s conftest.err
  6406        } && test -s conftest.$ac_objext; then
  6407   ac_hi=$ac_mid; break
  6408 else
  6409   $as_echo "$as_me: failed program was:" >&5
  6410 sed 's/^/| /' conftest.$ac_ext >&5
  6412 	ac_lo=`expr $ac_mid + 1`
  6413 			if test $ac_lo -le $ac_mid; then
  6414 			  ac_lo= ac_hi=
  6415 			  break
  6416 			fi
  6417 			ac_mid=`expr 2 '*' $ac_mid + 1`
  6418 fi
  6420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6421   done
  6422 else
  6423   $as_echo "$as_me: failed program was:" >&5
  6424 sed 's/^/| /' conftest.$ac_ext >&5
  6426 	cat >conftest.$ac_ext <<_ACEOF
  6427 /* confdefs.h.  */
  6428 _ACEOF
  6429 cat confdefs.h >>conftest.$ac_ext
  6430 cat >>conftest.$ac_ext <<_ACEOF
  6431 /* end confdefs.h.  */
  6432 $ac_includes_default
  6433 int
  6434 main ()
  6436 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
  6437 test_array [0] = 0
  6440   return 0;
  6442 _ACEOF
  6443 rm -f conftest.$ac_objext
  6444 if { (ac_try="$ac_compile"
  6445 case "(($ac_try" in
  6446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6447   *) ac_try_echo=$ac_try;;
  6448 esac
  6449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6450 $as_echo "$ac_try_echo") >&5
  6451   (eval "$ac_compile") 2>conftest.er1
  6452   ac_status=$?
  6453   grep -v '^ *+' conftest.er1 >conftest.err
  6454   rm -f conftest.er1
  6455   cat conftest.err >&5
  6456   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6457   (exit $ac_status); } && {
  6458 	 test -z "$ac_c_werror_flag" ||
  6459 	 test ! -s conftest.err
  6460        } && test -s conftest.$ac_objext; then
  6461   ac_hi=-1 ac_mid=-1
  6462   while :; do
  6463     cat >conftest.$ac_ext <<_ACEOF
  6464 /* confdefs.h.  */
  6465 _ACEOF
  6466 cat confdefs.h >>conftest.$ac_ext
  6467 cat >>conftest.$ac_ext <<_ACEOF
  6468 /* end confdefs.h.  */
  6469 $ac_includes_default
  6470 int
  6471 main ()
  6473 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
  6474 test_array [0] = 0
  6477   return 0;
  6479 _ACEOF
  6480 rm -f conftest.$ac_objext
  6481 if { (ac_try="$ac_compile"
  6482 case "(($ac_try" in
  6483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6484   *) ac_try_echo=$ac_try;;
  6485 esac
  6486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6487 $as_echo "$ac_try_echo") >&5
  6488   (eval "$ac_compile") 2>conftest.er1
  6489   ac_status=$?
  6490   grep -v '^ *+' conftest.er1 >conftest.err
  6491   rm -f conftest.er1
  6492   cat conftest.err >&5
  6493   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6494   (exit $ac_status); } && {
  6495 	 test -z "$ac_c_werror_flag" ||
  6496 	 test ! -s conftest.err
  6497        } && test -s conftest.$ac_objext; then
  6498   ac_lo=$ac_mid; break
  6499 else
  6500   $as_echo "$as_me: failed program was:" >&5
  6501 sed 's/^/| /' conftest.$ac_ext >&5
  6503 	ac_hi=`expr '(' $ac_mid ')' - 1`
  6504 			if test $ac_mid -le $ac_hi; then
  6505 			  ac_lo= ac_hi=
  6506 			  break
  6507 			fi
  6508 			ac_mid=`expr 2 '*' $ac_mid`
  6509 fi
  6511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6512   done
  6513 else
  6514   $as_echo "$as_me: failed program was:" >&5
  6515 sed 's/^/| /' conftest.$ac_ext >&5
  6517 	ac_lo= ac_hi=
  6518 fi
  6520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6521 fi
  6523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6524 # Binary search between lo and hi bounds.
  6525 while test "x$ac_lo" != "x$ac_hi"; do
  6526   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6527   cat >conftest.$ac_ext <<_ACEOF
  6528 /* confdefs.h.  */
  6529 _ACEOF
  6530 cat confdefs.h >>conftest.$ac_ext
  6531 cat >>conftest.$ac_ext <<_ACEOF
  6532 /* end confdefs.h.  */
  6533 $ac_includes_default
  6534 int
  6535 main ()
  6537 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6538 test_array [0] = 0
  6541   return 0;
  6543 _ACEOF
  6544 rm -f conftest.$ac_objext
  6545 if { (ac_try="$ac_compile"
  6546 case "(($ac_try" in
  6547   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6548   *) ac_try_echo=$ac_try;;
  6549 esac
  6550 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6551 $as_echo "$ac_try_echo") >&5
  6552   (eval "$ac_compile") 2>conftest.er1
  6553   ac_status=$?
  6554   grep -v '^ *+' conftest.er1 >conftest.err
  6555   rm -f conftest.er1
  6556   cat conftest.err >&5
  6557   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6558   (exit $ac_status); } && {
  6559 	 test -z "$ac_c_werror_flag" ||
  6560 	 test ! -s conftest.err
  6561        } && test -s conftest.$ac_objext; then
  6562   ac_hi=$ac_mid
  6563 else
  6564   $as_echo "$as_me: failed program was:" >&5
  6565 sed 's/^/| /' conftest.$ac_ext >&5
  6567 	ac_lo=`expr '(' $ac_mid ')' + 1`
  6568 fi
  6570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6571 done
  6572 case $ac_lo in
  6573 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  6574 '') if test "$ac_cv_type_void_p" = yes; then
  6575      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6576 See \`config.log' for more details." >&5
  6577 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6578 See \`config.log' for more details." >&2;}
  6579    { (exit 77); exit 77; }; }
  6580    else
  6581      ac_cv_sizeof_void_p=0
  6582    fi ;;
  6583 esac
  6584 else
  6585   cat >conftest.$ac_ext <<_ACEOF
  6586 /* confdefs.h.  */
  6587 _ACEOF
  6588 cat confdefs.h >>conftest.$ac_ext
  6589 cat >>conftest.$ac_ext <<_ACEOF
  6590 /* end confdefs.h.  */
  6591 $ac_includes_default
  6592 static long int longval () { return (long int) (sizeof (void *)); }
  6593 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
  6594 #include <stdio.h>
  6595 #include <stdlib.h>
  6596 int
  6597 main ()
  6600   FILE *f = fopen ("conftest.val", "w");
  6601   if (! f)
  6602     return 1;
  6603   if (((long int) (sizeof (void *))) < 0)
  6605       long int i = longval ();
  6606       if (i != ((long int) (sizeof (void *))))
  6607 	return 1;
  6608       fprintf (f, "%ld", i);
  6610   else
  6612       unsigned long int i = ulongval ();
  6613       if (i != ((long int) (sizeof (void *))))
  6614 	return 1;
  6615       fprintf (f, "%lu", i);
  6617   /* Do not output a trailing newline, as this causes \r\n confusion
  6618      on some platforms.  */
  6619   return ferror (f) || fclose (f) != 0;
  6622   return 0;
  6624 _ACEOF
  6625 rm -f conftest$ac_exeext
  6626 if { (ac_try="$ac_link"
  6627 case "(($ac_try" in
  6628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6629   *) ac_try_echo=$ac_try;;
  6630 esac
  6631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6632 $as_echo "$ac_try_echo") >&5
  6633   (eval "$ac_link") 2>&5
  6634   ac_status=$?
  6635   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6636   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6637   { (case "(($ac_try" in
  6638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6639   *) ac_try_echo=$ac_try;;
  6640 esac
  6641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6642 $as_echo "$ac_try_echo") >&5
  6643   (eval "$ac_try") 2>&5
  6644   ac_status=$?
  6645   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6646   (exit $ac_status); }; }; then
  6647   ac_cv_sizeof_void_p=`cat conftest.val`
  6648 else
  6649   $as_echo "$as_me: program exited with status $ac_status" >&5
  6650 $as_echo "$as_me: failed program was:" >&5
  6651 sed 's/^/| /' conftest.$ac_ext >&5
  6653 ( exit $ac_status )
  6654 if test "$ac_cv_type_void_p" = yes; then
  6655      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6656 See \`config.log' for more details." >&5
  6657 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6658 See \`config.log' for more details." >&2;}
  6659    { (exit 77); exit 77; }; }
  6660    else
  6661      ac_cv_sizeof_void_p=0
  6662    fi
  6663 fi
  6664 rm -rf conftest.dSYM
  6665 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6666 fi
  6667 rm -f conftest.val
  6668 fi
  6669 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  6670 $as_echo "$ac_cv_sizeof_void_p" >&6; }
  6674 cat >>confdefs.h <<_ACEOF
  6675 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  6676 _ACEOF
  6679 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6680 $as_echo_n "checking for ANSI C header files... " >&6; }
  6681 if test "${ac_cv_header_stdc+set}" = set; then
  6682   $as_echo_n "(cached) " >&6
  6683 else
  6684   cat >conftest.$ac_ext <<_ACEOF
  6685 /* confdefs.h.  */
  6686 _ACEOF
  6687 cat confdefs.h >>conftest.$ac_ext
  6688 cat >>conftest.$ac_ext <<_ACEOF
  6689 /* end confdefs.h.  */
  6690 #include <stdlib.h>
  6691 #include <stdarg.h>
  6692 #include <string.h>
  6693 #include <float.h>
  6695 int
  6696 main ()
  6700   return 0;
  6702 _ACEOF
  6703 rm -f conftest.$ac_objext
  6704 if { (ac_try="$ac_compile"
  6705 case "(($ac_try" in
  6706   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6707   *) ac_try_echo=$ac_try;;
  6708 esac
  6709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6710 $as_echo "$ac_try_echo") >&5
  6711   (eval "$ac_compile") 2>conftest.er1
  6712   ac_status=$?
  6713   grep -v '^ *+' conftest.er1 >conftest.err
  6714   rm -f conftest.er1
  6715   cat conftest.err >&5
  6716   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6717   (exit $ac_status); } && {
  6718 	 test -z "$ac_c_werror_flag" ||
  6719 	 test ! -s conftest.err
  6720        } && test -s conftest.$ac_objext; then
  6721   ac_cv_header_stdc=yes
  6722 else
  6723   $as_echo "$as_me: failed program was:" >&5
  6724 sed 's/^/| /' conftest.$ac_ext >&5
  6726 	ac_cv_header_stdc=no
  6727 fi
  6729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6731 if test $ac_cv_header_stdc = yes; then
  6732   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6733   cat >conftest.$ac_ext <<_ACEOF
  6734 /* confdefs.h.  */
  6735 _ACEOF
  6736 cat confdefs.h >>conftest.$ac_ext
  6737 cat >>conftest.$ac_ext <<_ACEOF
  6738 /* end confdefs.h.  */
  6739 #include <string.h>
  6741 _ACEOF
  6742 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6743   $EGREP "memchr" >/dev/null 2>&1; then
  6745 else
  6746   ac_cv_header_stdc=no
  6747 fi
  6748 rm -f conftest*
  6750 fi
  6752 if test $ac_cv_header_stdc = yes; then
  6753   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6754   cat >conftest.$ac_ext <<_ACEOF
  6755 /* confdefs.h.  */
  6756 _ACEOF
  6757 cat confdefs.h >>conftest.$ac_ext
  6758 cat >>conftest.$ac_ext <<_ACEOF
  6759 /* end confdefs.h.  */
  6760 #include <stdlib.h>
  6762 _ACEOF
  6763 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6764   $EGREP "free" >/dev/null 2>&1; then
  6766 else
  6767   ac_cv_header_stdc=no
  6768 fi
  6769 rm -f conftest*
  6771 fi
  6773 if test $ac_cv_header_stdc = yes; then
  6774   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6775   if test "$cross_compiling" = yes; then
  6777 else
  6778   cat >conftest.$ac_ext <<_ACEOF
  6779 /* confdefs.h.  */
  6780 _ACEOF
  6781 cat confdefs.h >>conftest.$ac_ext
  6782 cat >>conftest.$ac_ext <<_ACEOF
  6783 /* end confdefs.h.  */
  6784 #include <ctype.h>
  6785 #include <stdlib.h>
  6786 #if ((' ' & 0x0FF) == 0x020)
  6787 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6788 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6789 #else
  6790 # define ISLOWER(c) \
  6791 		   (('a' <= (c) && (c) <= 'i') \
  6792 		     || ('j' <= (c) && (c) <= 'r') \
  6793 		     || ('s' <= (c) && (c) <= 'z'))
  6794 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6795 #endif
  6797 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6798 int
  6799 main ()
  6801   int i;
  6802   for (i = 0; i < 256; i++)
  6803     if (XOR (islower (i), ISLOWER (i))
  6804 	|| toupper (i) != TOUPPER (i))
  6805       return 2;
  6806   return 0;
  6808 _ACEOF
  6809 rm -f conftest$ac_exeext
  6810 if { (ac_try="$ac_link"
  6811 case "(($ac_try" in
  6812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6813   *) ac_try_echo=$ac_try;;
  6814 esac
  6815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6816 $as_echo "$ac_try_echo") >&5
  6817   (eval "$ac_link") 2>&5
  6818   ac_status=$?
  6819   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6820   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6821   { (case "(($ac_try" in
  6822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6823   *) ac_try_echo=$ac_try;;
  6824 esac
  6825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6826 $as_echo "$ac_try_echo") >&5
  6827   (eval "$ac_try") 2>&5
  6828   ac_status=$?
  6829   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6830   (exit $ac_status); }; }; then
  6832 else
  6833   $as_echo "$as_me: program exited with status $ac_status" >&5
  6834 $as_echo "$as_me: failed program was:" >&5
  6835 sed 's/^/| /' conftest.$ac_ext >&5
  6837 ( exit $ac_status )
  6838 ac_cv_header_stdc=no
  6839 fi
  6840 rm -rf conftest.dSYM
  6841 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6842 fi
  6845 fi
  6846 fi
  6847 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6848 $as_echo "$ac_cv_header_stdc" >&6; }
  6849 if test $ac_cv_header_stdc = yes; then
  6851 cat >>confdefs.h <<\_ACEOF
  6852 #define STDC_HEADERS 1
  6853 _ACEOF
  6855 fi
  6857 # Make sure we can run config.sub.
  6858 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  6859   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  6860 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  6861    { (exit 1); exit 1; }; }
  6863 { $as_echo "$as_me:$LINENO: checking build system type" >&5
  6864 $as_echo_n "checking build system type... " >&6; }
  6865 if test "${ac_cv_build+set}" = set; then
  6866   $as_echo_n "(cached) " >&6
  6867 else
  6868   ac_build_alias=$build_alias
  6869 test "x$ac_build_alias" = x &&
  6870   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  6871 test "x$ac_build_alias" = x &&
  6872   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  6873 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  6874    { (exit 1); exit 1; }; }
  6875 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  6876   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  6877 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  6878    { (exit 1); exit 1; }; }
  6880 fi
  6881 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  6882 $as_echo "$ac_cv_build" >&6; }
  6883 case $ac_cv_build in
  6884 *-*-*) ;;
  6885 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  6886 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  6887    { (exit 1); exit 1; }; };;
  6888 esac
  6889 build=$ac_cv_build
  6890 ac_save_IFS=$IFS; IFS='-'
  6891 set x $ac_cv_build
  6892 shift
  6893 build_cpu=$1
  6894 build_vendor=$2
  6895 shift; shift
  6896 # Remember, the first character of IFS is used to create $*,
  6897 # except with old shells:
  6898 build_os=$*
  6899 IFS=$ac_save_IFS
  6900 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  6903 { $as_echo "$as_me:$LINENO: checking host system type" >&5
  6904 $as_echo_n "checking host system type... " >&6; }
  6905 if test "${ac_cv_host+set}" = set; then
  6906   $as_echo_n "(cached) " >&6
  6907 else
  6908   if test "x$host_alias" = x; then
  6909   ac_cv_host=$ac_cv_build
  6910 else
  6911   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  6912     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  6913 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  6914    { (exit 1); exit 1; }; }
  6915 fi
  6917 fi
  6918 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  6919 $as_echo "$ac_cv_host" >&6; }
  6920 case $ac_cv_host in
  6921 *-*-*) ;;
  6922 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  6923 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  6924    { (exit 1); exit 1; }; };;
  6925 esac
  6926 host=$ac_cv_host
  6927 ac_save_IFS=$IFS; IFS='-'
  6928 set x $ac_cv_host
  6929 shift
  6930 host_cpu=$1
  6931 host_vendor=$2
  6932 shift; shift
  6933 # Remember, the first character of IFS is used to create $*,
  6934 # except with old shells:
  6935 host_os=$*
  6936 IFS=$ac_save_IFS
  6937 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  6942 depcc="$OBJC" am_compiler_list='gcc3 gcc'
  6944 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  6945 $as_echo_n "checking dependency style of $depcc... " >&6; }
  6946 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
  6947   $as_echo_n "(cached) " >&6
  6948 else
  6949   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  6950   # We make a subdir and do the tests there.  Otherwise we can end up
  6951   # making bogus files that we don't know about and never remove.  For
  6952   # instance it was reported that on HP-UX the gcc test will end up
  6953   # making a dummy file named `D' -- because `-MD' means `put the output
  6954   # in D'.
  6955   mkdir conftest.dir
  6956   # Copy depcomp to subdir because otherwise we won't find it if we're
  6957   # using a relative directory.
  6958   cp "$am_depcomp" conftest.dir
  6959   cd conftest.dir
  6960   # We will build objects and dependencies in a subdirectory because
  6961   # it helps to detect inapplicable dependency modes.  For instance
  6962   # both Tru64's cc and ICC support -MD to output dependencies as a
  6963   # side effect of compilation, but ICC will put the dependencies in
  6964   # the current directory while Tru64 will put them in the object
  6965   # directory.
  6966   mkdir sub
  6968   am_cv_OBJC_dependencies_compiler_type=none
  6969   if test "$am_compiler_list" = ""; then
  6970      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  6971   fi
  6972   for depmode in $am_compiler_list; do
  6973     # Setup a source with many dependencies, because some compilers
  6974     # like to wrap large dependency lists on column 80 (with \), and
  6975     # we should not choose a depcomp mode which is confused by this.
  6977     # We need to recreate these files for each test, as the compiler may
  6978     # overwrite some of them when testing with obscure command lines.
  6979     # This happens at least with the AIX C compiler.
  6980     : > sub/conftest.c
  6981     for i in 1 2 3 4 5 6; do
  6982       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  6983       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  6984       # Solaris 8's {/usr,}/bin/sh.
  6985       touch sub/conftst$i.h
  6986     done
  6987     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  6989     case $depmode in
  6990     nosideeffect)
  6991       # after this tag, mechanisms are not by side-effect, so they'll
  6992       # only be used when explicitly requested
  6993       if test "x$enable_dependency_tracking" = xyes; then
  6994 	continue
  6995       else
  6996 	break
  6997       fi
  6998       ;;
  6999     none) break ;;
  7000     esac
  7001     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  7002     # mode.  It turns out that the SunPro C++ compiler does not properly
  7003     # handle `-M -o', and we need to detect this.
  7004     if depmode=$depmode \
  7005        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  7006        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  7007        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  7008          >/dev/null 2>conftest.err &&
  7009        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  7010        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  7011        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  7012       # icc doesn't choke on unknown options, it will just issue warnings
  7013       # or remarks (even with -Werror).  So we grep stderr for any message
  7014       # that says an option was ignored or not supported.
  7015       # When given -MP, icc 7.0 and 7.1 complain thusly:
  7016       #   icc: Command line warning: ignoring option '-M'; no argument required
  7017       # The diagnosis changed in icc 8.0:
  7018       #   icc: Command line remark: option '-MP' not supported
  7019       if (grep 'ignoring option' conftest.err ||
  7020           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  7021         am_cv_OBJC_dependencies_compiler_type=$depmode
  7022         break
  7023       fi
  7024     fi
  7025   done
  7027   cd ..
  7028   rm -rf conftest.dir
  7029 else
  7030   am_cv_OBJC_dependencies_compiler_type=none
  7031 fi
  7033 fi
  7034 { $as_echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
  7035 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
  7036 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
  7040 if
  7041   test "x$enable_dependency_tracking" != xno \
  7042   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
  7043   am__fastdepOBJC_TRUE=
  7044   am__fastdepOBJC_FALSE='#'
  7045 else
  7046   am__fastdepOBJC_TRUE='#'
  7047   am__fastdepOBJC_FALSE=
  7048 fi
  7052 # Extract the first word of "pod2man", so it can be a program name with args.
  7053 set dummy pod2man; ac_word=$2
  7054 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7055 $as_echo_n "checking for $ac_word... " >&6; }
  7056 if test "${ac_cv_path_POD2MAN+set}" = set; then
  7057   $as_echo_n "(cached) " >&6
  7058 else
  7059   case $POD2MAN in
  7060   [\\/]* | ?:[\\/]*)
  7061   ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
  7062   ;;
  7063   *)
  7064   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7065 for as_dir in $PATH
  7066 do
  7067   IFS=$as_save_IFS
  7068   test -z "$as_dir" && as_dir=.
  7069   for ac_exec_ext in '' $ac_executable_extensions; do
  7070   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7071     ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
  7072     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7073     break 2
  7074   fi
  7075 done
  7076 done
  7077 IFS=$as_save_IFS
  7079   ;;
  7080 esac
  7081 fi
  7082 POD2MAN=$ac_cv_path_POD2MAN
  7083 if test -n "$POD2MAN"; then
  7084   { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5
  7085 $as_echo "$POD2MAN" >&6; }
  7086 else
  7087   { $as_echo "$as_me:$LINENO: result: no" >&5
  7088 $as_echo "no" >&6; }
  7089 fi
  7092 # Extract the first word of "pod2html", so it can be a program name with args.
  7093 set dummy pod2html; ac_word=$2
  7094 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7095 $as_echo_n "checking for $ac_word... " >&6; }
  7096 if test "${ac_cv_path_POD2HTML+set}" = set; then
  7097   $as_echo_n "(cached) " >&6
  7098 else
  7099   case $POD2HTML in
  7100   [\\/]* | ?:[\\/]*)
  7101   ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
  7102   ;;
  7103   *)
  7104   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7105 for as_dir in $PATH
  7106 do
  7107   IFS=$as_save_IFS
  7108   test -z "$as_dir" && as_dir=.
  7109   for ac_exec_ext in '' $ac_executable_extensions; do
  7110   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7111     ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
  7112     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7113     break 2
  7114   fi
  7115 done
  7116 done
  7117 IFS=$as_save_IFS
  7119   ;;
  7120 esac
  7121 fi
  7122 POD2HTML=$ac_cv_path_POD2HTML
  7123 if test -n "$POD2HTML"; then
  7124   { $as_echo "$as_me:$LINENO: result: $POD2HTML" >&5
  7125 $as_echo "$POD2HTML" >&6; }
  7126 else
  7127   { $as_echo "$as_me:$LINENO: result: no" >&5
  7128 $as_echo "no" >&6; }
  7129 fi
  7134 # Check whether --enable-strict-warn was given.
  7135 if test "${enable_strict_warn+set}" = set; then
  7136   enableval=$enable_strict_warn; if test "$enableval" == "yes"; then
  7137       enable_strictwarn=yes
  7138     fi
  7139 fi
  7141 # Check whether --enable-translator was given.
  7142 if test "${enable_translator+set}" = set; then
  7143   enableval=$enable_translator; true
  7144 else
  7145   enable_translator=yes
  7146 fi
  7148 # Check whether --enable-optimized was given.
  7149 if test "${enable_optimized+set}" = set; then
  7150   enableval=$enable_optimized; true
  7151 else
  7152   enable_optimized=yes
  7153 fi
  7155 # Check whether --enable-profiled was given.
  7156 if test "${enable_profiled+set}" = set; then
  7157   enableval=$enable_profiled; if test "$enableval" == "yes"; then
  7158       enable_profiled=yes;
  7159     fi
  7160 fi
  7162 # Check whether --enable-trace was given.
  7163 if test "${enable_trace+set}" = set; then
  7164   enableval=$enable_trace; if test "$enableval" == "yes"; then
  7166 cat >>confdefs.h <<\_ACEOF
  7167 #define ENABLE_TRACE_IO 1
  7168 _ACEOF
  7170     fi
  7171 fi
  7173 # Check whether --enable-watch was given.
  7174 if test "${enable_watch+set}" = set; then
  7175   enableval=$enable_watch; if test "$enableval" == "yes"; then
  7177 cat >>confdefs.h <<\_ACEOF
  7178 #define ENABLE_WATCH 1
  7179 _ACEOF
  7181    fi
  7182 fi
  7184 # Check whether --enable-sh4stats was given.
  7185 if test "${enable_sh4stats+set}" = set; then
  7186   enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
  7188 cat >>confdefs.h <<\_ACEOF
  7189 #define ENABLE_SH4STATS 1
  7190 _ACEOF
  7192     fi
  7193 fi
  7196 # Check whether --with-osmesa was given.
  7197 if test "${with_osmesa+set}" = set; then
  7198   withval=$with_osmesa;
  7199 else
  7200   with_osmesa=no
  7201 fi
  7204 # Check whether --with-gtk was given.
  7205 if test "${with_gtk+set}" = set; then
  7206   withval=$with_gtk; with_gtk=yes
  7207 else
  7208   with_gtk=x11
  7209 fi
  7212 # Check whether --with-esd was given.
  7213 if test "${with_esd+set}" = set; then
  7214   withval=$with_esd;
  7215 fi
  7218 # Check whether --with-pulse was given.
  7219 if test "${with_pulse+set}" = set; then
  7220   withval=$with_pulse;
  7221 fi
  7224 # Check whether --with-sdl was given.
  7225 if test "${with_sdl+set}" = set; then
  7226   withval=$with_sdl;
  7227 fi
  7234 ac_ext=m
  7235 ac_cpp='$OBJCPP $CPPFLAGS'
  7236 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7237 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7238 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7239 if test -n "$ac_tool_prefix"; then
  7240   for ac_prog in gcc objcc objc cc CC
  7241   do
  7242     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7243 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7244 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7245 $as_echo_n "checking for $ac_word... " >&6; }
  7246 if test "${ac_cv_prog_OBJC+set}" = set; then
  7247   $as_echo_n "(cached) " >&6
  7248 else
  7249   if test -n "$OBJC"; then
  7250   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  7251 else
  7252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7253 for as_dir in $PATH
  7254 do
  7255   IFS=$as_save_IFS
  7256   test -z "$as_dir" && as_dir=.
  7257   for ac_exec_ext in '' $ac_executable_extensions; do
  7258   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7259     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  7260     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7261     break 2
  7262   fi
  7263 done
  7264 done
  7265 IFS=$as_save_IFS
  7267 fi
  7268 fi
  7269 OBJC=$ac_cv_prog_OBJC
  7270 if test -n "$OBJC"; then
  7271   { $as_echo "$as_me:$LINENO: result: $OBJC" >&5
  7272 $as_echo "$OBJC" >&6; }
  7273 else
  7274   { $as_echo "$as_me:$LINENO: result: no" >&5
  7275 $as_echo "no" >&6; }
  7276 fi
  7279     test -n "$OBJC" && break
  7280   done
  7281 fi
  7282 if test -z "$OBJC"; then
  7283   ac_ct_OBJC=$OBJC
  7284   for ac_prog in gcc objcc objc cc CC
  7285 do
  7286   # Extract the first word of "$ac_prog", so it can be a program name with args.
  7287 set dummy $ac_prog; ac_word=$2
  7288 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7289 $as_echo_n "checking for $ac_word... " >&6; }
  7290 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  7291   $as_echo_n "(cached) " >&6
  7292 else
  7293   if test -n "$ac_ct_OBJC"; then
  7294   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  7295 else
  7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7297 for as_dir in $PATH
  7298 do
  7299   IFS=$as_save_IFS
  7300   test -z "$as_dir" && as_dir=.
  7301   for ac_exec_ext in '' $ac_executable_extensions; do
  7302   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7303     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  7304     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7305     break 2
  7306   fi
  7307 done
  7308 done
  7309 IFS=$as_save_IFS
  7311 fi
  7312 fi
  7313 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  7314 if test -n "$ac_ct_OBJC"; then
  7315   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  7316 $as_echo "$ac_ct_OBJC" >&6; }
  7317 else
  7318   { $as_echo "$as_me:$LINENO: result: no" >&5
  7319 $as_echo "no" >&6; }
  7320 fi
  7323   test -n "$ac_ct_OBJC" && break
  7324 done
  7326   if test "x$ac_ct_OBJC" = x; then
  7327     OBJC="gcc"
  7328   else
  7329     case $cross_compiling:$ac_tool_warned in
  7330 yes:)
  7331 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  7332 whose name does not start with the host triplet.  If you think this
  7333 configuration is useful to you, please write to autoconf@gnu.org." >&5
  7334 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  7335 whose name does not start with the host triplet.  If you think this
  7336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  7337 ac_tool_warned=yes ;;
  7338 esac
  7339     OBJC=$ac_ct_OBJC
  7340   fi
  7341 fi
  7343 # Provide some information about the compiler.
  7344 $as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  7345 set X $ac_compile
  7346 ac_compiler=$2
  7347 { (ac_try="$ac_compiler --version >&5"
  7348 case "(($ac_try" in
  7349   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7350   *) ac_try_echo=$ac_try;;
  7351 esac
  7352 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7353 $as_echo "$ac_try_echo") >&5
  7354   (eval "$ac_compiler --version >&5") 2>&5
  7355   ac_status=$?
  7356   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7357   (exit $ac_status); }
  7358 { (ac_try="$ac_compiler -v >&5"
  7359 case "(($ac_try" in
  7360   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7361   *) ac_try_echo=$ac_try;;
  7362 esac
  7363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7364 $as_echo "$ac_try_echo") >&5
  7365   (eval "$ac_compiler -v >&5") 2>&5
  7366   ac_status=$?
  7367   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7368   (exit $ac_status); }
  7369 { (ac_try="$ac_compiler -V >&5"
  7370 case "(($ac_try" in
  7371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7372   *) ac_try_echo=$ac_try;;
  7373 esac
  7374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7375 $as_echo "$ac_try_echo") >&5
  7376   (eval "$ac_compiler -V >&5") 2>&5
  7377   ac_status=$?
  7378   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7379   (exit $ac_status); }
  7381 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  7382 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  7383 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  7384   $as_echo_n "(cached) " >&6
  7385 else
  7386   cat >conftest.$ac_ext <<_ACEOF
  7387 /* confdefs.h.  */
  7388 _ACEOF
  7389 cat confdefs.h >>conftest.$ac_ext
  7390 cat >>conftest.$ac_ext <<_ACEOF
  7391 /* end confdefs.h.  */
  7393 int
  7394 main ()
  7396 #ifndef __GNUC__
  7397        choke me
  7398 #endif
  7401   return 0;
  7403 _ACEOF
  7404 rm -f conftest.$ac_objext
  7405 if { (ac_try="$ac_compile"
  7406 case "(($ac_try" in
  7407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7408   *) ac_try_echo=$ac_try;;
  7409 esac
  7410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7411 $as_echo "$ac_try_echo") >&5
  7412   (eval "$ac_compile") 2>conftest.er1
  7413   ac_status=$?
  7414   grep -v '^ *+' conftest.er1 >conftest.err
  7415   rm -f conftest.er1
  7416   cat conftest.err >&5
  7417   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7418   (exit $ac_status); } && {
  7419 	 test -z "$ac_objc_werror_flag" ||
  7420 	 test ! -s conftest.err
  7421        } && test -s conftest.$ac_objext; then
  7422   ac_compiler_gnu=yes
  7423 else
  7424   $as_echo "$as_me: failed program was:" >&5
  7425 sed 's/^/| /' conftest.$ac_ext >&5
  7427 	ac_compiler_gnu=no
  7428 fi
  7430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7431 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  7433 fi
  7434 { $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  7435 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  7436 if test $ac_compiler_gnu = yes; then
  7437   GOBJC=yes
  7438 else
  7439   GOBJC=
  7440 fi
  7441 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  7442 ac_save_OBJCFLAGS=$OBJCFLAGS
  7443 { $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  7444 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  7445 if test "${ac_cv_prog_objc_g+set}" = set; then
  7446   $as_echo_n "(cached) " >&6
  7447 else
  7448   ac_save_objc_werror_flag=$ac_objc_werror_flag
  7449    ac_objc_werror_flag=yes
  7450    ac_cv_prog_objc_g=no
  7451    OBJCFLAGS="-g"
  7452    cat >conftest.$ac_ext <<_ACEOF
  7453 /* confdefs.h.  */
  7454 _ACEOF
  7455 cat confdefs.h >>conftest.$ac_ext
  7456 cat >>conftest.$ac_ext <<_ACEOF
  7457 /* end confdefs.h.  */
  7459 int
  7460 main ()
  7464   return 0;
  7466 _ACEOF
  7467 rm -f conftest.$ac_objext
  7468 if { (ac_try="$ac_compile"
  7469 case "(($ac_try" in
  7470   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7471   *) ac_try_echo=$ac_try;;
  7472 esac
  7473 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7474 $as_echo "$ac_try_echo") >&5
  7475   (eval "$ac_compile") 2>conftest.er1
  7476   ac_status=$?
  7477   grep -v '^ *+' conftest.er1 >conftest.err
  7478   rm -f conftest.er1
  7479   cat conftest.err >&5
  7480   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7481   (exit $ac_status); } && {
  7482 	 test -z "$ac_objc_werror_flag" ||
  7483 	 test ! -s conftest.err
  7484        } && test -s conftest.$ac_objext; then
  7485   ac_cv_prog_objc_g=yes
  7486 else
  7487   $as_echo "$as_me: failed program was:" >&5
  7488 sed 's/^/| /' conftest.$ac_ext >&5
  7490 	OBJCFLAGS=""
  7491       cat >conftest.$ac_ext <<_ACEOF
  7492 /* confdefs.h.  */
  7493 _ACEOF
  7494 cat confdefs.h >>conftest.$ac_ext
  7495 cat >>conftest.$ac_ext <<_ACEOF
  7496 /* end confdefs.h.  */
  7498 int
  7499 main ()
  7503   return 0;
  7505 _ACEOF
  7506 rm -f conftest.$ac_objext
  7507 if { (ac_try="$ac_compile"
  7508 case "(($ac_try" in
  7509   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7510   *) ac_try_echo=$ac_try;;
  7511 esac
  7512 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7513 $as_echo "$ac_try_echo") >&5
  7514   (eval "$ac_compile") 2>conftest.er1
  7515   ac_status=$?
  7516   grep -v '^ *+' conftest.er1 >conftest.err
  7517   rm -f conftest.er1
  7518   cat conftest.err >&5
  7519   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7520   (exit $ac_status); } && {
  7521 	 test -z "$ac_objc_werror_flag" ||
  7522 	 test ! -s conftest.err
  7523        } && test -s conftest.$ac_objext; then
  7525 else
  7526   $as_echo "$as_me: failed program was:" >&5
  7527 sed 's/^/| /' conftest.$ac_ext >&5
  7529 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  7530 	 OBJCFLAGS="-g"
  7531 	 cat >conftest.$ac_ext <<_ACEOF
  7532 /* confdefs.h.  */
  7533 _ACEOF
  7534 cat confdefs.h >>conftest.$ac_ext
  7535 cat >>conftest.$ac_ext <<_ACEOF
  7536 /* end confdefs.h.  */
  7538 int
  7539 main ()
  7543   return 0;
  7545 _ACEOF
  7546 rm -f conftest.$ac_objext
  7547 if { (ac_try="$ac_compile"
  7548 case "(($ac_try" in
  7549   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7550   *) ac_try_echo=$ac_try;;
  7551 esac
  7552 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7553 $as_echo "$ac_try_echo") >&5
  7554   (eval "$ac_compile") 2>conftest.er1
  7555   ac_status=$?
  7556   grep -v '^ *+' conftest.er1 >conftest.err
  7557   rm -f conftest.er1
  7558   cat conftest.err >&5
  7559   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7560   (exit $ac_status); } && {
  7561 	 test -z "$ac_objc_werror_flag" ||
  7562 	 test ! -s conftest.err
  7563        } && test -s conftest.$ac_objext; then
  7564   ac_cv_prog_objc_g=yes
  7565 else
  7566   $as_echo "$as_me: failed program was:" >&5
  7567 sed 's/^/| /' conftest.$ac_ext >&5
  7570 fi
  7572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7573 fi
  7575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7576 fi
  7578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7579    ac_objc_werror_flag=$ac_save_objc_werror_flag
  7580 fi
  7581 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  7582 $as_echo "$ac_cv_prog_objc_g" >&6; }
  7583 if test "$ac_test_OBJCFLAGS" = set; then
  7584   OBJCFLAGS=$ac_save_OBJCFLAGS
  7585 elif test $ac_cv_prog_objc_g = yes; then
  7586   if test "$GOBJC" = yes; then
  7587     OBJCFLAGS="-g -O2"
  7588   else
  7589     OBJCFLAGS="-g"
  7590   fi
  7591 else
  7592   if test "$GOBJC" = yes; then
  7593     OBJCFLAGS="-O2"
  7594   else
  7595     OBJCFLAGS=
  7596   fi
  7597 fi
  7598 ac_ext=c
  7599 ac_cpp='$CPP $CPPFLAGS'
  7600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7604 { $as_echo "$as_me:$LINENO: checking for a working Objective-C compiler" >&5
  7605 $as_echo_n "checking for a working Objective-C compiler... " >&6; }
  7606 ac_ext=m
  7607 ac_cpp='$OBJCPP $CPPFLAGS'
  7608 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7609 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7610 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7611 cat >conftest.$ac_ext <<_ACEOF
  7612 /* confdefs.h.  */
  7613 _ACEOF
  7614 cat confdefs.h >>conftest.$ac_ext
  7615 cat >>conftest.$ac_ext <<_ACEOF
  7616 /* end confdefs.h.  */
  7617 @interface Foo @end
  7618 int
  7619 main ()
  7623   return 0;
  7625 _ACEOF
  7626 rm -f conftest.$ac_objext
  7627 if { (ac_try="$ac_compile"
  7628 case "(($ac_try" in
  7629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7630   *) ac_try_echo=$ac_try;;
  7631 esac
  7632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7633 $as_echo "$ac_try_echo") >&5
  7634   (eval "$ac_compile") 2>conftest.er1
  7635   ac_status=$?
  7636   grep -v '^ *+' conftest.er1 >conftest.err
  7637   rm -f conftest.er1
  7638   cat conftest.err >&5
  7639   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7640   (exit $ac_status); } && {
  7641 	 test -z "$ac_objc_werror_flag" ||
  7642 	 test ! -s conftest.err
  7643        } && test -s conftest.$ac_objext; then
  7644   { $as_echo "$as_me:$LINENO: result: yes" >&5
  7645 $as_echo "yes" >&6; }
  7647    { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  7648 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
  7649 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  7650   $as_echo_n "(cached) " >&6
  7651 else
  7652   cat >conftest.$ac_ext <<_ACEOF
  7653 /* confdefs.h.  */
  7654 _ACEOF
  7655 cat confdefs.h >>conftest.$ac_ext
  7656 cat >>conftest.$ac_ext <<_ACEOF
  7657 /* end confdefs.h.  */
  7658 $ac_includes_default
  7660 #include <Cocoa/Cocoa.h>
  7661 _ACEOF
  7662 rm -f conftest.$ac_objext
  7663 if { (ac_try="$ac_compile"
  7664 case "(($ac_try" in
  7665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7666   *) ac_try_echo=$ac_try;;
  7667 esac
  7668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7669 $as_echo "$ac_try_echo") >&5
  7670   (eval "$ac_compile") 2>conftest.er1
  7671   ac_status=$?
  7672   grep -v '^ *+' conftest.er1 >conftest.err
  7673   rm -f conftest.er1
  7674   cat conftest.err >&5
  7675   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7676   (exit $ac_status); } && {
  7677 	 test -z "$ac_objc_werror_flag" ||
  7678 	 test ! -s conftest.err
  7679        } && test -s conftest.$ac_objext; then
  7680   ac_cv_header_Cocoa_Cocoa_h=yes
  7681 else
  7682   $as_echo "$as_me: failed program was:" >&5
  7683 sed 's/^/| /' conftest.$ac_ext >&5
  7685 	ac_cv_header_Cocoa_Cocoa_h=no
  7686 fi
  7688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7689 fi
  7690 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  7691 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  7692 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
  7694       HAVE_COCOA='yes'
  7695       APPLE_BUILD='yes'
  7696       LIBS="$LIBS -framework AppKit"
  7697       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"
  7698       CPPFLAGS="$CPPFLAGS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
  7699       LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
  7701 cat >>confdefs.h <<\_ACEOF
  7702 #define HAVE_COCOA 1
  7703 _ACEOF
  7706 cat >>confdefs.h <<\_ACEOF
  7707 #define APPLE_BUILD 1
  7708 _ACEOF
  7710       if test "x$with_gtk" = "xx11"; then
  7711         with_gtk=no
  7712       fi
  7714 fi
  7719 { $as_echo "$as_me:$LINENO: checking OBJC version" >&5
  7720 $as_echo_n "checking OBJC version... " >&6; }
  7721 if test -n "$OBJC"; then
  7722   _GOBJC_VERSION=`$OBJC --version | $SED -ne '/(GCC)/p'`
  7723   if test -n "$_GOBJC_VERSION"; then
  7724     { $as_echo "$as_me:$LINENO: result: GCC" >&5
  7725 $as_echo "GCC" >&6; }
  7726       OBJCOPT="-O2 -msse2 -mfpmath=sse"
  7727                      OBJCFLAGS="$OBJCFLAGS -fno-strict-aliasing"
  7728   else
  7729     { $as_echo "$as_me:$LINENO: result: Unknown" >&5
  7730 $as_echo "Unknown" >&6; }
  7731       OBJCOPT="-O2"
  7732   fi
  7733 else
  7734   { $as_echo "$as_me:$LINENO: result: None" >&5
  7735 $as_echo "None" >&6; }
  7737 fi
  7740 else
  7741   $as_echo "$as_me: failed program was:" >&5
  7742 sed 's/^/| /' conftest.$ac_ext >&5
  7744 	{ $as_echo "$as_me:$LINENO: result: No" >&5
  7745 $as_echo "No" >&6; }
  7747 fi
  7749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
  7750 ac_ext=c
  7751 ac_cpp='$CPP $CPPFLAGS'
  7752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7760 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
  7761   GUI_COCOA_TRUE=
  7762   GUI_COCOA_FALSE='#'
  7763 else
  7764   GUI_COCOA_TRUE='#'
  7765   GUI_COCOA_FALSE=
  7766 fi
  7768 if test "x$HAVE_COCOA" = 'xyes' -a "x$with_gtk" = "xno"; then
  7770 cat >>confdefs.h <<\_ACEOF
  7771 #define OSX_BUNDLE 1
  7772 _ACEOF
  7774 fi
  7776 CFLAGS="-g -fexceptions"
  7777 OBJCFLAGS="-g -fexceptions"
  7779 cat >>confdefs.h <<\_ACEOF
  7780 #define HAVE_EXCEPTIONS 1
  7781 _ACEOF
  7784 STDCFLAG="-std=c99"
  7786 _GCC_VERSION=`$CC --version | $SED -ne '/gcc/p'`
  7787 _ICC_VERSION=`$CC --version | $SED -ne '/(ICC)/p'`
  7788 { $as_echo "$as_me:$LINENO: checking CC version" >&5
  7789 $as_echo_n "checking CC version... " >&6; }
  7790 if test -n "$_ICC_VERSION"; then
  7791    { $as_echo "$as_me:$LINENO: result: ICC" >&5
  7792 $as_echo "ICC" >&6; }
  7793      CCOPT="$CFLAGS -fast"
  7794                 CFLAGS="$CFLAGS -fno-strict-aliasing"
  7795 elif test -n "$_GCC_VERSION"; then
  7796    { $as_echo "$as_me:$LINENO: result: GCC" >&5
  7797 $as_echo "GCC" >&6; }
  7798      CCOPT="-O2 -msse2 -mfpmath=sse"
  7799                 CFLAGS="$CFLAGS -fno-strict-aliasing"
  7800 else
  7801    { $as_echo "$as_me:$LINENO: result: Unknown" >&5
  7802 $as_echo "Unknown" >&6; }
  7803      CCOPT="$CFLAGS -O2"
  7804 fi
  7807 if test "x$enable_optimized" = "xyes"; then
  7808    CFLAGS="$CFLAGS $CCOPT"
  7809    OBJCFLAGS="$OBJCFLAGS $OBJCOPT"
  7810    if test "x$enable_profiled" != "xyes"; then
  7811               CFLAGS="$CFLAGS -fomit-frame-pointer"
  7812        OBJCFLAGS="$OBJCFLAGS -fomit-frame-pointer"
  7813    fi
  7814 else
  7815    CFLAGS="$CFLAGS -g3"
  7816    OBJCFLAGS="$OBJCFLAGS -g3"
  7817 fi
  7819 if test "x$enable_profiled" = "xyes"; then
  7820    CFLAGS="$CFLAGS -pg"
  7821    LDFLAGS="$LDFLAGS -pg";
  7822    OBJCFLAGS="$OBJCFLAGS -pg";
  7823 fi
  7825 if test "x$enable_strictwarn" = "xyes"; then
  7826    CFLAGS="$CFLAGS -Wall -Werror -Wno-unused"
  7827    OBJCFLAGS="$OBJCFLAGS -Wall -Werror -Wno-unused"
  7828 fi
  7831 { $as_echo "$as_me:$LINENO: checking support for fastcall calling conventions" >&5
  7832 $as_echo_n "checking support for fastcall calling conventions... " >&6; };
  7833 if test "$cross_compiling" = yes; then
  7834   { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  7835 See \`config.log' for more details." >&5
  7836 $as_echo "$as_me: error: cannot run test program while cross compiling
  7837 See \`config.log' for more details." >&2;}
  7838    { (exit 1); exit 1; }; }
  7839 else
  7840   cat >conftest.$ac_ext <<_ACEOF
  7842   /* confdefs.h.  */
  7843 _ACEOF
  7844 cat confdefs.h >>conftest.$ac_ext
  7845 cat >>conftest.$ac_ext <<_ACEOF
  7846 /* end confdefs.h.  */
  7848 int __attribute__((regparm(3))) foo(int a, int b) { return a+b; }
  7850 int main(int argc, char *argv[])
  7852    return foo( 1, 2 ) == 3 ? 0 : 1;
  7854 _ACEOF
  7855 rm -f conftest$ac_exeext
  7856 if { (ac_try="$ac_link"
  7857 case "(($ac_try" in
  7858   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7859   *) ac_try_echo=$ac_try;;
  7860 esac
  7861 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7862 $as_echo "$ac_try_echo") >&5
  7863   (eval "$ac_link") 2>&5
  7864   ac_status=$?
  7865   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7866   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7867   { (case "(($ac_try" in
  7868   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7869   *) ac_try_echo=$ac_try;;
  7870 esac
  7871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7872 $as_echo "$ac_try_echo") >&5
  7873   (eval "$ac_try") 2>&5
  7874   ac_status=$?
  7875   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7876   (exit $ac_status); }; }; then
  7878    { $as_echo "$as_me:$LINENO: result: yes" >&5
  7879 $as_echo "yes" >&6; }
  7882 cat >>confdefs.h <<\_ACEOF
  7883 #define HAVE_FASTCALL 1
  7884 _ACEOF
  7887 else
  7888   $as_echo "$as_me: program exited with status $ac_status" >&5
  7889 $as_echo "$as_me: failed program was:" >&5
  7890 sed 's/^/| /' conftest.$ac_ext >&5
  7892 ( exit $ac_status )
  7894    { $as_echo "$as_me:$LINENO: result: no" >&5
  7895 $as_echo "no" >&6; }
  7897 fi
  7898 rm -rf conftest.dSYM
  7899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7900 fi
  7905 { $as_echo "$as_me:$LINENO: checking if we have a working __builtin_frame_address()" >&5
  7906 $as_echo_n "checking if we have a working __builtin_frame_address()... " >&6; };
  7907 if test "$cross_compiling" = yes; then
  7908   { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  7909 See \`config.log' for more details." >&5
  7910 $as_echo "$as_me: error: cannot run test program while cross compiling
  7911 See \`config.log' for more details." >&2;}
  7912    { (exit 1); exit 1; }; }
  7913 else
  7914   cat >conftest.$ac_ext <<_ACEOF
  7916   /* confdefs.h.  */
  7917 _ACEOF
  7918 cat confdefs.h >>conftest.$ac_ext
  7919 cat >>conftest.$ac_ext <<_ACEOF
  7920 /* end confdefs.h.  */
  7922 void * __attribute__((noinline)) first_arg( void *x, void *y ) { return x; }
  7923 int __attribute__((noinline)) foo( int arg, void *exc )
  7925     if( arg < 2 ) {
  7926         *(((void **)__builtin_frame_address(0))+1) = exc;
  7928     return 0;
  7931 int main(int argc, char *argv[])
  7933    goto *first_arg(&&start, &&except);
  7935 start:
  7936    return foo( argc, &&except ) + 1;
  7938 except:
  7939    return 0;
  7941 _ACEOF
  7942 rm -f conftest$ac_exeext
  7943 if { (ac_try="$ac_link"
  7944 case "(($ac_try" in
  7945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7946   *) ac_try_echo=$ac_try;;
  7947 esac
  7948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7949 $as_echo "$ac_try_echo") >&5
  7950   (eval "$ac_link") 2>&5
  7951   ac_status=$?
  7952   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7953   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7954   { (case "(($ac_try" in
  7955   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7956   *) ac_try_echo=$ac_try;;
  7957 esac
  7958 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7959 $as_echo "$ac_try_echo") >&5
  7960   (eval "$ac_try") 2>&5
  7961   ac_status=$?
  7962   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7963   (exit $ac_status); }; }; then
  7965    { $as_echo "$as_me:$LINENO: result: yes" >&5
  7966 $as_echo "yes" >&6; }
  7969 cat >>confdefs.h <<\_ACEOF
  7970 #define HAVE_FRAME_ADDRESS 1
  7971 _ACEOF
  7974 else
  7975   $as_echo "$as_me: program exited with status $ac_status" >&5
  7976 $as_echo "$as_me: failed program was:" >&5
  7977 sed 's/^/| /' conftest.$ac_ext >&5
  7979 ( exit $ac_status )
  7981    { $as_echo "$as_me:$LINENO: result: no" >&5
  7982 $as_echo "no" >&6; }
  7983     { $as_echo "$as_me:$LINENO: WARNING: Memory exceptions will be slow" >&5
  7984 $as_echo "$as_me: WARNING: Memory exceptions will be slow" >&2;}
  7985 fi
  7986 rm -rf conftest.dSYM
  7987 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7988 fi
  7997 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  7998 	if test -n "$ac_tool_prefix"; then
  7999   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  8000 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  8001 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  8002 $as_echo_n "checking for $ac_word... " >&6; }
  8003 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  8004   $as_echo_n "(cached) " >&6
  8005 else
  8006   case $PKG_CONFIG in
  8007   [\\/]* | ?:[\\/]*)
  8008   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  8009   ;;
  8010   *)
  8011   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8012 for as_dir in $PATH
  8013 do
  8014   IFS=$as_save_IFS
  8015   test -z "$as_dir" && as_dir=.
  8016   for ac_exec_ext in '' $ac_executable_extensions; do
  8017   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8018     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8019     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8020     break 2
  8021   fi
  8022 done
  8023 done
  8024 IFS=$as_save_IFS
  8026   ;;
  8027 esac
  8028 fi
  8029 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  8030 if test -n "$PKG_CONFIG"; then
  8031   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  8032 $as_echo "$PKG_CONFIG" >&6; }
  8033 else
  8034   { $as_echo "$as_me:$LINENO: result: no" >&5
  8035 $as_echo "no" >&6; }
  8036 fi
  8039 fi
  8040 if test -z "$ac_cv_path_PKG_CONFIG"; then
  8041   ac_pt_PKG_CONFIG=$PKG_CONFIG
  8042   # Extract the first word of "pkg-config", so it can be a program name with args.
  8043 set dummy pkg-config; ac_word=$2
  8044 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  8045 $as_echo_n "checking for $ac_word... " >&6; }
  8046 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  8047   $as_echo_n "(cached) " >&6
  8048 else
  8049   case $ac_pt_PKG_CONFIG in
  8050   [\\/]* | ?:[\\/]*)
  8051   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  8052   ;;
  8053   *)
  8054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8055 for as_dir in $PATH
  8056 do
  8057   IFS=$as_save_IFS
  8058   test -z "$as_dir" && as_dir=.
  8059   for ac_exec_ext in '' $ac_executable_extensions; do
  8060   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8061     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8062     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8063     break 2
  8064   fi
  8065 done
  8066 done
  8067 IFS=$as_save_IFS
  8069   ;;
  8070 esac
  8071 fi
  8072 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  8073 if test -n "$ac_pt_PKG_CONFIG"; then
  8074   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  8075 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  8076 else
  8077   { $as_echo "$as_me:$LINENO: result: no" >&5
  8078 $as_echo "no" >&6; }
  8079 fi
  8081   if test "x$ac_pt_PKG_CONFIG" = x; then
  8082     PKG_CONFIG=""
  8083   else
  8084     case $cross_compiling:$ac_tool_warned in
  8085 yes:)
  8086 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  8087 whose name does not start with the host triplet.  If you think this
  8088 configuration is useful to you, please write to autoconf@gnu.org." >&5
  8089 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  8090 whose name does not start with the host triplet.  If you think this
  8091 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  8092 ac_tool_warned=yes ;;
  8093 esac
  8094     PKG_CONFIG=$ac_pt_PKG_CONFIG
  8095   fi
  8096 else
  8097   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  8098 fi
  8100 fi
  8101 if test -n "$PKG_CONFIG"; then
  8102 	_pkg_min_version=0.9.0
  8103 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  8104 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  8105 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  8106 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
  8107 $as_echo "yes" >&6; }
  8108 	else
  8109 		{ $as_echo "$as_me:$LINENO: result: no" >&5
  8110 $as_echo "no" >&6; }
  8111 		PKG_CONFIG=""
  8112 	fi
  8114 fi
  8116 pkg_failed=no
  8117 { $as_echo "$as_me:$LINENO: checking for LIBPNG" >&5
  8118 $as_echo_n "checking for LIBPNG... " >&6; }
  8120 if test -n "$LIBPNG_CFLAGS"; then
  8121     pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
  8122  elif test -n "$PKG_CONFIG"; then
  8123     if test -n "$PKG_CONFIG" && \
  8124     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  8125   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  8126   ac_status=$?
  8127   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8128   (exit $ac_status); }; then
  8129   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
  8130 else
  8131   pkg_failed=yes
  8132 fi
  8133  else
  8134     pkg_failed=untried
  8135 fi
  8136 if test -n "$LIBPNG_LIBS"; then
  8137     pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
  8138  elif test -n "$PKG_CONFIG"; then
  8139     if test -n "$PKG_CONFIG" && \
  8140     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  8141   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  8142   ac_status=$?
  8143   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8144   (exit $ac_status); }; then
  8145   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
  8146 else
  8147   pkg_failed=yes
  8148 fi
  8149  else
  8150     pkg_failed=untried
  8151 fi
  8155 if test $pkg_failed = yes; then
  8157 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8158         _pkg_short_errors_supported=yes
  8159 else
  8160         _pkg_short_errors_supported=no
  8161 fi
  8162         if test $_pkg_short_errors_supported = yes; then
  8163 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng " 2>&1`
  8164         else
  8165 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng " 2>&1`
  8166         fi
  8167 	# Put the nasty error message in config.log where it belongs
  8168 	echo "$LIBPNG_PKG_ERRORS" >&5
  8170 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
  8172 $LIBPNG_PKG_ERRORS
  8174 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8175 installed software in a non-standard prefix.
  8177 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8178 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8179 See the pkg-config man page for more details.
  8180 " >&5
  8181 $as_echo "$as_me: error: Package requirements (libpng ) were not met:
  8183 $LIBPNG_PKG_ERRORS
  8185 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8186 installed software in a non-standard prefix.
  8188 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8189 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8190 See the pkg-config man page for more details.
  8191 " >&2;}
  8192    { (exit 1); exit 1; }; }
  8193 elif test $pkg_failed = untried; then
  8194 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  8195 is in your PATH or set the PKG_CONFIG environment variable to the full
  8196 path to pkg-config.
  8198 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8199 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8200 See the pkg-config man page for more details.
  8202 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8203 See \`config.log' for more details." >&5
  8204 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  8205 is in your PATH or set the PKG_CONFIG environment variable to the full
  8206 path to pkg-config.
  8208 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8209 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8210 See the pkg-config man page for more details.
  8212 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8213 See \`config.log' for more details." >&2;}
  8214    { (exit 1); exit 1; }; }
  8215 else
  8216 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
  8217 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
  8218         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8219 $as_echo "yes" >&6; }
  8221 fi
  8224 { $as_echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
  8225 $as_echo_n "checking for uncompress in -lz... " >&6; }
  8226 if test "${ac_cv_lib_z_uncompress+set}" = set; then
  8227   $as_echo_n "(cached) " >&6
  8228 else
  8229   ac_check_lib_save_LIBS=$LIBS
  8230 LIBS="-lz  $LIBS"
  8231 cat >conftest.$ac_ext <<_ACEOF
  8232 /* confdefs.h.  */
  8233 _ACEOF
  8234 cat confdefs.h >>conftest.$ac_ext
  8235 cat >>conftest.$ac_ext <<_ACEOF
  8236 /* end confdefs.h.  */
  8238 /* Override any GCC internal prototype to avoid an error.
  8239    Use char because int might match the return type of a GCC
  8240    builtin and then its argument prototype would still apply.  */
  8241 #ifdef __cplusplus
  8242 extern "C"
  8243 #endif
  8244 char uncompress ();
  8245 int
  8246 main ()
  8248 return uncompress ();
  8250   return 0;
  8252 _ACEOF
  8253 rm -f conftest.$ac_objext conftest$ac_exeext
  8254 if { (ac_try="$ac_link"
  8255 case "(($ac_try" in
  8256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8257   *) ac_try_echo=$ac_try;;
  8258 esac
  8259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8260 $as_echo "$ac_try_echo") >&5
  8261   (eval "$ac_link") 2>conftest.er1
  8262   ac_status=$?
  8263   grep -v '^ *+' conftest.er1 >conftest.err
  8264   rm -f conftest.er1
  8265   cat conftest.err >&5
  8266   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8267   (exit $ac_status); } && {
  8268 	 test -z "$ac_c_werror_flag" ||
  8269 	 test ! -s conftest.err
  8270        } && test -s conftest$ac_exeext && {
  8271 	 test "$cross_compiling" = yes ||
  8272 	 $as_test_x conftest$ac_exeext
  8273        }; then
  8274   ac_cv_lib_z_uncompress=yes
  8275 else
  8276   $as_echo "$as_me: failed program was:" >&5
  8277 sed 's/^/| /' conftest.$ac_ext >&5
  8279 	ac_cv_lib_z_uncompress=no
  8280 fi
  8282 rm -rf conftest.dSYM
  8283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8284       conftest$ac_exeext conftest.$ac_ext
  8285 LIBS=$ac_check_lib_save_LIBS
  8286 fi
  8287 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
  8288 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
  8289 if test $ac_cv_lib_z_uncompress = yes; then
  8290   cat >>confdefs.h <<_ACEOF
  8291 #define HAVE_LIBZ 1
  8292 _ACEOF
  8294   LIBS="-lz $LIBS"
  8296 else
  8298     echo "Zlib (libz.so) could not be found, but is required."
  8299     exit 1
  8300 fi
  8303 if test "x$with_gtk" = "xno"; then
  8305 pkg_failed=no
  8306 { $as_echo "$as_me:$LINENO: checking for GLIB" >&5
  8307 $as_echo_n "checking for GLIB... " >&6; }
  8309 if test -n "$GLIB_CFLAGS"; then
  8310     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
  8311  elif test -n "$PKG_CONFIG"; then
  8312     if test -n "$PKG_CONFIG" && \
  8313     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
  8314   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  8315   ac_status=$?
  8316   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8317   (exit $ac_status); }; then
  8318   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
  8319 else
  8320   pkg_failed=yes
  8321 fi
  8322  else
  8323     pkg_failed=untried
  8324 fi
  8325 if test -n "$GLIB_LIBS"; then
  8326     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
  8327  elif test -n "$PKG_CONFIG"; then
  8328     if test -n "$PKG_CONFIG" && \
  8329     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
  8330   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  8331   ac_status=$?
  8332   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8333   (exit $ac_status); }; then
  8334   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
  8335 else
  8336   pkg_failed=yes
  8337 fi
  8338  else
  8339     pkg_failed=untried
  8340 fi
  8344 if test $pkg_failed = yes; then
  8346 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8347         _pkg_short_errors_supported=yes
  8348 else
  8349         _pkg_short_errors_supported=no
  8350 fi
  8351         if test $_pkg_short_errors_supported = yes; then
  8352 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
  8353         else
  8354 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
  8355         fi
  8356 	# Put the nasty error message in config.log where it belongs
  8357 	echo "$GLIB_PKG_ERRORS" >&5
  8359 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
  8361 $GLIB_PKG_ERRORS
  8363 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8364 installed software in a non-standard prefix.
  8366 Alternatively, you may set the environment variables GLIB_CFLAGS
  8367 and GLIB_LIBS to avoid the need to call pkg-config.
  8368 See the pkg-config man page for more details.
  8369 " >&5
  8370 $as_echo "$as_me: error: Package requirements (glib-2.0) were not met:
  8372 $GLIB_PKG_ERRORS
  8374 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8375 installed software in a non-standard prefix.
  8377 Alternatively, you may set the environment variables GLIB_CFLAGS
  8378 and GLIB_LIBS to avoid the need to call pkg-config.
  8379 See the pkg-config man page for more details.
  8380 " >&2;}
  8381    { (exit 1); exit 1; }; }
  8382 elif test $pkg_failed = untried; then
  8383 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  8384 is in your PATH or set the PKG_CONFIG environment variable to the full
  8385 path to pkg-config.
  8387 Alternatively, you may set the environment variables GLIB_CFLAGS
  8388 and GLIB_LIBS to avoid the need to call pkg-config.
  8389 See the pkg-config man page for more details.
  8391 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8392 See \`config.log' for more details." >&5
  8393 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  8394 is in your PATH or set the PKG_CONFIG environment variable to the full
  8395 path to pkg-config.
  8397 Alternatively, you may set the environment variables GLIB_CFLAGS
  8398 and GLIB_LIBS to avoid the need to call pkg-config.
  8399 See the pkg-config man page for more details.
  8401 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8402 See \`config.log' for more details." >&2;}
  8403    { (exit 1); exit 1; }; }
  8404 else
  8405 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
  8406 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
  8407         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8408 $as_echo "yes" >&6; }
  8410 fi
  8411 else
  8413 pkg_failed=no
  8414 { $as_echo "$as_me:$LINENO: checking for GTK" >&5
  8415 $as_echo_n "checking for GTK... " >&6; }
  8417 if test -n "$GTK_CFLAGS"; then
  8418     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
  8419  elif test -n "$PKG_CONFIG"; then
  8420     if test -n "$PKG_CONFIG" && \
  8421     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  8422   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  8423   ac_status=$?
  8424   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8425   (exit $ac_status); }; then
  8426   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
  8427 else
  8428   pkg_failed=yes
  8429 fi
  8430  else
  8431     pkg_failed=untried
  8432 fi
  8433 if test -n "$GTK_LIBS"; then
  8434     pkg_cv_GTK_LIBS="$GTK_LIBS"
  8435  elif test -n "$PKG_CONFIG"; then
  8436     if test -n "$PKG_CONFIG" && \
  8437     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  8438   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  8439   ac_status=$?
  8440   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8441   (exit $ac_status); }; then
  8442   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
  8443 else
  8444   pkg_failed=yes
  8445 fi
  8446  else
  8447     pkg_failed=untried
  8448 fi
  8452 if test $pkg_failed = yes; then
  8454 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8455         _pkg_short_errors_supported=yes
  8456 else
  8457         _pkg_short_errors_supported=no
  8458 fi
  8459         if test $_pkg_short_errors_supported = yes; then
  8460 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
  8461         else
  8462 	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
  8463         fi
  8464 	# Put the nasty error message in config.log where it belongs
  8465 	echo "$GTK_PKG_ERRORS" >&5
  8467 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
  8469 $GTK_PKG_ERRORS
  8471 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8472 installed software in a non-standard prefix.
  8474 Alternatively, you may set the environment variables GTK_CFLAGS
  8475 and GTK_LIBS to avoid the need to call pkg-config.
  8476 See the pkg-config man page for more details.
  8477 " >&5
  8478 $as_echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
  8480 $GTK_PKG_ERRORS
  8482 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8483 installed software in a non-standard prefix.
  8485 Alternatively, you may set the environment variables GTK_CFLAGS
  8486 and GTK_LIBS to avoid the need to call pkg-config.
  8487 See the pkg-config man page for more details.
  8488 " >&2;}
  8489    { (exit 1); exit 1; }; }
  8490 elif test $pkg_failed = untried; then
  8491 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  8492 is in your PATH or set the PKG_CONFIG environment variable to the full
  8493 path to pkg-config.
  8495 Alternatively, you may set the environment variables GTK_CFLAGS
  8496 and GTK_LIBS to avoid the need to call pkg-config.
  8497 See the pkg-config man page for more details.
  8499 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8500 See \`config.log' for more details." >&5
  8501 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  8502 is in your PATH or set the PKG_CONFIG environment variable to the full
  8503 path to pkg-config.
  8505 Alternatively, you may set the environment variables GTK_CFLAGS
  8506 and GTK_LIBS to avoid the need to call pkg-config.
  8507 See the pkg-config man page for more details.
  8509 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8510 See \`config.log' for more details." >&2;}
  8511    { (exit 1); exit 1; }; }
  8512 else
  8513 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
  8514 	GTK_LIBS=$pkg_cv_GTK_LIBS
  8515         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8516 $as_echo "yes" >&6; }
  8518        HAVE_GTK='yes'
  8520 cat >>confdefs.h <<\_ACEOF
  8521 #define HAVE_GTK 1
  8522 _ACEOF
  8525 fi
  8527       LIBS="$LIBS $GTK_LIBS"
  8528    { $as_echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
  8529 $as_echo_n "checking for gdk_x11_display_get_xdisplay... " >&6; }
  8530 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
  8531   $as_echo_n "(cached) " >&6
  8532 else
  8533   cat >conftest.$ac_ext <<_ACEOF
  8534 /* confdefs.h.  */
  8535 _ACEOF
  8536 cat confdefs.h >>conftest.$ac_ext
  8537 cat >>conftest.$ac_ext <<_ACEOF
  8538 /* end confdefs.h.  */
  8539 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
  8540    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8541 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
  8543 /* System header to define __stub macros and hopefully few prototypes,
  8544     which can conflict with char gdk_x11_display_get_xdisplay (); below.
  8545     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8546     <limits.h> exists even on freestanding compilers.  */
  8548 #ifdef __STDC__
  8549 # include <limits.h>
  8550 #else
  8551 # include <assert.h>
  8552 #endif
  8554 #undef gdk_x11_display_get_xdisplay
  8556 /* Override any GCC internal prototype to avoid an error.
  8557    Use char because int might match the return type of a GCC
  8558    builtin and then its argument prototype would still apply.  */
  8559 #ifdef __cplusplus
  8560 extern "C"
  8561 #endif
  8562 char gdk_x11_display_get_xdisplay ();
  8563 /* The GNU C library defines this for functions which it implements
  8564     to always fail with ENOSYS.  Some functions are actually named
  8565     something starting with __ and the normal name is an alias.  */
  8566 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
  8567 choke me
  8568 #endif
  8570 int
  8571 main ()
  8573 return gdk_x11_display_get_xdisplay ();
  8575   return 0;
  8577 _ACEOF
  8578 rm -f conftest.$ac_objext conftest$ac_exeext
  8579 if { (ac_try="$ac_link"
  8580 case "(($ac_try" in
  8581   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8582   *) ac_try_echo=$ac_try;;
  8583 esac
  8584 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8585 $as_echo "$ac_try_echo") >&5
  8586   (eval "$ac_link") 2>conftest.er1
  8587   ac_status=$?
  8588   grep -v '^ *+' conftest.er1 >conftest.err
  8589   rm -f conftest.er1
  8590   cat conftest.err >&5
  8591   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8592   (exit $ac_status); } && {
  8593 	 test -z "$ac_c_werror_flag" ||
  8594 	 test ! -s conftest.err
  8595        } && test -s conftest$ac_exeext && {
  8596 	 test "$cross_compiling" = yes ||
  8597 	 $as_test_x conftest$ac_exeext
  8598        }; then
  8599   ac_cv_func_gdk_x11_display_get_xdisplay=yes
  8600 else
  8601   $as_echo "$as_me: failed program was:" >&5
  8602 sed 's/^/| /' conftest.$ac_ext >&5
  8604 	ac_cv_func_gdk_x11_display_get_xdisplay=no
  8605 fi
  8607 rm -rf conftest.dSYM
  8608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8609       conftest$ac_exeext conftest.$ac_ext
  8610 fi
  8611 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
  8612 $as_echo "$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
  8613 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
  8615       HAVE_GTK_X11='yes'
  8617 cat >>confdefs.h <<\_ACEOF
  8618 #define HAVE_GTK_X11 1
  8619 _ACEOF
  8621 fi
  8623    { $as_echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
  8624 $as_echo_n "checking for gdk_quartz_window_get_nsview... " >&6; }
  8625 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
  8626   $as_echo_n "(cached) " >&6
  8627 else
  8628   cat >conftest.$ac_ext <<_ACEOF
  8629 /* confdefs.h.  */
  8630 _ACEOF
  8631 cat confdefs.h >>conftest.$ac_ext
  8632 cat >>conftest.$ac_ext <<_ACEOF
  8633 /* end confdefs.h.  */
  8634 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
  8635    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8636 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
  8638 /* System header to define __stub macros and hopefully few prototypes,
  8639     which can conflict with char gdk_quartz_window_get_nsview (); below.
  8640     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8641     <limits.h> exists even on freestanding compilers.  */
  8643 #ifdef __STDC__
  8644 # include <limits.h>
  8645 #else
  8646 # include <assert.h>
  8647 #endif
  8649 #undef gdk_quartz_window_get_nsview
  8651 /* Override any GCC internal prototype to avoid an error.
  8652    Use char because int might match the return type of a GCC
  8653    builtin and then its argument prototype would still apply.  */
  8654 #ifdef __cplusplus
  8655 extern "C"
  8656 #endif
  8657 char gdk_quartz_window_get_nsview ();
  8658 /* The GNU C library defines this for functions which it implements
  8659     to always fail with ENOSYS.  Some functions are actually named
  8660     something starting with __ and the normal name is an alias.  */
  8661 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
  8662 choke me
  8663 #endif
  8665 int
  8666 main ()
  8668 return gdk_quartz_window_get_nsview ();
  8670   return 0;
  8672 _ACEOF
  8673 rm -f conftest.$ac_objext conftest$ac_exeext
  8674 if { (ac_try="$ac_link"
  8675 case "(($ac_try" in
  8676   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8677   *) ac_try_echo=$ac_try;;
  8678 esac
  8679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8680 $as_echo "$ac_try_echo") >&5
  8681   (eval "$ac_link") 2>conftest.er1
  8682   ac_status=$?
  8683   grep -v '^ *+' conftest.er1 >conftest.err
  8684   rm -f conftest.er1
  8685   cat conftest.err >&5
  8686   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8687   (exit $ac_status); } && {
  8688 	 test -z "$ac_c_werror_flag" ||
  8689 	 test ! -s conftest.err
  8690        } && test -s conftest$ac_exeext && {
  8691 	 test "$cross_compiling" = yes ||
  8692 	 $as_test_x conftest$ac_exeext
  8693        }; then
  8694   ac_cv_func_gdk_quartz_window_get_nsview=yes
  8695 else
  8696   $as_echo "$as_me: failed program was:" >&5
  8697 sed 's/^/| /' conftest.$ac_ext >&5
  8699 	ac_cv_func_gdk_quartz_window_get_nsview=no
  8700 fi
  8702 rm -rf conftest.dSYM
  8703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8704       conftest$ac_exeext conftest.$ac_ext
  8705 fi
  8706 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
  8707 $as_echo "$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
  8708 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
  8710       HAVE_GTK_OSX='yes'
  8712 cat >>confdefs.h <<\_ACEOF
  8713 #define HAVE_GTK_OSX 1
  8714 _ACEOF
  8716 fi
  8718 fi
  8722 if test "$HAVE_GTK" = 'yes'; then
  8723   GUI_GTK_TRUE=
  8724   GUI_GTK_FALSE='#'
  8725 else
  8726   GUI_GTK_TRUE='#'
  8727   GUI_GTK_FALSE=
  8728 fi
  8731 if test "x$with_osmesa" != xno; then
  8735 { $as_echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
  8736 $as_echo_n "checking for OSMesaCreateContext in -lOSMesa... " >&6; }
  8737 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
  8738   $as_echo_n "(cached) " >&6
  8739 else
  8740   ac_check_lib_save_LIBS=$LIBS
  8741 LIBS="-lOSMesa  $LIBS"
  8742 cat >conftest.$ac_ext <<_ACEOF
  8743 /* confdefs.h.  */
  8744 _ACEOF
  8745 cat confdefs.h >>conftest.$ac_ext
  8746 cat >>conftest.$ac_ext <<_ACEOF
  8747 /* end confdefs.h.  */
  8749 /* Override any GCC internal prototype to avoid an error.
  8750    Use char because int might match the return type of a GCC
  8751    builtin and then its argument prototype would still apply.  */
  8752 #ifdef __cplusplus
  8753 extern "C"
  8754 #endif
  8755 char OSMesaCreateContext ();
  8756 int
  8757 main ()
  8759 return OSMesaCreateContext ();
  8761   return 0;
  8763 _ACEOF
  8764 rm -f conftest.$ac_objext conftest$ac_exeext
  8765 if { (ac_try="$ac_link"
  8766 case "(($ac_try" in
  8767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8768   *) ac_try_echo=$ac_try;;
  8769 esac
  8770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8771 $as_echo "$ac_try_echo") >&5
  8772   (eval "$ac_link") 2>conftest.er1
  8773   ac_status=$?
  8774   grep -v '^ *+' conftest.er1 >conftest.err
  8775   rm -f conftest.er1
  8776   cat conftest.err >&5
  8777   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8778   (exit $ac_status); } && {
  8779 	 test -z "$ac_c_werror_flag" ||
  8780 	 test ! -s conftest.err
  8781        } && test -s conftest$ac_exeext && {
  8782 	 test "$cross_compiling" = yes ||
  8783 	 $as_test_x conftest$ac_exeext
  8784        }; then
  8785   ac_cv_lib_OSMesa_OSMesaCreateContext=yes
  8786 else
  8787   $as_echo "$as_me: failed program was:" >&5
  8788 sed 's/^/| /' conftest.$ac_ext >&5
  8790 	ac_cv_lib_OSMesa_OSMesaCreateContext=no
  8791 fi
  8793 rm -rf conftest.dSYM
  8794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8795       conftest$ac_exeext conftest.$ac_ext
  8796 LIBS=$ac_check_lib_save_LIBS
  8797 fi
  8798 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
  8799 $as_echo "$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
  8800 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
  8801   cat >>confdefs.h <<_ACEOF
  8802 #define HAVE_LIBOSMESA 1
  8803 _ACEOF
  8805   LIBS="-lOSMesa $LIBS"
  8807 else
  8808   { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
  8809 See \`config.log' for more details." >&5
  8810 $as_echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
  8811 See \`config.log' for more details." >&2;}
  8812    { (exit 1); exit 1; }; }
  8813 fi
  8815   if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  8816   { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  8817 $as_echo_n "checking for GL/osmesa.h... " >&6; }
  8818 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  8819   $as_echo_n "(cached) " >&6
  8820 fi
  8821 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  8822 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
  8823 else
  8824   # Is the header compilable?
  8825 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
  8826 $as_echo_n "checking GL/osmesa.h usability... " >&6; }
  8827 cat >conftest.$ac_ext <<_ACEOF
  8828 /* confdefs.h.  */
  8829 _ACEOF
  8830 cat confdefs.h >>conftest.$ac_ext
  8831 cat >>conftest.$ac_ext <<_ACEOF
  8832 /* end confdefs.h.  */
  8833 $ac_includes_default
  8834 #include <GL/osmesa.h>
  8835 _ACEOF
  8836 rm -f conftest.$ac_objext
  8837 if { (ac_try="$ac_compile"
  8838 case "(($ac_try" in
  8839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8840   *) ac_try_echo=$ac_try;;
  8841 esac
  8842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8843 $as_echo "$ac_try_echo") >&5
  8844   (eval "$ac_compile") 2>conftest.er1
  8845   ac_status=$?
  8846   grep -v '^ *+' conftest.er1 >conftest.err
  8847   rm -f conftest.er1
  8848   cat conftest.err >&5
  8849   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8850   (exit $ac_status); } && {
  8851 	 test -z "$ac_c_werror_flag" ||
  8852 	 test ! -s conftest.err
  8853        } && test -s conftest.$ac_objext; then
  8854   ac_header_compiler=yes
  8855 else
  8856   $as_echo "$as_me: failed program was:" >&5
  8857 sed 's/^/| /' conftest.$ac_ext >&5
  8859 	ac_header_compiler=no
  8860 fi
  8862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8863 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8864 $as_echo "$ac_header_compiler" >&6; }
  8866 # Is the header present?
  8867 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
  8868 $as_echo_n "checking GL/osmesa.h presence... " >&6; }
  8869 cat >conftest.$ac_ext <<_ACEOF
  8870 /* confdefs.h.  */
  8871 _ACEOF
  8872 cat confdefs.h >>conftest.$ac_ext
  8873 cat >>conftest.$ac_ext <<_ACEOF
  8874 /* end confdefs.h.  */
  8875 #include <GL/osmesa.h>
  8876 _ACEOF
  8877 if { (ac_try="$ac_cpp conftest.$ac_ext"
  8878 case "(($ac_try" in
  8879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8880   *) ac_try_echo=$ac_try;;
  8881 esac
  8882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8883 $as_echo "$ac_try_echo") >&5
  8884   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8885   ac_status=$?
  8886   grep -v '^ *+' conftest.er1 >conftest.err
  8887   rm -f conftest.er1
  8888   cat conftest.err >&5
  8889   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8890   (exit $ac_status); } >/dev/null && {
  8891 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8892 	 test ! -s conftest.err
  8893        }; then
  8894   ac_header_preproc=yes
  8895 else
  8896   $as_echo "$as_me: failed program was:" >&5
  8897 sed 's/^/| /' conftest.$ac_ext >&5
  8899   ac_header_preproc=no
  8900 fi
  8902 rm -f conftest.err conftest.$ac_ext
  8903 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8904 $as_echo "$ac_header_preproc" >&6; }
  8906 # So?  What about this header?
  8907 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8908   yes:no: )
  8909     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8910 $as_echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8911     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
  8912 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
  8913     ac_header_preproc=yes
  8914     ;;
  8915   no:yes:* )
  8916     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
  8917 $as_echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
  8918     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&5
  8919 $as_echo "$as_me: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&2;}
  8920     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
  8921 $as_echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
  8922     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&5
  8923 $as_echo "$as_me: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  8924     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
  8925 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
  8926     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
  8927 $as_echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
  8929     ;;
  8930 esac
  8931 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  8932 $as_echo_n "checking for GL/osmesa.h... " >&6; }
  8933 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  8934   $as_echo_n "(cached) " >&6
  8935 else
  8936   ac_cv_header_GL_osmesa_h=$ac_header_preproc
  8937 fi
  8938 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  8939 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
  8941 fi
  8942 if test $ac_cv_header_GL_osmesa_h = yes; then
  8944 else
  8945   { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
  8946 See \`config.log' for more details." >&5
  8947 $as_echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
  8948 See \`config.log' for more details." >&2;}
  8949    { (exit 1); exit 1; }; }
  8950 fi
  8953   HAVE_OSMESA='yes'
  8954   VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
  8956 cat >>confdefs.h <<\_ACEOF
  8957 #define HAVE_OSMESA 1
  8958 _ACEOF
  8960 else
  8963    if test "x$APPLE_BUILD" != 'xyes'; then
  8965 { $as_echo "$as_me:$LINENO: checking for glVertex3f in -lGL" >&5
  8966 $as_echo_n "checking for glVertex3f in -lGL... " >&6; }
  8967 if test "${ac_cv_lib_GL_glVertex3f+set}" = set; then
  8968   $as_echo_n "(cached) " >&6
  8969 else
  8970   ac_check_lib_save_LIBS=$LIBS
  8971 LIBS="-lGL  $LIBS"
  8972 cat >conftest.$ac_ext <<_ACEOF
  8973 /* confdefs.h.  */
  8974 _ACEOF
  8975 cat confdefs.h >>conftest.$ac_ext
  8976 cat >>conftest.$ac_ext <<_ACEOF
  8977 /* end confdefs.h.  */
  8979 /* Override any GCC internal prototype to avoid an error.
  8980    Use char because int might match the return type of a GCC
  8981    builtin and then its argument prototype would still apply.  */
  8982 #ifdef __cplusplus
  8983 extern "C"
  8984 #endif
  8985 char glVertex3f ();
  8986 int
  8987 main ()
  8989 return glVertex3f ();
  8991   return 0;
  8993 _ACEOF
  8994 rm -f conftest.$ac_objext conftest$ac_exeext
  8995 if { (ac_try="$ac_link"
  8996 case "(($ac_try" in
  8997   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8998   *) ac_try_echo=$ac_try;;
  8999 esac
  9000 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9001 $as_echo "$ac_try_echo") >&5
  9002   (eval "$ac_link") 2>conftest.er1
  9003   ac_status=$?
  9004   grep -v '^ *+' conftest.er1 >conftest.err
  9005   rm -f conftest.er1
  9006   cat conftest.err >&5
  9007   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9008   (exit $ac_status); } && {
  9009 	 test -z "$ac_c_werror_flag" ||
  9010 	 test ! -s conftest.err
  9011        } && test -s conftest$ac_exeext && {
  9012 	 test "$cross_compiling" = yes ||
  9013 	 $as_test_x conftest$ac_exeext
  9014        }; then
  9015   ac_cv_lib_GL_glVertex3f=yes
  9016 else
  9017   $as_echo "$as_me: failed program was:" >&5
  9018 sed 's/^/| /' conftest.$ac_ext >&5
  9020 	ac_cv_lib_GL_glVertex3f=no
  9021 fi
  9023 rm -rf conftest.dSYM
  9024 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9025       conftest$ac_exeext conftest.$ac_ext
  9026 LIBS=$ac_check_lib_save_LIBS
  9027 fi
  9028 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glVertex3f" >&5
  9029 $as_echo "$ac_cv_lib_GL_glVertex3f" >&6; }
  9030 if test $ac_cv_lib_GL_glVertex3f = yes; then
  9031   cat >>confdefs.h <<_ACEOF
  9032 #define HAVE_LIBGL 1
  9033 _ACEOF
  9035   LIBS="-lGL $LIBS"
  9037 else
  9039           { { $as_echo "$as_me:$LINENO: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
  9040 See \`config.log' for more details." >&5
  9041 $as_echo "$as_me: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
  9042 See \`config.log' for more details." >&2;}
  9043    { (exit 1); exit 1; }; }
  9044 fi
  9046       if test "${ac_cv_header_GL_gl_h+set}" = set; then
  9047   { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  9048 $as_echo_n "checking for GL/gl.h... " >&6; }
  9049 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  9050   $as_echo_n "(cached) " >&6
  9051 fi
  9052 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  9053 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
  9054 else
  9055   # Is the header compilable?
  9056 { $as_echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
  9057 $as_echo_n "checking GL/gl.h usability... " >&6; }
  9058 cat >conftest.$ac_ext <<_ACEOF
  9059 /* confdefs.h.  */
  9060 _ACEOF
  9061 cat confdefs.h >>conftest.$ac_ext
  9062 cat >>conftest.$ac_ext <<_ACEOF
  9063 /* end confdefs.h.  */
  9064 $ac_includes_default
  9065 #include <GL/gl.h>
  9066 _ACEOF
  9067 rm -f conftest.$ac_objext
  9068 if { (ac_try="$ac_compile"
  9069 case "(($ac_try" in
  9070   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9071   *) ac_try_echo=$ac_try;;
  9072 esac
  9073 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9074 $as_echo "$ac_try_echo") >&5
  9075   (eval "$ac_compile") 2>conftest.er1
  9076   ac_status=$?
  9077   grep -v '^ *+' conftest.er1 >conftest.err
  9078   rm -f conftest.er1
  9079   cat conftest.err >&5
  9080   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9081   (exit $ac_status); } && {
  9082 	 test -z "$ac_c_werror_flag" ||
  9083 	 test ! -s conftest.err
  9084        } && test -s conftest.$ac_objext; then
  9085   ac_header_compiler=yes
  9086 else
  9087   $as_echo "$as_me: failed program was:" >&5
  9088 sed 's/^/| /' conftest.$ac_ext >&5
  9090 	ac_header_compiler=no
  9091 fi
  9093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9094 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9095 $as_echo "$ac_header_compiler" >&6; }
  9097 # Is the header present?
  9098 { $as_echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
  9099 $as_echo_n "checking GL/gl.h presence... " >&6; }
  9100 cat >conftest.$ac_ext <<_ACEOF
  9101 /* confdefs.h.  */
  9102 _ACEOF
  9103 cat confdefs.h >>conftest.$ac_ext
  9104 cat >>conftest.$ac_ext <<_ACEOF
  9105 /* end confdefs.h.  */
  9106 #include <GL/gl.h>
  9107 _ACEOF
  9108 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9109 case "(($ac_try" in
  9110   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9111   *) ac_try_echo=$ac_try;;
  9112 esac
  9113 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9114 $as_echo "$ac_try_echo") >&5
  9115   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9116   ac_status=$?
  9117   grep -v '^ *+' conftest.er1 >conftest.err
  9118   rm -f conftest.er1
  9119   cat conftest.err >&5
  9120   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9121   (exit $ac_status); } >/dev/null && {
  9122 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9123 	 test ! -s conftest.err
  9124        }; then
  9125   ac_header_preproc=yes
  9126 else
  9127   $as_echo "$as_me: failed program was:" >&5
  9128 sed 's/^/| /' conftest.$ac_ext >&5
  9130   ac_header_preproc=no
  9131 fi
  9133 rm -f conftest.err conftest.$ac_ext
  9134 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9135 $as_echo "$ac_header_preproc" >&6; }
  9137 # So?  What about this header?
  9138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9139   yes:no: )
  9140     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9141 $as_echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9142     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
  9143 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
  9144     ac_header_preproc=yes
  9145     ;;
  9146   no:yes:* )
  9147     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
  9148 $as_echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
  9149     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&5
  9150 $as_echo "$as_me: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&2;}
  9151     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
  9152 $as_echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
  9153     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&5
  9154 $as_echo "$as_me: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9155     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
  9156 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
  9157     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
  9158 $as_echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
  9160     ;;
  9161 esac
  9162 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  9163 $as_echo_n "checking for GL/gl.h... " >&6; }
  9164 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  9165   $as_echo_n "(cached) " >&6
  9166 else
  9167   ac_cv_header_GL_gl_h=$ac_header_preproc
  9168 fi
  9169 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  9170 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
  9172 fi
  9173 if test $ac_cv_header_GL_gl_h = yes; then
  9175 else
  9177           { { $as_echo "$as_me:$LINENO: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
  9178 See \`config.log' for more details." >&5
  9179 $as_echo "$as_me: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
  9180 See \`config.log' for more details." >&2;}
  9181    { (exit 1); exit 1; }; }
  9182 fi
  9185    else
  9186       { $as_echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
  9187 $as_echo_n "checking for NSOpenGLGetVersion... " >&6; }
  9188 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
  9189   $as_echo_n "(cached) " >&6
  9190 else
  9191   cat >conftest.$ac_ext <<_ACEOF
  9192 /* confdefs.h.  */
  9193 _ACEOF
  9194 cat confdefs.h >>conftest.$ac_ext
  9195 cat >>conftest.$ac_ext <<_ACEOF
  9196 /* end confdefs.h.  */
  9197 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
  9198    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9199 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
  9201 /* System header to define __stub macros and hopefully few prototypes,
  9202     which can conflict with char NSOpenGLGetVersion (); below.
  9203     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9204     <limits.h> exists even on freestanding compilers.  */
  9206 #ifdef __STDC__
  9207 # include <limits.h>
  9208 #else
  9209 # include <assert.h>
  9210 #endif
  9212 #undef NSOpenGLGetVersion
  9214 /* Override any GCC internal prototype to avoid an error.
  9215    Use char because int might match the return type of a GCC
  9216    builtin and then its argument prototype would still apply.  */
  9217 #ifdef __cplusplus
  9218 extern "C"
  9219 #endif
  9220 char NSOpenGLGetVersion ();
  9221 /* The GNU C library defines this for functions which it implements
  9222     to always fail with ENOSYS.  Some functions are actually named
  9223     something starting with __ and the normal name is an alias.  */
  9224 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
  9225 choke me
  9226 #endif
  9228 int
  9229 main ()
  9231 return NSOpenGLGetVersion ();
  9233   return 0;
  9235 _ACEOF
  9236 rm -f conftest.$ac_objext conftest$ac_exeext
  9237 if { (ac_try="$ac_link"
  9238 case "(($ac_try" in
  9239   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9240   *) ac_try_echo=$ac_try;;
  9241 esac
  9242 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9243 $as_echo "$ac_try_echo") >&5
  9244   (eval "$ac_link") 2>conftest.er1
  9245   ac_status=$?
  9246   grep -v '^ *+' conftest.er1 >conftest.err
  9247   rm -f conftest.er1
  9248   cat conftest.err >&5
  9249   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9250   (exit $ac_status); } && {
  9251 	 test -z "$ac_c_werror_flag" ||
  9252 	 test ! -s conftest.err
  9253        } && test -s conftest$ac_exeext && {
  9254 	 test "$cross_compiling" = yes ||
  9255 	 $as_test_x conftest$ac_exeext
  9256        }; then
  9257   ac_cv_func_NSOpenGLGetVersion=yes
  9258 else
  9259   $as_echo "$as_me: failed program was:" >&5
  9260 sed 's/^/| /' conftest.$ac_ext >&5
  9262 	ac_cv_func_NSOpenGLGetVersion=no
  9263 fi
  9265 rm -rf conftest.dSYM
  9266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9267       conftest$ac_exeext conftest.$ac_ext
  9268 fi
  9269 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
  9270 $as_echo "$ac_cv_func_NSOpenGLGetVersion" >&6; }
  9271 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
  9273          HAVE_NSGL='yes'
  9274          VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
  9276 cat >>confdefs.h <<\_ACEOF
  9277 #define HAVE_NSGL 1
  9278 _ACEOF
  9280 fi
  9282    fi
  9284    if test "x$HAVE_GTK_X11" = "xyes"; then
  9285       if test "x$APPLE_BUILD" = "xyes"; then
  9286          LIBS="$LIBS -L/usr/X11/lib -lGL"
  9287       fi
  9288       { $as_echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
  9289 $as_echo_n "checking for glXQueryVersion... " >&6; }
  9290 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
  9291   $as_echo_n "(cached) " >&6
  9292 else
  9293   cat >conftest.$ac_ext <<_ACEOF
  9294 /* confdefs.h.  */
  9295 _ACEOF
  9296 cat confdefs.h >>conftest.$ac_ext
  9297 cat >>conftest.$ac_ext <<_ACEOF
  9298 /* end confdefs.h.  */
  9299 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
  9300    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9301 #define glXQueryVersion innocuous_glXQueryVersion
  9303 /* System header to define __stub macros and hopefully few prototypes,
  9304     which can conflict with char glXQueryVersion (); below.
  9305     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9306     <limits.h> exists even on freestanding compilers.  */
  9308 #ifdef __STDC__
  9309 # include <limits.h>
  9310 #else
  9311 # include <assert.h>
  9312 #endif
  9314 #undef glXQueryVersion
  9316 /* Override any GCC internal prototype to avoid an error.
  9317    Use char because int might match the return type of a GCC
  9318    builtin and then its argument prototype would still apply.  */
  9319 #ifdef __cplusplus
  9320 extern "C"
  9321 #endif
  9322 char glXQueryVersion ();
  9323 /* The GNU C library defines this for functions which it implements
  9324     to always fail with ENOSYS.  Some functions are actually named
  9325     something starting with __ and the normal name is an alias.  */
  9326 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
  9327 choke me
  9328 #endif
  9330 int
  9331 main ()
  9333 return glXQueryVersion ();
  9335   return 0;
  9337 _ACEOF
  9338 rm -f conftest.$ac_objext conftest$ac_exeext
  9339 if { (ac_try="$ac_link"
  9340 case "(($ac_try" in
  9341   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9342   *) ac_try_echo=$ac_try;;
  9343 esac
  9344 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9345 $as_echo "$ac_try_echo") >&5
  9346   (eval "$ac_link") 2>conftest.er1
  9347   ac_status=$?
  9348   grep -v '^ *+' conftest.er1 >conftest.err
  9349   rm -f conftest.er1
  9350   cat conftest.err >&5
  9351   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9352   (exit $ac_status); } && {
  9353 	 test -z "$ac_c_werror_flag" ||
  9354 	 test ! -s conftest.err
  9355        } && test -s conftest$ac_exeext && {
  9356 	 test "$cross_compiling" = yes ||
  9357 	 $as_test_x conftest$ac_exeext
  9358        }; then
  9359   ac_cv_func_glXQueryVersion=yes
  9360 else
  9361   $as_echo "$as_me: failed program was:" >&5
  9362 sed 's/^/| /' conftest.$ac_ext >&5
  9364 	ac_cv_func_glXQueryVersion=no
  9365 fi
  9367 rm -rf conftest.dSYM
  9368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9369       conftest$ac_exeext conftest.$ac_ext
  9370 fi
  9371 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
  9372 $as_echo "$ac_cv_func_glXQueryVersion" >&6; }
  9373 if test $ac_cv_func_glXQueryVersion = yes; then
  9375          HAVE_GLX='yes'
  9376          VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
  9378 cat >>confdefs.h <<\_ACEOF
  9379 #define HAVE_GLX 1
  9380 _ACEOF
  9382 fi
  9384    fi
  9387 fi
  9394 if test "x$HAVE_OSMESA" = "xyes"; then
  9395   VIDEO_OSMESA_TRUE=
  9396   VIDEO_OSMESA_FALSE='#'
  9397 else
  9398   VIDEO_OSMESA_TRUE='#'
  9399   VIDEO_OSMESA_FALSE=
  9400 fi
  9404 if test "x$HAVE_GLX" = "xyes"; then
  9405   VIDEO_GLX_TRUE=
  9406   VIDEO_GLX_FALSE='#'
  9407 else
  9408   VIDEO_GLX_TRUE='#'
  9409   VIDEO_GLX_FALSE=
  9410 fi
  9414 if test "x$HAVE_NSGL" = "xyes"; then
  9415   VIDEO_NSGL_TRUE=
  9416   VIDEO_NSGL_FALSE='#'
  9417 else
  9418   VIDEO_NSGL_TRUE='#'
  9419   VIDEO_NSGL_FALSE=
  9420 fi
  9423 { $as_echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
  9424 $as_echo_n "checking for glGenFramebuffersEXT... " >&6; }
  9425 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
  9426   $as_echo_n "(cached) " >&6
  9427 else
  9428   cat >conftest.$ac_ext <<_ACEOF
  9429 /* confdefs.h.  */
  9430 _ACEOF
  9431 cat confdefs.h >>conftest.$ac_ext
  9432 cat >>conftest.$ac_ext <<_ACEOF
  9433 /* end confdefs.h.  */
  9434 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
  9435    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9436 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
  9438 /* System header to define __stub macros and hopefully few prototypes,
  9439     which can conflict with char glGenFramebuffersEXT (); below.
  9440     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9441     <limits.h> exists even on freestanding compilers.  */
  9443 #ifdef __STDC__
  9444 # include <limits.h>
  9445 #else
  9446 # include <assert.h>
  9447 #endif
  9449 #undef glGenFramebuffersEXT
  9451 /* Override any GCC internal prototype to avoid an error.
  9452    Use char because int might match the return type of a GCC
  9453    builtin and then its argument prototype would still apply.  */
  9454 #ifdef __cplusplus
  9455 extern "C"
  9456 #endif
  9457 char glGenFramebuffersEXT ();
  9458 /* The GNU C library defines this for functions which it implements
  9459     to always fail with ENOSYS.  Some functions are actually named
  9460     something starting with __ and the normal name is an alias.  */
  9461 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
  9462 choke me
  9463 #endif
  9465 int
  9466 main ()
  9468 return glGenFramebuffersEXT ();
  9470   return 0;
  9472 _ACEOF
  9473 rm -f conftest.$ac_objext conftest$ac_exeext
  9474 if { (ac_try="$ac_link"
  9475 case "(($ac_try" in
  9476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9477   *) ac_try_echo=$ac_try;;
  9478 esac
  9479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9480 $as_echo "$ac_try_echo") >&5
  9481   (eval "$ac_link") 2>conftest.er1
  9482   ac_status=$?
  9483   grep -v '^ *+' conftest.er1 >conftest.err
  9484   rm -f conftest.er1
  9485   cat conftest.err >&5
  9486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9487   (exit $ac_status); } && {
  9488 	 test -z "$ac_c_werror_flag" ||
  9489 	 test ! -s conftest.err
  9490        } && test -s conftest$ac_exeext && {
  9491 	 test "$cross_compiling" = yes ||
  9492 	 $as_test_x conftest$ac_exeext
  9493        }; then
  9494   ac_cv_func_glGenFramebuffersEXT=yes
  9495 else
  9496   $as_echo "$as_me: failed program was:" >&5
  9497 sed 's/^/| /' conftest.$ac_ext >&5
  9499 	ac_cv_func_glGenFramebuffersEXT=no
  9500 fi
  9502 rm -rf conftest.dSYM
  9503 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9504       conftest$ac_exeext conftest.$ac_ext
  9505 fi
  9506 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
  9507 $as_echo "$ac_cv_func_glGenFramebuffersEXT" >&6; }
  9508 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
  9510 cat >>confdefs.h <<\_ACEOF
  9511 #define HAVE_OPENGL_FBO 1
  9512 _ACEOF
  9514 fi
  9516 { $as_echo "$as_me:$LINENO: checking for glCreateShader" >&5
  9517 $as_echo_n "checking for glCreateShader... " >&6; }
  9518 if test "${ac_cv_func_glCreateShader+set}" = set; then
  9519   $as_echo_n "(cached) " >&6
  9520 else
  9521   cat >conftest.$ac_ext <<_ACEOF
  9522 /* confdefs.h.  */
  9523 _ACEOF
  9524 cat confdefs.h >>conftest.$ac_ext
  9525 cat >>conftest.$ac_ext <<_ACEOF
  9526 /* end confdefs.h.  */
  9527 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
  9528    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9529 #define glCreateShader innocuous_glCreateShader
  9531 /* System header to define __stub macros and hopefully few prototypes,
  9532     which can conflict with char glCreateShader (); below.
  9533     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9534     <limits.h> exists even on freestanding compilers.  */
  9536 #ifdef __STDC__
  9537 # include <limits.h>
  9538 #else
  9539 # include <assert.h>
  9540 #endif
  9542 #undef glCreateShader
  9544 /* Override any GCC internal prototype to avoid an error.
  9545    Use char because int might match the return type of a GCC
  9546    builtin and then its argument prototype would still apply.  */
  9547 #ifdef __cplusplus
  9548 extern "C"
  9549 #endif
  9550 char glCreateShader ();
  9551 /* The GNU C library defines this for functions which it implements
  9552     to always fail with ENOSYS.  Some functions are actually named
  9553     something starting with __ and the normal name is an alias.  */
  9554 #if defined __stub_glCreateShader || defined __stub___glCreateShader
  9555 choke me
  9556 #endif
  9558 int
  9559 main ()
  9561 return glCreateShader ();
  9563   return 0;
  9565 _ACEOF
  9566 rm -f conftest.$ac_objext conftest$ac_exeext
  9567 if { (ac_try="$ac_link"
  9568 case "(($ac_try" in
  9569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9570   *) ac_try_echo=$ac_try;;
  9571 esac
  9572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9573 $as_echo "$ac_try_echo") >&5
  9574   (eval "$ac_link") 2>conftest.er1
  9575   ac_status=$?
  9576   grep -v '^ *+' conftest.er1 >conftest.err
  9577   rm -f conftest.er1
  9578   cat conftest.err >&5
  9579   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9580   (exit $ac_status); } && {
  9581 	 test -z "$ac_c_werror_flag" ||
  9582 	 test ! -s conftest.err
  9583        } && test -s conftest$ac_exeext && {
  9584 	 test "$cross_compiling" = yes ||
  9585 	 $as_test_x conftest$ac_exeext
  9586        }; then
  9587   ac_cv_func_glCreateShader=yes
  9588 else
  9589   $as_echo "$as_me: failed program was:" >&5
  9590 sed 's/^/| /' conftest.$ac_ext >&5
  9592 	ac_cv_func_glCreateShader=no
  9593 fi
  9595 rm -rf conftest.dSYM
  9596 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9597       conftest$ac_exeext conftest.$ac_ext
  9598 fi
  9599 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
  9600 $as_echo "$ac_cv_func_glCreateShader" >&6; }
  9601 if test $ac_cv_func_glCreateShader = yes; then
  9603 cat >>confdefs.h <<\_ACEOF
  9604 #define HAVE_OPENGL_SHADER 1
  9605 _ACEOF
  9607 fi
  9609 { $as_echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
  9610 $as_echo_n "checking for glCreateShaderObjectARB... " >&6; }
  9611 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
  9612   $as_echo_n "(cached) " >&6
  9613 else
  9614   cat >conftest.$ac_ext <<_ACEOF
  9615 /* confdefs.h.  */
  9616 _ACEOF
  9617 cat confdefs.h >>conftest.$ac_ext
  9618 cat >>conftest.$ac_ext <<_ACEOF
  9619 /* end confdefs.h.  */
  9620 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
  9621    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9622 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
  9624 /* System header to define __stub macros and hopefully few prototypes,
  9625     which can conflict with char glCreateShaderObjectARB (); below.
  9626     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9627     <limits.h> exists even on freestanding compilers.  */
  9629 #ifdef __STDC__
  9630 # include <limits.h>
  9631 #else
  9632 # include <assert.h>
  9633 #endif
  9635 #undef glCreateShaderObjectARB
  9637 /* Override any GCC internal prototype to avoid an error.
  9638    Use char because int might match the return type of a GCC
  9639    builtin and then its argument prototype would still apply.  */
  9640 #ifdef __cplusplus
  9641 extern "C"
  9642 #endif
  9643 char glCreateShaderObjectARB ();
  9644 /* The GNU C library defines this for functions which it implements
  9645     to always fail with ENOSYS.  Some functions are actually named
  9646     something starting with __ and the normal name is an alias.  */
  9647 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
  9648 choke me
  9649 #endif
  9651 int
  9652 main ()
  9654 return glCreateShaderObjectARB ();
  9656   return 0;
  9658 _ACEOF
  9659 rm -f conftest.$ac_objext conftest$ac_exeext
  9660 if { (ac_try="$ac_link"
  9661 case "(($ac_try" in
  9662   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9663   *) ac_try_echo=$ac_try;;
  9664 esac
  9665 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9666 $as_echo "$ac_try_echo") >&5
  9667   (eval "$ac_link") 2>conftest.er1
  9668   ac_status=$?
  9669   grep -v '^ *+' conftest.er1 >conftest.err
  9670   rm -f conftest.er1
  9671   cat conftest.err >&5
  9672   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9673   (exit $ac_status); } && {
  9674 	 test -z "$ac_c_werror_flag" ||
  9675 	 test ! -s conftest.err
  9676        } && test -s conftest$ac_exeext && {
  9677 	 test "$cross_compiling" = yes ||
  9678 	 $as_test_x conftest$ac_exeext
  9679        }; then
  9680   ac_cv_func_glCreateShaderObjectARB=yes
  9681 else
  9682   $as_echo "$as_me: failed program was:" >&5
  9683 sed 's/^/| /' conftest.$ac_ext >&5
  9685 	ac_cv_func_glCreateShaderObjectARB=no
  9686 fi
  9688 rm -rf conftest.dSYM
  9689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9690       conftest$ac_exeext conftest.$ac_ext
  9691 fi
  9692 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
  9693 $as_echo "$ac_cv_func_glCreateShaderObjectARB" >&6; }
  9694 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
  9696 cat >>confdefs.h <<\_ACEOF
  9697 #define HAVE_OPENGL_SHADER_ARB 1
  9698 _ACEOF
  9700 fi
  9702 { $as_echo "$as_me:$LINENO: checking for glClampColorARB" >&5
  9703 $as_echo_n "checking for glClampColorARB... " >&6; }
  9704 if test "${ac_cv_func_glClampColorARB+set}" = set; then
  9705   $as_echo_n "(cached) " >&6
  9706 else
  9707   cat >conftest.$ac_ext <<_ACEOF
  9708 /* confdefs.h.  */
  9709 _ACEOF
  9710 cat confdefs.h >>conftest.$ac_ext
  9711 cat >>conftest.$ac_ext <<_ACEOF
  9712 /* end confdefs.h.  */
  9713 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
  9714    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9715 #define glClampColorARB innocuous_glClampColorARB
  9717 /* System header to define __stub macros and hopefully few prototypes,
  9718     which can conflict with char glClampColorARB (); below.
  9719     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9720     <limits.h> exists even on freestanding compilers.  */
  9722 #ifdef __STDC__
  9723 # include <limits.h>
  9724 #else
  9725 # include <assert.h>
  9726 #endif
  9728 #undef glClampColorARB
  9730 /* Override any GCC internal prototype to avoid an error.
  9731    Use char because int might match the return type of a GCC
  9732    builtin and then its argument prototype would still apply.  */
  9733 #ifdef __cplusplus
  9734 extern "C"
  9735 #endif
  9736 char glClampColorARB ();
  9737 /* The GNU C library defines this for functions which it implements
  9738     to always fail with ENOSYS.  Some functions are actually named
  9739     something starting with __ and the normal name is an alias.  */
  9740 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
  9741 choke me
  9742 #endif
  9744 int
  9745 main ()
  9747 return glClampColorARB ();
  9749   return 0;
  9751 _ACEOF
  9752 rm -f conftest.$ac_objext conftest$ac_exeext
  9753 if { (ac_try="$ac_link"
  9754 case "(($ac_try" in
  9755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9756   *) ac_try_echo=$ac_try;;
  9757 esac
  9758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9759 $as_echo "$ac_try_echo") >&5
  9760   (eval "$ac_link") 2>conftest.er1
  9761   ac_status=$?
  9762   grep -v '^ *+' conftest.er1 >conftest.err
  9763   rm -f conftest.er1
  9764   cat conftest.err >&5
  9765   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9766   (exit $ac_status); } && {
  9767 	 test -z "$ac_c_werror_flag" ||
  9768 	 test ! -s conftest.err
  9769        } && test -s conftest$ac_exeext && {
  9770 	 test "$cross_compiling" = yes ||
  9771 	 $as_test_x conftest$ac_exeext
  9772        }; then
  9773   ac_cv_func_glClampColorARB=yes
  9774 else
  9775   $as_echo "$as_me: failed program was:" >&5
  9776 sed 's/^/| /' conftest.$ac_ext >&5
  9778 	ac_cv_func_glClampColorARB=no
  9779 fi
  9781 rm -rf conftest.dSYM
  9782 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9783       conftest$ac_exeext conftest.$ac_ext
  9784 fi
  9785 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
  9786 $as_echo "$ac_cv_func_glClampColorARB" >&6; }
  9787 if test $ac_cv_func_glClampColorARB = yes; then
  9789 cat >>confdefs.h <<\_ACEOF
  9790 #define HAVE_OPENGL_CLAMP_COLOR 1
  9791 _ACEOF
  9793 fi
  9798 if test "x$enable_translator" != "xno"; then
  9799     case $host_cpu in
  9800         i386|i486|i586|i686|x86_64)
  9801 	    SH4_TRANSLATOR="x86"
  9803 cat >>confdefs.h <<_ACEOF
  9804 #define SH4_TRANSLATOR TARGET_X86
  9805 _ACEOF
  9806 ;;
  9807     esac
  9808 fi
  9811 if test "$SH4_TRANSLATOR" = "x86"; then
  9812   BUILD_SH4X86_TRUE=
  9813   BUILD_SH4X86_FALSE='#'
  9814 else
  9815   BUILD_SH4X86_TRUE='#'
  9816   BUILD_SH4X86_FALSE=
  9817 fi
  9820 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  9821   { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
  9822 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
  9823 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  9824   $as_echo_n "(cached) " >&6
  9825 fi
  9826 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
  9827 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
  9828 else
  9829   # Is the header compilable?
  9830 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
  9831 $as_echo_n "checking CoreAudio/CoreAudio.h usability... " >&6; }
  9832 cat >conftest.$ac_ext <<_ACEOF
  9833 /* confdefs.h.  */
  9834 _ACEOF
  9835 cat confdefs.h >>conftest.$ac_ext
  9836 cat >>conftest.$ac_ext <<_ACEOF
  9837 /* end confdefs.h.  */
  9838 $ac_includes_default
  9839 #include <CoreAudio/CoreAudio.h>
  9840 _ACEOF
  9841 rm -f conftest.$ac_objext
  9842 if { (ac_try="$ac_compile"
  9843 case "(($ac_try" in
  9844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9845   *) ac_try_echo=$ac_try;;
  9846 esac
  9847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9848 $as_echo "$ac_try_echo") >&5
  9849   (eval "$ac_compile") 2>conftest.er1
  9850   ac_status=$?
  9851   grep -v '^ *+' conftest.er1 >conftest.err
  9852   rm -f conftest.er1
  9853   cat conftest.err >&5
  9854   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9855   (exit $ac_status); } && {
  9856 	 test -z "$ac_c_werror_flag" ||
  9857 	 test ! -s conftest.err
  9858        } && test -s conftest.$ac_objext; then
  9859   ac_header_compiler=yes
  9860 else
  9861   $as_echo "$as_me: failed program was:" >&5
  9862 sed 's/^/| /' conftest.$ac_ext >&5
  9864 	ac_header_compiler=no
  9865 fi
  9867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9868 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9869 $as_echo "$ac_header_compiler" >&6; }
  9871 # Is the header present?
  9872 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
  9873 $as_echo_n "checking CoreAudio/CoreAudio.h presence... " >&6; }
  9874 cat >conftest.$ac_ext <<_ACEOF
  9875 /* confdefs.h.  */
  9876 _ACEOF
  9877 cat confdefs.h >>conftest.$ac_ext
  9878 cat >>conftest.$ac_ext <<_ACEOF
  9879 /* end confdefs.h.  */
  9880 #include <CoreAudio/CoreAudio.h>
  9881 _ACEOF
  9882 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9883 case "(($ac_try" in
  9884   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9885   *) ac_try_echo=$ac_try;;
  9886 esac
  9887 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9888 $as_echo "$ac_try_echo") >&5
  9889   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9890   ac_status=$?
  9891   grep -v '^ *+' conftest.er1 >conftest.err
  9892   rm -f conftest.er1
  9893   cat conftest.err >&5
  9894   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9895   (exit $ac_status); } >/dev/null && {
  9896 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9897 	 test ! -s conftest.err
  9898        }; then
  9899   ac_header_preproc=yes
  9900 else
  9901   $as_echo "$as_me: failed program was:" >&5
  9902 sed 's/^/| /' conftest.$ac_ext >&5
  9904   ac_header_preproc=no
  9905 fi
  9907 rm -f conftest.err conftest.$ac_ext
  9908 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9909 $as_echo "$ac_header_preproc" >&6; }
  9911 # So?  What about this header?
  9912 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9913   yes:no: )
  9914     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9915 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9916     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
  9917 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
  9918     ac_header_preproc=yes
  9919     ;;
  9920   no:yes:* )
  9921     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
  9922 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
  9923     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
  9924 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
  9925     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
  9926 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
  9927     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
  9928 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9929     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
  9930 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
  9931     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
  9932 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
  9934     ;;
  9935 esac
  9936 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
  9937 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
  9938 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  9939   $as_echo_n "(cached) " >&6
  9940 else
  9941   ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
  9942 fi
  9943 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
  9944 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
  9946 fi
  9947 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
  9949      HAVE_CORE_AUDIO=yes
  9950      LIBS="$LIBS -framework CoreAudio"
  9951      AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
  9953 cat >>confdefs.h <<\_ACEOF
  9954 #define HAVE_CORE_AUDIO 1
  9955 _ACEOF
  9957 else
  9958   true
  9959 fi
  9964 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
  9965   AUDIO_OSX_TRUE=
  9966   AUDIO_OSX_FALSE='#'
  9967 else
  9968   AUDIO_OSX_TRUE='#'
  9969   AUDIO_OSX_FALSE=
  9970 fi
  9973 if test "x$with_sdl" != "xno"; then
  9975 pkg_failed=no
  9976 { $as_echo "$as_me:$LINENO: checking for SDL" >&5
  9977 $as_echo_n "checking for SDL... " >&6; }
  9979 if test -n "$SDL_CFLAGS"; then
  9980     pkg_cv_SDL_CFLAGS="$SDL_CFLAGS"
  9981  elif test -n "$PKG_CONFIG"; then
  9982     if test -n "$PKG_CONFIG" && \
  9983     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
  9984   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
  9985   ac_status=$?
  9986   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9987   (exit $ac_status); }; then
  9988   pkg_cv_SDL_CFLAGS=`$PKG_CONFIG --cflags "sdl" 2>/dev/null`
  9989 else
  9990   pkg_failed=yes
  9991 fi
  9992  else
  9993     pkg_failed=untried
  9994 fi
  9995 if test -n "$SDL_LIBS"; then
  9996     pkg_cv_SDL_LIBS="$SDL_LIBS"
  9997  elif test -n "$PKG_CONFIG"; then
  9998     if test -n "$PKG_CONFIG" && \
  9999     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"sdl\"") >&5
 10000   ($PKG_CONFIG --exists --print-errors "sdl") 2>&5
 10001   ac_status=$?
 10002   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10003   (exit $ac_status); }; then
 10004   pkg_cv_SDL_LIBS=`$PKG_CONFIG --libs "sdl" 2>/dev/null`
 10005 else
 10006   pkg_failed=yes
 10007 fi
 10008  else
 10009     pkg_failed=untried
 10010 fi
 10014 if test $pkg_failed = yes; then
 10016 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10017         _pkg_short_errors_supported=yes
 10018 else
 10019         _pkg_short_errors_supported=no
 10020 fi
 10021         if test $_pkg_short_errors_supported = yes; then
 10022 	        SDL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "sdl" 2>&1`
 10023         else
 10024 	        SDL_PKG_ERRORS=`$PKG_CONFIG --print-errors "sdl" 2>&1`
 10025         fi
 10026 	# Put the nasty error message in config.log where it belongs
 10027 	echo "$SDL_PKG_ERRORS" >&5
 10029 	{ $as_echo "$as_me:$LINENO: result: no" >&5
 10030 $as_echo "no" >&6; }
 10032       if test "x$with_sdl" = "xyes"; then
 10033          { { $as_echo "$as_me:$LINENO: error: \"SDL libraries could not be found (but were required)
 10034 See \`config.log' for more details." >&5
 10035 $as_echo "$as_me: error: \"SDL libraries could not be found (but were required)
 10036 See \`config.log' for more details." >&2;}
 10037    { (exit 1); exit 1; }; }
 10038       fi
 10040 elif test $pkg_failed = untried; then
 10042       if test "x$with_sdl" = "xyes"; then
 10043          { { $as_echo "$as_me:$LINENO: error: \"SDL libraries could not be found (but were required)
 10044 See \`config.log' for more details." >&5
 10045 $as_echo "$as_me: error: \"SDL libraries could not be found (but were required)
 10046 See \`config.log' for more details." >&2;}
 10047    { (exit 1); exit 1; }; }
 10048       fi
 10050 else
 10051 	SDL_CFLAGS=$pkg_cv_SDL_CFLAGS
 10052 	SDL_LIBS=$pkg_cv_SDL_LIBS
 10053         { $as_echo "$as_me:$LINENO: result: yes" >&5
 10054 $as_echo "yes" >&6; }
 10056        HAVE_SDL='yes'
 10057        AUDIO_DRIVERS="$AUDIO_DRIVERS sdl"
 10059 cat >>confdefs.h <<\_ACEOF
 10060 #define HAVE_SDL 1
 10061 _ACEOF
 10064 fi
 10065 fi
 10068 if test "$HAVE_SDL" = 'yes' ; then
 10069   AUDIO_SDL_TRUE=
 10070   AUDIO_SDL_FALSE='#'
 10071 else
 10072   AUDIO_SDL_TRUE='#'
 10073   AUDIO_SDL_FALSE=
 10074 fi
 10077 if test "x$with_pulse" != "xno"; then
 10079 pkg_failed=no
 10080 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
 10081 $as_echo_n "checking for PULSE... " >&6; }
 10083 if test -n "$PULSE_CFLAGS"; then
 10084     pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
 10085  elif test -n "$PKG_CONFIG"; then
 10086     if test -n "$PKG_CONFIG" && \
 10087     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
 10088   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
 10089   ac_status=$?
 10090   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10091   (exit $ac_status); }; then
 10092   pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
 10093 else
 10094   pkg_failed=yes
 10095 fi
 10096  else
 10097     pkg_failed=untried
 10098 fi
 10099 if test -n "$PULSE_LIBS"; then
 10100     pkg_cv_PULSE_LIBS="$PULSE_LIBS"
 10101  elif test -n "$PKG_CONFIG"; then
 10102     if test -n "$PKG_CONFIG" && \
 10103     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
 10104   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
 10105   ac_status=$?
 10106   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10107   (exit $ac_status); }; then
 10108   pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
 10109 else
 10110   pkg_failed=yes
 10111 fi
 10112  else
 10113     pkg_failed=untried
 10114 fi
 10118 if test $pkg_failed = yes; then
 10120 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10121         _pkg_short_errors_supported=yes
 10122 else
 10123         _pkg_short_errors_supported=no
 10124 fi
 10125         if test $_pkg_short_errors_supported = yes; then
 10126 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse-simple" 2>&1`
 10127         else
 10128 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse-simple" 2>&1`
 10129         fi
 10130 	# Put the nasty error message in config.log where it belongs
 10131 	echo "$PULSE_PKG_ERRORS" >&5
 10133 	{ $as_echo "$as_me:$LINENO: result: no" >&5
 10134 $as_echo "no" >&6; }
 10136        if test "x$with_pulse" = "xyes"; then
 10137           { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
 10138 See \`config.log' for more details." >&5
 10139 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
 10140 See \`config.log' for more details." >&2;}
 10141    { (exit 1); exit 1; }; }
 10142        fi
 10144 elif test $pkg_failed = untried; then
 10146        if test "x$with_pulse" = "xyes"; then
 10147           { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
 10148 See \`config.log' for more details." >&5
 10149 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
 10150 See \`config.log' for more details." >&2;}
 10151    { (exit 1); exit 1; }; }
 10152        fi
 10154 else
 10155 	PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
 10156 	PULSE_LIBS=$pkg_cv_PULSE_LIBS
 10157         { $as_echo "$as_me:$LINENO: result: yes" >&5
 10158 $as_echo "yes" >&6; }
 10160        HAVE_PULSE='yes'
 10161        AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
 10163 cat >>confdefs.h <<\_ACEOF
 10164 #define HAVE_PULSE 1
 10165 _ACEOF
 10168 fi
 10169 fi
 10172 if test "$HAVE_PULSE" = 'yes' ; then
 10173   AUDIO_PULSE_TRUE=
 10174   AUDIO_PULSE_FALSE='#'
 10175 else
 10176   AUDIO_PULSE_TRUE='#'
 10177   AUDIO_PULSE_FALSE=
 10178 fi
 10181 if test "x$with_esd" != "xno"; then
 10183 pkg_failed=no
 10184 { $as_echo "$as_me:$LINENO: checking for ESOUND" >&5
 10185 $as_echo_n "checking for ESOUND... " >&6; }
 10187 if test -n "$ESOUND_CFLAGS"; then
 10188     pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
 10189  elif test -n "$PKG_CONFIG"; then
 10190     if test -n "$PKG_CONFIG" && \
 10191     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
 10192   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
 10193   ac_status=$?
 10194   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10195   (exit $ac_status); }; then
 10196   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
 10197 else
 10198   pkg_failed=yes
 10199 fi
 10200  else
 10201     pkg_failed=untried
 10202 fi
 10203 if test -n "$ESOUND_LIBS"; then
 10204     pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
 10205  elif test -n "$PKG_CONFIG"; then
 10206     if test -n "$PKG_CONFIG" && \
 10207     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
 10208   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
 10209   ac_status=$?
 10210   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10211   (exit $ac_status); }; then
 10212   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
 10213 else
 10214   pkg_failed=yes
 10215 fi
 10216  else
 10217     pkg_failed=untried
 10218 fi
 10222 if test $pkg_failed = yes; then
 10224 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10225         _pkg_short_errors_supported=yes
 10226 else
 10227         _pkg_short_errors_supported=no
 10228 fi
 10229         if test $_pkg_short_errors_supported = yes; then
 10230 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "esound" 2>&1`
 10231         else
 10232 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --print-errors "esound" 2>&1`
 10233         fi
 10234 	# Put the nasty error message in config.log where it belongs
 10235 	echo "$ESOUND_PKG_ERRORS" >&5
 10237 	{ $as_echo "$as_me:$LINENO: result: no" >&5
 10238 $as_echo "no" >&6; }
 10240        if test "x$with_esd" = "xyes"; then
 10241           { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
 10242 See \`config.log' for more details." >&5
 10243 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
 10244 See \`config.log' for more details." >&2;}
 10245    { (exit 1); exit 1; }; }
 10246        fi
 10248 elif test $pkg_failed = untried; then
 10250        if test "x$with_esd" = "xyes"; then
 10251           { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
 10252 See \`config.log' for more details." >&5
 10253 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
 10254 See \`config.log' for more details." >&2;}
 10255    { (exit 1); exit 1; }; }
 10256        fi
 10258 else
 10259 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
 10260 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
 10261         { $as_echo "$as_me:$LINENO: result: yes" >&5
 10262 $as_echo "yes" >&6; }
 10264        HAVE_ESOUND='yes'
 10265        AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
 10267 cat >>confdefs.h <<\_ACEOF
 10268 #define HAVE_ESOUND 1
 10269 _ACEOF
 10272 fi
 10273 fi
 10276 if test "$HAVE_ESOUND" = 'yes' ; then
 10277   AUDIO_ESOUND_TRUE=
 10278   AUDIO_ESOUND_FALSE='#'
 10279 else
 10280   AUDIO_ESOUND_TRUE='#'
 10281   AUDIO_ESOUND_FALSE=
 10282 fi
 10286 pkg_failed=no
 10287 { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
 10288 $as_echo_n "checking for ALSA... " >&6; }
 10290 if test -n "$ALSA_CFLAGS"; then
 10291     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
 10292  elif test -n "$PKG_CONFIG"; then
 10293     if test -n "$PKG_CONFIG" && \
 10294     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
 10295   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 10296   ac_status=$?
 10297   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10298   (exit $ac_status); }; then
 10299   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
 10300 else
 10301   pkg_failed=yes
 10302 fi
 10303  else
 10304     pkg_failed=untried
 10305 fi
 10306 if test -n "$ALSA_LIBS"; then
 10307     pkg_cv_ALSA_LIBS="$ALSA_LIBS"
 10308  elif test -n "$PKG_CONFIG"; then
 10309     if test -n "$PKG_CONFIG" && \
 10310     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
 10311   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 10312   ac_status=$?
 10313   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10314   (exit $ac_status); }; then
 10315   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
 10316 else
 10317   pkg_failed=yes
 10318 fi
 10319  else
 10320     pkg_failed=untried
 10321 fi
 10325 if test $pkg_failed = yes; then
 10327 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10328         _pkg_short_errors_supported=yes
 10329 else
 10330         _pkg_short_errors_supported=no
 10331 fi
 10332         if test $_pkg_short_errors_supported = yes; then
 10333 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
 10334         else
 10335 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
 10336         fi
 10337 	# Put the nasty error message in config.log where it belongs
 10338 	echo "$ALSA_PKG_ERRORS" >&5
 10340 	{ $as_echo "$as_me:$LINENO: result: no" >&5
 10341 $as_echo "no" >&6; }
 10342                 true
 10343 elif test $pkg_failed = untried; then
 10344 	true
 10345 else
 10346 	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
 10347 	ALSA_LIBS=$pkg_cv_ALSA_LIBS
 10348         { $as_echo "$as_me:$LINENO: result: yes" >&5
 10349 $as_echo "yes" >&6; }
 10351      HAVE_ALSA='yes'
 10352      AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
 10354 cat >>confdefs.h <<\_ACEOF
 10355 #define HAVE_ALSA 1
 10356 _ACEOF
 10358 fi
 10361 if test "$HAVE_ALSA" = 'yes' ; then
 10362   AUDIO_ALSA_TRUE=
 10363   AUDIO_ALSA_FALSE='#'
 10364 else
 10365   AUDIO_ALSA_TRUE='#'
 10366   AUDIO_ALSA_FALSE=
 10367 fi
 10371 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 10372   { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
 10373 $as_echo_n "checking for linux/cdrom.h... " >&6; }
 10374 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 10375   $as_echo_n "(cached) " >&6
 10376 fi
 10377 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
 10378 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
 10379 else
 10380   # Is the header compilable?
 10381 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
 10382 $as_echo_n "checking linux/cdrom.h usability... " >&6; }
 10383 cat >conftest.$ac_ext <<_ACEOF
 10384 /* confdefs.h.  */
 10385 _ACEOF
 10386 cat confdefs.h >>conftest.$ac_ext
 10387 cat >>conftest.$ac_ext <<_ACEOF
 10388 /* end confdefs.h.  */
 10389 $ac_includes_default
 10390 #include <linux/cdrom.h>
 10391 _ACEOF
 10392 rm -f conftest.$ac_objext
 10393 if { (ac_try="$ac_compile"
 10394 case "(($ac_try" in
 10395   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10396   *) ac_try_echo=$ac_try;;
 10397 esac
 10398 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10399 $as_echo "$ac_try_echo") >&5
 10400   (eval "$ac_compile") 2>conftest.er1
 10401   ac_status=$?
 10402   grep -v '^ *+' conftest.er1 >conftest.err
 10403   rm -f conftest.er1
 10404   cat conftest.err >&5
 10405   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10406   (exit $ac_status); } && {
 10407 	 test -z "$ac_c_werror_flag" ||
 10408 	 test ! -s conftest.err
 10409        } && test -s conftest.$ac_objext; then
 10410   ac_header_compiler=yes
 10411 else
 10412   $as_echo "$as_me: failed program was:" >&5
 10413 sed 's/^/| /' conftest.$ac_ext >&5
 10415 	ac_header_compiler=no
 10416 fi
 10418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10419 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10420 $as_echo "$ac_header_compiler" >&6; }
 10422 # Is the header present?
 10423 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
 10424 $as_echo_n "checking linux/cdrom.h presence... " >&6; }
 10425 cat >conftest.$ac_ext <<_ACEOF
 10426 /* confdefs.h.  */
 10427 _ACEOF
 10428 cat confdefs.h >>conftest.$ac_ext
 10429 cat >>conftest.$ac_ext <<_ACEOF
 10430 /* end confdefs.h.  */
 10431 #include <linux/cdrom.h>
 10432 _ACEOF
 10433 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10434 case "(($ac_try" in
 10435   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10436   *) ac_try_echo=$ac_try;;
 10437 esac
 10438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10439 $as_echo "$ac_try_echo") >&5
 10440   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10441   ac_status=$?
 10442   grep -v '^ *+' conftest.er1 >conftest.err
 10443   rm -f conftest.er1
 10444   cat conftest.err >&5
 10445   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10446   (exit $ac_status); } >/dev/null && {
 10447 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10448 	 test ! -s conftest.err
 10449        }; then
 10450   ac_header_preproc=yes
 10451 else
 10452   $as_echo "$as_me: failed program was:" >&5
 10453 sed 's/^/| /' conftest.$ac_ext >&5
 10455   ac_header_preproc=no
 10456 fi
 10458 rm -f conftest.err conftest.$ac_ext
 10459 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10460 $as_echo "$ac_header_preproc" >&6; }
 10462 # So?  What about this header?
 10463 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10464   yes:no: )
 10465     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10466 $as_echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10467     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
 10468 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
 10469     ac_header_preproc=yes
 10470     ;;
 10471   no:yes:* )
 10472     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
 10473 $as_echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
 10474     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
 10475 $as_echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
 10476     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
 10477 $as_echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
 10478     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
 10479 $as_echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10480     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
 10481 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
 10482     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
 10483 $as_echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
 10485     ;;
 10486 esac
 10487 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
 10488 $as_echo_n "checking for linux/cdrom.h... " >&6; }
 10489 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 10490   $as_echo_n "(cached) " >&6
 10491 else
 10492   ac_cv_header_linux_cdrom_h=$ac_header_preproc
 10493 fi
 10494 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
 10495 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
 10497 fi
 10498 if test $ac_cv_header_linux_cdrom_h = yes; then
 10500      CDROM_DRIVER=linux
 10501           { $as_echo "$as_me:$LINENO: checking C99 compliant kernel headers" >&5
 10502 $as_echo_n "checking C99 compliant kernel headers... " >&6; }
 10503      old_CFLAGS="$CFLAGS"
 10504      CFLAGS="$CFLAGS $STDCFLAG"
 10505      cat >conftest.$ac_ext <<_ACEOF
 10506 /* confdefs.h.  */
 10507 _ACEOF
 10508 cat confdefs.h >>conftest.$ac_ext
 10509 cat >>conftest.$ac_ext <<_ACEOF
 10510 /* end confdefs.h.  */
 10511 #include <linux/cdrom.h>
 10512 int
 10513 main ()
 10517   return 0;
 10519 _ACEOF
 10520 rm -f conftest.$ac_objext
 10521 if { (ac_try="$ac_compile"
 10522 case "(($ac_try" in
 10523   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10524   *) ac_try_echo=$ac_try;;
 10525 esac
 10526 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10527 $as_echo "$ac_try_echo") >&5
 10528   (eval "$ac_compile") 2>conftest.er1
 10529   ac_status=$?
 10530   grep -v '^ *+' conftest.er1 >conftest.err
 10531   rm -f conftest.er1
 10532   cat conftest.err >&5
 10533   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10534   (exit $ac_status); } && {
 10535 	 test -z "$ac_c_werror_flag" ||
 10536 	 test ! -s conftest.err
 10537        } && test -s conftest.$ac_objext; then
 10538   { $as_echo "$as_me:$LINENO: result: Yes" >&5
 10539 $as_echo "Yes" >&6; }
 10540 else
 10541   $as_echo "$as_me: failed program was:" >&5
 10542 sed 's/^/| /' conftest.$ac_ext >&5
 10545         { $as_echo "$as_me:$LINENO: result: No" >&5
 10546 $as_echo "No" >&6; }
 10547         STDCFLAG="-std=gnu99"
 10548 fi
 10550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10551      CFLAGS="$old_CFLAGS"
 10553 else
 10554   true
 10555 fi
 10558 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 10559   { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
 10560 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
 10561 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 10562   $as_echo_n "(cached) " >&6
 10563 fi
 10564 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
 10565 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
 10566 else
 10567   # Is the header compilable?
 10568 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
 10569 $as_echo_n "checking IOKit/IOKitLib.h usability... " >&6; }
 10570 cat >conftest.$ac_ext <<_ACEOF
 10571 /* confdefs.h.  */
 10572 _ACEOF
 10573 cat confdefs.h >>conftest.$ac_ext
 10574 cat >>conftest.$ac_ext <<_ACEOF
 10575 /* end confdefs.h.  */
 10576 $ac_includes_default
 10577 #include <IOKit/IOKitLib.h>
 10578 _ACEOF
 10579 rm -f conftest.$ac_objext
 10580 if { (ac_try="$ac_compile"
 10581 case "(($ac_try" in
 10582   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10583   *) ac_try_echo=$ac_try;;
 10584 esac
 10585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10586 $as_echo "$ac_try_echo") >&5
 10587   (eval "$ac_compile") 2>conftest.er1
 10588   ac_status=$?
 10589   grep -v '^ *+' conftest.er1 >conftest.err
 10590   rm -f conftest.er1
 10591   cat conftest.err >&5
 10592   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10593   (exit $ac_status); } && {
 10594 	 test -z "$ac_c_werror_flag" ||
 10595 	 test ! -s conftest.err
 10596        } && test -s conftest.$ac_objext; then
 10597   ac_header_compiler=yes
 10598 else
 10599   $as_echo "$as_me: failed program was:" >&5
 10600 sed 's/^/| /' conftest.$ac_ext >&5
 10602 	ac_header_compiler=no
 10603 fi
 10605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10606 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10607 $as_echo "$ac_header_compiler" >&6; }
 10609 # Is the header present?
 10610 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
 10611 $as_echo_n "checking IOKit/IOKitLib.h presence... " >&6; }
 10612 cat >conftest.$ac_ext <<_ACEOF
 10613 /* confdefs.h.  */
 10614 _ACEOF
 10615 cat confdefs.h >>conftest.$ac_ext
 10616 cat >>conftest.$ac_ext <<_ACEOF
 10617 /* end confdefs.h.  */
 10618 #include <IOKit/IOKitLib.h>
 10619 _ACEOF
 10620 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10621 case "(($ac_try" in
 10622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10623   *) ac_try_echo=$ac_try;;
 10624 esac
 10625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10626 $as_echo "$ac_try_echo") >&5
 10627   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10628   ac_status=$?
 10629   grep -v '^ *+' conftest.er1 >conftest.err
 10630   rm -f conftest.er1
 10631   cat conftest.err >&5
 10632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10633   (exit $ac_status); } >/dev/null && {
 10634 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10635 	 test ! -s conftest.err
 10636        }; then
 10637   ac_header_preproc=yes
 10638 else
 10639   $as_echo "$as_me: failed program was:" >&5
 10640 sed 's/^/| /' conftest.$ac_ext >&5
 10642   ac_header_preproc=no
 10643 fi
 10645 rm -f conftest.err conftest.$ac_ext
 10646 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10647 $as_echo "$ac_header_preproc" >&6; }
 10649 # So?  What about this header?
 10650 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10651   yes:no: )
 10652     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10653 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10654     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
 10655 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
 10656     ac_header_preproc=yes
 10657     ;;
 10658   no:yes:* )
 10659     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
 10660 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
 10661     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&5
 10662 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&2;}
 10663     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
 10664 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
 10665     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&5
 10666 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10667     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
 10668 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
 10669     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
 10670 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
 10672     ;;
 10673 esac
 10674 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
 10675 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
 10676 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 10677   $as_echo_n "(cached) " >&6
 10678 else
 10679   ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
 10680 fi
 10681 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
 10682 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
 10684 fi
 10685 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
 10687      CDROM_DRIVER=osx
 10688      LIBS="$LIBS -framework IOKit"
 10689 else
 10690   true
 10691 fi
 10696 if test "x$CDROM_DRIVER" = "xlinux"; then
 10697   CDROM_LINUX_TRUE=
 10698   CDROM_LINUX_FALSE='#'
 10699 else
 10700   CDROM_LINUX_TRUE='#'
 10701   CDROM_LINUX_FALSE=
 10702 fi
 10706 if test "x$CDROM_DRIVER" = "xosx"; then
 10707   CDROM_OSX_TRUE=
 10708   CDROM_OSX_FALSE='#'
 10709 else
 10710   CDROM_OSX_TRUE='#'
 10711   CDROM_OSX_FALSE=
 10712 fi
 10716 if test "x$CDROM_DRIVER" = "x"; then
 10717   CDROM_NONE_TRUE=
 10718   CDROM_NONE_FALSE='#'
 10719 else
 10720   CDROM_NONE_TRUE='#'
 10721   CDROM_NONE_FALSE=
 10722 fi
 10725 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 10726   { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
 10727 $as_echo_n "checking for linux/joystick.h... " >&6; }
 10728 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 10729   $as_echo_n "(cached) " >&6
 10730 fi
 10731 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
 10732 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
 10733 else
 10734   # Is the header compilable?
 10735 { $as_echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
 10736 $as_echo_n "checking linux/joystick.h usability... " >&6; }
 10737 cat >conftest.$ac_ext <<_ACEOF
 10738 /* confdefs.h.  */
 10739 _ACEOF
 10740 cat confdefs.h >>conftest.$ac_ext
 10741 cat >>conftest.$ac_ext <<_ACEOF
 10742 /* end confdefs.h.  */
 10743 $ac_includes_default
 10744 #include <linux/joystick.h>
 10745 _ACEOF
 10746 rm -f conftest.$ac_objext
 10747 if { (ac_try="$ac_compile"
 10748 case "(($ac_try" in
 10749   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10750   *) ac_try_echo=$ac_try;;
 10751 esac
 10752 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10753 $as_echo "$ac_try_echo") >&5
 10754   (eval "$ac_compile") 2>conftest.er1
 10755   ac_status=$?
 10756   grep -v '^ *+' conftest.er1 >conftest.err
 10757   rm -f conftest.er1
 10758   cat conftest.err >&5
 10759   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10760   (exit $ac_status); } && {
 10761 	 test -z "$ac_c_werror_flag" ||
 10762 	 test ! -s conftest.err
 10763        } && test -s conftest.$ac_objext; then
 10764   ac_header_compiler=yes
 10765 else
 10766   $as_echo "$as_me: failed program was:" >&5
 10767 sed 's/^/| /' conftest.$ac_ext >&5
 10769 	ac_header_compiler=no
 10770 fi
 10772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10773 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10774 $as_echo "$ac_header_compiler" >&6; }
 10776 # Is the header present?
 10777 { $as_echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
 10778 $as_echo_n "checking linux/joystick.h presence... " >&6; }
 10779 cat >conftest.$ac_ext <<_ACEOF
 10780 /* confdefs.h.  */
 10781 _ACEOF
 10782 cat confdefs.h >>conftest.$ac_ext
 10783 cat >>conftest.$ac_ext <<_ACEOF
 10784 /* end confdefs.h.  */
 10785 #include <linux/joystick.h>
 10786 _ACEOF
 10787 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10788 case "(($ac_try" in
 10789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10790   *) ac_try_echo=$ac_try;;
 10791 esac
 10792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10793 $as_echo "$ac_try_echo") >&5
 10794   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10795   ac_status=$?
 10796   grep -v '^ *+' conftest.er1 >conftest.err
 10797   rm -f conftest.er1
 10798   cat conftest.err >&5
 10799   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10800   (exit $ac_status); } >/dev/null && {
 10801 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10802 	 test ! -s conftest.err
 10803        }; then
 10804   ac_header_preproc=yes
 10805 else
 10806   $as_echo "$as_me: failed program was:" >&5
 10807 sed 's/^/| /' conftest.$ac_ext >&5
 10809   ac_header_preproc=no
 10810 fi
 10812 rm -f conftest.err conftest.$ac_ext
 10813 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10814 $as_echo "$ac_header_preproc" >&6; }
 10816 # So?  What about this header?
 10817 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10818   yes:no: )
 10819     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10820 $as_echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10821     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
 10822 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
 10823     ac_header_preproc=yes
 10824     ;;
 10825   no:yes:* )
 10826     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
 10827 $as_echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
 10828     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&5
 10829 $as_echo "$as_me: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&2;}
 10830     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
 10831 $as_echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
 10832     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&5
 10833 $as_echo "$as_me: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10834     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
 10835 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
 10836     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
 10837 $as_echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
 10839     ;;
 10840 esac
 10841 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
 10842 $as_echo_n "checking for linux/joystick.h... " >&6; }
 10843 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 10844   $as_echo_n "(cached) " >&6
 10845 else
 10846   ac_cv_header_linux_joystick_h=$ac_header_preproc
 10847 fi
 10848 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
 10849 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
 10851 fi
 10852 if test $ac_cv_header_linux_joystick_h = yes; then
 10854     HAVE_LINUX_JOYSTICK_H=yes
 10856 cat >>confdefs.h <<\_ACEOF
 10857 #define HAVE_LINUX_JOYSTICK 1
 10858 _ACEOF
 10860 else
 10861    echo "Linux Joystick support not found, building without it."
 10862 fi
 10867 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
 10868   JOY_LINUX_TRUE=
 10869   JOY_LINUX_FALSE='#'
 10870 else
 10871   JOY_LINUX_TRUE='#'
 10872   JOY_LINUX_FALSE=
 10873 fi
 10876 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
 10877 set dummy sh-elf-gcc; ac_word=$2
 10878 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10879 $as_echo_n "checking for $ac_word... " >&6; }
 10880 if test "${ac_cv_path_SHCC+set}" = set; then
 10881   $as_echo_n "(cached) " >&6
 10882 else
 10883   case $SHCC in
 10884   [\\/]* | ?:[\\/]*)
 10885   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
 10886   ;;
 10887   *)
 10888   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10889 for as_dir in $PATH
 10890 do
 10891   IFS=$as_save_IFS
 10892   test -z "$as_dir" && as_dir=.
 10893   for ac_exec_ext in '' $ac_executable_extensions; do
 10894   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10895     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
 10896     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10897     break 2
 10898   fi
 10899 done
 10900 done
 10901 IFS=$as_save_IFS
 10903   ;;
 10904 esac
 10905 fi
 10906 SHCC=$ac_cv_path_SHCC
 10907 if test -n "$SHCC"; then
 10908   { $as_echo "$as_me:$LINENO: result: $SHCC" >&5
 10909 $as_echo "$SHCC" >&6; }
 10910 else
 10911   { $as_echo "$as_me:$LINENO: result: no" >&5
 10912 $as_echo "no" >&6; }
 10913 fi
 10916 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
 10917 set dummy sh-elf-ld; ac_word=$2
 10918 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10919 $as_echo_n "checking for $ac_word... " >&6; }
 10920 if test "${ac_cv_path_SHLD+set}" = set; then
 10921   $as_echo_n "(cached) " >&6
 10922 else
 10923   case $SHLD in
 10924   [\\/]* | ?:[\\/]*)
 10925   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
 10926   ;;
 10927   *)
 10928   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10929 for as_dir in $PATH
 10930 do
 10931   IFS=$as_save_IFS
 10932   test -z "$as_dir" && as_dir=.
 10933   for ac_exec_ext in '' $ac_executable_extensions; do
 10934   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10935     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
 10936     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10937     break 2
 10938   fi
 10939 done
 10940 done
 10941 IFS=$as_save_IFS
 10943   ;;
 10944 esac
 10945 fi
 10946 SHLD=$ac_cv_path_SHLD
 10947 if test -n "$SHLD"; then
 10948   { $as_echo "$as_me:$LINENO: result: $SHLD" >&5
 10949 $as_echo "$SHLD" >&6; }
 10950 else
 10951   { $as_echo "$as_me:$LINENO: result: no" >&5
 10952 $as_echo "no" >&6; }
 10953 fi
 10956 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
 10957 set dummy sh-elf-objcopy; ac_word=$2
 10958 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10959 $as_echo_n "checking for $ac_word... " >&6; }
 10960 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
 10961   $as_echo_n "(cached) " >&6
 10962 else
 10963   case $SHOBJCOPY in
 10964   [\\/]* | ?:[\\/]*)
 10965   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
 10966   ;;
 10967   *)
 10968   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10969 for as_dir in $PATH
 10970 do
 10971   IFS=$as_save_IFS
 10972   test -z "$as_dir" && as_dir=.
 10973   for ac_exec_ext in '' $ac_executable_extensions; do
 10974   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10975     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
 10976     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10977     break 2
 10978   fi
 10979 done
 10980 done
 10981 IFS=$as_save_IFS
 10983   ;;
 10984 esac
 10985 fi
 10986 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
 10987 if test -n "$SHOBJCOPY"; then
 10988   { $as_echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
 10989 $as_echo "$SHOBJCOPY" >&6; }
 10990 else
 10991   { $as_echo "$as_me:$LINENO: result: no" >&5
 10992 $as_echo "no" >&6; }
 10993 fi
 10996 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
 10997 set dummy arm-elf-gcc; ac_word=$2
 10998 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10999 $as_echo_n "checking for $ac_word... " >&6; }
 11000 if test "${ac_cv_path_ARMCC+set}" = set; then
 11001   $as_echo_n "(cached) " >&6
 11002 else
 11003   case $ARMCC in
 11004   [\\/]* | ?:[\\/]*)
 11005   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
 11006   ;;
 11007   *)
 11008   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11009 for as_dir in $PATH
 11010 do
 11011   IFS=$as_save_IFS
 11012   test -z "$as_dir" && as_dir=.
 11013   for ac_exec_ext in '' $ac_executable_extensions; do
 11014   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 11015     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
 11016     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11017     break 2
 11018   fi
 11019 done
 11020 done
 11021 IFS=$as_save_IFS
 11023   ;;
 11024 esac
 11025 fi
 11026 ARMCC=$ac_cv_path_ARMCC
 11027 if test -n "$ARMCC"; then
 11028   { $as_echo "$as_me:$LINENO: result: $ARMCC" >&5
 11029 $as_echo "$ARMCC" >&6; }
 11030 else
 11031   { $as_echo "$as_me:$LINENO: result: no" >&5
 11032 $as_echo "no" >&6; }
 11033 fi
 11036 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
 11037 set dummy arm-elf-ld; ac_word=$2
 11038 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 11039 $as_echo_n "checking for $ac_word... " >&6; }
 11040 if test "${ac_cv_path_ARMLD+set}" = set; then
 11041   $as_echo_n "(cached) " >&6
 11042 else
 11043   case $ARMLD in
 11044   [\\/]* | ?:[\\/]*)
 11045   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
 11046   ;;
 11047   *)
 11048   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11049 for as_dir in $PATH
 11050 do
 11051   IFS=$as_save_IFS
 11052   test -z "$as_dir" && as_dir=.
 11053   for ac_exec_ext in '' $ac_executable_extensions; do
 11054   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 11055     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
 11056     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11057     break 2
 11058   fi
 11059 done
 11060 done
 11061 IFS=$as_save_IFS
 11063   ;;
 11064 esac
 11065 fi
 11066 ARMLD=$ac_cv_path_ARMLD
 11067 if test -n "$ARMLD"; then
 11068   { $as_echo "$as_me:$LINENO: result: $ARMLD" >&5
 11069 $as_echo "$ARMLD" >&6; }
 11070 else
 11071   { $as_echo "$as_me:$LINENO: result: no" >&5
 11072 $as_echo "no" >&6; }
 11073 fi
 11076 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
 11077 set dummy arm-elf-objcopy; ac_word=$2
 11078 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 11079 $as_echo_n "checking for $ac_word... " >&6; }
 11080 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
 11081   $as_echo_n "(cached) " >&6
 11082 else
 11083   case $ARMOBJCOPY in
 11084   [\\/]* | ?:[\\/]*)
 11085   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
 11086   ;;
 11087   *)
 11088   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11089 for as_dir in $PATH
 11090 do
 11091   IFS=$as_save_IFS
 11092   test -z "$as_dir" && as_dir=.
 11093   for ac_exec_ext in '' $ac_executable_extensions; do
 11094   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 11095     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
 11096     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11097     break 2
 11098   fi
 11099 done
 11100 done
 11101 IFS=$as_save_IFS
 11103   ;;
 11104 esac
 11105 fi
 11106 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
 11107 if test -n "$ARMOBJCOPY"; then
 11108   { $as_echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
 11109 $as_echo "$ARMOBJCOPY" >&6; }
 11110 else
 11111   { $as_echo "$as_me:$LINENO: result: no" >&5
 11112 $as_echo "no" >&6; }
 11113 fi
 11117 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
 11118   BUILD_SH="no"
 11119   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
 11120 else
 11121   BUILD_SH="yes"
 11122 fi
 11123 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
 11124   BUILD_ARM="no"
 11125   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
 11126 else
 11127   BUILD_ARM="yes"
 11128 fi
 11131 if test "$BUILD_SH" = "yes"; then
 11132   BUILD_SYSTEST_TRUE=
 11133   BUILD_SYSTEST_FALSE='#'
 11134 else
 11135   BUILD_SYSTEST_TRUE='#'
 11136   BUILD_SYSTEST_FALSE=
 11137 fi
 11141 if test "$BUILD_ARM" = "yes"; then
 11142   BUILD_ARMTEST_TRUE=
 11143   BUILD_ARMTEST_FALSE='#'
 11144 else
 11145   BUILD_ARMTEST_TRUE='#'
 11146   BUILD_ARMTEST_FALSE=
 11147 fi
 11150 CFLAGS="$CFLAGS $STDCFLAG"
 11152 GETTEXT_PACKAGE=lxdream
 11155 cat >>confdefs.h <<_ACEOF
 11156 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 11157 _ACEOF
 11160 ALL_LINGUAS="de es it pt_BR"
 11163 for ac_header in locale.h
 11164 do
 11165 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 11166 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 11167   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 11168 $as_echo_n "checking for $ac_header... " >&6; }
 11169 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 11170   $as_echo_n "(cached) " >&6
 11171 fi
 11172 ac_res=`eval 'as_val=${'$as_ac_Header'}
 11173 		 $as_echo "$as_val"'`
 11174 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 11175 $as_echo "$ac_res" >&6; }
 11176 else
 11177   # Is the header compilable?
 11178 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 11179 $as_echo_n "checking $ac_header usability... " >&6; }
 11180 cat >conftest.$ac_ext <<_ACEOF
 11181 /* confdefs.h.  */
 11182 _ACEOF
 11183 cat confdefs.h >>conftest.$ac_ext
 11184 cat >>conftest.$ac_ext <<_ACEOF
 11185 /* end confdefs.h.  */
 11186 $ac_includes_default
 11187 #include <$ac_header>
 11188 _ACEOF
 11189 rm -f conftest.$ac_objext
 11190 if { (ac_try="$ac_compile"
 11191 case "(($ac_try" in
 11192   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11193   *) ac_try_echo=$ac_try;;
 11194 esac
 11195 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11196 $as_echo "$ac_try_echo") >&5
 11197   (eval "$ac_compile") 2>conftest.er1
 11198   ac_status=$?
 11199   grep -v '^ *+' conftest.er1 >conftest.err
 11200   rm -f conftest.er1
 11201   cat conftest.err >&5
 11202   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11203   (exit $ac_status); } && {
 11204 	 test -z "$ac_c_werror_flag" ||
 11205 	 test ! -s conftest.err
 11206        } && test -s conftest.$ac_objext; then
 11207   ac_header_compiler=yes
 11208 else
 11209   $as_echo "$as_me: failed program was:" >&5
 11210 sed 's/^/| /' conftest.$ac_ext >&5
 11212 	ac_header_compiler=no
 11213 fi
 11215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11216 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 11217 $as_echo "$ac_header_compiler" >&6; }
 11219 # Is the header present?
 11220 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 11221 $as_echo_n "checking $ac_header presence... " >&6; }
 11222 cat >conftest.$ac_ext <<_ACEOF
 11223 /* confdefs.h.  */
 11224 _ACEOF
 11225 cat confdefs.h >>conftest.$ac_ext
 11226 cat >>conftest.$ac_ext <<_ACEOF
 11227 /* end confdefs.h.  */
 11228 #include <$ac_header>
 11229 _ACEOF
 11230 if { (ac_try="$ac_cpp conftest.$ac_ext"
 11231 case "(($ac_try" in
 11232   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11233   *) ac_try_echo=$ac_try;;
 11234 esac
 11235 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11236 $as_echo "$ac_try_echo") >&5
 11237   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 11238   ac_status=$?
 11239   grep -v '^ *+' conftest.er1 >conftest.err
 11240   rm -f conftest.er1
 11241   cat conftest.err >&5
 11242   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11243   (exit $ac_status); } >/dev/null && {
 11244 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 11245 	 test ! -s conftest.err
 11246        }; then
 11247   ac_header_preproc=yes
 11248 else
 11249   $as_echo "$as_me: failed program was:" >&5
 11250 sed 's/^/| /' conftest.$ac_ext >&5
 11252   ac_header_preproc=no
 11253 fi
 11255 rm -f conftest.err conftest.$ac_ext
 11256 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 11257 $as_echo "$ac_header_preproc" >&6; }
 11259 # So?  What about this header?
 11260 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 11261   yes:no: )
 11262     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 11263 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 11264     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 11265 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 11266     ac_header_preproc=yes
 11267     ;;
 11268   no:yes:* )
 11269     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 11270 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 11271     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 11272 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 11273     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 11274 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 11275     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 11276 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 11277     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 11278 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 11279     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 11280 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 11282     ;;
 11283 esac
 11284 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 11285 $as_echo_n "checking for $ac_header... " >&6; }
 11286 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 11287   $as_echo_n "(cached) " >&6
 11288 else
 11289   eval "$as_ac_Header=\$ac_header_preproc"
 11290 fi
 11291 ac_res=`eval 'as_val=${'$as_ac_Header'}
 11292 		 $as_echo "$as_val"'`
 11293 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 11294 $as_echo "$ac_res" >&6; }
 11296 fi
 11297 if test `eval 'as_val=${'$as_ac_Header'}
 11298 		 $as_echo "$as_val"'` = yes; then
 11299   cat >>confdefs.h <<_ACEOF
 11300 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 11301 _ACEOF
 11303 fi
 11305 done
 11307     if test $ac_cv_header_locale_h = yes; then
 11308     { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 11309 $as_echo_n "checking for LC_MESSAGES... " >&6; }
 11310 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 11311   $as_echo_n "(cached) " >&6
 11312 else
 11313   cat >conftest.$ac_ext <<_ACEOF
 11314 /* confdefs.h.  */
 11315 _ACEOF
 11316 cat confdefs.h >>conftest.$ac_ext
 11317 cat >>conftest.$ac_ext <<_ACEOF
 11318 /* end confdefs.h.  */
 11319 #include <locale.h>
 11320 int
 11321 main ()
 11323 return LC_MESSAGES
 11325   return 0;
 11327 _ACEOF
 11328 rm -f conftest.$ac_objext conftest$ac_exeext
 11329 if { (ac_try="$ac_link"
 11330 case "(($ac_try" in
 11331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11332   *) ac_try_echo=$ac_try;;
 11333 esac
 11334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11335 $as_echo "$ac_try_echo") >&5
 11336   (eval "$ac_link") 2>conftest.er1
 11337   ac_status=$?
 11338   grep -v '^ *+' conftest.er1 >conftest.err
 11339   rm -f conftest.er1
 11340   cat conftest.err >&5
 11341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11342   (exit $ac_status); } && {
 11343 	 test -z "$ac_c_werror_flag" ||
 11344 	 test ! -s conftest.err
 11345        } && test -s conftest$ac_exeext && {
 11346 	 test "$cross_compiling" = yes ||
 11347 	 $as_test_x conftest$ac_exeext
 11348        }; then
 11349   am_cv_val_LC_MESSAGES=yes
 11350 else
 11351   $as_echo "$as_me: failed program was:" >&5
 11352 sed 's/^/| /' conftest.$ac_ext >&5
 11354 	am_cv_val_LC_MESSAGES=no
 11355 fi
 11357 rm -rf conftest.dSYM
 11358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11359       conftest$ac_exeext conftest.$ac_ext
 11360 fi
 11361 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 11362 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 11363     if test $am_cv_val_LC_MESSAGES = yes; then
 11365 cat >>confdefs.h <<\_ACEOF
 11366 #define HAVE_LC_MESSAGES 1
 11367 _ACEOF
 11369     fi
 11370   fi
 11371      USE_NLS=yes
 11374     gt_cv_have_gettext=no
 11376     CATOBJEXT=NONE
 11377     XGETTEXT=:
 11378     INTLLIBS=
 11380     if test "${ac_cv_header_libintl_h+set}" = set; then
 11381   { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 11382 $as_echo_n "checking for libintl.h... " >&6; }
 11383 if test "${ac_cv_header_libintl_h+set}" = set; then
 11384   $as_echo_n "(cached) " >&6
 11385 fi
 11386 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 11387 $as_echo "$ac_cv_header_libintl_h" >&6; }
 11388 else
 11389   # Is the header compilable?
 11390 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 11391 $as_echo_n "checking libintl.h usability... " >&6; }
 11392 cat >conftest.$ac_ext <<_ACEOF
 11393 /* confdefs.h.  */
 11394 _ACEOF
 11395 cat confdefs.h >>conftest.$ac_ext
 11396 cat >>conftest.$ac_ext <<_ACEOF
 11397 /* end confdefs.h.  */
 11398 $ac_includes_default
 11399 #include <libintl.h>
 11400 _ACEOF
 11401 rm -f conftest.$ac_objext
 11402 if { (ac_try="$ac_compile"
 11403 case "(($ac_try" in
 11404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11405   *) ac_try_echo=$ac_try;;
 11406 esac
 11407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11408 $as_echo "$ac_try_echo") >&5
 11409   (eval "$ac_compile") 2>conftest.er1
 11410   ac_status=$?
 11411   grep -v '^ *+' conftest.er1 >conftest.err
 11412   rm -f conftest.er1
 11413   cat conftest.err >&5
 11414   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11415   (exit $ac_status); } && {
 11416 	 test -z "$ac_c_werror_flag" ||
 11417 	 test ! -s conftest.err
 11418        } && test -s conftest.$ac_objext; then
 11419   ac_header_compiler=yes
 11420 else
 11421   $as_echo "$as_me: failed program was:" >&5
 11422 sed 's/^/| /' conftest.$ac_ext >&5
 11424 	ac_header_compiler=no
 11425 fi
 11427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11428 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 11429 $as_echo "$ac_header_compiler" >&6; }
 11431 # Is the header present?
 11432 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 11433 $as_echo_n "checking libintl.h presence... " >&6; }
 11434 cat >conftest.$ac_ext <<_ACEOF
 11435 /* confdefs.h.  */
 11436 _ACEOF
 11437 cat confdefs.h >>conftest.$ac_ext
 11438 cat >>conftest.$ac_ext <<_ACEOF
 11439 /* end confdefs.h.  */
 11440 #include <libintl.h>
 11441 _ACEOF
 11442 if { (ac_try="$ac_cpp conftest.$ac_ext"
 11443 case "(($ac_try" in
 11444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11445   *) ac_try_echo=$ac_try;;
 11446 esac
 11447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11448 $as_echo "$ac_try_echo") >&5
 11449   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 11450   ac_status=$?
 11451   grep -v '^ *+' conftest.er1 >conftest.err
 11452   rm -f conftest.er1
 11453   cat conftest.err >&5
 11454   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11455   (exit $ac_status); } >/dev/null && {
 11456 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 11457 	 test ! -s conftest.err
 11458        }; then
 11459   ac_header_preproc=yes
 11460 else
 11461   $as_echo "$as_me: failed program was:" >&5
 11462 sed 's/^/| /' conftest.$ac_ext >&5
 11464   ac_header_preproc=no
 11465 fi
 11467 rm -f conftest.err conftest.$ac_ext
 11468 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 11469 $as_echo "$ac_header_preproc" >&6; }
 11471 # So?  What about this header?
 11472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 11473   yes:no: )
 11474     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 11475 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 11476     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 11477 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 11478     ac_header_preproc=yes
 11479     ;;
 11480   no:yes:* )
 11481     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 11482 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 11483     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 11484 $as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 11485     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 11486 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 11487     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 11488 $as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 11489     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 11490 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 11491     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 11492 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 11494     ;;
 11495 esac
 11496 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 11497 $as_echo_n "checking for libintl.h... " >&6; }
 11498 if test "${ac_cv_header_libintl_h+set}" = set; then
 11499   $as_echo_n "(cached) " >&6
 11500 else
 11501   ac_cv_header_libintl_h=$ac_header_preproc
 11502 fi
 11503 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 11504 $as_echo "$ac_cv_header_libintl_h" >&6; }
 11506 fi
 11507 if test $ac_cv_header_libintl_h = yes; then
 11508   gt_cv_func_dgettext_libintl="no"
 11509       libintl_extra_libs=""
 11512       # First check in libc
 11514       { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 11515 $as_echo_n "checking for ngettext in libc... " >&6; }
 11516 if test "${gt_cv_func_ngettext_libc+set}" = set; then
 11517   $as_echo_n "(cached) " >&6
 11518 else
 11519   cat >conftest.$ac_ext <<_ACEOF
 11520 /* confdefs.h.  */
 11521 _ACEOF
 11522 cat confdefs.h >>conftest.$ac_ext
 11523 cat >>conftest.$ac_ext <<_ACEOF
 11524 /* end confdefs.h.  */
 11526 #include <libintl.h>
 11528 int
 11529 main ()
 11531 return !ngettext ("","", 1)
 11533   return 0;
 11535 _ACEOF
 11536 rm -f conftest.$ac_objext conftest$ac_exeext
 11537 if { (ac_try="$ac_link"
 11538 case "(($ac_try" in
 11539   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11540   *) ac_try_echo=$ac_try;;
 11541 esac
 11542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11543 $as_echo "$ac_try_echo") >&5
 11544   (eval "$ac_link") 2>conftest.er1
 11545   ac_status=$?
 11546   grep -v '^ *+' conftest.er1 >conftest.err
 11547   rm -f conftest.er1
 11548   cat conftest.err >&5
 11549   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11550   (exit $ac_status); } && {
 11551 	 test -z "$ac_c_werror_flag" ||
 11552 	 test ! -s conftest.err
 11553        } && test -s conftest$ac_exeext && {
 11554 	 test "$cross_compiling" = yes ||
 11555 	 $as_test_x conftest$ac_exeext
 11556        }; then
 11557   gt_cv_func_ngettext_libc=yes
 11558 else
 11559   $as_echo "$as_me: failed program was:" >&5
 11560 sed 's/^/| /' conftest.$ac_ext >&5
 11562 	gt_cv_func_ngettext_libc=no
 11563 fi
 11565 rm -rf conftest.dSYM
 11566 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11567       conftest$ac_exeext conftest.$ac_ext
 11569 fi
 11570 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 11571 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
 11573       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 11574 	      { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 11575 $as_echo_n "checking for dgettext in libc... " >&6; }
 11576 if test "${gt_cv_func_dgettext_libc+set}" = set; then
 11577   $as_echo_n "(cached) " >&6
 11578 else
 11579   cat >conftest.$ac_ext <<_ACEOF
 11580 /* confdefs.h.  */
 11581 _ACEOF
 11582 cat confdefs.h >>conftest.$ac_ext
 11583 cat >>conftest.$ac_ext <<_ACEOF
 11584 /* end confdefs.h.  */
 11586 #include <libintl.h>
 11588 int
 11589 main ()
 11591 return !dgettext ("","")
 11593   return 0;
 11595 _ACEOF
 11596 rm -f conftest.$ac_objext conftest$ac_exeext
 11597 if { (ac_try="$ac_link"
 11598 case "(($ac_try" in
 11599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11600   *) ac_try_echo=$ac_try;;
 11601 esac
 11602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11603 $as_echo "$ac_try_echo") >&5
 11604   (eval "$ac_link") 2>conftest.er1
 11605   ac_status=$?
 11606   grep -v '^ *+' conftest.er1 >conftest.err
 11607   rm -f conftest.er1
 11608   cat conftest.err >&5
 11609   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11610   (exit $ac_status); } && {
 11611 	 test -z "$ac_c_werror_flag" ||
 11612 	 test ! -s conftest.err
 11613        } && test -s conftest$ac_exeext && {
 11614 	 test "$cross_compiling" = yes ||
 11615 	 $as_test_x conftest$ac_exeext
 11616        }; then
 11617   gt_cv_func_dgettext_libc=yes
 11618 else
 11619   $as_echo "$as_me: failed program was:" >&5
 11620 sed 's/^/| /' conftest.$ac_ext >&5
 11622 	gt_cv_func_dgettext_libc=no
 11623 fi
 11625 rm -rf conftest.dSYM
 11626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11627       conftest$ac_exeext conftest.$ac_ext
 11629 fi
 11630 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 11631 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
 11632       fi
 11634       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 11636 for ac_func in bind_textdomain_codeset
 11637 do
 11638 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 11639 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 11640 $as_echo_n "checking for $ac_func... " >&6; }
 11641 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 11642   $as_echo_n "(cached) " >&6
 11643 else
 11644   cat >conftest.$ac_ext <<_ACEOF
 11645 /* confdefs.h.  */
 11646 _ACEOF
 11647 cat confdefs.h >>conftest.$ac_ext
 11648 cat >>conftest.$ac_ext <<_ACEOF
 11649 /* end confdefs.h.  */
 11650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 11651    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11652 #define $ac_func innocuous_$ac_func
 11654 /* System header to define __stub macros and hopefully few prototypes,
 11655     which can conflict with char $ac_func (); below.
 11656     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11657     <limits.h> exists even on freestanding compilers.  */
 11659 #ifdef __STDC__
 11660 # include <limits.h>
 11661 #else
 11662 # include <assert.h>
 11663 #endif
 11665 #undef $ac_func
 11667 /* Override any GCC internal prototype to avoid an error.
 11668    Use char because int might match the return type of a GCC
 11669    builtin and then its argument prototype would still apply.  */
 11670 #ifdef __cplusplus
 11671 extern "C"
 11672 #endif
 11673 char $ac_func ();
 11674 /* The GNU C library defines this for functions which it implements
 11675     to always fail with ENOSYS.  Some functions are actually named
 11676     something starting with __ and the normal name is an alias.  */
 11677 #if defined __stub_$ac_func || defined __stub___$ac_func
 11678 choke me
 11679 #endif
 11681 int
 11682 main ()
 11684 return $ac_func ();
 11686   return 0;
 11688 _ACEOF
 11689 rm -f conftest.$ac_objext conftest$ac_exeext
 11690 if { (ac_try="$ac_link"
 11691 case "(($ac_try" in
 11692   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11693   *) ac_try_echo=$ac_try;;
 11694 esac
 11695 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11696 $as_echo "$ac_try_echo") >&5
 11697   (eval "$ac_link") 2>conftest.er1
 11698   ac_status=$?
 11699   grep -v '^ *+' conftest.er1 >conftest.err
 11700   rm -f conftest.er1
 11701   cat conftest.err >&5
 11702   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11703   (exit $ac_status); } && {
 11704 	 test -z "$ac_c_werror_flag" ||
 11705 	 test ! -s conftest.err
 11706        } && test -s conftest$ac_exeext && {
 11707 	 test "$cross_compiling" = yes ||
 11708 	 $as_test_x conftest$ac_exeext
 11709        }; then
 11710   eval "$as_ac_var=yes"
 11711 else
 11712   $as_echo "$as_me: failed program was:" >&5
 11713 sed 's/^/| /' conftest.$ac_ext >&5
 11715 	eval "$as_ac_var=no"
 11716 fi
 11718 rm -rf conftest.dSYM
 11719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11720       conftest$ac_exeext conftest.$ac_ext
 11721 fi
 11722 ac_res=`eval 'as_val=${'$as_ac_var'}
 11723 		 $as_echo "$as_val"'`
 11724 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 11725 $as_echo "$ac_res" >&6; }
 11726 if test `eval 'as_val=${'$as_ac_var'}
 11727 		 $as_echo "$as_val"'` = yes; then
 11728   cat >>confdefs.h <<_ACEOF
 11729 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 11730 _ACEOF
 11732 fi
 11733 done
 11735       fi
 11738       # If we don't have everything we want, check in libintl
 11740       if test "$gt_cv_func_dgettext_libc" != "yes" \
 11741 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
 11742          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 11744         { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 11745 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 11746 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 11747   $as_echo_n "(cached) " >&6
 11748 else
 11749   ac_check_lib_save_LIBS=$LIBS
 11750 LIBS="-lintl  $LIBS"
 11751 cat >conftest.$ac_ext <<_ACEOF
 11752 /* confdefs.h.  */
 11753 _ACEOF
 11754 cat confdefs.h >>conftest.$ac_ext
 11755 cat >>conftest.$ac_ext <<_ACEOF
 11756 /* end confdefs.h.  */
 11758 /* Override any GCC internal prototype to avoid an error.
 11759    Use char because int might match the return type of a GCC
 11760    builtin and then its argument prototype would still apply.  */
 11761 #ifdef __cplusplus
 11762 extern "C"
 11763 #endif
 11764 char bindtextdomain ();
 11765 int
 11766 main ()
 11768 return bindtextdomain ();
 11770   return 0;
 11772 _ACEOF
 11773 rm -f conftest.$ac_objext conftest$ac_exeext
 11774 if { (ac_try="$ac_link"
 11775 case "(($ac_try" in
 11776   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11777   *) ac_try_echo=$ac_try;;
 11778 esac
 11779 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11780 $as_echo "$ac_try_echo") >&5
 11781   (eval "$ac_link") 2>conftest.er1
 11782   ac_status=$?
 11783   grep -v '^ *+' conftest.er1 >conftest.err
 11784   rm -f conftest.er1
 11785   cat conftest.err >&5
 11786   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11787   (exit $ac_status); } && {
 11788 	 test -z "$ac_c_werror_flag" ||
 11789 	 test ! -s conftest.err
 11790        } && test -s conftest$ac_exeext && {
 11791 	 test "$cross_compiling" = yes ||
 11792 	 $as_test_x conftest$ac_exeext
 11793        }; then
 11794   ac_cv_lib_intl_bindtextdomain=yes
 11795 else
 11796   $as_echo "$as_me: failed program was:" >&5
 11797 sed 's/^/| /' conftest.$ac_ext >&5
 11799 	ac_cv_lib_intl_bindtextdomain=no
 11800 fi
 11802 rm -rf conftest.dSYM
 11803 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11804       conftest$ac_exeext conftest.$ac_ext
 11805 LIBS=$ac_check_lib_save_LIBS
 11806 fi
 11807 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 11808 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 11809 if test $ac_cv_lib_intl_bindtextdomain = yes; then
 11810   { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 11811 $as_echo_n "checking for ngettext in -lintl... " >&6; }
 11812 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 11813   $as_echo_n "(cached) " >&6
 11814 else
 11815   ac_check_lib_save_LIBS=$LIBS
 11816 LIBS="-lintl  $LIBS"
 11817 cat >conftest.$ac_ext <<_ACEOF
 11818 /* confdefs.h.  */
 11819 _ACEOF
 11820 cat confdefs.h >>conftest.$ac_ext
 11821 cat >>conftest.$ac_ext <<_ACEOF
 11822 /* end confdefs.h.  */
 11824 /* Override any GCC internal prototype to avoid an error.
 11825    Use char because int might match the return type of a GCC
 11826    builtin and then its argument prototype would still apply.  */
 11827 #ifdef __cplusplus
 11828 extern "C"
 11829 #endif
 11830 char ngettext ();
 11831 int
 11832 main ()
 11834 return ngettext ();
 11836   return 0;
 11838 _ACEOF
 11839 rm -f conftest.$ac_objext conftest$ac_exeext
 11840 if { (ac_try="$ac_link"
 11841 case "(($ac_try" in
 11842   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11843   *) ac_try_echo=$ac_try;;
 11844 esac
 11845 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11846 $as_echo "$ac_try_echo") >&5
 11847   (eval "$ac_link") 2>conftest.er1
 11848   ac_status=$?
 11849   grep -v '^ *+' conftest.er1 >conftest.err
 11850   rm -f conftest.er1
 11851   cat conftest.err >&5
 11852   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11853   (exit $ac_status); } && {
 11854 	 test -z "$ac_c_werror_flag" ||
 11855 	 test ! -s conftest.err
 11856        } && test -s conftest$ac_exeext && {
 11857 	 test "$cross_compiling" = yes ||
 11858 	 $as_test_x conftest$ac_exeext
 11859        }; then
 11860   ac_cv_lib_intl_ngettext=yes
 11861 else
 11862   $as_echo "$as_me: failed program was:" >&5
 11863 sed 's/^/| /' conftest.$ac_ext >&5
 11865 	ac_cv_lib_intl_ngettext=no
 11866 fi
 11868 rm -rf conftest.dSYM
 11869 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11870       conftest$ac_exeext conftest.$ac_ext
 11871 LIBS=$ac_check_lib_save_LIBS
 11872 fi
 11873 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 11874 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 11875 if test $ac_cv_lib_intl_ngettext = yes; then
 11876   { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 11877 $as_echo_n "checking for dgettext in -lintl... " >&6; }
 11878 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 11879   $as_echo_n "(cached) " >&6
 11880 else
 11881   ac_check_lib_save_LIBS=$LIBS
 11882 LIBS="-lintl  $LIBS"
 11883 cat >conftest.$ac_ext <<_ACEOF
 11884 /* confdefs.h.  */
 11885 _ACEOF
 11886 cat confdefs.h >>conftest.$ac_ext
 11887 cat >>conftest.$ac_ext <<_ACEOF
 11888 /* end confdefs.h.  */
 11890 /* Override any GCC internal prototype to avoid an error.
 11891    Use char because int might match the return type of a GCC
 11892    builtin and then its argument prototype would still apply.  */
 11893 #ifdef __cplusplus
 11894 extern "C"
 11895 #endif
 11896 char dgettext ();
 11897 int
 11898 main ()
 11900 return dgettext ();
 11902   return 0;
 11904 _ACEOF
 11905 rm -f conftest.$ac_objext conftest$ac_exeext
 11906 if { (ac_try="$ac_link"
 11907 case "(($ac_try" in
 11908   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11909   *) ac_try_echo=$ac_try;;
 11910 esac
 11911 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11912 $as_echo "$ac_try_echo") >&5
 11913   (eval "$ac_link") 2>conftest.er1
 11914   ac_status=$?
 11915   grep -v '^ *+' conftest.er1 >conftest.err
 11916   rm -f conftest.er1
 11917   cat conftest.err >&5
 11918   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11919   (exit $ac_status); } && {
 11920 	 test -z "$ac_c_werror_flag" ||
 11921 	 test ! -s conftest.err
 11922        } && test -s conftest$ac_exeext && {
 11923 	 test "$cross_compiling" = yes ||
 11924 	 $as_test_x conftest$ac_exeext
 11925        }; then
 11926   ac_cv_lib_intl_dgettext=yes
 11927 else
 11928   $as_echo "$as_me: failed program was:" >&5
 11929 sed 's/^/| /' conftest.$ac_ext >&5
 11931 	ac_cv_lib_intl_dgettext=no
 11932 fi
 11934 rm -rf conftest.dSYM
 11935 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11936       conftest$ac_exeext conftest.$ac_ext
 11937 LIBS=$ac_check_lib_save_LIBS
 11938 fi
 11939 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 11940 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 11941 if test $ac_cv_lib_intl_dgettext = yes; then
 11942   gt_cv_func_dgettext_libintl=yes
 11943 fi
 11945 fi
 11947 fi
 11950 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 11951 	  { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 11952 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 11953 	  { $as_echo "$as_me:$LINENO: result: " >&5
 11954 $as_echo "" >&6; }
 11955   	  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 11956 $as_echo_n "checking for ngettext in -lintl... " >&6; }
 11957 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 11958   $as_echo_n "(cached) " >&6
 11959 else
 11960   ac_check_lib_save_LIBS=$LIBS
 11961 LIBS="-lintl -liconv $LIBS"
 11962 cat >conftest.$ac_ext <<_ACEOF
 11963 /* confdefs.h.  */
 11964 _ACEOF
 11965 cat confdefs.h >>conftest.$ac_ext
 11966 cat >>conftest.$ac_ext <<_ACEOF
 11967 /* end confdefs.h.  */
 11969 /* Override any GCC internal prototype to avoid an error.
 11970    Use char because int might match the return type of a GCC
 11971    builtin and then its argument prototype would still apply.  */
 11972 #ifdef __cplusplus
 11973 extern "C"
 11974 #endif
 11975 char ngettext ();
 11976 int
 11977 main ()
 11979 return ngettext ();
 11981   return 0;
 11983 _ACEOF
 11984 rm -f conftest.$ac_objext conftest$ac_exeext
 11985 if { (ac_try="$ac_link"
 11986 case "(($ac_try" in
 11987   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11988   *) ac_try_echo=$ac_try;;
 11989 esac
 11990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11991 $as_echo "$ac_try_echo") >&5
 11992   (eval "$ac_link") 2>conftest.er1
 11993   ac_status=$?
 11994   grep -v '^ *+' conftest.er1 >conftest.err
 11995   rm -f conftest.er1
 11996   cat conftest.err >&5
 11997   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11998   (exit $ac_status); } && {
 11999 	 test -z "$ac_c_werror_flag" ||
 12000 	 test ! -s conftest.err
 12001        } && test -s conftest$ac_exeext && {
 12002 	 test "$cross_compiling" = yes ||
 12003 	 $as_test_x conftest$ac_exeext
 12004        }; then
 12005   ac_cv_lib_intl_ngettext=yes
 12006 else
 12007   $as_echo "$as_me: failed program was:" >&5
 12008 sed 's/^/| /' conftest.$ac_ext >&5
 12010 	ac_cv_lib_intl_ngettext=no
 12011 fi
 12013 rm -rf conftest.dSYM
 12014 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12015       conftest$ac_exeext conftest.$ac_ext
 12016 LIBS=$ac_check_lib_save_LIBS
 12017 fi
 12018 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 12019 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 12020 if test $ac_cv_lib_intl_ngettext = yes; then
 12021   { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 12022 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
 12023 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 12024   $as_echo_n "(cached) " >&6
 12025 else
 12026   ac_check_lib_save_LIBS=$LIBS
 12027 LIBS="-lintl -liconv $LIBS"
 12028 cat >conftest.$ac_ext <<_ACEOF
 12029 /* confdefs.h.  */
 12030 _ACEOF
 12031 cat confdefs.h >>conftest.$ac_ext
 12032 cat >>conftest.$ac_ext <<_ACEOF
 12033 /* end confdefs.h.  */
 12035 /* Override any GCC internal prototype to avoid an error.
 12036    Use char because int might match the return type of a GCC
 12037    builtin and then its argument prototype would still apply.  */
 12038 #ifdef __cplusplus
 12039 extern "C"
 12040 #endif
 12041 char dcgettext ();
 12042 int
 12043 main ()
 12045 return dcgettext ();
 12047   return 0;
 12049 _ACEOF
 12050 rm -f conftest.$ac_objext conftest$ac_exeext
 12051 if { (ac_try="$ac_link"
 12052 case "(($ac_try" in
 12053   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12054   *) ac_try_echo=$ac_try;;
 12055 esac
 12056 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12057 $as_echo "$ac_try_echo") >&5
 12058   (eval "$ac_link") 2>conftest.er1
 12059   ac_status=$?
 12060   grep -v '^ *+' conftest.er1 >conftest.err
 12061   rm -f conftest.er1
 12062   cat conftest.err >&5
 12063   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12064   (exit $ac_status); } && {
 12065 	 test -z "$ac_c_werror_flag" ||
 12066 	 test ! -s conftest.err
 12067        } && test -s conftest$ac_exeext && {
 12068 	 test "$cross_compiling" = yes ||
 12069 	 $as_test_x conftest$ac_exeext
 12070        }; then
 12071   ac_cv_lib_intl_dcgettext=yes
 12072 else
 12073   $as_echo "$as_me: failed program was:" >&5
 12074 sed 's/^/| /' conftest.$ac_ext >&5
 12076 	ac_cv_lib_intl_dcgettext=no
 12077 fi
 12079 rm -rf conftest.dSYM
 12080 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12081       conftest$ac_exeext conftest.$ac_ext
 12082 LIBS=$ac_check_lib_save_LIBS
 12083 fi
 12084 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 12085 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 12086 if test $ac_cv_lib_intl_dcgettext = yes; then
 12087   gt_cv_func_dgettext_libintl=yes
 12088 			libintl_extra_libs=-liconv
 12089 else
 12091 fi
 12093 else
 12095 fi
 12097         fi
 12100         # If we found libintl, then check in it for bind_textdomain_codeset();
 12101         # we'll prefer libc if neither have bind_textdomain_codeset(),
 12102         # and both have dgettext and ngettext
 12104         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 12105           glib_save_LIBS="$LIBS"
 12106           LIBS="$LIBS -lintl $libintl_extra_libs"
 12107           unset ac_cv_func_bind_textdomain_codeset
 12109 for ac_func in bind_textdomain_codeset
 12110 do
 12111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 12112 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 12113 $as_echo_n "checking for $ac_func... " >&6; }
 12114 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 12115   $as_echo_n "(cached) " >&6
 12116 else
 12117   cat >conftest.$ac_ext <<_ACEOF
 12118 /* confdefs.h.  */
 12119 _ACEOF
 12120 cat confdefs.h >>conftest.$ac_ext
 12121 cat >>conftest.$ac_ext <<_ACEOF
 12122 /* end confdefs.h.  */
 12123 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 12124    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12125 #define $ac_func innocuous_$ac_func
 12127 /* System header to define __stub macros and hopefully few prototypes,
 12128     which can conflict with char $ac_func (); below.
 12129     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12130     <limits.h> exists even on freestanding compilers.  */
 12132 #ifdef __STDC__
 12133 # include <limits.h>
 12134 #else
 12135 # include <assert.h>
 12136 #endif
 12138 #undef $ac_func
 12140 /* Override any GCC internal prototype to avoid an error.
 12141    Use char because int might match the return type of a GCC
 12142    builtin and then its argument prototype would still apply.  */
 12143 #ifdef __cplusplus
 12144 extern "C"
 12145 #endif
 12146 char $ac_func ();
 12147 /* The GNU C library defines this for functions which it implements
 12148     to always fail with ENOSYS.  Some functions are actually named
 12149     something starting with __ and the normal name is an alias.  */
 12150 #if defined __stub_$ac_func || defined __stub___$ac_func
 12151 choke me
 12152 #endif
 12154 int
 12155 main ()
 12157 return $ac_func ();
 12159   return 0;
 12161 _ACEOF
 12162 rm -f conftest.$ac_objext conftest$ac_exeext
 12163 if { (ac_try="$ac_link"
 12164 case "(($ac_try" in
 12165   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12166   *) ac_try_echo=$ac_try;;
 12167 esac
 12168 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12169 $as_echo "$ac_try_echo") >&5
 12170   (eval "$ac_link") 2>conftest.er1
 12171   ac_status=$?
 12172   grep -v '^ *+' conftest.er1 >conftest.err
 12173   rm -f conftest.er1
 12174   cat conftest.err >&5
 12175   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12176   (exit $ac_status); } && {
 12177 	 test -z "$ac_c_werror_flag" ||
 12178 	 test ! -s conftest.err
 12179        } && test -s conftest$ac_exeext && {
 12180 	 test "$cross_compiling" = yes ||
 12181 	 $as_test_x conftest$ac_exeext
 12182        }; then
 12183   eval "$as_ac_var=yes"
 12184 else
 12185   $as_echo "$as_me: failed program was:" >&5
 12186 sed 's/^/| /' conftest.$ac_ext >&5
 12188 	eval "$as_ac_var=no"
 12189 fi
 12191 rm -rf conftest.dSYM
 12192 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12193       conftest$ac_exeext conftest.$ac_ext
 12194 fi
 12195 ac_res=`eval 'as_val=${'$as_ac_var'}
 12196 		 $as_echo "$as_val"'`
 12197 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 12198 $as_echo "$ac_res" >&6; }
 12199 if test `eval 'as_val=${'$as_ac_var'}
 12200 		 $as_echo "$as_val"'` = yes; then
 12201   cat >>confdefs.h <<_ACEOF
 12202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 12203 _ACEOF
 12205 fi
 12206 done
 12208           LIBS="$glib_save_LIBS"
 12210           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 12211             gt_cv_func_dgettext_libc=no
 12212           else
 12213             if test "$gt_cv_func_dgettext_libc" = "yes" \
 12214 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
 12215               gt_cv_func_dgettext_libintl=no
 12216             fi
 12217           fi
 12218         fi
 12219       fi
 12221       if test "$gt_cv_func_dgettext_libc" = "yes" \
 12222 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
 12223         gt_cv_have_gettext=yes
 12224       fi
 12226       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 12227         INTLLIBS="-lintl $libintl_extra_libs"
 12228       fi
 12230       if test "$gt_cv_have_gettext" = "yes"; then
 12232 cat >>confdefs.h <<\_ACEOF
 12233 #define HAVE_GETTEXT 1
 12234 _ACEOF
 12236 	# Extract the first word of "msgfmt", so it can be a program name with args.
 12237 set dummy msgfmt; ac_word=$2
 12238 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 12239 $as_echo_n "checking for $ac_word... " >&6; }
 12240 if test "${ac_cv_path_MSGFMT+set}" = set; then
 12241   $as_echo_n "(cached) " >&6
 12242 else
 12243   case "$MSGFMT" in
 12244   /*)
 12245   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 12246   ;;
 12247   *)
 12248   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 12249   for ac_dir in $PATH; do
 12250     test -z "$ac_dir" && ac_dir=.
 12251     if test -f $ac_dir/$ac_word; then
 12252       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 12253 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 12254 	break
 12255       fi
 12256     fi
 12257   done
 12258   IFS="$ac_save_ifs"
 12259   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 12260   ;;
 12261 esac
 12262 fi
 12263 MSGFMT="$ac_cv_path_MSGFMT"
 12264 if test "$MSGFMT" != "no"; then
 12265   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 12266 $as_echo "$MSGFMT" >&6; }
 12267 else
 12268   { $as_echo "$as_me:$LINENO: result: no" >&5
 12269 $as_echo "no" >&6; }
 12270 fi
 12271 	if test "$MSGFMT" != "no"; then
 12272           glib_save_LIBS="$LIBS"
 12273           LIBS="$LIBS $INTLLIBS"
 12275 for ac_func in dcgettext
 12276 do
 12277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 12278 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 12279 $as_echo_n "checking for $ac_func... " >&6; }
 12280 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 12281   $as_echo_n "(cached) " >&6
 12282 else
 12283   cat >conftest.$ac_ext <<_ACEOF
 12284 /* confdefs.h.  */
 12285 _ACEOF
 12286 cat confdefs.h >>conftest.$ac_ext
 12287 cat >>conftest.$ac_ext <<_ACEOF
 12288 /* end confdefs.h.  */
 12289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 12290    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12291 #define $ac_func innocuous_$ac_func
 12293 /* System header to define __stub macros and hopefully few prototypes,
 12294     which can conflict with char $ac_func (); below.
 12295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12296     <limits.h> exists even on freestanding compilers.  */
 12298 #ifdef __STDC__
 12299 # include <limits.h>
 12300 #else
 12301 # include <assert.h>
 12302 #endif
 12304 #undef $ac_func
 12306 /* Override any GCC internal prototype to avoid an error.
 12307    Use char because int might match the return type of a GCC
 12308    builtin and then its argument prototype would still apply.  */
 12309 #ifdef __cplusplus
 12310 extern "C"
 12311 #endif
 12312 char $ac_func ();
 12313 /* The GNU C library defines this for functions which it implements
 12314     to always fail with ENOSYS.  Some functions are actually named
 12315     something starting with __ and the normal name is an alias.  */
 12316 #if defined __stub_$ac_func || defined __stub___$ac_func
 12317 choke me
 12318 #endif
 12320 int
 12321 main ()
 12323 return $ac_func ();
 12325   return 0;
 12327 _ACEOF
 12328 rm -f conftest.$ac_objext conftest$ac_exeext
 12329 if { (ac_try="$ac_link"
 12330 case "(($ac_try" in
 12331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12332   *) ac_try_echo=$ac_try;;
 12333 esac
 12334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12335 $as_echo "$ac_try_echo") >&5
 12336   (eval "$ac_link") 2>conftest.er1
 12337   ac_status=$?
 12338   grep -v '^ *+' conftest.er1 >conftest.err
 12339   rm -f conftest.er1
 12340   cat conftest.err >&5
 12341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12342   (exit $ac_status); } && {
 12343 	 test -z "$ac_c_werror_flag" ||
 12344 	 test ! -s conftest.err
 12345        } && test -s conftest$ac_exeext && {
 12346 	 test "$cross_compiling" = yes ||
 12347 	 $as_test_x conftest$ac_exeext
 12348        }; then
 12349   eval "$as_ac_var=yes"
 12350 else
 12351   $as_echo "$as_me: failed program was:" >&5
 12352 sed 's/^/| /' conftest.$ac_ext >&5
 12354 	eval "$as_ac_var=no"
 12355 fi
 12357 rm -rf conftest.dSYM
 12358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12359       conftest$ac_exeext conftest.$ac_ext
 12360 fi
 12361 ac_res=`eval 'as_val=${'$as_ac_var'}
 12362 		 $as_echo "$as_val"'`
 12363 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 12364 $as_echo "$ac_res" >&6; }
 12365 if test `eval 'as_val=${'$as_ac_var'}
 12366 		 $as_echo "$as_val"'` = yes; then
 12367   cat >>confdefs.h <<_ACEOF
 12368 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 12369 _ACEOF
 12371 fi
 12372 done
 12374 	  MSGFMT_OPTS=
 12375 	  { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 12376 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
 12377 	  cat >conftest.foo <<_ACEOF
 12379 msgid ""
 12380 msgstr ""
 12381 "Content-Type: text/plain; charset=UTF-8\n"
 12382 "Project-Id-Version: test 1.0\n"
 12383 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
 12384 "Last-Translator: test <foo@bar.xx>\n"
 12385 "Language-Team: C <LL@li.org>\n"
 12386 "MIME-Version: 1.0\n"
 12387 "Content-Transfer-Encoding: 8bit\n"
 12389 _ACEOF
 12390 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 12391   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 12392   ac_status=$?
 12393   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12394   (exit $ac_status); }; then
 12395   MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 12396 $as_echo "yes" >&6; }
 12397 else { $as_echo "$as_me:$LINENO: result: no" >&5
 12398 $as_echo "no" >&6; }
 12399 echo "$as_me: failed input was:" >&5
 12400 sed 's/^/| /' conftest.foo >&5
 12401 fi
 12403 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 12404 set dummy gmsgfmt; ac_word=$2
 12405 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 12406 $as_echo_n "checking for $ac_word... " >&6; }
 12407 if test "${ac_cv_path_GMSGFMT+set}" = set; then
 12408   $as_echo_n "(cached) " >&6
 12409 else
 12410   case $GMSGFMT in
 12411   [\\/]* | ?:[\\/]*)
 12412   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 12413   ;;
 12414   *)
 12415   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 12416 for as_dir in $PATH
 12417 do
 12418   IFS=$as_save_IFS
 12419   test -z "$as_dir" && as_dir=.
 12420   for ac_exec_ext in '' $ac_executable_extensions; do
 12421   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 12422     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 12423     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 12424     break 2
 12425   fi
 12426 done
 12427 done
 12428 IFS=$as_save_IFS
 12430   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 12431   ;;
 12432 esac
 12433 fi
 12434 GMSGFMT=$ac_cv_path_GMSGFMT
 12435 if test -n "$GMSGFMT"; then
 12436   { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 12437 $as_echo "$GMSGFMT" >&6; }
 12438 else
 12439   { $as_echo "$as_me:$LINENO: result: no" >&5
 12440 $as_echo "no" >&6; }
 12441 fi
 12444 	  # Extract the first word of "xgettext", so it can be a program name with args.
 12445 set dummy xgettext; ac_word=$2
 12446 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 12447 $as_echo_n "checking for $ac_word... " >&6; }
 12448 if test "${ac_cv_path_XGETTEXT+set}" = set; then
 12449   $as_echo_n "(cached) " >&6
 12450 else
 12451   case "$XGETTEXT" in
 12452   /*)
 12453   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 12454   ;;
 12455   *)
 12456   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 12457   for ac_dir in $PATH; do
 12458     test -z "$ac_dir" && ac_dir=.
 12459     if test -f $ac_dir/$ac_word; then
 12460       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 12461 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 12462 	break
 12463       fi
 12464     fi
 12465   done
 12466   IFS="$ac_save_ifs"
 12467   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 12468   ;;
 12469 esac
 12470 fi
 12471 XGETTEXT="$ac_cv_path_XGETTEXT"
 12472 if test "$XGETTEXT" != ":"; then
 12473   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 12474 $as_echo "$XGETTEXT" >&6; }
 12475 else
 12476   { $as_echo "$as_me:$LINENO: result: no" >&5
 12477 $as_echo "no" >&6; }
 12478 fi
 12480 	  cat >conftest.$ac_ext <<_ACEOF
 12481 /* confdefs.h.  */
 12482 _ACEOF
 12483 cat confdefs.h >>conftest.$ac_ext
 12484 cat >>conftest.$ac_ext <<_ACEOF
 12485 /* end confdefs.h.  */
 12487 int
 12488 main ()
 12490 extern int _nl_msg_cat_cntr;
 12491 			 return _nl_msg_cat_cntr
 12493   return 0;
 12495 _ACEOF
 12496 rm -f conftest.$ac_objext conftest$ac_exeext
 12497 if { (ac_try="$ac_link"
 12498 case "(($ac_try" in
 12499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12500   *) ac_try_echo=$ac_try;;
 12501 esac
 12502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12503 $as_echo "$ac_try_echo") >&5
 12504   (eval "$ac_link") 2>conftest.er1
 12505   ac_status=$?
 12506   grep -v '^ *+' conftest.er1 >conftest.err
 12507   rm -f conftest.er1
 12508   cat conftest.err >&5
 12509   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12510   (exit $ac_status); } && {
 12511 	 test -z "$ac_c_werror_flag" ||
 12512 	 test ! -s conftest.err
 12513        } && test -s conftest$ac_exeext && {
 12514 	 test "$cross_compiling" = yes ||
 12515 	 $as_test_x conftest$ac_exeext
 12516        }; then
 12517   CATOBJEXT=.gmo
 12518              DATADIRNAME=share
 12519 else
 12520   $as_echo "$as_me: failed program was:" >&5
 12521 sed 's/^/| /' conftest.$ac_ext >&5
 12523 	case $host in
 12524 	    *-*-solaris*)
 12525 	    	                	    	                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 12526 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
 12527 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 12528   $as_echo_n "(cached) " >&6
 12529 else
 12530   cat >conftest.$ac_ext <<_ACEOF
 12531 /* confdefs.h.  */
 12532 _ACEOF
 12533 cat confdefs.h >>conftest.$ac_ext
 12534 cat >>conftest.$ac_ext <<_ACEOF
 12535 /* end confdefs.h.  */
 12536 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 12537    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12538 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 12540 /* System header to define __stub macros and hopefully few prototypes,
 12541     which can conflict with char bind_textdomain_codeset (); below.
 12542     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12543     <limits.h> exists even on freestanding compilers.  */
 12545 #ifdef __STDC__
 12546 # include <limits.h>
 12547 #else
 12548 # include <assert.h>
 12549 #endif
 12551 #undef bind_textdomain_codeset
 12553 /* Override any GCC internal prototype to avoid an error.
 12554    Use char because int might match the return type of a GCC
 12555    builtin and then its argument prototype would still apply.  */
 12556 #ifdef __cplusplus
 12557 extern "C"
 12558 #endif
 12559 char bind_textdomain_codeset ();
 12560 /* The GNU C library defines this for functions which it implements
 12561     to always fail with ENOSYS.  Some functions are actually named
 12562     something starting with __ and the normal name is an alias.  */
 12563 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 12564 choke me
 12565 #endif
 12567 int
 12568 main ()
 12570 return bind_textdomain_codeset ();
 12572   return 0;
 12574 _ACEOF
 12575 rm -f conftest.$ac_objext conftest$ac_exeext
 12576 if { (ac_try="$ac_link"
 12577 case "(($ac_try" in
 12578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12579   *) ac_try_echo=$ac_try;;
 12580 esac
 12581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12582 $as_echo "$ac_try_echo") >&5
 12583   (eval "$ac_link") 2>conftest.er1
 12584   ac_status=$?
 12585   grep -v '^ *+' conftest.er1 >conftest.err
 12586   rm -f conftest.er1
 12587   cat conftest.err >&5
 12588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12589   (exit $ac_status); } && {
 12590 	 test -z "$ac_c_werror_flag" ||
 12591 	 test ! -s conftest.err
 12592        } && test -s conftest$ac_exeext && {
 12593 	 test "$cross_compiling" = yes ||
 12594 	 $as_test_x conftest$ac_exeext
 12595        }; then
 12596   ac_cv_func_bind_textdomain_codeset=yes
 12597 else
 12598   $as_echo "$as_me: failed program was:" >&5
 12599 sed 's/^/| /' conftest.$ac_ext >&5
 12601 	ac_cv_func_bind_textdomain_codeset=no
 12602 fi
 12604 rm -rf conftest.dSYM
 12605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12606       conftest$ac_exeext conftest.$ac_ext
 12607 fi
 12608 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 12609 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 12610 if test $ac_cv_func_bind_textdomain_codeset = yes; then
 12611   CATOBJEXT=.gmo
 12612                DATADIRNAME=share
 12613 else
 12614   CATOBJEXT=.mo
 12615                DATADIRNAME=lib
 12616 fi
 12618 	    ;;
 12619 	    *)
 12620 	    CATOBJEXT=.mo
 12621             DATADIRNAME=lib
 12622 	    ;;
 12623 	    esac
 12624 fi
 12626 rm -rf conftest.dSYM
 12627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12628       conftest$ac_exeext conftest.$ac_ext
 12629           LIBS="$glib_save_LIBS"
 12630 	  INSTOBJEXT=.mo
 12631 	else
 12632 	  gt_cv_have_gettext=no
 12633 	fi
 12634       fi
 12636 fi
 12640     if test "$gt_cv_have_gettext" = "yes" ; then
 12642 cat >>confdefs.h <<\_ACEOF
 12643 #define ENABLE_NLS 1
 12644 _ACEOF
 12646     fi
 12648         if test "$XGETTEXT" != ":"; then
 12649                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 12650         : ;
 12651       else
 12652         { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 12653 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 12654         XGETTEXT=":"
 12655       fi
 12656     fi
 12658     # We need to process the po/ directory.
 12659     POSUB=po
 12661     ac_config_commands="$ac_config_commands default-1"
 12664                 for lang in $ALL_LINGUAS; do
 12665       GMOFILES="$GMOFILES $lang.gmo"
 12666       POFILES="$POFILES $lang.po"
 12667     done
 12681    if test "$gt_cv_have_gettext" = "yes"; then
 12682      if test "x$ALL_LINGUAS" = "x"; then
 12683        LINGUAS=
 12684      else
 12685        { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 12686 $as_echo_n "checking for catalogs to be installed... " >&6; }
 12687        NEW_LINGUAS=
 12688        for presentlang in $ALL_LINGUAS; do
 12689          useit=no
 12690          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 12691            desiredlanguages="$LINGUAS"
 12692          else
 12693            desiredlanguages="$ALL_LINGUAS"
 12694          fi
 12695          for desiredlang in $desiredlanguages; do
 12696  	   # Use the presentlang catalog if desiredlang is
 12697            #   a. equal to presentlang, or
 12698            #   b. a variant of presentlang (because in this case,
 12699            #      presentlang can be used as a fallback for messages
 12700            #      which are not translated in the desiredlang catalog).
 12701            case "$desiredlang" in
 12702              "$presentlang"*) useit=yes;;
 12703            esac
 12704          done
 12705          if test $useit = yes; then
 12706            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 12707          fi
 12708        done
 12709        LINGUAS=$NEW_LINGUAS
 12710        { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 12711 $as_echo "$LINGUAS" >&6; }
 12712      fi
 12714           if test -n "$LINGUAS"; then
 12715        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 12716      fi
 12717    fi
 12719             MKINSTALLDIRS=
 12720    if test -n "$ac_aux_dir"; then
 12721      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 12722    fi
 12723    if test -z "$MKINSTALLDIRS"; then
 12724      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 12725    fi
 12728          test -d po || mkdir po
 12729    if test "x$srcdir" != "x."; then
 12730      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 12731        posrcprefix="$srcdir/"
 12732      else
 12733        posrcprefix="../$srcdir/"
 12734      fi
 12735    else
 12736      posrcprefix="../"
 12737    fi
 12738    rm -f po/POTFILES
 12739    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 12740 	< $srcdir/po/POTFILES.in > po/POTFILES
 12743 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile Info.plist"
 12745 cat >confcache <<\_ACEOF
 12746 # This file is a shell script that caches the results of configure
 12747 # tests run on this system so they can be shared between configure
 12748 # scripts and configure runs, see configure's option --config-cache.
 12749 # It is not useful on other systems.  If it contains results you don't
 12750 # want to keep, you may remove or edit it.
 12752 # config.status only pays attention to the cache file if you give it
 12753 # the --recheck option to rerun configure.
 12755 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 12756 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 12757 # following values.
 12759 _ACEOF
 12761 # The following way of writing the cache mishandles newlines in values,
 12762 # but we know of no workaround that is simple, portable, and efficient.
 12763 # So, we kill variables containing newlines.
 12764 # Ultrix sh set writes to stderr and can't be redirected directly,
 12765 # and sets the high bit in the cache file unless we assign to the vars.
 12767   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 12768     eval ac_val=\$$ac_var
 12769     case $ac_val in #(
 12770     *${as_nl}*)
 12771       case $ac_var in #(
 12772       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 12773 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 12774       esac
 12775       case $ac_var in #(
 12776       _ | IFS | as_nl) ;; #(
 12777       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 12778       *) $as_unset $ac_var ;;
 12779       esac ;;
 12780     esac
 12781   done
 12783   (set) 2>&1 |
 12784     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 12785     *${as_nl}ac_space=\ *)
 12786       # `set' does not quote correctly, so add quotes (double-quote
 12787       # substitution turns \\\\ into \\, and sed turns \\ into \).
 12788       sed -n \
 12789 	"s/'/'\\\\''/g;
 12790 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 12791       ;; #(
 12792     *)
 12793       # `set' quotes correctly as required by POSIX, so do not add quotes.
 12794       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 12795       ;;
 12796     esac |
 12797     sort
 12798 ) |
 12799   sed '
 12800      /^ac_cv_env_/b end
 12801      t clear
 12802      :clear
 12803      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 12804      t end
 12805      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 12806      :end' >>confcache
 12807 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 12808   if test -w "$cache_file"; then
 12809     test "x$cache_file" != "x/dev/null" &&
 12810       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 12811 $as_echo "$as_me: updating cache $cache_file" >&6;}
 12812     cat confcache >$cache_file
 12813   else
 12814     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 12815 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 12816   fi
 12817 fi
 12818 rm -f confcache
 12820 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 12821 # Let make expand exec_prefix.
 12822 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 12824 DEFS=-DHAVE_CONFIG_H
 12826 ac_libobjs=
 12827 ac_ltlibobjs=
 12828 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 12829   # 1. Remove the extension, and $U if already installed.
 12830   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 12831   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 12832   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 12833   #    will be set to the directory where LIBOBJS objects are built.
 12834   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 12835   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 12836 done
 12837 LIBOBJS=$ac_libobjs
 12839 LTLIBOBJS=$ac_ltlibobjs
 12842 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 12843   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 12844 Usually this means the macro was only invoked conditionally." >&5
 12845 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 12846 Usually this means the macro was only invoked conditionally." >&2;}
 12847    { (exit 1); exit 1; }; }
 12848 fi
 12849 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 12850   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 12851 Usually this means the macro was only invoked conditionally." >&5
 12852 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 12853 Usually this means the macro was only invoked conditionally." >&2;}
 12854    { (exit 1); exit 1; }; }
 12855 fi
 12856 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 12857   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 12858 Usually this means the macro was only invoked conditionally." >&5
 12859 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 12860 Usually this means the macro was only invoked conditionally." >&2;}
 12861    { (exit 1); exit 1; }; }
 12862 fi
 12863 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 12864   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 12865 Usually this means the macro was only invoked conditionally." >&5
 12866 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 12867 Usually this means the macro was only invoked conditionally." >&2;}
 12868    { (exit 1); exit 1; }; }
 12869 fi
 12870 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 12871   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 12872 Usually this means the macro was only invoked conditionally." >&5
 12873 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 12874 Usually this means the macro was only invoked conditionally." >&2;}
 12875    { (exit 1); exit 1; }; }
 12876 fi
 12877 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
 12878   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
 12879 Usually this means the macro was only invoked conditionally." >&5
 12880 $as_echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
 12881 Usually this means the macro was only invoked conditionally." >&2;}
 12882    { (exit 1); exit 1; }; }
 12883 fi
 12884 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
 12885   { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
 12886 Usually this means the macro was only invoked conditionally." >&5
 12887 $as_echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
 12888 Usually this means the macro was only invoked conditionally." >&2;}
 12889    { (exit 1); exit 1; }; }
 12890 fi
 12891 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
 12892   { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
 12893 Usually this means the macro was only invoked conditionally." >&5
 12894 $as_echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
 12895 Usually this means the macro was only invoked conditionally." >&2;}
 12896    { (exit 1); exit 1; }; }
 12897 fi
 12898 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
 12899   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
 12900 Usually this means the macro was only invoked conditionally." >&5
 12901 $as_echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
 12902 Usually this means the macro was only invoked conditionally." >&2;}
 12903    { (exit 1); exit 1; }; }
 12904 fi
 12905 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
 12906   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
 12907 Usually this means the macro was only invoked conditionally." >&5
 12908 $as_echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
 12909 Usually this means the macro was only invoked conditionally." >&2;}
 12910    { (exit 1); exit 1; }; }
 12911 fi
 12912 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
 12913   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
 12914 Usually this means the macro was only invoked conditionally." >&5
 12915 $as_echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
 12916 Usually this means the macro was only invoked conditionally." >&2;}
 12917    { (exit 1); exit 1; }; }
 12918 fi
 12919 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
 12920   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
 12921 Usually this means the macro was only invoked conditionally." >&5
 12922 $as_echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
 12923 Usually this means the macro was only invoked conditionally." >&2;}
 12924    { (exit 1); exit 1; }; }
 12925 fi
 12926 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
 12927   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
 12928 Usually this means the macro was only invoked conditionally." >&5
 12929 $as_echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
 12930 Usually this means the macro was only invoked conditionally." >&2;}
 12931    { (exit 1); exit 1; }; }
 12932 fi
 12933 if test -z "${AUDIO_SDL_TRUE}" && test -z "${AUDIO_SDL_FALSE}"; then
 12934   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_SDL\" was never defined.
 12935 Usually this means the macro was only invoked conditionally." >&5
 12936 $as_echo "$as_me: error: conditional \"AUDIO_SDL\" was never defined.
 12937 Usually this means the macro was only invoked conditionally." >&2;}
 12938    { (exit 1); exit 1; }; }
 12939 fi
 12940 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
 12941   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
 12942 Usually this means the macro was only invoked conditionally." >&5
 12943 $as_echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
 12944 Usually this means the macro was only invoked conditionally." >&2;}
 12945    { (exit 1); exit 1; }; }
 12946 fi
 12947 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
 12948   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
 12949 Usually this means the macro was only invoked conditionally." >&5
 12950 $as_echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
 12951 Usually this means the macro was only invoked conditionally." >&2;}
 12952    { (exit 1); exit 1; }; }
 12953 fi
 12954 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
 12955   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
 12956 Usually this means the macro was only invoked conditionally." >&5
 12957 $as_echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
 12958 Usually this means the macro was only invoked conditionally." >&2;}
 12959    { (exit 1); exit 1; }; }
 12960 fi
 12961 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
 12962   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
 12963 Usually this means the macro was only invoked conditionally." >&5
 12964 $as_echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
 12965 Usually this means the macro was only invoked conditionally." >&2;}
 12966    { (exit 1); exit 1; }; }
 12967 fi
 12968 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
 12969   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
 12970 Usually this means the macro was only invoked conditionally." >&5
 12971 $as_echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
 12972 Usually this means the macro was only invoked conditionally." >&2;}
 12973    { (exit 1); exit 1; }; }
 12974 fi
 12975 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
 12976   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
 12977 Usually this means the macro was only invoked conditionally." >&5
 12978 $as_echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
 12979 Usually this means the macro was only invoked conditionally." >&2;}
 12980    { (exit 1); exit 1; }; }
 12981 fi
 12982 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
 12983   { { $as_echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
 12984 Usually this means the macro was only invoked conditionally." >&5
 12985 $as_echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
 12986 Usually this means the macro was only invoked conditionally." >&2;}
 12987    { (exit 1); exit 1; }; }
 12988 fi
 12989 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
 12990   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
 12991 Usually this means the macro was only invoked conditionally." >&5
 12992 $as_echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
 12993 Usually this means the macro was only invoked conditionally." >&2;}
 12994    { (exit 1); exit 1; }; }
 12995 fi
 12996 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
 12997   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
 12998 Usually this means the macro was only invoked conditionally." >&5
 12999 $as_echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
 13000 Usually this means the macro was only invoked conditionally." >&2;}
 13001    { (exit 1); exit 1; }; }
 13002 fi
 13004 : ${CONFIG_STATUS=./config.status}
 13005 ac_write_fail=0
 13006 ac_clean_files_save=$ac_clean_files
 13007 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 13008 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 13009 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 13010 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13011 #! $SHELL
 13012 # Generated by $as_me.
 13013 # Run this file to recreate the current configuration.
 13014 # Compiler output produced by configure, useful for debugging
 13015 # configure, is in config.log if it exists.
 13017 debug=false
 13018 ac_cs_recheck=false
 13019 ac_cs_silent=false
 13020 SHELL=\${CONFIG_SHELL-$SHELL}
 13021 _ACEOF
 13023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13024 ## --------------------- ##
 13025 ## M4sh Initialization.  ##
 13026 ## --------------------- ##
 13028 # Be more Bourne compatible
 13029 DUALCASE=1; export DUALCASE # for MKS sh
 13030 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 13031   emulate sh
 13032   NULLCMD=:
 13033   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 13034   # is contrary to our usage.  Disable this feature.
 13035   alias -g '${1+"$@"}'='"$@"'
 13036   setopt NO_GLOB_SUBST
 13037 else
 13038   case `(set -o) 2>/dev/null` in
 13039   *posix*) set -o posix ;;
 13040 esac
 13042 fi
 13047 # PATH needs CR
 13048 # Avoid depending upon Character Ranges.
 13049 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 13050 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 13051 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 13052 as_cr_digits='0123456789'
 13053 as_cr_alnum=$as_cr_Letters$as_cr_digits
 13055 as_nl='
 13057 export as_nl
 13058 # Printing a long string crashes Solaris 7 /usr/bin/printf.
 13059 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 13060 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 13061 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 13062 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 13063   as_echo='printf %s\n'
 13064   as_echo_n='printf %s'
 13065 else
 13066   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 13067     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 13068     as_echo_n='/usr/ucb/echo -n'
 13069   else
 13070     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 13071     as_echo_n_body='eval
 13072       arg=$1;
 13073       case $arg in
 13074       *"$as_nl"*)
 13075 	expr "X$arg" : "X\\(.*\\)$as_nl";
 13076 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 13077       esac;
 13078       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 13080     export as_echo_n_body
 13081     as_echo_n='sh -c $as_echo_n_body as_echo'
 13082   fi
 13083   export as_echo_body
 13084   as_echo='sh -c $as_echo_body as_echo'
 13085 fi
 13087 # The user is always right.
 13088 if test "${PATH_SEPARATOR+set}" != set; then
 13089   PATH_SEPARATOR=:
 13090   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 13091     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 13092       PATH_SEPARATOR=';'
 13094 fi
 13096 # Support unset when possible.
 13097 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 13098   as_unset=unset
 13099 else
 13100   as_unset=false
 13101 fi
 13104 # IFS
 13105 # We need space, tab and new line, in precisely that order.  Quoting is
 13106 # there to prevent editors from complaining about space-tab.
 13107 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 13108 # splitting by setting IFS to empty value.)
 13109 IFS=" ""	$as_nl"
 13111 # Find who we are.  Look in the path if we contain no directory separator.
 13112 case $0 in
 13113   *[\\/]* ) as_myself=$0 ;;
 13114   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 13115 for as_dir in $PATH
 13116 do
 13117   IFS=$as_save_IFS
 13118   test -z "$as_dir" && as_dir=.
 13119   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 13120 done
 13121 IFS=$as_save_IFS
 13123      ;;
 13124 esac
 13125 # We did not find ourselves, most probably we were run as `sh COMMAND'
 13126 # in which case we are not to be found in the path.
 13127 if test "x$as_myself" = x; then
 13128   as_myself=$0
 13129 fi
 13130 if test ! -f "$as_myself"; then
 13131   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 13132   { (exit 1); exit 1; }
 13133 fi
 13135 # Work around bugs in pre-3.0 UWIN ksh.
 13136 for as_var in ENV MAIL MAILPATH
 13137 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 13138 done
 13139 PS1='$ '
 13140 PS2='> '
 13141 PS4='+ '
 13143 # NLS nuisances.
 13144 LC_ALL=C
 13145 export LC_ALL
 13146 LANGUAGE=C
 13147 export LANGUAGE
 13149 # Required to use basename.
 13150 if expr a : '\(a\)' >/dev/null 2>&1 &&
 13151    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 13152   as_expr=expr
 13153 else
 13154   as_expr=false
 13155 fi
 13157 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 13158   as_basename=basename
 13159 else
 13160   as_basename=false
 13161 fi
 13164 # Name of the executable.
 13165 as_me=`$as_basename -- "$0" ||
 13166 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 13167 	 X"$0" : 'X\(//\)$' \| \
 13168 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 13169 $as_echo X/"$0" |
 13170     sed '/^.*\/\([^/][^/]*\)\/*$/{
 13171 	    s//\1/
 13174 	  /^X\/\(\/\/\)$/{
 13175 	    s//\1/
 13178 	  /^X\/\(\/\).*/{
 13179 	    s//\1/
 13182 	  s/.*/./; q'`
 13184 # CDPATH.
 13185 $as_unset CDPATH
 13189   as_lineno_1=$LINENO
 13190   as_lineno_2=$LINENO
 13191   test "x$as_lineno_1" != "x$as_lineno_2" &&
 13192   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 13194   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 13195   # uniformly replaced by the line number.  The first 'sed' inserts a
 13196   # line-number line after each line using $LINENO; the second 'sed'
 13197   # does the real work.  The second script uses 'N' to pair each
 13198   # line-number line with the line containing $LINENO, and appends
 13199   # trailing '-' during substitution so that $LINENO is not a special
 13200   # case at line end.
 13201   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 13202   # scripts with optimization help from Paolo Bonzini.  Blame Lee
 13203   # E. McMahon (1931-1989) for sed's syntax.  :-)
 13204   sed -n '
 13206     /[$]LINENO/=
 13207   ' <$as_myself |
 13208     sed '
 13209       s/[$]LINENO.*/&-/
 13210       t lineno
 13212       :lineno
 13214       :loop
 13215       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 13216       t loop
 13217       s/-\n.*//
 13218     ' >$as_me.lineno &&
 13219   chmod +x "$as_me.lineno" ||
 13220     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 13221    { (exit 1); exit 1; }; }
 13223   # Don't try to exec as it changes $[0], causing all sort of problems
 13224   # (the dirname of $[0] is not the place where we might find the
 13225   # original and so on.  Autoconf is especially sensitive to this).
 13226   . "./$as_me.lineno"
 13227   # Exit status is that of the last command.
 13228   exit
 13232 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 13233   as_dirname=dirname
 13234 else
 13235   as_dirname=false
 13236 fi
 13238 ECHO_C= ECHO_N= ECHO_T=
 13239 case `echo -n x` in
 13240 -n*)
 13241   case `echo 'x\c'` in
 13242   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 13243   *)   ECHO_C='\c';;
 13244   esac;;
 13245 *)
 13246   ECHO_N='-n';;
 13247 esac
 13248 if expr a : '\(a\)' >/dev/null 2>&1 &&
 13249    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 13250   as_expr=expr
 13251 else
 13252   as_expr=false
 13253 fi
 13255 rm -f conf$$ conf$$.exe conf$$.file
 13256 if test -d conf$$.dir; then
 13257   rm -f conf$$.dir/conf$$.file
 13258 else
 13259   rm -f conf$$.dir
 13260   mkdir conf$$.dir 2>/dev/null
 13261 fi
 13262 if (echo >conf$$.file) 2>/dev/null; then
 13263   if ln -s conf$$.file conf$$ 2>/dev/null; then
 13264     as_ln_s='ln -s'
 13265     # ... but there are two gotchas:
 13266     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 13267     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 13268     # In both cases, we have to default to `cp -p'.
 13269     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 13270       as_ln_s='cp -p'
 13271   elif ln conf$$.file conf$$ 2>/dev/null; then
 13272     as_ln_s=ln
 13273   else
 13274     as_ln_s='cp -p'
 13275   fi
 13276 else
 13277   as_ln_s='cp -p'
 13278 fi
 13279 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 13280 rmdir conf$$.dir 2>/dev/null
 13282 if mkdir -p . 2>/dev/null; then
 13283   as_mkdir_p=:
 13284 else
 13285   test -d ./-p && rmdir ./-p
 13286   as_mkdir_p=false
 13287 fi
 13289 if test -x / >/dev/null 2>&1; then
 13290   as_test_x='test -x'
 13291 else
 13292   if ls -dL / >/dev/null 2>&1; then
 13293     as_ls_L_option=L
 13294   else
 13295     as_ls_L_option=
 13296   fi
 13297   as_test_x='
 13298     eval sh -c '\''
 13299       if test -d "$1"; then
 13300 	test -d "$1/.";
 13301       else
 13302 	case $1 in
 13303 	-*)set "./$1";;
 13304 	esac;
 13305 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 13306 	???[sx]*):;;*)false;;esac;fi
 13307     '\'' sh
 13309 fi
 13310 as_executable_p=$as_test_x
 13312 # Sed expression to map a string onto a valid CPP name.
 13313 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 13315 # Sed expression to map a string onto a valid variable name.
 13316 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 13319 exec 6>&1
 13321 # Save the log message, to keep $[0] and so on meaningful, and to
 13322 # report actual input values of CONFIG_FILES etc. instead of their
 13323 # values after options handling.
 13324 ac_log="
 13325 This file was extended by $as_me, which was
 13326 generated by GNU Autoconf 2.62.  Invocation command line was
 13328   CONFIG_FILES    = $CONFIG_FILES
 13329   CONFIG_HEADERS  = $CONFIG_HEADERS
 13330   CONFIG_LINKS    = $CONFIG_LINKS
 13331   CONFIG_COMMANDS = $CONFIG_COMMANDS
 13332   $ $0 $@
 13334 on `(hostname || uname -n) 2>/dev/null | sed 1q`
 13337 _ACEOF
 13339 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13340 # Files that config.status was made for.
 13341 config_files="$ac_config_files"
 13342 config_headers="$ac_config_headers"
 13343 config_commands="$ac_config_commands"
 13345 _ACEOF
 13347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13348 ac_cs_usage="\
 13349 \`$as_me' instantiates files from templates according to the
 13350 current configuration.
 13352 Usage: $0 [OPTIONS] [FILE]...
 13354   -h, --help       print this help, then exit
 13355   -V, --version    print version number and configuration settings, then exit
 13356   -q, --quiet      do not print progress messages
 13357   -d, --debug      don't remove temporary files
 13358       --recheck    update $as_me by reconfiguring in the same conditions
 13359   --file=FILE[:TEMPLATE]
 13360                    instantiate the configuration file FILE
 13361   --header=FILE[:TEMPLATE]
 13362                    instantiate the configuration header FILE
 13364 Configuration files:
 13365 $config_files
 13367 Configuration headers:
 13368 $config_headers
 13370 Configuration commands:
 13371 $config_commands
 13373 Report bugs to <bug-autoconf@gnu.org>."
 13375 _ACEOF
 13376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13377 ac_cs_version="\\
 13378 config.status
 13379 configured by $0, generated by GNU Autoconf 2.62,
 13380   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 13382 Copyright (C) 2008 Free Software Foundation, Inc.
 13383 This config.status script is free software; the Free Software Foundation
 13384 gives unlimited permission to copy, distribute and modify it."
 13386 ac_pwd='$ac_pwd'
 13387 srcdir='$srcdir'
 13388 INSTALL='$INSTALL'
 13389 AWK='$AWK'
 13390 test -n "\$AWK" || AWK=awk
 13391 _ACEOF
 13393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13394 # The default lists apply if the user does not specify any file.
 13395 ac_need_defaults=:
 13396 while test $# != 0
 13397 do
 13398   case $1 in
 13399   --*=*)
 13400     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 13401     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 13402     ac_shift=:
 13403     ;;
 13404   *)
 13405     ac_option=$1
 13406     ac_optarg=$2
 13407     ac_shift=shift
 13408     ;;
 13409   esac
 13411   case $ac_option in
 13412   # Handling of the options.
 13413   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 13414     ac_cs_recheck=: ;;
 13415   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 13416     $as_echo "$ac_cs_version"; exit ;;
 13417   --debug | --debu | --deb | --de | --d | -d )
 13418     debug=: ;;
 13419   --file | --fil | --fi | --f )
 13420     $ac_shift
 13421     case $ac_optarg in
 13422     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 13423     esac
 13424     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 13425     ac_need_defaults=false;;
 13426   --header | --heade | --head | --hea )
 13427     $ac_shift
 13428     case $ac_optarg in
 13429     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 13430     esac
 13431     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 13432     ac_need_defaults=false;;
 13433   --he | --h)
 13434     # Conflict between --help and --header
 13435     { $as_echo "$as_me: error: ambiguous option: $1
 13436 Try \`$0 --help' for more information." >&2
 13437    { (exit 1); exit 1; }; };;
 13438   --help | --hel | -h )
 13439     $as_echo "$ac_cs_usage"; exit ;;
 13440   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 13441   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 13442     ac_cs_silent=: ;;
 13444   # This is an error.
 13445   -*) { $as_echo "$as_me: error: unrecognized option: $1
 13446 Try \`$0 --help' for more information." >&2
 13447    { (exit 1); exit 1; }; } ;;
 13449   *) ac_config_targets="$ac_config_targets $1"
 13450      ac_need_defaults=false ;;
 13452   esac
 13453   shift
 13454 done
 13456 ac_configure_extra_args=
 13458 if $ac_cs_silent; then
 13459   exec 6>/dev/null
 13460   ac_configure_extra_args="$ac_configure_extra_args --silent"
 13461 fi
 13463 _ACEOF
 13464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13465 if \$ac_cs_recheck; then
 13466   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 13467   shift
 13468   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 13469   CONFIG_SHELL='$SHELL'
 13470   export CONFIG_SHELL
 13471   exec "\$@"
 13472 fi
 13474 _ACEOF
 13475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13476 exec 5>>config.log
 13478   echo
 13479   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 13480 ## Running $as_me. ##
 13481 _ASBOX
 13482   $as_echo "$ac_log"
 13483 } >&5
 13485 _ACEOF
 13486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13488 # INIT-COMMANDS
 13490 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 13493 _ACEOF
 13495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13497 # Handling of arguments.
 13498 for ac_config_target in $ac_config_targets
 13499 do
 13500   case $ac_config_target in
 13501     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 13502     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 13503     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 13504     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 13505     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 13506     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 13507     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 13508     "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;
 13510   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 13511 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 13512    { (exit 1); exit 1; }; };;
 13513   esac
 13514 done
 13517 # If the user did not use the arguments to specify the items to instantiate,
 13518 # then the envvar interface is used.  Set only those that are not.
 13519 # We use the long form for the default assignment because of an extremely
 13520 # bizarre bug on SunOS 4.1.3.
 13521 if $ac_need_defaults; then
 13522   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 13523   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 13524   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 13525 fi
 13527 # Have a temporary directory for convenience.  Make it in the build tree
 13528 # simply because there is no reason against having it here, and in addition,
 13529 # creating and moving files from /tmp can sometimes cause problems.
 13530 # Hook for its removal unless debugging.
 13531 # Note that there is a small window in which the directory will not be cleaned:
 13532 # after its creation but before its name has been assigned to `$tmp'.
 13533 $debug ||
 13535   tmp=
 13536   trap 'exit_status=$?
 13537   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 13538 ' 0
 13539   trap '{ (exit 1); exit 1; }' 1 2 13 15
 13541 # Create a (secure) tmp directory for tmp files.
 13544   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 13545   test -n "$tmp" && test -d "$tmp"
 13546 }  ||
 13548   tmp=./conf$$-$RANDOM
 13549   (umask 077 && mkdir "$tmp")
 13550 } ||
 13552    $as_echo "$as_me: cannot create a temporary directory in ." >&2
 13553    { (exit 1); exit 1; }
 13556 # Set up the scripts for CONFIG_FILES section.
 13557 # No need to generate them if there are no CONFIG_FILES.
 13558 # This happens for instance with `./config.status config.h'.
 13559 if test -n "$CONFIG_FILES"; then
 13562 ac_cr='
 13564 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 13565 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 13566   ac_cs_awk_cr='\\r'
 13567 else
 13568   ac_cs_awk_cr=$ac_cr
 13569 fi
 13571 echo 'BEGIN {' >"$tmp/subs1.awk" &&
 13572 _ACEOF
 13576   echo "cat >conf$$subs.awk <<_ACEOF" &&
 13577   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 13578   echo "_ACEOF"
 13579 } >conf$$subs.sh ||
 13580   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 13581 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 13582    { (exit 1); exit 1; }; }
 13583 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 13584 ac_delim='%!_!# '
 13585 for ac_last_try in false false false false false :; do
 13586   . ./conf$$subs.sh ||
 13587     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 13588 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 13589    { (exit 1); exit 1; }; }
 13591   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 13592     break
 13593   elif $ac_last_try; then
 13594     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 13595 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 13596    { (exit 1); exit 1; }; }
 13597   else
 13598     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 13599   fi
 13600 done
 13601 rm -f conf$$subs.sh
 13603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13604 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 13605 _ACEOF
 13606 sed -n '
 13608 s/^/S["/; s/!.*/"]=/
 13611 s/^[^!]*!//
 13612 :repl
 13613 t repl
 13614 s/'"$ac_delim"'$//
 13615 t delim
 13616 :nl
 13618 s/\(.\{148\}\).*/\1/
 13619 t more1
 13620 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 13623 b repl
 13624 :more1
 13625 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 13628 s/.\{148\}//
 13629 t nl
 13630 :delim
 13632 s/\(.\{148\}\).*/\1/
 13633 t more2
 13634 s/["\\]/\\&/g; s/^/"/; s/$/"/
 13637 :more2
 13638 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 13641 s/.\{148\}//
 13642 t delim
 13643 ' <conf$$subs.awk | sed '
 13644 /^[^""]/{
 13646   s/\n//
 13648 ' >>$CONFIG_STATUS || ac_write_fail=1
 13649 rm -f conf$$subs.awk
 13650 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13651 _ACAWK
 13652 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 13653   for (key in S) S_is_set[key] = 1
 13654   FS = ""
 13658   line = $ 0
 13659   nfields = split(line, field, "@")
 13660   substed = 0
 13661   len = length(field[1])
 13662   for (i = 2; i < nfields; i++) {
 13663     key = field[i]
 13664     keylen = length(key)
 13665     if (S_is_set[key]) {
 13666       value = S[key]
 13667       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 13668       len += length(value) + length(field[++i])
 13669       substed = 1
 13670     } else
 13671       len += 1 + keylen
 13674   print line
 13677 _ACAWK
 13678 _ACEOF
 13679 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13680 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 13681   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 13682 else
 13683   cat
 13684 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 13685   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 13686 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
 13687    { (exit 1); exit 1; }; }
 13688 _ACEOF
 13690 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 13691 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 13692 # trailing colons and then remove the whole line if VPATH becomes empty
 13693 # (actually we leave an empty line to preserve line numbers).
 13694 if test "x$srcdir" = x.; then
 13695   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 13696 s/:*\$(srcdir):*/:/
 13697 s/:*\${srcdir}:*/:/
 13698 s/:*@srcdir@:*/:/
 13699 s/^\([^=]*=[	 ]*\):*/\1/
 13700 s/:*$//
 13701 s/^[^=]*=[	 ]*$//
 13702 }'
 13703 fi
 13705 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13706 fi # test -n "$CONFIG_FILES"
 13708 # Set up the scripts for CONFIG_HEADERS section.
 13709 # No need to generate them if there are no CONFIG_HEADERS.
 13710 # This happens for instance with `./config.status Makefile'.
 13711 if test -n "$CONFIG_HEADERS"; then
 13712 cat >"$tmp/defines.awk" <<\_ACAWK ||
 13713 BEGIN {
 13714 _ACEOF
 13716 # Transform confdefs.h into an awk script `defines.awk', embedded as
 13717 # here-document in config.status, that substitutes the proper values into
 13718 # config.h.in to produce config.h.
 13720 # Create a delimiter string that does not exist in confdefs.h, to ease
 13721 # handling of long lines.
 13722 ac_delim='%!_!# '
 13723 for ac_last_try in false false :; do
 13724   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 13725   if test -z "$ac_t"; then
 13726     break
 13727   elif $ac_last_try; then
 13728     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 13729 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 13730    { (exit 1); exit 1; }; }
 13731   else
 13732     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 13733   fi
 13734 done
 13736 # For the awk script, D is an array of macro values keyed by name,
 13737 # likewise P contains macro parameters if any.  Preserve backslash
 13738 # newline sequences.
 13740 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 13741 sed -n '
 13742 s/.\{148\}/&'"$ac_delim"'/g
 13743 t rset
 13744 :rset
 13745 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 13746 t def
 13748 :def
 13749 s/\\$//
 13750 t bsnl
 13751 s/["\\]/\\&/g
 13752 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 13753 D["\1"]=" \3"/p
 13754 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 13756 :bsnl
 13757 s/["\\]/\\&/g
 13758 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 13759 D["\1"]=" \3\\\\\\n"\\/p
 13760 t cont
 13761 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 13762 t cont
 13764 :cont
 13766 s/.\{148\}/&'"$ac_delim"'/g
 13767 t clear
 13768 :clear
 13769 s/\\$//
 13770 t bsnlc
 13771 s/["\\]/\\&/g; s/^/"/; s/$/"/p
 13773 :bsnlc
 13774 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 13775 b cont
 13776 ' <confdefs.h | sed '
 13777 s/'"$ac_delim"'/"\\\
 13778 "/g' >>$CONFIG_STATUS || ac_write_fail=1
 13780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13781   for (key in D) D_is_set[key] = 1
 13782   FS = ""
 13784 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 13785   line = \$ 0
 13786   split(line, arg, " ")
 13787   if (arg[1] == "#") {
 13788     defundef = arg[2]
 13789     mac1 = arg[3]
 13790   } else {
 13791     defundef = substr(arg[1], 2)
 13792     mac1 = arg[2]
 13794   split(mac1, mac2, "(") #)
 13795   macro = mac2[1]
 13796   if (D_is_set[macro]) {
 13797     # Preserve the white space surrounding the "#".
 13798     prefix = substr(line, 1, index(line, defundef) - 1)
 13799     print prefix "define", macro P[macro] D[macro]
 13800     next
 13801   } else {
 13802     # Replace #undef with comments.  This is necessary, for example,
 13803     # in the case of _POSIX_SOURCE, which is predefined and required
 13804     # on some systems where configure will not decide to define it.
 13805     if (defundef == "undef") {
 13806       print "/*", line, "*/"
 13807       next
 13811 { print }
 13812 _ACAWK
 13813 _ACEOF
 13814 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13815   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 13816 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 13817    { (exit 1); exit 1; }; }
 13818 fi # test -n "$CONFIG_HEADERS"
 13821 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 13822 shift
 13823 for ac_tag
 13824 do
 13825   case $ac_tag in
 13826   :[FHLC]) ac_mode=$ac_tag; continue;;
 13827   esac
 13828   case $ac_mode$ac_tag in
 13829   :[FHL]*:*);;
 13830   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 13831 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 13832    { (exit 1); exit 1; }; };;
 13833   :[FH]-) ac_tag=-:-;;
 13834   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 13835   esac
 13836   ac_save_IFS=$IFS
 13837   IFS=:
 13838   set x $ac_tag
 13839   IFS=$ac_save_IFS
 13840   shift
 13841   ac_file=$1
 13842   shift
 13844   case $ac_mode in
 13845   :L) ac_source=$1;;
 13846   :[FH])
 13847     ac_file_inputs=
 13848     for ac_f
 13849     do
 13850       case $ac_f in
 13851       -) ac_f="$tmp/stdin";;
 13852       *) # Look for the file first in the build tree, then in the source tree
 13853 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 13854 	 # because $ac_f cannot contain `:'.
 13855 	 test -f "$ac_f" ||
 13856 	   case $ac_f in
 13857 	   [\\/$]*) false;;
 13858 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 13859 	   esac ||
 13860 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 13861 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 13862    { (exit 1); exit 1; }; };;
 13863       esac
 13864       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 13865       ac_file_inputs="$ac_file_inputs '$ac_f'"
 13866     done
 13868     # Let's still pretend it is `configure' which instantiates (i.e., don't
 13869     # use $as_me), people would be surprised to read:
 13870     #    /* config.h.  Generated by config.status.  */
 13871     configure_input='Generated from '`
 13872 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 13873 	`' by configure.'
 13874     if test x"$ac_file" != x-; then
 13875       configure_input="$ac_file.  $configure_input"
 13876       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 13877 $as_echo "$as_me: creating $ac_file" >&6;}
 13878     fi
 13879     # Neutralize special characters interpreted by sed in replacement strings.
 13880     case $configure_input in #(
 13881     *\&* | *\|* | *\\* )
 13882        ac_sed_conf_input=`$as_echo "$configure_input" |
 13883        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 13884     *) ac_sed_conf_input=$configure_input;;
 13885     esac
 13887     case $ac_tag in
 13888     *:-:* | *:-) cat >"$tmp/stdin" \
 13889       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13890 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13891    { (exit 1); exit 1; }; } ;;
 13892     esac
 13893     ;;
 13894   esac
 13896   ac_dir=`$as_dirname -- "$ac_file" ||
 13897 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13898 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 13899 	 X"$ac_file" : 'X\(//\)$' \| \
 13900 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 13901 $as_echo X"$ac_file" |
 13902     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13903 	    s//\1/
 13906 	  /^X\(\/\/\)[^/].*/{
 13907 	    s//\1/
 13910 	  /^X\(\/\/\)$/{
 13911 	    s//\1/
 13914 	  /^X\(\/\).*/{
 13915 	    s//\1/
 13918 	  s/.*/./; q'`
 13919   { as_dir="$ac_dir"
 13920   case $as_dir in #(
 13921   -*) as_dir=./$as_dir;;
 13922   esac
 13923   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 13924     as_dirs=
 13925     while :; do
 13926       case $as_dir in #(
 13927       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 13928       *) as_qdir=$as_dir;;
 13929       esac
 13930       as_dirs="'$as_qdir' $as_dirs"
 13931       as_dir=`$as_dirname -- "$as_dir" ||
 13932 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13933 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 13934 	 X"$as_dir" : 'X\(//\)$' \| \
 13935 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 13936 $as_echo X"$as_dir" |
 13937     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13938 	    s//\1/
 13941 	  /^X\(\/\/\)[^/].*/{
 13942 	    s//\1/
 13945 	  /^X\(\/\/\)$/{
 13946 	    s//\1/
 13949 	  /^X\(\/\).*/{
 13950 	    s//\1/
 13953 	  s/.*/./; q'`
 13954       test -d "$as_dir" && break
 13955     done
 13956     test -z "$as_dirs" || eval "mkdir $as_dirs"
 13957   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 13958 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 13959    { (exit 1); exit 1; }; }; }
 13960   ac_builddir=.
 13962 case "$ac_dir" in
 13963 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 13964 *)
 13965   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 13966   # A ".." for each directory in $ac_dir_suffix.
 13967   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 13968   case $ac_top_builddir_sub in
 13969   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 13970   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 13971   esac ;;
 13972 esac
 13973 ac_abs_top_builddir=$ac_pwd
 13974 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 13975 # for backward compatibility:
 13976 ac_top_builddir=$ac_top_build_prefix
 13978 case $srcdir in
 13979   .)  # We are building in place.
 13980     ac_srcdir=.
 13981     ac_top_srcdir=$ac_top_builddir_sub
 13982     ac_abs_top_srcdir=$ac_pwd ;;
 13983   [\\/]* | ?:[\\/]* )  # Absolute name.
 13984     ac_srcdir=$srcdir$ac_dir_suffix;
 13985     ac_top_srcdir=$srcdir
 13986     ac_abs_top_srcdir=$srcdir ;;
 13987   *) # Relative name.
 13988     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 13989     ac_top_srcdir=$ac_top_build_prefix$srcdir
 13990     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 13991 esac
 13992 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 13995   case $ac_mode in
 13996   :F)
 13998   # CONFIG_FILE
 14001   case $INSTALL in
 14002   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 14003   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 14004   esac
 14005 _ACEOF
 14007 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14008 # If the template does not know about datarootdir, expand it.
 14009 # FIXME: This hack should be removed a few years after 2.60.
 14010 ac_datarootdir_hack=; ac_datarootdir_seen=
 14012 ac_sed_dataroot='
 14013 /datarootdir/ {
 14017 /@datadir@/p
 14018 /@docdir@/p
 14019 /@infodir@/p
 14020 /@localedir@/p
 14021 /@mandir@/p
 14023 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 14024 *datarootdir*) ac_datarootdir_seen=yes;;
 14025 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 14026   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 14027 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 14028 _ACEOF
 14029 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14030   ac_datarootdir_hack='
 14031   s&@datadir@&$datadir&g
 14032   s&@docdir@&$docdir&g
 14033   s&@infodir@&$infodir&g
 14034   s&@localedir@&$localedir&g
 14035   s&@mandir@&$mandir&g
 14036     s&\\\${datarootdir}&$datarootdir&g' ;;
 14037 esac
 14038 _ACEOF
 14040 # Neutralize VPATH when `$srcdir' = `.'.
 14041 # Shell code in configure.ac might set extrasub.
 14042 # FIXME: do we really want to maintain this feature?
 14043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 14044 ac_sed_extra="$ac_vpsub
 14045 $extrasub
 14046 _ACEOF
 14047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 14048 :t
 14049 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 14050 s|@configure_input@|$ac_sed_conf_input|;t t
 14051 s&@top_builddir@&$ac_top_builddir_sub&;t t
 14052 s&@top_build_prefix@&$ac_top_build_prefix&;t t
 14053 s&@srcdir@&$ac_srcdir&;t t
 14054 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 14055 s&@top_srcdir@&$ac_top_srcdir&;t t
 14056 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 14057 s&@builddir@&$ac_builddir&;t t
 14058 s&@abs_builddir@&$ac_abs_builddir&;t t
 14059 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 14060 s&@INSTALL@&$ac_INSTALL&;t t
 14061 $ac_datarootdir_hack
 14063 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 14064   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 14065 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 14066    { (exit 1); exit 1; }; }
 14068 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 14069   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 14070   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 14071   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 14072 which seems to be undefined.  Please make sure it is defined." >&5
 14073 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 14074 which seems to be undefined.  Please make sure it is defined." >&2;}
 14076   rm -f "$tmp/stdin"
 14077   case $ac_file in
 14078   -) cat "$tmp/out" && rm -f "$tmp/out";;
 14079   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 14080   esac \
 14081   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 14082 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 14083    { (exit 1); exit 1; }; }
 14084  ;;
 14085   :H)
 14087   # CONFIG_HEADER
 14089   if test x"$ac_file" != x-; then
 14091       $as_echo "/* $configure_input  */" \
 14092       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 14093     } >"$tmp/config.h" \
 14094       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 14095 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 14096    { (exit 1); exit 1; }; }
 14097     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 14098       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 14099 $as_echo "$as_me: $ac_file is unchanged" >&6;}
 14100     else
 14101       rm -f "$ac_file"
 14102       mv "$tmp/config.h" "$ac_file" \
 14103 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 14104 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 14105    { (exit 1); exit 1; }; }
 14106     fi
 14107   else
 14108     $as_echo "/* $configure_input  */" \
 14109       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 14110       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 14111 $as_echo "$as_me: error: could not create -" >&2;}
 14112    { (exit 1); exit 1; }; }
 14113   fi
 14114 # Compute "$ac_file"'s index in $config_headers.
 14115 _am_stamp_count=1
 14116 for _am_header in $config_headers :; do
 14117   case $_am_header in
 14118     "$ac_file" | "$ac_file":* )
 14119       break ;;
 14120     * )
 14121       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 14122   esac
 14123 done
 14124 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
 14125 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14126 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 14127 	 X"$ac_file" : 'X\(//\)$' \| \
 14128 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 14129 $as_echo X"$ac_file" |
 14130     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14131 	    s//\1/
 14134 	  /^X\(\/\/\)[^/].*/{
 14135 	    s//\1/
 14138 	  /^X\(\/\/\)$/{
 14139 	    s//\1/
 14142 	  /^X\(\/\).*/{
 14143 	    s//\1/
 14146 	  s/.*/./; q'`/stamp-h$_am_stamp_count
 14147  ;;
 14149   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 14150 $as_echo "$as_me: executing $ac_file commands" >&6;}
 14151  ;;
 14152   esac
 14155   case $ac_file$ac_mode in
 14156     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 14157   # Strip MF so we end up with the name of the file.
 14158   mf=`echo "$mf" | sed -e 's/:.*$//'`
 14159   # Check whether this is an Automake generated Makefile or not.
 14160   # We used to match only the files named `Makefile.in', but
 14161   # some people rename them; so instead we look at the file content.
 14162   # Grep'ing the first line is not enough: some people post-process
 14163   # each Makefile.in and add a new line on top of each file to say so.
 14164   # So let's grep whole file.
 14165   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 14166     dirpart=`$as_dirname -- "$mf" ||
 14167 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14168 	 X"$mf" : 'X\(//\)[^/]' \| \
 14169 	 X"$mf" : 'X\(//\)$' \| \
 14170 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 14171 $as_echo X"$mf" |
 14172     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14173 	    s//\1/
 14176 	  /^X\(\/\/\)[^/].*/{
 14177 	    s//\1/
 14180 	  /^X\(\/\/\)$/{
 14181 	    s//\1/
 14184 	  /^X\(\/\).*/{
 14185 	    s//\1/
 14188 	  s/.*/./; q'`
 14189   else
 14190     continue
 14191   fi
 14192   # Extract the definition of DEPDIR, am__include, and am__quote
 14193   # from the Makefile without running `make'.
 14194   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 14195   test -z "$DEPDIR" && continue
 14196   am__include=`sed -n 's/^am__include = //p' < "$mf"`
 14197   test -z "am__include" && continue
 14198   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 14199   # When using ansi2knr, U may be empty or an underscore; expand it
 14200   U=`sed -n 's/^U = //p' < "$mf"`
 14201   # Find all dependency output files, they are included files with
 14202   # $(DEPDIR) in their names.  We invoke sed twice because it is the
 14203   # simplest approach to changing $(DEPDIR) to its actual value in the
 14204   # expansion.
 14205   for file in `sed -n "
 14206     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 14207        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 14208     # Make sure the directory exists.
 14209     test -f "$dirpart/$file" && continue
 14210     fdir=`$as_dirname -- "$file" ||
 14211 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14212 	 X"$file" : 'X\(//\)[^/]' \| \
 14213 	 X"$file" : 'X\(//\)$' \| \
 14214 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 14215 $as_echo X"$file" |
 14216     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14217 	    s//\1/
 14220 	  /^X\(\/\/\)[^/].*/{
 14221 	    s//\1/
 14224 	  /^X\(\/\/\)$/{
 14225 	    s//\1/
 14228 	  /^X\(\/\).*/{
 14229 	    s//\1/
 14232 	  s/.*/./; q'`
 14233     { as_dir=$dirpart/$fdir
 14234   case $as_dir in #(
 14235   -*) as_dir=./$as_dir;;
 14236   esac
 14237   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 14238     as_dirs=
 14239     while :; do
 14240       case $as_dir in #(
 14241       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 14242       *) as_qdir=$as_dir;;
 14243       esac
 14244       as_dirs="'$as_qdir' $as_dirs"
 14245       as_dir=`$as_dirname -- "$as_dir" ||
 14246 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14247 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 14248 	 X"$as_dir" : 'X\(//\)$' \| \
 14249 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 14250 $as_echo X"$as_dir" |
 14251     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14252 	    s//\1/
 14255 	  /^X\(\/\/\)[^/].*/{
 14256 	    s//\1/
 14259 	  /^X\(\/\/\)$/{
 14260 	    s//\1/
 14263 	  /^X\(\/\).*/{
 14264 	    s//\1/
 14267 	  s/.*/./; q'`
 14268       test -d "$as_dir" && break
 14269     done
 14270     test -z "$as_dirs" || eval "mkdir $as_dirs"
 14271   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 14272 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 14273    { (exit 1); exit 1; }; }; }
 14274     # echo "creating $dirpart/$file"
 14275     echo '# dummy' > "$dirpart/$file"
 14276   done
 14277 done
 14278  ;;
 14279     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 14280         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 14281       esac ;;
 14283   esac
 14284 done # for ac_tag
 14287 { (exit 0); exit 0; }
 14288 _ACEOF
 14289 chmod +x $CONFIG_STATUS
 14290 ac_clean_files=$ac_clean_files_save
 14292 test $ac_write_fail = 0 ||
 14293   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 14294 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 14295    { (exit 1); exit 1; }; }
 14298 # configure is writing to config.log, and then calls config.status.
 14299 # config.status does its own redirection, appending to config.log.
 14300 # Unfortunately, on DOS this fails, as config.log is still kept open
 14301 # by configure, so config.status won't be able to write to it; its
 14302 # output is simply discarded.  So we exec the FD to /dev/null,
 14303 # effectively closing config.log, so it can be properly (re)opened and
 14304 # appended to by config.status.  When coming back to configure, we
 14305 # need to make the FD available again.
 14306 if test "$no_create" != yes; then
 14307   ac_cs_success=:
 14308   ac_config_status_args=
 14309   test "$silent" = yes &&
 14310     ac_config_status_args="$ac_config_status_args --quiet"
 14311   exec 5>/dev/null
 14312   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 14313   exec 5>>config.log
 14314   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 14315   # would make configure fail if this is the last instruction.
 14316   $ac_cs_success || { (exit 1); exit 1; }
 14317 fi
 14318 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 14319   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 14320 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 14321 fi
 14323 { as_dir=test/sh4
 14324   case $as_dir in #(
 14325   -*) as_dir=./$as_dir;;
 14326   esac
 14327   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 14328     as_dirs=
 14329     while :; do
 14330       case $as_dir in #(
 14331       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 14332       *) as_qdir=$as_dir;;
 14333       esac
 14334       as_dirs="'$as_qdir' $as_dirs"
 14335       as_dir=`$as_dirname -- "$as_dir" ||
 14336 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14337 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 14338 	 X"$as_dir" : 'X\(//\)$' \| \
 14339 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 14340 $as_echo X"$as_dir" |
 14341     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14342 	    s//\1/
 14345 	  /^X\(\/\/\)[^/].*/{
 14346 	    s//\1/
 14349 	  /^X\(\/\/\)$/{
 14350 	    s//\1/
 14353 	  /^X\(\/\).*/{
 14354 	    s//\1/
 14357 	  s/.*/./; q'`
 14358       test -d "$as_dir" && break
 14359     done
 14360     test -z "$as_dirs" || eval "mkdir $as_dirs"
 14361   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 14362 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 14363    { (exit 1); exit 1; }; }; }
 14366 echo
 14367 echo "Configuration complete"
 14368 echo
 14370 if test "x$HAVE_GTK" = x; then
 14371   if test "x$HAVE_COCOA" = x; then
 14372      echo "  User interface: none"
 14373   else
 14374      echo "  User interface: Cocoa"
 14375   fi
 14376 else
 14377   echo "  User interface: GTK"
 14378 fi
 14380 if test "x$SH4_TRANSLATOR" = "x"; then
 14381   echo "  SH4 translator: None (emulation core only)"
 14382 else
 14383   echo "  SH4 translator: $SH4_TRANSLATOR"
 14384 fi
 14386 if test "x$VIDEO_DRIVERS" = "x"; then
 14387    echo "  Video drivers: none (no supported GL found)"
 14388 else
 14389    echo "  Video drivers: $VIDEO_DRIVERS"
 14390 fi
 14392 if test "x$AUDIO_DRIVERS" = "x"; then
 14393    echo "  Audio drivers: none (no supported output devices found)"
 14394 else
 14395    echo "  Audio drivers: $AUDIO_DRIVERS"
 14396 fi
 14398 if test "x$CDROM_DRIVER" = "x"; then
 14399    echo "  CD-ROM driver: none (no supported cd-rom devices found)"
 14400 else
 14401    echo "  CD-ROM driver: $CDROM_DRIVER"
 14402 fi
.