Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 793:7877d947228d
prev791:fc609d426806
next804:567a684e1e7a
author nkeynes
date Thu Aug 07 23:32:34 2008 +0000 (15 years ago)
permissions -rwxr-xr-x
last change Unroll first iteration of the bounding loop in ta_commit_polygon - more to
remove the compiler warnings than for performance really.
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.62.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    27 fi
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
    40 as_nl='
    41 '
    42 export as_nl
    43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    48   as_echo='printf %s\n'
    49   as_echo_n='printf %s'
    50 else
    51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    53     as_echo_n='/usr/ucb/echo -n'
    54   else
    55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    56     as_echo_n_body='eval
    57       arg=$1;
    58       case $arg in
    59       *"$as_nl"*)
    60 	expr "X$arg" : "X\\(.*\\)$as_nl";
    61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    62       esac;
    63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    64     '
    65     export as_echo_n_body
    66     as_echo_n='sh -c $as_echo_n_body as_echo'
    67   fi
    68   export as_echo_body
    69   as_echo='sh -c $as_echo_body as_echo'
    70 fi
    72 # The user is always right.
    73 if test "${PATH_SEPARATOR+set}" != set; then
    74   PATH_SEPARATOR=:
    75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    77       PATH_SEPARATOR=';'
    78   }
    79 fi
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    89 # IFS
    90 # We need space, tab and new line, in precisely that order.  Quoting is
    91 # there to prevent editors from complaining about space-tab.
    92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    93 # splitting by setting IFS to empty value.)
    94 IFS=" ""	$as_nl"
    96 # Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
    98   *[\\/]* ) as_myself=$0 ;;
    99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   100 for as_dir in $PATH
   101 do
   102   IFS=$as_save_IFS
   103   test -z "$as_dir" && as_dir=.
   104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   105 done
   106 IFS=$as_save_IFS
   108      ;;
   109 esac
   110 # We did not find ourselves, most probably we were run as `sh COMMAND'
   111 # in which case we are not to be found in the path.
   112 if test "x$as_myself" = x; then
   113   as_myself=$0
   114 fi
   115 if test ! -f "$as_myself"; then
   116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   117   { (exit 1); exit 1; }
   118 fi
   120 # Work around bugs in pre-3.0 UWIN ksh.
   121 for as_var in ENV MAIL MAILPATH
   122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   123 done
   124 PS1='$ '
   125 PS2='> '
   126 PS4='+ '
   128 # NLS nuisances.
   129 LC_ALL=C
   130 export LC_ALL
   131 LANGUAGE=C
   132 export LANGUAGE
   134 # Required to use basename.
   135 if expr a : '\(a\)' >/dev/null 2>&1 &&
   136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   137   as_expr=expr
   138 else
   139   as_expr=false
   140 fi
   142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   143   as_basename=basename
   144 else
   145   as_basename=false
   146 fi
   149 # Name of the executable.
   150 as_me=`$as_basename -- "$0" ||
   151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   152 	 X"$0" : 'X\(//\)$' \| \
   153 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   154 $as_echo X/"$0" |
   155     sed '/^.*\/\([^/][^/]*\)\/*$/{
   156 	    s//\1/
   157 	    q
   158 	  }
   159 	  /^X\/\(\/\/\)$/{
   160 	    s//\1/
   161 	    q
   162 	  }
   163 	  /^X\/\(\/\).*/{
   164 	    s//\1/
   165 	    q
   166 	  }
   167 	  s/.*/./; q'`
   169 # CDPATH.
   170 $as_unset CDPATH
   173 if test "x$CONFIG_SHELL" = x; then
   174   if (eval ":") 2>/dev/null; then
   175   as_have_required=yes
   176 else
   177   as_have_required=no
   178 fi
   180   if test $as_have_required = yes &&	 (eval ":
   181 (as_func_return () {
   182   (exit \$1)
   183 }
   184 as_func_success () {
   185   as_func_return 0
   186 }
   187 as_func_failure () {
   188   as_func_return 1
   189 }
   190 as_func_ret_success () {
   191   return 0
   192 }
   193 as_func_ret_failure () {
   194   return 1
   195 }
   197 exitcode=0
   198 if as_func_success; then
   199   :
   200 else
   201   exitcode=1
   202   echo as_func_success failed.
   203 fi
   205 if as_func_failure; then
   206   exitcode=1
   207   echo as_func_failure succeeded.
   208 fi
   210 if as_func_ret_success; then
   211   :
   212 else
   213   exitcode=1
   214   echo as_func_ret_success failed.
   215 fi
   217 if as_func_ret_failure; then
   218   exitcode=1
   219   echo as_func_ret_failure succeeded.
   220 fi
   222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   223   :
   224 else
   225   exitcode=1
   226   echo positional parameters were not saved.
   227 fi
   229 test \$exitcode = 0) || { (exit 1); exit 1; }
   231 (
   232   as_lineno_1=\$LINENO
   233   as_lineno_2=\$LINENO
   234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   236 ") 2> /dev/null; then
   237   :
   238 else
   239   as_candidate_shells=
   240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   242 do
   243   IFS=$as_save_IFS
   244   test -z "$as_dir" && as_dir=.
   245   case $as_dir in
   246 	 /*)
   247 	   for as_base in sh bash ksh sh5; do
   248 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   249 	   done;;
   250        esac
   251 done
   252 IFS=$as_save_IFS
   255       for as_shell in $as_candidate_shells $SHELL; do
   256 	 # Try only shells that exist, to save several forks.
   257 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   258 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   260   emulate sh
   261   NULLCMD=:
   262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   263   # is contrary to our usage.  Disable this feature.
   264   alias -g '${1+"$@"}'='"$@"'
   265   setopt NO_GLOB_SUBST
   266 else
   267   case `(set -o) 2>/dev/null` in
   268   *posix*) set -o posix ;;
   269 esac
   271 fi
   274 :
   275 _ASEOF
   276 }; then
   277   CONFIG_SHELL=$as_shell
   278 	       as_have_required=yes
   279 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   281   emulate sh
   282   NULLCMD=:
   283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   284   # is contrary to our usage.  Disable this feature.
   285   alias -g '${1+"$@"}'='"$@"'
   286   setopt NO_GLOB_SUBST
   287 else
   288   case `(set -o) 2>/dev/null` in
   289   *posix*) set -o posix ;;
   290 esac
   292 fi
   295 :
   296 (as_func_return () {
   297   (exit $1)
   298 }
   299 as_func_success () {
   300   as_func_return 0
   301 }
   302 as_func_failure () {
   303   as_func_return 1
   304 }
   305 as_func_ret_success () {
   306   return 0
   307 }
   308 as_func_ret_failure () {
   309   return 1
   310 }
   312 exitcode=0
   313 if as_func_success; then
   314   :
   315 else
   316   exitcode=1
   317   echo as_func_success failed.
   318 fi
   320 if as_func_failure; then
   321   exitcode=1
   322   echo as_func_failure succeeded.
   323 fi
   325 if as_func_ret_success; then
   326   :
   327 else
   328   exitcode=1
   329   echo as_func_ret_success failed.
   330 fi
   332 if as_func_ret_failure; then
   333   exitcode=1
   334   echo as_func_ret_failure succeeded.
   335 fi
   337 if ( set x; as_func_ret_success y && test x = "$1" ); then
   338   :
   339 else
   340   exitcode=1
   341   echo positional parameters were not saved.
   342 fi
   344 test $exitcode = 0) || { (exit 1); exit 1; }
   346 (
   347   as_lineno_1=$LINENO
   348   as_lineno_2=$LINENO
   349   test "x$as_lineno_1" != "x$as_lineno_2" &&
   350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   352 _ASEOF
   353 }; then
   354   break
   355 fi
   357 fi
   359       done
   361       if test "x$CONFIG_SHELL" != x; then
   362   for as_var in BASH_ENV ENV
   363 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   364 	done
   365 	export CONFIG_SHELL
   366 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   367 fi
   370     if test $as_have_required = no; then
   371   echo This script requires a shell more modern than all the
   372       echo shells that I found on your system.  Please install a
   373       echo modern shell, or manually run the script under such a
   374       echo shell if you do have one.
   375       { (exit 1); exit 1; }
   376 fi
   379 fi
   381 fi
   385 (eval "as_func_return () {
   386   (exit \$1)
   387 }
   388 as_func_success () {
   389   as_func_return 0
   390 }
   391 as_func_failure () {
   392   as_func_return 1
   393 }
   394 as_func_ret_success () {
   395   return 0
   396 }
   397 as_func_ret_failure () {
   398   return 1
   399 }
   401 exitcode=0
   402 if as_func_success; then
   403   :
   404 else
   405   exitcode=1
   406   echo as_func_success failed.
   407 fi
   409 if as_func_failure; then
   410   exitcode=1
   411   echo as_func_failure succeeded.
   412 fi
   414 if as_func_ret_success; then
   415   :
   416 else
   417   exitcode=1
   418   echo as_func_ret_success failed.
   419 fi
   421 if as_func_ret_failure; then
   422   exitcode=1
   423   echo as_func_ret_failure succeeded.
   424 fi
   426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   427   :
   428 else
   429   exitcode=1
   430   echo positional parameters were not saved.
   431 fi
   433 test \$exitcode = 0") || {
   434   echo No shell found that supports shell functions.
   435   echo Please tell bug-autoconf@gnu.org about your system,
   436   echo including any error possibly output before this message.
   437   echo This can help us improve future autoconf versions.
   438   echo Configuration will now proceed without shell functions.
   439 }
   443   as_lineno_1=$LINENO
   444   as_lineno_2=$LINENO
   445   test "x$as_lineno_1" != "x$as_lineno_2" &&
   446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   449   # uniformly replaced by the line number.  The first 'sed' inserts a
   450   # line-number line after each line using $LINENO; the second 'sed'
   451   # does the real work.  The second script uses 'N' to pair each
   452   # line-number line with the line containing $LINENO, and appends
   453   # trailing '-' during substitution so that $LINENO is not a special
   454   # case at line end.
   455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   457   # E. McMahon (1931-1989) for sed's syntax.  :-)
   458   sed -n '
   459     p
   460     /[$]LINENO/=
   461   ' <$as_myself |
   462     sed '
   463       s/[$]LINENO.*/&-/
   464       t lineno
   465       b
   466       :lineno
   467       N
   468       :loop
   469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   470       t loop
   471       s/-\n.*//
   472     ' >$as_me.lineno &&
   473   chmod +x "$as_me.lineno" ||
   474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   475    { (exit 1); exit 1; }; }
   477   # Don't try to exec as it changes $[0], causing all sort of problems
   478   # (the dirname of $[0] is not the place where we might find the
   479   # original and so on.  Autoconf is especially sensitive to this).
   480   . "./$as_me.lineno"
   481   # Exit status is that of the last command.
   482   exit
   483 }
   486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   487   as_dirname=dirname
   488 else
   489   as_dirname=false
   490 fi
   492 ECHO_C= ECHO_N= ECHO_T=
   493 case `echo -n x` in
   494 -n*)
   495   case `echo 'x\c'` in
   496   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   497   *)   ECHO_C='\c';;
   498   esac;;
   499 *)
   500   ECHO_N='-n';;
   501 esac
   502 if expr a : '\(a\)' >/dev/null 2>&1 &&
   503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   504   as_expr=expr
   505 else
   506   as_expr=false
   507 fi
   509 rm -f conf$$ conf$$.exe conf$$.file
   510 if test -d conf$$.dir; then
   511   rm -f conf$$.dir/conf$$.file
   512 else
   513   rm -f conf$$.dir
   514   mkdir conf$$.dir 2>/dev/null
   515 fi
   516 if (echo >conf$$.file) 2>/dev/null; then
   517   if ln -s conf$$.file conf$$ 2>/dev/null; then
   518     as_ln_s='ln -s'
   519     # ... but there are two gotchas:
   520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   522     # In both cases, we have to default to `cp -p'.
   523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   524       as_ln_s='cp -p'
   525   elif ln conf$$.file conf$$ 2>/dev/null; then
   526     as_ln_s=ln
   527   else
   528     as_ln_s='cp -p'
   529   fi
   530 else
   531   as_ln_s='cp -p'
   532 fi
   533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   534 rmdir conf$$.dir 2>/dev/null
   536 if mkdir -p . 2>/dev/null; then
   537   as_mkdir_p=:
   538 else
   539   test -d ./-p && rmdir ./-p
   540   as_mkdir_p=false
   541 fi
   543 if test -x / >/dev/null 2>&1; then
   544   as_test_x='test -x'
   545 else
   546   if ls -dL / >/dev/null 2>&1; then
   547     as_ls_L_option=L
   548   else
   549     as_ls_L_option=
   550   fi
   551   as_test_x='
   552     eval sh -c '\''
   553       if test -d "$1"; then
   554 	test -d "$1/.";
   555       else
   556 	case $1 in
   557 	-*)set "./$1";;
   558 	esac;
   559 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   560 	???[sx]*):;;*)false;;esac;fi
   561     '\'' sh
   562   '
   563 fi
   564 as_executable_p=$as_test_x
   566 # Sed expression to map a string onto a valid CPP name.
   567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   569 # Sed expression to map a string onto a valid variable name.
   570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   574 exec 7<&0 </dev/null 6>&1
   576 # Name of the host.
   577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   578 # so uname gets run too.
   579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   581 #
   582 # Initializations.
   583 #
   584 ac_default_prefix=/usr/local
   585 ac_clean_files=
   586 ac_config_libobj_dir=.
   587 LIBOBJS=
   588 cross_compiling=no
   589 subdirs=
   590 MFLAGS=
   591 MAKEFLAGS=
   592 SHELL=${CONFIG_SHELL-/bin/sh}
   594 # Identity of this package.
   595 PACKAGE_NAME=
   596 PACKAGE_TARNAME=
   597 PACKAGE_VERSION=
   598 PACKAGE_STRING=
   599 PACKAGE_BUGREPORT=
   601 ac_unique_file="configure.in"
   602 # Factoring default headers for most tests.
   603 ac_includes_default="\
   604 #include <stdio.h>
   605 #ifdef HAVE_SYS_TYPES_H
   606 # include <sys/types.h>
   607 #endif
   608 #ifdef HAVE_SYS_STAT_H
   609 # include <sys/stat.h>
   610 #endif
   611 #ifdef STDC_HEADERS
   612 # include <stdlib.h>
   613 # include <stddef.h>
   614 #else
   615 # ifdef HAVE_STDLIB_H
   616 #  include <stdlib.h>
   617 # endif
   618 #endif
   619 #ifdef HAVE_STRING_H
   620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   621 #  include <memory.h>
   622 # endif
   623 # include <string.h>
   624 #endif
   625 #ifdef HAVE_STRINGS_H
   626 # include <strings.h>
   627 #endif
   628 #ifdef HAVE_INTTYPES_H
   629 # include <inttypes.h>
   630 #endif
   631 #ifdef HAVE_STDINT_H
   632 # include <stdint.h>
   633 #endif
   634 #ifdef HAVE_UNISTD_H
   635 # include <unistd.h>
   636 #endif"
   638 ac_subst_vars='SHELL
   639 PATH_SEPARATOR
   640 PACKAGE_NAME
   641 PACKAGE_TARNAME
   642 PACKAGE_VERSION
   643 PACKAGE_STRING
   644 PACKAGE_BUGREPORT
   645 exec_prefix
   646 prefix
   647 program_transform_name
   648 bindir
   649 sbindir
   650 libexecdir
   651 datarootdir
   652 datadir
   653 sysconfdir
   654 sharedstatedir
   655 localstatedir
   656 includedir
   657 oldincludedir
   658 docdir
   659 infodir
   660 htmldir
   661 dvidir
   662 pdfdir
   663 psdir
   664 libdir
   665 localedir
   666 mandir
   667 DEFS
   668 ECHO_C
   669 ECHO_N
   670 ECHO_T
   671 LIBS
   672 build_alias
   673 host_alias
   674 target_alias
   675 INSTALL_PROGRAM
   676 INSTALL_SCRIPT
   677 INSTALL_DATA
   678 CYGPATH_W
   679 PACKAGE
   680 VERSION
   681 ACLOCAL
   682 AUTOCONF
   683 AUTOMAKE
   684 AUTOHEADER
   685 MAKEINFO
   686 install_sh
   687 STRIP
   688 INSTALL_STRIP_PROGRAM
   689 mkdir_p
   690 AWK
   691 SET_MAKE
   692 am__leading_dot
   693 AMTAR
   694 am__tar
   695 am__untar
   696 MAINTAINER_MODE_TRUE
   697 MAINTAINER_MODE_FALSE
   698 MAINT
   699 CC
   700 CFLAGS
   701 LDFLAGS
   702 CPPFLAGS
   703 ac_ct_CC
   704 EXEEXT
   705 OBJEXT
   706 DEPDIR
   707 am__include
   708 am__quote
   709 AMDEP_TRUE
   710 AMDEP_FALSE
   711 AMDEPBACKSLASH
   712 CCDEPMODE
   713 am__fastdepCC_TRUE
   714 am__fastdepCC_FALSE
   715 CCAS
   716 CCASFLAGS
   717 CPP
   718 GREP
   719 EGREP
   720 build
   721 build_cpu
   722 build_vendor
   723 build_os
   724 host
   725 host_cpu
   726 host_vendor
   727 host_os
   728 POD2MAN
   729 POD2HTML
   730 GUI_COCOA_TRUE
   731 GUI_COCOA_FALSE
   732 PKG_CONFIG
   733 LIBPNG_CFLAGS
   734 LIBPNG_LIBS
   735 GLIB_CFLAGS
   736 GLIB_LIBS
   737 GTK_CFLAGS
   738 GTK_LIBS
   739 GUI_GTK_TRUE
   740 GUI_GTK_FALSE
   741 VIDEO_OSMESA_TRUE
   742 VIDEO_OSMESA_FALSE
   743 VIDEO_GLX_TRUE
   744 VIDEO_GLX_FALSE
   745 VIDEO_NSGL_TRUE
   746 VIDEO_NSGL_FALSE
   747 BUILD_SH4X86_TRUE
   748 BUILD_SH4X86_FALSE
   749 AUDIO_OSX_TRUE
   750 AUDIO_OSX_FALSE
   751 PULSE_CFLAGS
   752 PULSE_LIBS
   753 AUDIO_PULSE_TRUE
   754 AUDIO_PULSE_FALSE
   755 ESOUND_CFLAGS
   756 ESOUND_LIBS
   757 AUDIO_ESOUND_TRUE
   758 AUDIO_ESOUND_FALSE
   759 ALSA_CFLAGS
   760 ALSA_LIBS
   761 AUDIO_ALSA_TRUE
   762 AUDIO_ALSA_FALSE
   763 CDROM_LINUX_TRUE
   764 CDROM_LINUX_FALSE
   765 CDROM_OSX_TRUE
   766 CDROM_OSX_FALSE
   767 CDROM_NONE_TRUE
   768 CDROM_NONE_FALSE
   769 JOY_LINUX_TRUE
   770 JOY_LINUX_FALSE
   771 SHCC
   772 SHLD
   773 SHOBJCOPY
   774 ARMCC
   775 ARMLD
   776 ARMOBJCOPY
   777 BUILD_SYSTEST_TRUE
   778 BUILD_SYSTEST_FALSE
   779 BUILD_ARMTEST_TRUE
   780 BUILD_ARMTEST_FALSE
   781 GETTEXT_PACKAGE
   782 USE_NLS
   783 MSGFMT
   784 MSGFMT_OPTS
   785 GMSGFMT
   786 XGETTEXT
   787 CATALOGS
   788 CATOBJEXT
   789 DATADIRNAME
   790 GMOFILES
   791 INSTOBJEXT
   792 INTLLIBS
   793 PO_IN_DATADIR_TRUE
   794 PO_IN_DATADIR_FALSE
   795 POFILES
   796 POSUB
   797 MKINSTALLDIRS
   798 LIBOBJS
   799 LTLIBOBJS'
   800 ac_subst_files=''
   801 ac_user_opts='
   802 enable_option_checking
   803 enable_maintainer_mode
   804 enable_dependency_tracking
   805 enable_translator
   806 enable_trace
   807 enable_watch
   808 enable_sh4stats
   809 with_osmesa
   810 with_gtk
   811 with_esd
   812 with_pulse
   813 '
   814       ac_precious_vars='build_alias
   815 host_alias
   816 target_alias
   817 CC
   818 CFLAGS
   819 LDFLAGS
   820 LIBS
   821 CPPFLAGS
   822 CCAS
   823 CCASFLAGS
   824 CPP
   825 PKG_CONFIG
   826 LIBPNG_CFLAGS
   827 LIBPNG_LIBS
   828 GLIB_CFLAGS
   829 GLIB_LIBS
   830 GTK_CFLAGS
   831 GTK_LIBS
   832 PULSE_CFLAGS
   833 PULSE_LIBS
   834 ESOUND_CFLAGS
   835 ESOUND_LIBS
   836 ALSA_CFLAGS
   837 ALSA_LIBS'
   840 # Initialize some variables set by options.
   841 ac_init_help=
   842 ac_init_version=false
   843 ac_unrecognized_opts=
   844 ac_unrecognized_sep=
   845 # The variables have the same names as the options, with
   846 # dashes changed to underlines.
   847 cache_file=/dev/null
   848 exec_prefix=NONE
   849 no_create=
   850 no_recursion=
   851 prefix=NONE
   852 program_prefix=NONE
   853 program_suffix=NONE
   854 program_transform_name=s,x,x,
   855 silent=
   856 site=
   857 srcdir=
   858 verbose=
   859 x_includes=NONE
   860 x_libraries=NONE
   862 # Installation directory options.
   863 # These are left unexpanded so users can "make install exec_prefix=/foo"
   864 # and all the variables that are supposed to be based on exec_prefix
   865 # by default will actually change.
   866 # Use braces instead of parens because sh, perl, etc. also accept them.
   867 # (The list follows the same order as the GNU Coding Standards.)
   868 bindir='${exec_prefix}/bin'
   869 sbindir='${exec_prefix}/sbin'
   870 libexecdir='${exec_prefix}/libexec'
   871 datarootdir='${prefix}/share'
   872 datadir='${datarootdir}'
   873 sysconfdir='${prefix}/etc'
   874 sharedstatedir='${prefix}/com'
   875 localstatedir='${prefix}/var'
   876 includedir='${prefix}/include'
   877 oldincludedir='/usr/include'
   878 docdir='${datarootdir}/doc/${PACKAGE}'
   879 infodir='${datarootdir}/info'
   880 htmldir='${docdir}'
   881 dvidir='${docdir}'
   882 pdfdir='${docdir}'
   883 psdir='${docdir}'
   884 libdir='${exec_prefix}/lib'
   885 localedir='${datarootdir}/locale'
   886 mandir='${datarootdir}/man'
   888 ac_prev=
   889 ac_dashdash=
   890 for ac_option
   891 do
   892   # If the previous option needs an argument, assign it.
   893   if test -n "$ac_prev"; then
   894     eval $ac_prev=\$ac_option
   895     ac_prev=
   896     continue
   897   fi
   899   case $ac_option in
   900   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   901   *)	ac_optarg=yes ;;
   902   esac
   904   # Accept the important Cygnus configure options, so we can diagnose typos.
   906   case $ac_dashdash$ac_option in
   907   --)
   908     ac_dashdash=yes ;;
   910   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   911     ac_prev=bindir ;;
   912   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   913     bindir=$ac_optarg ;;
   915   -build | --build | --buil | --bui | --bu)
   916     ac_prev=build_alias ;;
   917   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   918     build_alias=$ac_optarg ;;
   920   -cache-file | --cache-file | --cache-fil | --cache-fi \
   921   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   922     ac_prev=cache_file ;;
   923   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   924   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   925     cache_file=$ac_optarg ;;
   927   --config-cache | -C)
   928     cache_file=config.cache ;;
   930   -datadir | --datadir | --datadi | --datad)
   931     ac_prev=datadir ;;
   932   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   933     datadir=$ac_optarg ;;
   935   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   936   | --dataroo | --dataro | --datar)
   937     ac_prev=datarootdir ;;
   938   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   939   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   940     datarootdir=$ac_optarg ;;
   942   -disable-* | --disable-*)
   943     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   944     # Reject names that are not valid shell variable names.
   945     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   946       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   947    { (exit 1); exit 1; }; }
   948     ac_useropt_orig=$ac_useropt
   949     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   950     case $ac_user_opts in
   951       *"
   952 "enable_$ac_useropt"
   953 "*) ;;
   954       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   955 	 ac_unrecognized_sep=', ';;
   956     esac
   957     eval enable_$ac_useropt=no ;;
   959   -docdir | --docdir | --docdi | --doc | --do)
   960     ac_prev=docdir ;;
   961   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   962     docdir=$ac_optarg ;;
   964   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   965     ac_prev=dvidir ;;
   966   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   967     dvidir=$ac_optarg ;;
   969   -enable-* | --enable-*)
   970     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   971     # Reject names that are not valid shell variable names.
   972     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   973       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   974    { (exit 1); exit 1; }; }
   975     ac_useropt_orig=$ac_useropt
   976     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   977     case $ac_user_opts in
   978       *"
   979 "enable_$ac_useropt"
   980 "*) ;;
   981       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   982 	 ac_unrecognized_sep=', ';;
   983     esac
   984     eval enable_$ac_useropt=\$ac_optarg ;;
   986   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   987   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
   988   | --exec | --exe | --ex)
   989     ac_prev=exec_prefix ;;
   990   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
   991   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
   992   | --exec=* | --exe=* | --ex=*)
   993     exec_prefix=$ac_optarg ;;
   995   -gas | --gas | --ga | --g)
   996     # Obsolete; use --with-gas.
   997     with_gas=yes ;;
   999   -help | --help | --hel | --he | -h)
  1000     ac_init_help=long ;;
  1001   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1002     ac_init_help=recursive ;;
  1003   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1004     ac_init_help=short ;;
  1006   -host | --host | --hos | --ho)
  1007     ac_prev=host_alias ;;
  1008   -host=* | --host=* | --hos=* | --ho=*)
  1009     host_alias=$ac_optarg ;;
  1011   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1012     ac_prev=htmldir ;;
  1013   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1014   | --ht=*)
  1015     htmldir=$ac_optarg ;;
  1017   -includedir | --includedir | --includedi | --included | --include \
  1018   | --includ | --inclu | --incl | --inc)
  1019     ac_prev=includedir ;;
  1020   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1021   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1022     includedir=$ac_optarg ;;
  1024   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1025     ac_prev=infodir ;;
  1026   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1027     infodir=$ac_optarg ;;
  1029   -libdir | --libdir | --libdi | --libd)
  1030     ac_prev=libdir ;;
  1031   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1032     libdir=$ac_optarg ;;
  1034   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1035   | --libexe | --libex | --libe)
  1036     ac_prev=libexecdir ;;
  1037   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1038   | --libexe=* | --libex=* | --libe=*)
  1039     libexecdir=$ac_optarg ;;
  1041   -localedir | --localedir | --localedi | --localed | --locale)
  1042     ac_prev=localedir ;;
  1043   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1044     localedir=$ac_optarg ;;
  1046   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1047   | --localstate | --localstat | --localsta | --localst | --locals)
  1048     ac_prev=localstatedir ;;
  1049   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1050   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1051     localstatedir=$ac_optarg ;;
  1053   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1054     ac_prev=mandir ;;
  1055   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1056     mandir=$ac_optarg ;;
  1058   -nfp | --nfp | --nf)
  1059     # Obsolete; use --without-fp.
  1060     with_fp=no ;;
  1062   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1063   | --no-cr | --no-c | -n)
  1064     no_create=yes ;;
  1066   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1067   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1068     no_recursion=yes ;;
  1070   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1071   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1072   | --oldin | --oldi | --old | --ol | --o)
  1073     ac_prev=oldincludedir ;;
  1074   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1075   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1076   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1077     oldincludedir=$ac_optarg ;;
  1079   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1080     ac_prev=prefix ;;
  1081   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1082     prefix=$ac_optarg ;;
  1084   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1085   | --program-pre | --program-pr | --program-p)
  1086     ac_prev=program_prefix ;;
  1087   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1088   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1089     program_prefix=$ac_optarg ;;
  1091   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1092   | --program-suf | --program-su | --program-s)
  1093     ac_prev=program_suffix ;;
  1094   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1095   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1096     program_suffix=$ac_optarg ;;
  1098   -program-transform-name | --program-transform-name \
  1099   | --program-transform-nam | --program-transform-na \
  1100   | --program-transform-n | --program-transform- \
  1101   | --program-transform | --program-transfor \
  1102   | --program-transfo | --program-transf \
  1103   | --program-trans | --program-tran \
  1104   | --progr-tra | --program-tr | --program-t)
  1105     ac_prev=program_transform_name ;;
  1106   -program-transform-name=* | --program-transform-name=* \
  1107   | --program-transform-nam=* | --program-transform-na=* \
  1108   | --program-transform-n=* | --program-transform-=* \
  1109   | --program-transform=* | --program-transfor=* \
  1110   | --program-transfo=* | --program-transf=* \
  1111   | --program-trans=* | --program-tran=* \
  1112   | --progr-tra=* | --program-tr=* | --program-t=*)
  1113     program_transform_name=$ac_optarg ;;
  1115   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1116     ac_prev=pdfdir ;;
  1117   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1118     pdfdir=$ac_optarg ;;
  1120   -psdir | --psdir | --psdi | --psd | --ps)
  1121     ac_prev=psdir ;;
  1122   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1123     psdir=$ac_optarg ;;
  1125   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1126   | -silent | --silent | --silen | --sile | --sil)
  1127     silent=yes ;;
  1129   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1130     ac_prev=sbindir ;;
  1131   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1132   | --sbi=* | --sb=*)
  1133     sbindir=$ac_optarg ;;
  1135   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1136   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1137   | --sharedst | --shareds | --shared | --share | --shar \
  1138   | --sha | --sh)
  1139     ac_prev=sharedstatedir ;;
  1140   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1141   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1142   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1143   | --sha=* | --sh=*)
  1144     sharedstatedir=$ac_optarg ;;
  1146   -site | --site | --sit)
  1147     ac_prev=site ;;
  1148   -site=* | --site=* | --sit=*)
  1149     site=$ac_optarg ;;
  1151   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1152     ac_prev=srcdir ;;
  1153   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1154     srcdir=$ac_optarg ;;
  1156   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1157   | --syscon | --sysco | --sysc | --sys | --sy)
  1158     ac_prev=sysconfdir ;;
  1159   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1160   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1161     sysconfdir=$ac_optarg ;;
  1163   -target | --target | --targe | --targ | --tar | --ta | --t)
  1164     ac_prev=target_alias ;;
  1165   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1166     target_alias=$ac_optarg ;;
  1168   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1169     verbose=yes ;;
  1171   -version | --version | --versio | --versi | --vers | -V)
  1172     ac_init_version=: ;;
  1174   -with-* | --with-*)
  1175     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1176     # Reject names that are not valid shell variable names.
  1177     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1178       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1179    { (exit 1); exit 1; }; }
  1180     ac_useropt_orig=$ac_useropt
  1181     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1182     case $ac_user_opts in
  1183       *"
  1184 "with_$ac_useropt"
  1185 "*) ;;
  1186       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1187 	 ac_unrecognized_sep=', ';;
  1188     esac
  1189     eval with_$ac_useropt=\$ac_optarg ;;
  1191   -without-* | --without-*)
  1192     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1193     # Reject names that are not valid shell variable names.
  1194     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1195       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1196    { (exit 1); exit 1; }; }
  1197     ac_useropt_orig=$ac_useropt
  1198     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1199     case $ac_user_opts in
  1200       *"
  1201 "with_$ac_useropt"
  1202 "*) ;;
  1203       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1204 	 ac_unrecognized_sep=', ';;
  1205     esac
  1206     eval with_$ac_useropt=no ;;
  1208   --x)
  1209     # Obsolete; use --with-x.
  1210     with_x=yes ;;
  1212   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1213   | --x-incl | --x-inc | --x-in | --x-i)
  1214     ac_prev=x_includes ;;
  1215   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1216   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1217     x_includes=$ac_optarg ;;
  1219   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1220   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1221     ac_prev=x_libraries ;;
  1222   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1223   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1224     x_libraries=$ac_optarg ;;
  1226   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1227 Try \`$0 --help' for more information." >&2
  1228    { (exit 1); exit 1; }; }
  1229     ;;
  1231   *=*)
  1232     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1233     # Reject names that are not valid shell variable names.
  1234     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1235       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1236    { (exit 1); exit 1; }; }
  1237     eval $ac_envvar=\$ac_optarg
  1238     export $ac_envvar ;;
  1240   *)
  1241     # FIXME: should be removed in autoconf 3.0.
  1242     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1243     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1244       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1245     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1246     ;;
  1248   esac
  1249 done
  1251 if test -n "$ac_prev"; then
  1252   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1253   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1254    { (exit 1); exit 1; }; }
  1255 fi
  1257 if test -n "$ac_unrecognized_opts"; then
  1258   case $enable_option_checking in
  1259     no) ;;
  1260     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  1261    { (exit 1); exit 1; }; } ;;
  1262     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1263   esac
  1264 fi
  1266 # Check all directory arguments for consistency.
  1267 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1268 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1269 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1270 		libdir localedir mandir
  1271 do
  1272   eval ac_val=\$$ac_var
  1273   # Remove trailing slashes.
  1274   case $ac_val in
  1275     */ )
  1276       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1277       eval $ac_var=\$ac_val;;
  1278   esac
  1279   # Be sure to have absolute directory names.
  1280   case $ac_val in
  1281     [\\/$]* | ?:[\\/]* )  continue;;
  1282     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1283   esac
  1284   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1285    { (exit 1); exit 1; }; }
  1286 done
  1288 # There might be people who depend on the old broken behavior: `$host'
  1289 # used to hold the argument of --host etc.
  1290 # FIXME: To remove some day.
  1291 build=$build_alias
  1292 host=$host_alias
  1293 target=$target_alias
  1295 # FIXME: To remove some day.
  1296 if test "x$host_alias" != x; then
  1297   if test "x$build_alias" = x; then
  1298     cross_compiling=maybe
  1299     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1300     If a cross compiler is detected then cross compile mode will be used." >&2
  1301   elif test "x$build_alias" != "x$host_alias"; then
  1302     cross_compiling=yes
  1303   fi
  1304 fi
  1306 ac_tool_prefix=
  1307 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1309 test "$silent" = yes && exec 6>/dev/null
  1312 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1313 ac_ls_di=`ls -di .` &&
  1314 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1315   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  1316    { (exit 1); exit 1; }; }
  1317 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1318   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1319    { (exit 1); exit 1; }; }
  1322 # Find the source files, if location was not specified.
  1323 if test -z "$srcdir"; then
  1324   ac_srcdir_defaulted=yes
  1325   # Try the directory containing this script, then the parent directory.
  1326   ac_confdir=`$as_dirname -- "$as_myself" ||
  1327 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1328 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1329 	 X"$as_myself" : 'X\(//\)$' \| \
  1330 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1331 $as_echo X"$as_myself" |
  1332     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1333 	    s//\1/
  1336 	  /^X\(\/\/\)[^/].*/{
  1337 	    s//\1/
  1340 	  /^X\(\/\/\)$/{
  1341 	    s//\1/
  1344 	  /^X\(\/\).*/{
  1345 	    s//\1/
  1348 	  s/.*/./; q'`
  1349   srcdir=$ac_confdir
  1350   if test ! -r "$srcdir/$ac_unique_file"; then
  1351     srcdir=..
  1352   fi
  1353 else
  1354   ac_srcdir_defaulted=no
  1355 fi
  1356 if test ! -r "$srcdir/$ac_unique_file"; then
  1357   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1358   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1359    { (exit 1); exit 1; }; }
  1360 fi
  1361 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1362 ac_abs_confdir=`(
  1363 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1364    { (exit 1); exit 1; }; }
  1365 	pwd)`
  1366 # When building in place, set srcdir=.
  1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1368   srcdir=.
  1369 fi
  1370 # Remove unnecessary trailing slashes from srcdir.
  1371 # Double slashes in file names in object file debugging info
  1372 # mess up M-x gdb in Emacs.
  1373 case $srcdir in
  1374 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1375 esac
  1376 for ac_var in $ac_precious_vars; do
  1377   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1378   eval ac_env_${ac_var}_value=\$${ac_var}
  1379   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1380   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1381 done
  1384 # Report the --help message.
  1386 if test "$ac_init_help" = "long"; then
  1387   # Omit some internal or obsolete options to make the list less imposing.
  1388   # This message is too long to be a string in the A/UX 3.1 sh.
  1389   cat <<_ACEOF
  1390 \`configure' configures this package to adapt to many kinds of systems.
  1392 Usage: $0 [OPTION]... [VAR=VALUE]...
  1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1395 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1397 Defaults for the options are specified in brackets.
  1399 Configuration:
  1400   -h, --help              display this help and exit
  1401       --help=short        display options specific to this package
  1402       --help=recursive    display the short help of all the included packages
  1403   -V, --version           display version information and exit
  1404   -q, --quiet, --silent   do not print \`checking...' messages
  1405       --cache-file=FILE   cache test results in FILE [disabled]
  1406   -C, --config-cache      alias for \`--cache-file=config.cache'
  1407   -n, --no-create         do not create output files
  1408       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1410 Installation directories:
  1411   --prefix=PREFIX         install architecture-independent files in PREFIX
  1412                           [$ac_default_prefix]
  1413   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1414                           [PREFIX]
  1416 By default, \`make install' will install all the files in
  1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1419 for instance \`--prefix=\$HOME'.
  1421 For better control, use the options below.
  1423 Fine tuning of the installation directories:
  1424   --bindir=DIR            user executables [EPREFIX/bin]
  1425   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1426   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1427   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1428   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1429   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1430   --libdir=DIR            object code libraries [EPREFIX/lib]
  1431   --includedir=DIR        C header files [PREFIX/include]
  1432   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1433   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1434   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1435   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1436   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1437   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1438   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1439   --htmldir=DIR           html documentation [DOCDIR]
  1440   --dvidir=DIR            dvi documentation [DOCDIR]
  1441   --pdfdir=DIR            pdf documentation [DOCDIR]
  1442   --psdir=DIR             ps documentation [DOCDIR]
  1443 _ACEOF
  1445   cat <<\_ACEOF
  1447 Program names:
  1448   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1449   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1450   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1452 System types:
  1453   --build=BUILD     configure for building on BUILD [guessed]
  1454   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1455 _ACEOF
  1456 fi
  1458 if test -n "$ac_init_help"; then
  1460   cat <<\_ACEOF
  1462 Optional Features:
  1463   --disable-option-checking  ignore unrecognized --enable/--with options
  1464   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1465   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1466   --enable-maintainer-mode  enable make rules and dependencies not useful
  1467 			  (and sometimes confusing) to the casual installer
  1468   --disable-dependency-tracking  speeds up one-time build
  1469   --enable-dependency-tracking   do not reject slow dependency extractors
  1470   --disable-translator    Disable the SH4 translator (Enable by default)
  1471   --enable-trace          Enable generation of IO traces (warning: hurts
  1472                           performance)
  1473   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1474                           performance)
  1475   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1477 Optional Packages:
  1478   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1479   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1480   --with-osmesa           Build with the osmesa GL library (software
  1481                           rendering)
  1482   --with-gtk              Build with the GTK UI. Default on X11 systems
  1483   --with-esd              Build with support for the ESounD audio system
  1484   --with-pulse            Build with support for the PulseAudio audio system
  1486 Some influential environment variables:
  1487   CC          C compiler command
  1488   CFLAGS      C compiler flags
  1489   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1490               nonstandard directory <lib dir>
  1491   LIBS        libraries to pass to the linker, e.g. -l<library>
  1492   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1493               you have headers in a nonstandard directory <include dir>
  1494   CCAS        assembler compiler command (defaults to CC)
  1495   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1496   CPP         C preprocessor
  1497   PKG_CONFIG  path to pkg-config utility
  1498   LIBPNG_CFLAGS
  1499               C compiler flags for LIBPNG, overriding pkg-config
  1500   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1501   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1502   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1503   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1504   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1505   PULSE_CFLAGS
  1506               C compiler flags for PULSE, overriding pkg-config
  1507   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1508   ESOUND_CFLAGS
  1509               C compiler flags for ESOUND, overriding pkg-config
  1510   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1511   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1512   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1514 Use these variables to override the choices made by `configure' or to help
  1515 it to find libraries and programs with nonstandard names/locations.
  1517 _ACEOF
  1518 ac_status=$?
  1519 fi
  1521 if test "$ac_init_help" = "recursive"; then
  1522   # If there are subdirs, report their specific --help.
  1523   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1524     test -d "$ac_dir" ||
  1525       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1526       continue
  1527     ac_builddir=.
  1529 case "$ac_dir" in
  1530 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1531 *)
  1532   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1533   # A ".." for each directory in $ac_dir_suffix.
  1534   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1535   case $ac_top_builddir_sub in
  1536   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1537   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1538   esac ;;
  1539 esac
  1540 ac_abs_top_builddir=$ac_pwd
  1541 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1542 # for backward compatibility:
  1543 ac_top_builddir=$ac_top_build_prefix
  1545 case $srcdir in
  1546   .)  # We are building in place.
  1547     ac_srcdir=.
  1548     ac_top_srcdir=$ac_top_builddir_sub
  1549     ac_abs_top_srcdir=$ac_pwd ;;
  1550   [\\/]* | ?:[\\/]* )  # Absolute name.
  1551     ac_srcdir=$srcdir$ac_dir_suffix;
  1552     ac_top_srcdir=$srcdir
  1553     ac_abs_top_srcdir=$srcdir ;;
  1554   *) # Relative name.
  1555     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1556     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1557     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1558 esac
  1559 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1561     cd "$ac_dir" || { ac_status=$?; continue; }
  1562     # Check for guested configure.
  1563     if test -f "$ac_srcdir/configure.gnu"; then
  1564       echo &&
  1565       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1566     elif test -f "$ac_srcdir/configure"; then
  1567       echo &&
  1568       $SHELL "$ac_srcdir/configure" --help=recursive
  1569     else
  1570       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1571     fi || ac_status=$?
  1572     cd "$ac_pwd" || { ac_status=$?; break; }
  1573   done
  1574 fi
  1576 test -n "$ac_init_help" && exit $ac_status
  1577 if $ac_init_version; then
  1578   cat <<\_ACEOF
  1579 configure
  1580 generated by GNU Autoconf 2.62
  1582 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1583 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1584 This configure script is free software; the Free Software Foundation
  1585 gives unlimited permission to copy, distribute and modify it.
  1586 _ACEOF
  1587   exit
  1588 fi
  1589 cat >config.log <<_ACEOF
  1590 This file contains any messages produced by compilers while
  1591 running configure, to aid debugging if configure makes a mistake.
  1593 It was created by $as_me, which was
  1594 generated by GNU Autoconf 2.62.  Invocation command line was
  1596   $ $0 $@
  1598 _ACEOF
  1599 exec 5>>config.log
  1601 cat <<_ASUNAME
  1602 ## --------- ##
  1603 ## Platform. ##
  1604 ## --------- ##
  1606 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1607 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1608 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1609 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1610 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1612 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1613 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1615 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1616 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1617 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1618 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1619 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1620 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1621 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1623 _ASUNAME
  1625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1626 for as_dir in $PATH
  1627 do
  1628   IFS=$as_save_IFS
  1629   test -z "$as_dir" && as_dir=.
  1630   $as_echo "PATH: $as_dir"
  1631 done
  1632 IFS=$as_save_IFS
  1634 } >&5
  1636 cat >&5 <<_ACEOF
  1639 ## ----------- ##
  1640 ## Core tests. ##
  1641 ## ----------- ##
  1643 _ACEOF
  1646 # Keep a trace of the command line.
  1647 # Strip out --no-create and --no-recursion so they do not pile up.
  1648 # Strip out --silent because we don't want to record it for future runs.
  1649 # Also quote any args containing shell meta-characters.
  1650 # Make two passes to allow for proper duplicate-argument suppression.
  1651 ac_configure_args=
  1652 ac_configure_args0=
  1653 ac_configure_args1=
  1654 ac_must_keep_next=false
  1655 for ac_pass in 1 2
  1656 do
  1657   for ac_arg
  1658   do
  1659     case $ac_arg in
  1660     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1661     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1662     | -silent | --silent | --silen | --sile | --sil)
  1663       continue ;;
  1664     *\'*)
  1665       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1666     esac
  1667     case $ac_pass in
  1668     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1669     2)
  1670       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1671       if test $ac_must_keep_next = true; then
  1672 	ac_must_keep_next=false # Got value, back to normal.
  1673       else
  1674 	case $ac_arg in
  1675 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1676 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1677 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1678 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1679 	    case "$ac_configure_args0 " in
  1680 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1681 	    esac
  1682 	    ;;
  1683 	  -* ) ac_must_keep_next=true ;;
  1684 	esac
  1685       fi
  1686       ac_configure_args="$ac_configure_args '$ac_arg'"
  1687       ;;
  1688     esac
  1689   done
  1690 done
  1691 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1692 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1694 # When interrupted or exit'd, cleanup temporary files, and complete
  1695 # config.log.  We remove comments because anyway the quotes in there
  1696 # would cause problems or look ugly.
  1697 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1698 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1699 trap 'exit_status=$?
  1700   # Save into config.log some information that might help in debugging.
  1702     echo
  1704     cat <<\_ASBOX
  1705 ## ---------------- ##
  1706 ## Cache variables. ##
  1707 ## ---------------- ##
  1708 _ASBOX
  1709     echo
  1710     # The following way of writing the cache mishandles newlines in values,
  1712   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1713     eval ac_val=\$$ac_var
  1714     case $ac_val in #(
  1715     *${as_nl}*)
  1716       case $ac_var in #(
  1717       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1718 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1719       esac
  1720       case $ac_var in #(
  1721       _ | IFS | as_nl) ;; #(
  1722       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1723       *) $as_unset $ac_var ;;
  1724       esac ;;
  1725     esac
  1726   done
  1727   (set) 2>&1 |
  1728     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1729     *${as_nl}ac_space=\ *)
  1730       sed -n \
  1731 	"s/'\''/'\''\\\\'\'''\''/g;
  1732 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1733       ;; #(
  1734     *)
  1735       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1736       ;;
  1737     esac |
  1738     sort
  1740     echo
  1742     cat <<\_ASBOX
  1743 ## ----------------- ##
  1744 ## Output variables. ##
  1745 ## ----------------- ##
  1746 _ASBOX
  1747     echo
  1748     for ac_var in $ac_subst_vars
  1749     do
  1750       eval ac_val=\$$ac_var
  1751       case $ac_val in
  1752       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1753       esac
  1754       $as_echo "$ac_var='\''$ac_val'\''"
  1755     done | sort
  1756     echo
  1758     if test -n "$ac_subst_files"; then
  1759       cat <<\_ASBOX
  1760 ## ------------------- ##
  1761 ## File substitutions. ##
  1762 ## ------------------- ##
  1763 _ASBOX
  1764       echo
  1765       for ac_var in $ac_subst_files
  1766       do
  1767 	eval ac_val=\$$ac_var
  1768 	case $ac_val in
  1769 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1770 	esac
  1771 	$as_echo "$ac_var='\''$ac_val'\''"
  1772       done | sort
  1773       echo
  1774     fi
  1776     if test -s confdefs.h; then
  1777       cat <<\_ASBOX
  1778 ## ----------- ##
  1779 ## confdefs.h. ##
  1780 ## ----------- ##
  1781 _ASBOX
  1782       echo
  1783       cat confdefs.h
  1784       echo
  1785     fi
  1786     test "$ac_signal" != 0 &&
  1787       $as_echo "$as_me: caught signal $ac_signal"
  1788     $as_echo "$as_me: exit $exit_status"
  1789   } >&5
  1790   rm -f core *.core core.conftest.* &&
  1791     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1792     exit $exit_status
  1793 ' 0
  1794 for ac_signal in 1 2 13 15; do
  1795   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1796 done
  1797 ac_signal=0
  1799 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1800 rm -f -r conftest* confdefs.h
  1802 # Predefined preprocessor variables.
  1804 cat >>confdefs.h <<_ACEOF
  1805 #define PACKAGE_NAME "$PACKAGE_NAME"
  1806 _ACEOF
  1809 cat >>confdefs.h <<_ACEOF
  1810 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1811 _ACEOF
  1814 cat >>confdefs.h <<_ACEOF
  1815 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1816 _ACEOF
  1819 cat >>confdefs.h <<_ACEOF
  1820 #define PACKAGE_STRING "$PACKAGE_STRING"
  1821 _ACEOF
  1824 cat >>confdefs.h <<_ACEOF
  1825 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1826 _ACEOF
  1829 # Let the site file select an alternate cache file if it wants to.
  1830 # Prefer an explicitly selected file to automatically selected ones.
  1831 ac_site_file1=NONE
  1832 ac_site_file2=NONE
  1833 if test -n "$CONFIG_SITE"; then
  1834   ac_site_file1=$CONFIG_SITE
  1835 elif test "x$prefix" != xNONE; then
  1836   ac_site_file1=$prefix/share/config.site
  1837   ac_site_file2=$prefix/etc/config.site
  1838 else
  1839   ac_site_file1=$ac_default_prefix/share/config.site
  1840   ac_site_file2=$ac_default_prefix/etc/config.site
  1841 fi
  1842 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1843 do
  1844   test "x$ac_site_file" = xNONE && continue
  1845   if test -r "$ac_site_file"; then
  1846     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1847 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1848     sed 's/^/| /' "$ac_site_file" >&5
  1849     . "$ac_site_file"
  1850   fi
  1851 done
  1853 if test -r "$cache_file"; then
  1854   # Some versions of bash will fail to source /dev/null (special
  1855   # files actually), so we avoid doing that.
  1856   if test -f "$cache_file"; then
  1857     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1858 $as_echo "$as_me: loading cache $cache_file" >&6;}
  1859     case $cache_file in
  1860       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1861       *)                      . "./$cache_file";;
  1862     esac
  1863   fi
  1864 else
  1865   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1866 $as_echo "$as_me: creating cache $cache_file" >&6;}
  1867   >$cache_file
  1868 fi
  1870 # Check that the precious variables saved in the cache have kept the same
  1871 # value.
  1872 ac_cache_corrupted=false
  1873 for ac_var in $ac_precious_vars; do
  1874   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1875   eval ac_new_set=\$ac_env_${ac_var}_set
  1876   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1877   eval ac_new_val=\$ac_env_${ac_var}_value
  1878   case $ac_old_set,$ac_new_set in
  1879     set,)
  1880       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1881 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1882       ac_cache_corrupted=: ;;
  1883     ,set)
  1884       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1885 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1886       ac_cache_corrupted=: ;;
  1887     ,);;
  1888     *)
  1889       if test "x$ac_old_val" != "x$ac_new_val"; then
  1890 	# differences in whitespace do not lead to failure.
  1891 	ac_old_val_w=`echo x $ac_old_val`
  1892 	ac_new_val_w=`echo x $ac_new_val`
  1893 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1894 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1895 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1896 	  ac_cache_corrupted=:
  1897 	else
  1898 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1899 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1900 	  eval $ac_var=\$ac_old_val
  1901 	fi
  1902 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  1903 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1904 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  1905 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1906       fi;;
  1907   esac
  1908   # Pass precious variables to config.status.
  1909   if test "$ac_new_set" = set; then
  1910     case $ac_new_val in
  1911     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1912     *) ac_arg=$ac_var=$ac_new_val ;;
  1913     esac
  1914     case " $ac_configure_args " in
  1915       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1916       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1917     esac
  1918   fi
  1919 done
  1920 if $ac_cache_corrupted; then
  1921   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1922 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1923   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1924 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1925    { (exit 1); exit 1; }; }
  1926 fi
  1944 ac_ext=c
  1945 ac_cpp='$CPP $CPPFLAGS'
  1946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1951 am__api_version="1.9"
  1952 ac_aux_dir=
  1953 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1954   if test -f "$ac_dir/install-sh"; then
  1955     ac_aux_dir=$ac_dir
  1956     ac_install_sh="$ac_aux_dir/install-sh -c"
  1957     break
  1958   elif test -f "$ac_dir/install.sh"; then
  1959     ac_aux_dir=$ac_dir
  1960     ac_install_sh="$ac_aux_dir/install.sh -c"
  1961     break
  1962   elif test -f "$ac_dir/shtool"; then
  1963     ac_aux_dir=$ac_dir
  1964     ac_install_sh="$ac_aux_dir/shtool install -c"
  1965     break
  1966   fi
  1967 done
  1968 if test -z "$ac_aux_dir"; then
  1969   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1970 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1971    { (exit 1); exit 1; }; }
  1972 fi
  1974 # These three variables are undocumented and unsupported,
  1975 # and are intended to be withdrawn in a future Autoconf release.
  1976 # They can cause serious problems if a builder's source tree is in a directory
  1977 # whose full name contains unusual characters.
  1978 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1979 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1980 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  1983 # Find a good install program.  We prefer a C program (faster),
  1984 # so one script is as good as another.  But avoid the broken or
  1985 # incompatible versions:
  1986 # SysV /etc/install, /usr/sbin/install
  1987 # SunOS /usr/etc/install
  1988 # IRIX /sbin/install
  1989 # AIX /bin/install
  1990 # AmigaOS /C/install, which installs bootblocks on floppy discs
  1991 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  1992 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  1993 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  1994 # OS/2's system install, which has a completely different semantic
  1995 # ./install, which can be erroneously created by make from ./install.sh.
  1996 # Reject install programs that cannot install multiple files.
  1997 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  1998 $as_echo_n "checking for a BSD-compatible install... " >&6; }
  1999 if test -z "$INSTALL"; then
  2000 if test "${ac_cv_path_install+set}" = set; then
  2001   $as_echo_n "(cached) " >&6
  2002 else
  2003   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2004 for as_dir in $PATH
  2005 do
  2006   IFS=$as_save_IFS
  2007   test -z "$as_dir" && as_dir=.
  2008   # Account for people who put trailing slashes in PATH elements.
  2009 case $as_dir/ in
  2010   ./ | .// | /cC/* | \
  2011   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2012   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2013   /usr/ucb/* ) ;;
  2014   *)
  2015     # OSF1 and SCO ODT 3.0 have their own names for install.
  2016     # Don't use installbsd from OSF since it installs stuff as root
  2017     # by default.
  2018     for ac_prog in ginstall scoinst install; do
  2019       for ac_exec_ext in '' $ac_executable_extensions; do
  2020 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2021 	  if test $ac_prog = install &&
  2022 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2023 	    # AIX install.  It has an incompatible calling convention.
  2025 	  elif test $ac_prog = install &&
  2026 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2027 	    # program-specific install script used by HP pwplus--don't use.
  2029 	  else
  2030 	    rm -rf conftest.one conftest.two conftest.dir
  2031 	    echo one > conftest.one
  2032 	    echo two > conftest.two
  2033 	    mkdir conftest.dir
  2034 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2035 	      test -s conftest.one && test -s conftest.two &&
  2036 	      test -s conftest.dir/conftest.one &&
  2037 	      test -s conftest.dir/conftest.two
  2038 	    then
  2039 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2040 	      break 3
  2041 	    fi
  2042 	  fi
  2043 	fi
  2044       done
  2045     done
  2046     ;;
  2047 esac
  2049 done
  2050 IFS=$as_save_IFS
  2052 rm -rf conftest.one conftest.two conftest.dir
  2054 fi
  2055   if test "${ac_cv_path_install+set}" = set; then
  2056     INSTALL=$ac_cv_path_install
  2057   else
  2058     # As a last resort, use the slow shell script.  Don't cache a
  2059     # value for INSTALL within a source directory, because that will
  2060     # break other packages using the cache if that directory is
  2061     # removed, or if the value is a relative name.
  2062     INSTALL=$ac_install_sh
  2063   fi
  2064 fi
  2065 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2066 $as_echo "$INSTALL" >&6; }
  2068 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2069 # It thinks the first close brace ends the variable substitution.
  2070 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2072 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2074 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2076 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2077 $as_echo_n "checking whether build environment is sane... " >&6; }
  2078 # Just in case
  2079 sleep 1
  2080 echo timestamp > conftest.file
  2081 # Do `set' in a subshell so we don't clobber the current shell's
  2082 # arguments.  Must try -L first in case configure is actually a
  2083 # symlink; some systems play weird games with the mod time of symlinks
  2084 # (eg FreeBSD returns the mod time of the symlink's containing
  2085 # directory).
  2086 if (
  2087    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2088    if test "$*" = "X"; then
  2089       # -L didn't work.
  2090       set X `ls -t $srcdir/configure conftest.file`
  2091    fi
  2092    rm -f conftest.file
  2093    if test "$*" != "X $srcdir/configure conftest.file" \
  2094       && test "$*" != "X conftest.file $srcdir/configure"; then
  2096       # If neither matched, then we have a broken ls.  This can happen
  2097       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2098       # broken ls alias from the environment.  This has actually
  2099       # happened.  Such a system could not be considered "sane".
  2100       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2101 alias in your environment" >&5
  2102 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2103 alias in your environment" >&2;}
  2104    { (exit 1); exit 1; }; }
  2105    fi
  2107    test "$2" = conftest.file
  2109 then
  2110    # Ok.
  2112 else
  2113    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2114 Check your system clock" >&5
  2115 $as_echo "$as_me: error: newly created file is older than distributed files!
  2116 Check your system clock" >&2;}
  2117    { (exit 1); exit 1; }; }
  2118 fi
  2119 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2120 $as_echo "yes" >&6; }
  2121 test "$program_prefix" != NONE &&
  2122   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2123 # Use a double $ so make ignores it.
  2124 test "$program_suffix" != NONE &&
  2125   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2126 # Double any \ or $.
  2127 # By default was `s,x,x', remove it if useless.
  2128 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2129 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2131 # expand $ac_aux_dir to an absolute path
  2132 am_aux_dir=`cd $ac_aux_dir && pwd`
  2134 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2135 # Use eval to expand $SHELL
  2136 if eval "$MISSING --run true"; then
  2137   am_missing_run="$MISSING --run "
  2138 else
  2139   am_missing_run=
  2140   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2141 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2142 fi
  2144 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2145   # We used to keeping the `.' as first argument, in order to
  2146   # allow $(mkdir_p) to be used without argument.  As in
  2147   #   $(mkdir_p) $(somedir)
  2148   # where $(somedir) is conditionally defined.  However this is wrong
  2149   # for two reasons:
  2150   #  1. if the package is installed by a user who cannot write `.'
  2151   #     make install will fail,
  2152   #  2. the above comment should most certainly read
  2153   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2154   #     so it does not work when $(somedir) is undefined and
  2155   #     $(DESTDIR) is not.
  2156   #  To support the latter case, we have to write
  2157   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2158   #  so the `.' trick is pointless.
  2159   mkdir_p='mkdir -p --'
  2160 else
  2161   # On NextStep and OpenStep, the `mkdir' command does not
  2162   # recognize any option.  It will interpret all options as
  2163   # directories to create, and then abort because `.' already
  2164   # exists.
  2165   for d in ./-p ./--version;
  2166   do
  2167     test -d $d && rmdir $d
  2168   done
  2169   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2170   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2171     mkdir_p='$(mkinstalldirs)'
  2172   else
  2173     mkdir_p='$(install_sh) -d'
  2174   fi
  2175 fi
  2177 for ac_prog in gawk mawk nawk awk
  2178 do
  2179   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2180 set dummy $ac_prog; ac_word=$2
  2181 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2182 $as_echo_n "checking for $ac_word... " >&6; }
  2183 if test "${ac_cv_prog_AWK+set}" = set; then
  2184   $as_echo_n "(cached) " >&6
  2185 else
  2186   if test -n "$AWK"; then
  2187   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2188 else
  2189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2190 for as_dir in $PATH
  2191 do
  2192   IFS=$as_save_IFS
  2193   test -z "$as_dir" && as_dir=.
  2194   for ac_exec_ext in '' $ac_executable_extensions; do
  2195   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2196     ac_cv_prog_AWK="$ac_prog"
  2197     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2198     break 2
  2199   fi
  2200 done
  2201 done
  2202 IFS=$as_save_IFS
  2204 fi
  2205 fi
  2206 AWK=$ac_cv_prog_AWK
  2207 if test -n "$AWK"; then
  2208   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2209 $as_echo "$AWK" >&6; }
  2210 else
  2211   { $as_echo "$as_me:$LINENO: result: no" >&5
  2212 $as_echo "no" >&6; }
  2213 fi
  2216   test -n "$AWK" && break
  2217 done
  2219 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2220 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2221 set x ${MAKE-make}
  2222 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2223 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2224   $as_echo_n "(cached) " >&6
  2225 else
  2226   cat >conftest.make <<\_ACEOF
  2227 SHELL = /bin/sh
  2228 all:
  2229 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2230 _ACEOF
  2231 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2232 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2233   *@@@%%%=?*=@@@%%%*)
  2234     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2235   *)
  2236     eval ac_cv_prog_make_${ac_make}_set=no;;
  2237 esac
  2238 rm -f conftest.make
  2239 fi
  2240 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2241   { $as_echo "$as_me:$LINENO: result: yes" >&5
  2242 $as_echo "yes" >&6; }
  2243   SET_MAKE=
  2244 else
  2245   { $as_echo "$as_me:$LINENO: result: no" >&5
  2246 $as_echo "no" >&6; }
  2247   SET_MAKE="MAKE=${MAKE-make}"
  2248 fi
  2250 rm -rf .tst 2>/dev/null
  2251 mkdir .tst 2>/dev/null
  2252 if test -d .tst; then
  2253   am__leading_dot=.
  2254 else
  2255   am__leading_dot=_
  2256 fi
  2257 rmdir .tst 2>/dev/null
  2259 # test to see if srcdir already configured
  2260 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2261    test -f $srcdir/config.status; then
  2262   { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2263 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2264    { (exit 1); exit 1; }; }
  2265 fi
  2267 # test whether we have cygpath
  2268 if test -z "$CYGPATH_W"; then
  2269   if (cygpath --version) >/dev/null 2>/dev/null; then
  2270     CYGPATH_W='cygpath -w'
  2271   else
  2272     CYGPATH_W=echo
  2273   fi
  2274 fi
  2277 # Define the identity of the package.
  2278  PACKAGE=lxdream
  2279  VERSION=0.8.4
  2282 cat >>confdefs.h <<_ACEOF
  2283 #define PACKAGE "$PACKAGE"
  2284 _ACEOF
  2287 cat >>confdefs.h <<_ACEOF
  2288 #define VERSION "$VERSION"
  2289 _ACEOF
  2291 # Some tools Automake needs.
  2293 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2296 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2299 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2302 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2305 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2307 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2309 # Installed binaries are usually stripped using `strip' when the user
  2310 # run `make install-strip'.  However `strip' might not be the right
  2311 # tool to use in cross-compilation environments, therefore Automake
  2312 # will honor the `STRIP' environment variable to overrule this program.
  2313 if test "$cross_compiling" != no; then
  2314   if test -n "$ac_tool_prefix"; then
  2315   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2316 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2317 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2318 $as_echo_n "checking for $ac_word... " >&6; }
  2319 if test "${ac_cv_prog_STRIP+set}" = set; then
  2320   $as_echo_n "(cached) " >&6
  2321 else
  2322   if test -n "$STRIP"; then
  2323   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2324 else
  2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2326 for as_dir in $PATH
  2327 do
  2328   IFS=$as_save_IFS
  2329   test -z "$as_dir" && as_dir=.
  2330   for ac_exec_ext in '' $ac_executable_extensions; do
  2331   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2332     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2333     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2334     break 2
  2335   fi
  2336 done
  2337 done
  2338 IFS=$as_save_IFS
  2340 fi
  2341 fi
  2342 STRIP=$ac_cv_prog_STRIP
  2343 if test -n "$STRIP"; then
  2344   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2345 $as_echo "$STRIP" >&6; }
  2346 else
  2347   { $as_echo "$as_me:$LINENO: result: no" >&5
  2348 $as_echo "no" >&6; }
  2349 fi
  2352 fi
  2353 if test -z "$ac_cv_prog_STRIP"; then
  2354   ac_ct_STRIP=$STRIP
  2355   # Extract the first word of "strip", so it can be a program name with args.
  2356 set dummy strip; ac_word=$2
  2357 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2358 $as_echo_n "checking for $ac_word... " >&6; }
  2359 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2360   $as_echo_n "(cached) " >&6
  2361 else
  2362   if test -n "$ac_ct_STRIP"; then
  2363   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2364 else
  2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2366 for as_dir in $PATH
  2367 do
  2368   IFS=$as_save_IFS
  2369   test -z "$as_dir" && as_dir=.
  2370   for ac_exec_ext in '' $ac_executable_extensions; do
  2371   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2372     ac_cv_prog_ac_ct_STRIP="strip"
  2373     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2374     break 2
  2375   fi
  2376 done
  2377 done
  2378 IFS=$as_save_IFS
  2380 fi
  2381 fi
  2382 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2383 if test -n "$ac_ct_STRIP"; then
  2384   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2385 $as_echo "$ac_ct_STRIP" >&6; }
  2386 else
  2387   { $as_echo "$as_me:$LINENO: result: no" >&5
  2388 $as_echo "no" >&6; }
  2389 fi
  2391   if test "x$ac_ct_STRIP" = x; then
  2392     STRIP=":"
  2393   else
  2394     case $cross_compiling:$ac_tool_warned in
  2395 yes:)
  2396 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2397 whose name does not start with the host triplet.  If you think this
  2398 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2399 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2400 whose name does not start with the host triplet.  If you think this
  2401 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2402 ac_tool_warned=yes ;;
  2403 esac
  2404     STRIP=$ac_ct_STRIP
  2405   fi
  2406 else
  2407   STRIP="$ac_cv_prog_STRIP"
  2408 fi
  2410 fi
  2411 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2413 # We need awk for the "check" target.  The system "awk" is bad on
  2414 # some platforms.
  2415 # Always define AMTAR for backward compatibility.
  2417 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2419 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2425 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2426 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2427     # Check whether --enable-maintainer-mode was given.
  2428 if test "${enable_maintainer_mode+set}" = set; then
  2429   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2430 else
  2431   USE_MAINTAINER_MODE=no
  2432 fi
  2434   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2435 $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2438 if test $USE_MAINTAINER_MODE = yes; then
  2439   MAINTAINER_MODE_TRUE=
  2440   MAINTAINER_MODE_FALSE='#'
  2441 else
  2442   MAINTAINER_MODE_TRUE='#'
  2443   MAINTAINER_MODE_FALSE=
  2444 fi
  2446   MAINT=$MAINTAINER_MODE_TRUE
  2449 ac_config_headers="$ac_config_headers config.h"
  2452 DEPDIR="${am__leading_dot}deps"
  2454 ac_config_commands="$ac_config_commands depfiles"
  2457 am_make=${MAKE-make}
  2458 cat > confinc << 'END'
  2459 am__doit:
  2460 	@echo done
  2461 .PHONY: am__doit
  2462 END
  2463 # If we don't find an include directive, just comment out the code.
  2464 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2465 $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2466 am__include="#"
  2467 am__quote=
  2468 _am_result=none
  2469 # First try GNU make style include.
  2470 echo "include confinc" > confmf
  2471 # We grep out `Entering directory' and `Leaving directory'
  2472 # messages which can occur if `w' ends up in MAKEFLAGS.
  2473 # In particular we don't look at `^make:' because GNU make might
  2474 # be invoked under some other name (usually "gmake"), in which
  2475 # case it prints its new name instead of `make'.
  2476 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2477    am__include=include
  2478    am__quote=
  2479    _am_result=GNU
  2480 fi
  2481 # Now try BSD make style include.
  2482 if test "$am__include" = "#"; then
  2483    echo '.include "confinc"' > confmf
  2484    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2485       am__include=.include
  2486       am__quote="\""
  2487       _am_result=BSD
  2488    fi
  2489 fi
  2492 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  2493 $as_echo "$_am_result" >&6; }
  2494 rm -f confinc confmf
  2496 # Check whether --enable-dependency-tracking was given.
  2497 if test "${enable_dependency_tracking+set}" = set; then
  2498   enableval=$enable_dependency_tracking;
  2499 fi
  2501 if test "x$enable_dependency_tracking" != xno; then
  2502   am_depcomp="$ac_aux_dir/depcomp"
  2503   AMDEPBACKSLASH='\'
  2504 fi
  2507 if test "x$enable_dependency_tracking" != xno; then
  2508   AMDEP_TRUE=
  2509   AMDEP_FALSE='#'
  2510 else
  2511   AMDEP_TRUE='#'
  2512   AMDEP_FALSE=
  2513 fi
  2517 ac_ext=c
  2518 ac_cpp='$CPP $CPPFLAGS'
  2519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2522 if test -n "$ac_tool_prefix"; then
  2523   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2524 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2525 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2526 $as_echo_n "checking for $ac_word... " >&6; }
  2527 if test "${ac_cv_prog_CC+set}" = set; then
  2528   $as_echo_n "(cached) " >&6
  2529 else
  2530   if test -n "$CC"; then
  2531   ac_cv_prog_CC="$CC" # Let the user override the test.
  2532 else
  2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2534 for as_dir in $PATH
  2535 do
  2536   IFS=$as_save_IFS
  2537   test -z "$as_dir" && as_dir=.
  2538   for ac_exec_ext in '' $ac_executable_extensions; do
  2539   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2540     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2541     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2542     break 2
  2543   fi
  2544 done
  2545 done
  2546 IFS=$as_save_IFS
  2548 fi
  2549 fi
  2550 CC=$ac_cv_prog_CC
  2551 if test -n "$CC"; then
  2552   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2553 $as_echo "$CC" >&6; }
  2554 else
  2555   { $as_echo "$as_me:$LINENO: result: no" >&5
  2556 $as_echo "no" >&6; }
  2557 fi
  2560 fi
  2561 if test -z "$ac_cv_prog_CC"; then
  2562   ac_ct_CC=$CC
  2563   # Extract the first word of "gcc", so it can be a program name with args.
  2564 set dummy gcc; ac_word=$2
  2565 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2566 $as_echo_n "checking for $ac_word... " >&6; }
  2567 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2568   $as_echo_n "(cached) " >&6
  2569 else
  2570   if test -n "$ac_ct_CC"; then
  2571   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2572 else
  2573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2574 for as_dir in $PATH
  2575 do
  2576   IFS=$as_save_IFS
  2577   test -z "$as_dir" && as_dir=.
  2578   for ac_exec_ext in '' $ac_executable_extensions; do
  2579   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2580     ac_cv_prog_ac_ct_CC="gcc"
  2581     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2582     break 2
  2583   fi
  2584 done
  2585 done
  2586 IFS=$as_save_IFS
  2588 fi
  2589 fi
  2590 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2591 if test -n "$ac_ct_CC"; then
  2592   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2593 $as_echo "$ac_ct_CC" >&6; }
  2594 else
  2595   { $as_echo "$as_me:$LINENO: result: no" >&5
  2596 $as_echo "no" >&6; }
  2597 fi
  2599   if test "x$ac_ct_CC" = x; then
  2600     CC=""
  2601   else
  2602     case $cross_compiling:$ac_tool_warned in
  2603 yes:)
  2604 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2605 whose name does not start with the host triplet.  If you think this
  2606 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2607 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2608 whose name does not start with the host triplet.  If you think this
  2609 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2610 ac_tool_warned=yes ;;
  2611 esac
  2612     CC=$ac_ct_CC
  2613   fi
  2614 else
  2615   CC="$ac_cv_prog_CC"
  2616 fi
  2618 if test -z "$CC"; then
  2619           if test -n "$ac_tool_prefix"; then
  2620     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2621 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2622 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2623 $as_echo_n "checking for $ac_word... " >&6; }
  2624 if test "${ac_cv_prog_CC+set}" = set; then
  2625   $as_echo_n "(cached) " >&6
  2626 else
  2627   if test -n "$CC"; then
  2628   ac_cv_prog_CC="$CC" # Let the user override the test.
  2629 else
  2630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2631 for as_dir in $PATH
  2632 do
  2633   IFS=$as_save_IFS
  2634   test -z "$as_dir" && as_dir=.
  2635   for ac_exec_ext in '' $ac_executable_extensions; do
  2636   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2637     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2638     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2639     break 2
  2640   fi
  2641 done
  2642 done
  2643 IFS=$as_save_IFS
  2645 fi
  2646 fi
  2647 CC=$ac_cv_prog_CC
  2648 if test -n "$CC"; then
  2649   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2650 $as_echo "$CC" >&6; }
  2651 else
  2652   { $as_echo "$as_me:$LINENO: result: no" >&5
  2653 $as_echo "no" >&6; }
  2654 fi
  2657   fi
  2658 fi
  2659 if test -z "$CC"; then
  2660   # Extract the first word of "cc", so it can be a program name with args.
  2661 set dummy cc; ac_word=$2
  2662 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2663 $as_echo_n "checking for $ac_word... " >&6; }
  2664 if test "${ac_cv_prog_CC+set}" = set; then
  2665   $as_echo_n "(cached) " >&6
  2666 else
  2667   if test -n "$CC"; then
  2668   ac_cv_prog_CC="$CC" # Let the user override the test.
  2669 else
  2670   ac_prog_rejected=no
  2671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2672 for as_dir in $PATH
  2673 do
  2674   IFS=$as_save_IFS
  2675   test -z "$as_dir" && as_dir=.
  2676   for ac_exec_ext in '' $ac_executable_extensions; do
  2677   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2678     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2679        ac_prog_rejected=yes
  2680        continue
  2681      fi
  2682     ac_cv_prog_CC="cc"
  2683     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2684     break 2
  2685   fi
  2686 done
  2687 done
  2688 IFS=$as_save_IFS
  2690 if test $ac_prog_rejected = yes; then
  2691   # We found a bogon in the path, so make sure we never use it.
  2692   set dummy $ac_cv_prog_CC
  2693   shift
  2694   if test $# != 0; then
  2695     # We chose a different compiler from the bogus one.
  2696     # However, it has the same basename, so the bogon will be chosen
  2697     # first if we set CC to just the basename; use the full file name.
  2698     shift
  2699     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2700   fi
  2701 fi
  2702 fi
  2703 fi
  2704 CC=$ac_cv_prog_CC
  2705 if test -n "$CC"; then
  2706   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2707 $as_echo "$CC" >&6; }
  2708 else
  2709   { $as_echo "$as_me:$LINENO: result: no" >&5
  2710 $as_echo "no" >&6; }
  2711 fi
  2714 fi
  2715 if test -z "$CC"; then
  2716   if test -n "$ac_tool_prefix"; then
  2717   for ac_prog in cl.exe
  2718   do
  2719     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2720 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2721 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2722 $as_echo_n "checking for $ac_word... " >&6; }
  2723 if test "${ac_cv_prog_CC+set}" = set; then
  2724   $as_echo_n "(cached) " >&6
  2725 else
  2726   if test -n "$CC"; then
  2727   ac_cv_prog_CC="$CC" # Let the user override the test.
  2728 else
  2729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2730 for as_dir in $PATH
  2731 do
  2732   IFS=$as_save_IFS
  2733   test -z "$as_dir" && as_dir=.
  2734   for ac_exec_ext in '' $ac_executable_extensions; do
  2735   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2736     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2737     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2738     break 2
  2739   fi
  2740 done
  2741 done
  2742 IFS=$as_save_IFS
  2744 fi
  2745 fi
  2746 CC=$ac_cv_prog_CC
  2747 if test -n "$CC"; then
  2748   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2749 $as_echo "$CC" >&6; }
  2750 else
  2751   { $as_echo "$as_me:$LINENO: result: no" >&5
  2752 $as_echo "no" >&6; }
  2753 fi
  2756     test -n "$CC" && break
  2757   done
  2758 fi
  2759 if test -z "$CC"; then
  2760   ac_ct_CC=$CC
  2761   for ac_prog in cl.exe
  2762 do
  2763   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2764 set dummy $ac_prog; ac_word=$2
  2765 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2766 $as_echo_n "checking for $ac_word... " >&6; }
  2767 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2768   $as_echo_n "(cached) " >&6
  2769 else
  2770   if test -n "$ac_ct_CC"; then
  2771   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2772 else
  2773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2774 for as_dir in $PATH
  2775 do
  2776   IFS=$as_save_IFS
  2777   test -z "$as_dir" && as_dir=.
  2778   for ac_exec_ext in '' $ac_executable_extensions; do
  2779   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2780     ac_cv_prog_ac_ct_CC="$ac_prog"
  2781     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2782     break 2
  2783   fi
  2784 done
  2785 done
  2786 IFS=$as_save_IFS
  2788 fi
  2789 fi
  2790 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2791 if test -n "$ac_ct_CC"; then
  2792   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2793 $as_echo "$ac_ct_CC" >&6; }
  2794 else
  2795   { $as_echo "$as_me:$LINENO: result: no" >&5
  2796 $as_echo "no" >&6; }
  2797 fi
  2800   test -n "$ac_ct_CC" && break
  2801 done
  2803   if test "x$ac_ct_CC" = x; then
  2804     CC=""
  2805   else
  2806     case $cross_compiling:$ac_tool_warned in
  2807 yes:)
  2808 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2809 whose name does not start with the host triplet.  If you think this
  2810 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2811 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2812 whose name does not start with the host triplet.  If you think this
  2813 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2814 ac_tool_warned=yes ;;
  2815 esac
  2816     CC=$ac_ct_CC
  2817   fi
  2818 fi
  2820 fi
  2823 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2824 See \`config.log' for more details." >&5
  2825 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2826 See \`config.log' for more details." >&2;}
  2827    { (exit 1); exit 1; }; }
  2829 # Provide some information about the compiler.
  2830 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2831 set X $ac_compile
  2832 ac_compiler=$2
  2833 { (ac_try="$ac_compiler --version >&5"
  2834 case "(($ac_try" in
  2835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2836   *) ac_try_echo=$ac_try;;
  2837 esac
  2838 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2839 $as_echo "$ac_try_echo") >&5
  2840   (eval "$ac_compiler --version >&5") 2>&5
  2841   ac_status=$?
  2842   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2843   (exit $ac_status); }
  2844 { (ac_try="$ac_compiler -v >&5"
  2845 case "(($ac_try" in
  2846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2847   *) ac_try_echo=$ac_try;;
  2848 esac
  2849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2850 $as_echo "$ac_try_echo") >&5
  2851   (eval "$ac_compiler -v >&5") 2>&5
  2852   ac_status=$?
  2853   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2854   (exit $ac_status); }
  2855 { (ac_try="$ac_compiler -V >&5"
  2856 case "(($ac_try" in
  2857   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2858   *) ac_try_echo=$ac_try;;
  2859 esac
  2860 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2861 $as_echo "$ac_try_echo") >&5
  2862   (eval "$ac_compiler -V >&5") 2>&5
  2863   ac_status=$?
  2864   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2865   (exit $ac_status); }
  2867 cat >conftest.$ac_ext <<_ACEOF
  2868 /* confdefs.h.  */
  2869 _ACEOF
  2870 cat confdefs.h >>conftest.$ac_ext
  2871 cat >>conftest.$ac_ext <<_ACEOF
  2872 /* end confdefs.h.  */
  2874 int
  2875 main ()
  2879   return 0;
  2881 _ACEOF
  2882 ac_clean_files_save=$ac_clean_files
  2883 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2884 # Try to create an executable without -o first, disregard a.out.
  2885 # It will help us diagnose broken compilers, and finding out an intuition
  2886 # of exeext.
  2887 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2888 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2889 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2891 # The possible output files:
  2892 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2894 ac_rmfiles=
  2895 for ac_file in $ac_files
  2896 do
  2897   case $ac_file in
  2898     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2899     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2900   esac
  2901 done
  2902 rm -f $ac_rmfiles
  2904 if { (ac_try="$ac_link_default"
  2905 case "(($ac_try" in
  2906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2907   *) ac_try_echo=$ac_try;;
  2908 esac
  2909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2910 $as_echo "$ac_try_echo") >&5
  2911   (eval "$ac_link_default") 2>&5
  2912   ac_status=$?
  2913   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2914   (exit $ac_status); }; then
  2915   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2916 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2917 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2918 # so that the user can short-circuit this test for compilers unknown to
  2919 # Autoconf.
  2920 for ac_file in $ac_files ''
  2921 do
  2922   test -f "$ac_file" || continue
  2923   case $ac_file in
  2924     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2925 	;;
  2926     [ab].out )
  2927 	# We found the default executable, but exeext='' is most
  2928 	# certainly right.
  2929 	break;;
  2930     *.* )
  2931         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2932 	then :; else
  2933 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2934 	fi
  2935 	# We set ac_cv_exeext here because the later test for it is not
  2936 	# safe: cross compilers may not add the suffix if given an `-o'
  2937 	# argument, so we may need to know it at that point already.
  2938 	# Even if this section looks crufty: it has the advantage of
  2939 	# actually working.
  2940 	break;;
  2941     * )
  2942 	break;;
  2943   esac
  2944 done
  2945 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2947 else
  2948   ac_file=''
  2949 fi
  2951 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2952 $as_echo "$ac_file" >&6; }
  2953 if test -z "$ac_file"; then
  2954   $as_echo "$as_me: failed program was:" >&5
  2955 sed 's/^/| /' conftest.$ac_ext >&5
  2957 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2958 See \`config.log' for more details." >&5
  2959 $as_echo "$as_me: error: C compiler cannot create executables
  2960 See \`config.log' for more details." >&2;}
  2961    { (exit 77); exit 77; }; }
  2962 fi
  2964 ac_exeext=$ac_cv_exeext
  2966 # Check that the compiler produces executables we can run.  If not, either
  2967 # the compiler is broken, or we cross compile.
  2968 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2969 $as_echo_n "checking whether the C compiler works... " >&6; }
  2970 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2971 # If not cross compiling, check that we can run a simple program.
  2972 if test "$cross_compiling" != yes; then
  2973   if { ac_try='./$ac_file'
  2974   { (case "(($ac_try" in
  2975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2976   *) ac_try_echo=$ac_try;;
  2977 esac
  2978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2979 $as_echo "$ac_try_echo") >&5
  2980   (eval "$ac_try") 2>&5
  2981   ac_status=$?
  2982   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2983   (exit $ac_status); }; }; then
  2984     cross_compiling=no
  2985   else
  2986     if test "$cross_compiling" = maybe; then
  2987 	cross_compiling=yes
  2988     else
  2989 	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2990 If you meant to cross compile, use \`--host'.
  2991 See \`config.log' for more details." >&5
  2992 $as_echo "$as_me: error: cannot run C compiled programs.
  2993 If you meant to cross compile, use \`--host'.
  2994 See \`config.log' for more details." >&2;}
  2995    { (exit 1); exit 1; }; }
  2996     fi
  2997   fi
  2998 fi
  2999 { $as_echo "$as_me:$LINENO: result: yes" >&5
  3000 $as_echo "yes" >&6; }
  3002 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3003 ac_clean_files=$ac_clean_files_save
  3004 # Check that the compiler produces executables we can run.  If not, either
  3005 # the compiler is broken, or we cross compile.
  3006 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3007 $as_echo_n "checking whether we are cross compiling... " >&6; }
  3008 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3009 $as_echo "$cross_compiling" >&6; }
  3011 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3012 $as_echo_n "checking for suffix of executables... " >&6; }
  3013 if { (ac_try="$ac_link"
  3014 case "(($ac_try" in
  3015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3016   *) ac_try_echo=$ac_try;;
  3017 esac
  3018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3019 $as_echo "$ac_try_echo") >&5
  3020   (eval "$ac_link") 2>&5
  3021   ac_status=$?
  3022   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3023   (exit $ac_status); }; then
  3024   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3025 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3026 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3027 # `rm'.
  3028 for ac_file in conftest.exe conftest conftest.*; do
  3029   test -f "$ac_file" || continue
  3030   case $ac_file in
  3031     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3032     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3033 	  break;;
  3034     * ) break;;
  3035   esac
  3036 done
  3037 else
  3038   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3039 See \`config.log' for more details." >&5
  3040 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3041 See \`config.log' for more details." >&2;}
  3042    { (exit 1); exit 1; }; }
  3043 fi
  3045 rm -f conftest$ac_cv_exeext
  3046 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3047 $as_echo "$ac_cv_exeext" >&6; }
  3049 rm -f conftest.$ac_ext
  3050 EXEEXT=$ac_cv_exeext
  3051 ac_exeext=$EXEEXT
  3052 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3053 $as_echo_n "checking for suffix of object files... " >&6; }
  3054 if test "${ac_cv_objext+set}" = set; then
  3055   $as_echo_n "(cached) " >&6
  3056 else
  3057   cat >conftest.$ac_ext <<_ACEOF
  3058 /* confdefs.h.  */
  3059 _ACEOF
  3060 cat confdefs.h >>conftest.$ac_ext
  3061 cat >>conftest.$ac_ext <<_ACEOF
  3062 /* end confdefs.h.  */
  3064 int
  3065 main ()
  3069   return 0;
  3071 _ACEOF
  3072 rm -f conftest.o conftest.obj
  3073 if { (ac_try="$ac_compile"
  3074 case "(($ac_try" in
  3075   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3076   *) ac_try_echo=$ac_try;;
  3077 esac
  3078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3079 $as_echo "$ac_try_echo") >&5
  3080   (eval "$ac_compile") 2>&5
  3081   ac_status=$?
  3082   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3083   (exit $ac_status); }; then
  3084   for ac_file in conftest.o conftest.obj conftest.*; do
  3085   test -f "$ac_file" || continue;
  3086   case $ac_file in
  3087     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3088     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3089        break;;
  3090   esac
  3091 done
  3092 else
  3093   $as_echo "$as_me: failed program was:" >&5
  3094 sed 's/^/| /' conftest.$ac_ext >&5
  3096 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3097 See \`config.log' for more details." >&5
  3098 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3099 See \`config.log' for more details." >&2;}
  3100    { (exit 1); exit 1; }; }
  3101 fi
  3103 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3104 fi
  3105 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3106 $as_echo "$ac_cv_objext" >&6; }
  3107 OBJEXT=$ac_cv_objext
  3108 ac_objext=$OBJEXT
  3109 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3110 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3111 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3112   $as_echo_n "(cached) " >&6
  3113 else
  3114   cat >conftest.$ac_ext <<_ACEOF
  3115 /* confdefs.h.  */
  3116 _ACEOF
  3117 cat confdefs.h >>conftest.$ac_ext
  3118 cat >>conftest.$ac_ext <<_ACEOF
  3119 /* end confdefs.h.  */
  3121 int
  3122 main ()
  3124 #ifndef __GNUC__
  3125        choke me
  3126 #endif
  3129   return 0;
  3131 _ACEOF
  3132 rm -f conftest.$ac_objext
  3133 if { (ac_try="$ac_compile"
  3134 case "(($ac_try" in
  3135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3136   *) ac_try_echo=$ac_try;;
  3137 esac
  3138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3139 $as_echo "$ac_try_echo") >&5
  3140   (eval "$ac_compile") 2>conftest.er1
  3141   ac_status=$?
  3142   grep -v '^ *+' conftest.er1 >conftest.err
  3143   rm -f conftest.er1
  3144   cat conftest.err >&5
  3145   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3146   (exit $ac_status); } && {
  3147 	 test -z "$ac_c_werror_flag" ||
  3148 	 test ! -s conftest.err
  3149        } && test -s conftest.$ac_objext; then
  3150   ac_compiler_gnu=yes
  3151 else
  3152   $as_echo "$as_me: failed program was:" >&5
  3153 sed 's/^/| /' conftest.$ac_ext >&5
  3155 	ac_compiler_gnu=no
  3156 fi
  3158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3161 fi
  3162 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3163 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3164 if test $ac_compiler_gnu = yes; then
  3165   GCC=yes
  3166 else
  3167   GCC=
  3168 fi
  3169 ac_test_CFLAGS=${CFLAGS+set}
  3170 ac_save_CFLAGS=$CFLAGS
  3171 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3172 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3173 if test "${ac_cv_prog_cc_g+set}" = set; then
  3174   $as_echo_n "(cached) " >&6
  3175 else
  3176   ac_save_c_werror_flag=$ac_c_werror_flag
  3177    ac_c_werror_flag=yes
  3178    ac_cv_prog_cc_g=no
  3179    CFLAGS="-g"
  3180    cat >conftest.$ac_ext <<_ACEOF
  3181 /* confdefs.h.  */
  3182 _ACEOF
  3183 cat confdefs.h >>conftest.$ac_ext
  3184 cat >>conftest.$ac_ext <<_ACEOF
  3185 /* end confdefs.h.  */
  3187 int
  3188 main ()
  3192   return 0;
  3194 _ACEOF
  3195 rm -f conftest.$ac_objext
  3196 if { (ac_try="$ac_compile"
  3197 case "(($ac_try" in
  3198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3199   *) ac_try_echo=$ac_try;;
  3200 esac
  3201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3202 $as_echo "$ac_try_echo") >&5
  3203   (eval "$ac_compile") 2>conftest.er1
  3204   ac_status=$?
  3205   grep -v '^ *+' conftest.er1 >conftest.err
  3206   rm -f conftest.er1
  3207   cat conftest.err >&5
  3208   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3209   (exit $ac_status); } && {
  3210 	 test -z "$ac_c_werror_flag" ||
  3211 	 test ! -s conftest.err
  3212        } && test -s conftest.$ac_objext; then
  3213   ac_cv_prog_cc_g=yes
  3214 else
  3215   $as_echo "$as_me: failed program was:" >&5
  3216 sed 's/^/| /' conftest.$ac_ext >&5
  3218 	CFLAGS=""
  3219       cat >conftest.$ac_ext <<_ACEOF
  3220 /* confdefs.h.  */
  3221 _ACEOF
  3222 cat confdefs.h >>conftest.$ac_ext
  3223 cat >>conftest.$ac_ext <<_ACEOF
  3224 /* end confdefs.h.  */
  3226 int
  3227 main ()
  3231   return 0;
  3233 _ACEOF
  3234 rm -f conftest.$ac_objext
  3235 if { (ac_try="$ac_compile"
  3236 case "(($ac_try" in
  3237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3238   *) ac_try_echo=$ac_try;;
  3239 esac
  3240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3241 $as_echo "$ac_try_echo") >&5
  3242   (eval "$ac_compile") 2>conftest.er1
  3243   ac_status=$?
  3244   grep -v '^ *+' conftest.er1 >conftest.err
  3245   rm -f conftest.er1
  3246   cat conftest.err >&5
  3247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3248   (exit $ac_status); } && {
  3249 	 test -z "$ac_c_werror_flag" ||
  3250 	 test ! -s conftest.err
  3251        } && test -s conftest.$ac_objext; then
  3253 else
  3254   $as_echo "$as_me: failed program was:" >&5
  3255 sed 's/^/| /' conftest.$ac_ext >&5
  3257 	ac_c_werror_flag=$ac_save_c_werror_flag
  3258 	 CFLAGS="-g"
  3259 	 cat >conftest.$ac_ext <<_ACEOF
  3260 /* confdefs.h.  */
  3261 _ACEOF
  3262 cat confdefs.h >>conftest.$ac_ext
  3263 cat >>conftest.$ac_ext <<_ACEOF
  3264 /* end confdefs.h.  */
  3266 int
  3267 main ()
  3271   return 0;
  3273 _ACEOF
  3274 rm -f conftest.$ac_objext
  3275 if { (ac_try="$ac_compile"
  3276 case "(($ac_try" in
  3277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3278   *) ac_try_echo=$ac_try;;
  3279 esac
  3280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3281 $as_echo "$ac_try_echo") >&5
  3282   (eval "$ac_compile") 2>conftest.er1
  3283   ac_status=$?
  3284   grep -v '^ *+' conftest.er1 >conftest.err
  3285   rm -f conftest.er1
  3286   cat conftest.err >&5
  3287   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3288   (exit $ac_status); } && {
  3289 	 test -z "$ac_c_werror_flag" ||
  3290 	 test ! -s conftest.err
  3291        } && test -s conftest.$ac_objext; then
  3292   ac_cv_prog_cc_g=yes
  3293 else
  3294   $as_echo "$as_me: failed program was:" >&5
  3295 sed 's/^/| /' conftest.$ac_ext >&5
  3298 fi
  3300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3301 fi
  3303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3304 fi
  3306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3307    ac_c_werror_flag=$ac_save_c_werror_flag
  3308 fi
  3309 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3310 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3311 if test "$ac_test_CFLAGS" = set; then
  3312   CFLAGS=$ac_save_CFLAGS
  3313 elif test $ac_cv_prog_cc_g = yes; then
  3314   if test "$GCC" = yes; then
  3315     CFLAGS="-g -O2"
  3316   else
  3317     CFLAGS="-g"
  3318   fi
  3319 else
  3320   if test "$GCC" = yes; then
  3321     CFLAGS="-O2"
  3322   else
  3323     CFLAGS=
  3324   fi
  3325 fi
  3326 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3328 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3329   $as_echo_n "(cached) " >&6
  3330 else
  3331   ac_cv_prog_cc_c89=no
  3332 ac_save_CC=$CC
  3333 cat >conftest.$ac_ext <<_ACEOF
  3334 /* confdefs.h.  */
  3335 _ACEOF
  3336 cat confdefs.h >>conftest.$ac_ext
  3337 cat >>conftest.$ac_ext <<_ACEOF
  3338 /* end confdefs.h.  */
  3339 #include <stdarg.h>
  3340 #include <stdio.h>
  3341 #include <sys/types.h>
  3342 #include <sys/stat.h>
  3343 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3344 struct buf { int x; };
  3345 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3346 static char *e (p, i)
  3347      char **p;
  3348      int i;
  3350   return p[i];
  3352 static char *f (char * (*g) (char **, int), char **p, ...)
  3354   char *s;
  3355   va_list v;
  3356   va_start (v,p);
  3357   s = g (p, va_arg (v,int));
  3358   va_end (v);
  3359   return s;
  3362 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3363    function prototypes and stuff, but not '\xHH' hex character constants.
  3364    These don't provoke an error unfortunately, instead are silently treated
  3365    as 'x'.  The following induces an error, until -std is added to get
  3366    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3367    array size at least.  It's necessary to write '\x00'==0 to get something
  3368    that's true only with -std.  */
  3369 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3371 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3372    inside strings and character constants.  */
  3373 #define FOO(x) 'x'
  3374 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3376 int test (int i, double x);
  3377 struct s1 {int (*f) (int a);};
  3378 struct s2 {int (*f) (double a);};
  3379 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3380 int argc;
  3381 char **argv;
  3382 int
  3383 main ()
  3385 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3387   return 0;
  3389 _ACEOF
  3390 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3391 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3392 do
  3393   CC="$ac_save_CC $ac_arg"
  3394   rm -f conftest.$ac_objext
  3395 if { (ac_try="$ac_compile"
  3396 case "(($ac_try" in
  3397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3398   *) ac_try_echo=$ac_try;;
  3399 esac
  3400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3401 $as_echo "$ac_try_echo") >&5
  3402   (eval "$ac_compile") 2>conftest.er1
  3403   ac_status=$?
  3404   grep -v '^ *+' conftest.er1 >conftest.err
  3405   rm -f conftest.er1
  3406   cat conftest.err >&5
  3407   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3408   (exit $ac_status); } && {
  3409 	 test -z "$ac_c_werror_flag" ||
  3410 	 test ! -s conftest.err
  3411        } && test -s conftest.$ac_objext; then
  3412   ac_cv_prog_cc_c89=$ac_arg
  3413 else
  3414   $as_echo "$as_me: failed program was:" >&5
  3415 sed 's/^/| /' conftest.$ac_ext >&5
  3418 fi
  3420 rm -f core conftest.err conftest.$ac_objext
  3421   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3422 done
  3423 rm -f conftest.$ac_ext
  3424 CC=$ac_save_CC
  3426 fi
  3427 # AC_CACHE_VAL
  3428 case "x$ac_cv_prog_cc_c89" in
  3429   x)
  3430     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3431 $as_echo "none needed" >&6; } ;;
  3432   xno)
  3433     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3434 $as_echo "unsupported" >&6; } ;;
  3435   *)
  3436     CC="$CC $ac_cv_prog_cc_c89"
  3437     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3438 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3439 esac
  3442 ac_ext=c
  3443 ac_cpp='$CPP $CPPFLAGS'
  3444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3448 depcc="$CC"   am_compiler_list=
  3450 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3451 $as_echo_n "checking dependency style of $depcc... " >&6; }
  3452 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3453   $as_echo_n "(cached) " >&6
  3454 else
  3455   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3456   # We make a subdir and do the tests there.  Otherwise we can end up
  3457   # making bogus files that we don't know about and never remove.  For
  3458   # instance it was reported that on HP-UX the gcc test will end up
  3459   # making a dummy file named `D' -- because `-MD' means `put the output
  3460   # in D'.
  3461   mkdir conftest.dir
  3462   # Copy depcomp to subdir because otherwise we won't find it if we're
  3463   # using a relative directory.
  3464   cp "$am_depcomp" conftest.dir
  3465   cd conftest.dir
  3466   # We will build objects and dependencies in a subdirectory because
  3467   # it helps to detect inapplicable dependency modes.  For instance
  3468   # both Tru64's cc and ICC support -MD to output dependencies as a
  3469   # side effect of compilation, but ICC will put the dependencies in
  3470   # the current directory while Tru64 will put them in the object
  3471   # directory.
  3472   mkdir sub
  3474   am_cv_CC_dependencies_compiler_type=none
  3475   if test "$am_compiler_list" = ""; then
  3476      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3477   fi
  3478   for depmode in $am_compiler_list; do
  3479     # Setup a source with many dependencies, because some compilers
  3480     # like to wrap large dependency lists on column 80 (with \), and
  3481     # we should not choose a depcomp mode which is confused by this.
  3483     # We need to recreate these files for each test, as the compiler may
  3484     # overwrite some of them when testing with obscure command lines.
  3485     # This happens at least with the AIX C compiler.
  3486     : > sub/conftest.c
  3487     for i in 1 2 3 4 5 6; do
  3488       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3489       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3490       # Solaris 8's {/usr,}/bin/sh.
  3491       touch sub/conftst$i.h
  3492     done
  3493     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3495     case $depmode in
  3496     nosideeffect)
  3497       # after this tag, mechanisms are not by side-effect, so they'll
  3498       # only be used when explicitly requested
  3499       if test "x$enable_dependency_tracking" = xyes; then
  3500 	continue
  3501       else
  3502 	break
  3503       fi
  3504       ;;
  3505     none) break ;;
  3506     esac
  3507     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3508     # mode.  It turns out that the SunPro C++ compiler does not properly
  3509     # handle `-M -o', and we need to detect this.
  3510     if depmode=$depmode \
  3511        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3512        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3513        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3514          >/dev/null 2>conftest.err &&
  3515        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3516        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3517        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3518       # icc doesn't choke on unknown options, it will just issue warnings
  3519       # or remarks (even with -Werror).  So we grep stderr for any message
  3520       # that says an option was ignored or not supported.
  3521       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3522       #   icc: Command line warning: ignoring option '-M'; no argument required
  3523       # The diagnosis changed in icc 8.0:
  3524       #   icc: Command line remark: option '-MP' not supported
  3525       if (grep 'ignoring option' conftest.err ||
  3526           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3527         am_cv_CC_dependencies_compiler_type=$depmode
  3528         break
  3529       fi
  3530     fi
  3531   done
  3533   cd ..
  3534   rm -rf conftest.dir
  3535 else
  3536   am_cv_CC_dependencies_compiler_type=none
  3537 fi
  3539 fi
  3540 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3541 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3542 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3546 if
  3547   test "x$enable_dependency_tracking" != xno \
  3548   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3549   am__fastdepCC_TRUE=
  3550   am__fastdepCC_FALSE='#'
  3551 else
  3552   am__fastdepCC_TRUE='#'
  3553   am__fastdepCC_FALSE=
  3554 fi
  3559         { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3560 $as_echo_n "checking for strerror in -lcposix... " >&6; }
  3561 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3562   $as_echo_n "(cached) " >&6
  3563 else
  3564   ac_check_lib_save_LIBS=$LIBS
  3565 LIBS="-lcposix  $LIBS"
  3566 cat >conftest.$ac_ext <<_ACEOF
  3567 /* confdefs.h.  */
  3568 _ACEOF
  3569 cat confdefs.h >>conftest.$ac_ext
  3570 cat >>conftest.$ac_ext <<_ACEOF
  3571 /* end confdefs.h.  */
  3573 /* Override any GCC internal prototype to avoid an error.
  3574    Use char because int might match the return type of a GCC
  3575    builtin and then its argument prototype would still apply.  */
  3576 #ifdef __cplusplus
  3577 extern "C"
  3578 #endif
  3579 char strerror ();
  3580 int
  3581 main ()
  3583 return strerror ();
  3585   return 0;
  3587 _ACEOF
  3588 rm -f conftest.$ac_objext conftest$ac_exeext
  3589 if { (ac_try="$ac_link"
  3590 case "(($ac_try" in
  3591   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3592   *) ac_try_echo=$ac_try;;
  3593 esac
  3594 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3595 $as_echo "$ac_try_echo") >&5
  3596   (eval "$ac_link") 2>conftest.er1
  3597   ac_status=$?
  3598   grep -v '^ *+' conftest.er1 >conftest.err
  3599   rm -f conftest.er1
  3600   cat conftest.err >&5
  3601   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3602   (exit $ac_status); } && {
  3603 	 test -z "$ac_c_werror_flag" ||
  3604 	 test ! -s conftest.err
  3605        } && test -s conftest$ac_exeext && {
  3606 	 test "$cross_compiling" = yes ||
  3607 	 $as_test_x conftest$ac_exeext
  3608        }; then
  3609   ac_cv_lib_cposix_strerror=yes
  3610 else
  3611   $as_echo "$as_me: failed program was:" >&5
  3612 sed 's/^/| /' conftest.$ac_ext >&5
  3614 	ac_cv_lib_cposix_strerror=no
  3615 fi
  3617 rm -rf conftest.dSYM
  3618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3619       conftest$ac_exeext conftest.$ac_ext
  3620 LIBS=$ac_check_lib_save_LIBS
  3621 fi
  3622 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3623 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
  3624 if test $ac_cv_lib_cposix_strerror = yes; then
  3625   LIBS="$LIBS -lcposix"
  3626 fi
  3630 ac_ext=c
  3631 ac_cpp='$CPP $CPPFLAGS'
  3632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3635 if test -n "$ac_tool_prefix"; then
  3636   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3637 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3638 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3639 $as_echo_n "checking for $ac_word... " >&6; }
  3640 if test "${ac_cv_prog_CC+set}" = set; then
  3641   $as_echo_n "(cached) " >&6
  3642 else
  3643   if test -n "$CC"; then
  3644   ac_cv_prog_CC="$CC" # Let the user override the test.
  3645 else
  3646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3647 for as_dir in $PATH
  3648 do
  3649   IFS=$as_save_IFS
  3650   test -z "$as_dir" && as_dir=.
  3651   for ac_exec_ext in '' $ac_executable_extensions; do
  3652   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3653     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3654     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3655     break 2
  3656   fi
  3657 done
  3658 done
  3659 IFS=$as_save_IFS
  3661 fi
  3662 fi
  3663 CC=$ac_cv_prog_CC
  3664 if test -n "$CC"; then
  3665   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3666 $as_echo "$CC" >&6; }
  3667 else
  3668   { $as_echo "$as_me:$LINENO: result: no" >&5
  3669 $as_echo "no" >&6; }
  3670 fi
  3673 fi
  3674 if test -z "$ac_cv_prog_CC"; then
  3675   ac_ct_CC=$CC
  3676   # Extract the first word of "gcc", so it can be a program name with args.
  3677 set dummy gcc; ac_word=$2
  3678 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3679 $as_echo_n "checking for $ac_word... " >&6; }
  3680 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3681   $as_echo_n "(cached) " >&6
  3682 else
  3683   if test -n "$ac_ct_CC"; then
  3684   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3685 else
  3686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3687 for as_dir in $PATH
  3688 do
  3689   IFS=$as_save_IFS
  3690   test -z "$as_dir" && as_dir=.
  3691   for ac_exec_ext in '' $ac_executable_extensions; do
  3692   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3693     ac_cv_prog_ac_ct_CC="gcc"
  3694     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3695     break 2
  3696   fi
  3697 done
  3698 done
  3699 IFS=$as_save_IFS
  3701 fi
  3702 fi
  3703 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3704 if test -n "$ac_ct_CC"; then
  3705   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3706 $as_echo "$ac_ct_CC" >&6; }
  3707 else
  3708   { $as_echo "$as_me:$LINENO: result: no" >&5
  3709 $as_echo "no" >&6; }
  3710 fi
  3712   if test "x$ac_ct_CC" = x; then
  3713     CC=""
  3714   else
  3715     case $cross_compiling:$ac_tool_warned in
  3716 yes:)
  3717 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3718 whose name does not start with the host triplet.  If you think this
  3719 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3720 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3721 whose name does not start with the host triplet.  If you think this
  3722 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3723 ac_tool_warned=yes ;;
  3724 esac
  3725     CC=$ac_ct_CC
  3726   fi
  3727 else
  3728   CC="$ac_cv_prog_CC"
  3729 fi
  3731 if test -z "$CC"; then
  3732           if test -n "$ac_tool_prefix"; then
  3733     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3734 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3735 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3736 $as_echo_n "checking for $ac_word... " >&6; }
  3737 if test "${ac_cv_prog_CC+set}" = set; then
  3738   $as_echo_n "(cached) " >&6
  3739 else
  3740   if test -n "$CC"; then
  3741   ac_cv_prog_CC="$CC" # Let the user override the test.
  3742 else
  3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3744 for as_dir in $PATH
  3745 do
  3746   IFS=$as_save_IFS
  3747   test -z "$as_dir" && as_dir=.
  3748   for ac_exec_ext in '' $ac_executable_extensions; do
  3749   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3750     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3751     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3752     break 2
  3753   fi
  3754 done
  3755 done
  3756 IFS=$as_save_IFS
  3758 fi
  3759 fi
  3760 CC=$ac_cv_prog_CC
  3761 if test -n "$CC"; then
  3762   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3763 $as_echo "$CC" >&6; }
  3764 else
  3765   { $as_echo "$as_me:$LINENO: result: no" >&5
  3766 $as_echo "no" >&6; }
  3767 fi
  3770   fi
  3771 fi
  3772 if test -z "$CC"; then
  3773   # Extract the first word of "cc", so it can be a program name with args.
  3774 set dummy cc; ac_word=$2
  3775 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3776 $as_echo_n "checking for $ac_word... " >&6; }
  3777 if test "${ac_cv_prog_CC+set}" = set; then
  3778   $as_echo_n "(cached) " >&6
  3779 else
  3780   if test -n "$CC"; then
  3781   ac_cv_prog_CC="$CC" # Let the user override the test.
  3782 else
  3783   ac_prog_rejected=no
  3784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3785 for as_dir in $PATH
  3786 do
  3787   IFS=$as_save_IFS
  3788   test -z "$as_dir" && as_dir=.
  3789   for ac_exec_ext in '' $ac_executable_extensions; do
  3790   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3791     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3792        ac_prog_rejected=yes
  3793        continue
  3794      fi
  3795     ac_cv_prog_CC="cc"
  3796     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3797     break 2
  3798   fi
  3799 done
  3800 done
  3801 IFS=$as_save_IFS
  3803 if test $ac_prog_rejected = yes; then
  3804   # We found a bogon in the path, so make sure we never use it.
  3805   set dummy $ac_cv_prog_CC
  3806   shift
  3807   if test $# != 0; then
  3808     # We chose a different compiler from the bogus one.
  3809     # However, it has the same basename, so the bogon will be chosen
  3810     # first if we set CC to just the basename; use the full file name.
  3811     shift
  3812     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3813   fi
  3814 fi
  3815 fi
  3816 fi
  3817 CC=$ac_cv_prog_CC
  3818 if test -n "$CC"; then
  3819   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3820 $as_echo "$CC" >&6; }
  3821 else
  3822   { $as_echo "$as_me:$LINENO: result: no" >&5
  3823 $as_echo "no" >&6; }
  3824 fi
  3827 fi
  3828 if test -z "$CC"; then
  3829   if test -n "$ac_tool_prefix"; then
  3830   for ac_prog in cl.exe
  3831   do
  3832     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3833 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3834 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3835 $as_echo_n "checking for $ac_word... " >&6; }
  3836 if test "${ac_cv_prog_CC+set}" = set; then
  3837   $as_echo_n "(cached) " >&6
  3838 else
  3839   if test -n "$CC"; then
  3840   ac_cv_prog_CC="$CC" # Let the user override the test.
  3841 else
  3842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3843 for as_dir in $PATH
  3844 do
  3845   IFS=$as_save_IFS
  3846   test -z "$as_dir" && as_dir=.
  3847   for ac_exec_ext in '' $ac_executable_extensions; do
  3848   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3849     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3850     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3851     break 2
  3852   fi
  3853 done
  3854 done
  3855 IFS=$as_save_IFS
  3857 fi
  3858 fi
  3859 CC=$ac_cv_prog_CC
  3860 if test -n "$CC"; then
  3861   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3862 $as_echo "$CC" >&6; }
  3863 else
  3864   { $as_echo "$as_me:$LINENO: result: no" >&5
  3865 $as_echo "no" >&6; }
  3866 fi
  3869     test -n "$CC" && break
  3870   done
  3871 fi
  3872 if test -z "$CC"; then
  3873   ac_ct_CC=$CC
  3874   for ac_prog in cl.exe
  3875 do
  3876   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3877 set dummy $ac_prog; ac_word=$2
  3878 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3879 $as_echo_n "checking for $ac_word... " >&6; }
  3880 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3881   $as_echo_n "(cached) " >&6
  3882 else
  3883   if test -n "$ac_ct_CC"; then
  3884   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3885 else
  3886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3887 for as_dir in $PATH
  3888 do
  3889   IFS=$as_save_IFS
  3890   test -z "$as_dir" && as_dir=.
  3891   for ac_exec_ext in '' $ac_executable_extensions; do
  3892   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3893     ac_cv_prog_ac_ct_CC="$ac_prog"
  3894     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3895     break 2
  3896   fi
  3897 done
  3898 done
  3899 IFS=$as_save_IFS
  3901 fi
  3902 fi
  3903 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3904 if test -n "$ac_ct_CC"; then
  3905   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3906 $as_echo "$ac_ct_CC" >&6; }
  3907 else
  3908   { $as_echo "$as_me:$LINENO: result: no" >&5
  3909 $as_echo "no" >&6; }
  3910 fi
  3913   test -n "$ac_ct_CC" && break
  3914 done
  3916   if test "x$ac_ct_CC" = x; then
  3917     CC=""
  3918   else
  3919     case $cross_compiling:$ac_tool_warned in
  3920 yes:)
  3921 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3922 whose name does not start with the host triplet.  If you think this
  3923 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3924 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3925 whose name does not start with the host triplet.  If you think this
  3926 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3927 ac_tool_warned=yes ;;
  3928 esac
  3929     CC=$ac_ct_CC
  3930   fi
  3931 fi
  3933 fi
  3936 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3937 See \`config.log' for more details." >&5
  3938 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  3939 See \`config.log' for more details." >&2;}
  3940    { (exit 1); exit 1; }; }
  3942 # Provide some information about the compiler.
  3943 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  3944 set X $ac_compile
  3945 ac_compiler=$2
  3946 { (ac_try="$ac_compiler --version >&5"
  3947 case "(($ac_try" in
  3948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3949   *) ac_try_echo=$ac_try;;
  3950 esac
  3951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3952 $as_echo "$ac_try_echo") >&5
  3953   (eval "$ac_compiler --version >&5") 2>&5
  3954   ac_status=$?
  3955   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3956   (exit $ac_status); }
  3957 { (ac_try="$ac_compiler -v >&5"
  3958 case "(($ac_try" in
  3959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3960   *) ac_try_echo=$ac_try;;
  3961 esac
  3962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3963 $as_echo "$ac_try_echo") >&5
  3964   (eval "$ac_compiler -v >&5") 2>&5
  3965   ac_status=$?
  3966   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3967   (exit $ac_status); }
  3968 { (ac_try="$ac_compiler -V >&5"
  3969 case "(($ac_try" in
  3970   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3971   *) ac_try_echo=$ac_try;;
  3972 esac
  3973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3974 $as_echo "$ac_try_echo") >&5
  3975   (eval "$ac_compiler -V >&5") 2>&5
  3976   ac_status=$?
  3977   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3978   (exit $ac_status); }
  3980 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3981 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3982 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3983   $as_echo_n "(cached) " >&6
  3984 else
  3985   cat >conftest.$ac_ext <<_ACEOF
  3986 /* confdefs.h.  */
  3987 _ACEOF
  3988 cat confdefs.h >>conftest.$ac_ext
  3989 cat >>conftest.$ac_ext <<_ACEOF
  3990 /* end confdefs.h.  */
  3992 int
  3993 main ()
  3995 #ifndef __GNUC__
  3996        choke me
  3997 #endif
  4000   return 0;
  4002 _ACEOF
  4003 rm -f conftest.$ac_objext
  4004 if { (ac_try="$ac_compile"
  4005 case "(($ac_try" in
  4006   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4007   *) ac_try_echo=$ac_try;;
  4008 esac
  4009 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4010 $as_echo "$ac_try_echo") >&5
  4011   (eval "$ac_compile") 2>conftest.er1
  4012   ac_status=$?
  4013   grep -v '^ *+' conftest.er1 >conftest.err
  4014   rm -f conftest.er1
  4015   cat conftest.err >&5
  4016   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4017   (exit $ac_status); } && {
  4018 	 test -z "$ac_c_werror_flag" ||
  4019 	 test ! -s conftest.err
  4020        } && test -s conftest.$ac_objext; then
  4021   ac_compiler_gnu=yes
  4022 else
  4023   $as_echo "$as_me: failed program was:" >&5
  4024 sed 's/^/| /' conftest.$ac_ext >&5
  4026 	ac_compiler_gnu=no
  4027 fi
  4029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4030 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4032 fi
  4033 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4034 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4035 if test $ac_compiler_gnu = yes; then
  4036   GCC=yes
  4037 else
  4038   GCC=
  4039 fi
  4040 ac_test_CFLAGS=${CFLAGS+set}
  4041 ac_save_CFLAGS=$CFLAGS
  4042 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4043 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4044 if test "${ac_cv_prog_cc_g+set}" = set; then
  4045   $as_echo_n "(cached) " >&6
  4046 else
  4047   ac_save_c_werror_flag=$ac_c_werror_flag
  4048    ac_c_werror_flag=yes
  4049    ac_cv_prog_cc_g=no
  4050    CFLAGS="-g"
  4051    cat >conftest.$ac_ext <<_ACEOF
  4052 /* confdefs.h.  */
  4053 _ACEOF
  4054 cat confdefs.h >>conftest.$ac_ext
  4055 cat >>conftest.$ac_ext <<_ACEOF
  4056 /* end confdefs.h.  */
  4058 int
  4059 main ()
  4063   return 0;
  4065 _ACEOF
  4066 rm -f conftest.$ac_objext
  4067 if { (ac_try="$ac_compile"
  4068 case "(($ac_try" in
  4069   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4070   *) ac_try_echo=$ac_try;;
  4071 esac
  4072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4073 $as_echo "$ac_try_echo") >&5
  4074   (eval "$ac_compile") 2>conftest.er1
  4075   ac_status=$?
  4076   grep -v '^ *+' conftest.er1 >conftest.err
  4077   rm -f conftest.er1
  4078   cat conftest.err >&5
  4079   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4080   (exit $ac_status); } && {
  4081 	 test -z "$ac_c_werror_flag" ||
  4082 	 test ! -s conftest.err
  4083        } && test -s conftest.$ac_objext; then
  4084   ac_cv_prog_cc_g=yes
  4085 else
  4086   $as_echo "$as_me: failed program was:" >&5
  4087 sed 's/^/| /' conftest.$ac_ext >&5
  4089 	CFLAGS=""
  4090       cat >conftest.$ac_ext <<_ACEOF
  4091 /* confdefs.h.  */
  4092 _ACEOF
  4093 cat confdefs.h >>conftest.$ac_ext
  4094 cat >>conftest.$ac_ext <<_ACEOF
  4095 /* end confdefs.h.  */
  4097 int
  4098 main ()
  4102   return 0;
  4104 _ACEOF
  4105 rm -f conftest.$ac_objext
  4106 if { (ac_try="$ac_compile"
  4107 case "(($ac_try" in
  4108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4109   *) ac_try_echo=$ac_try;;
  4110 esac
  4111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4112 $as_echo "$ac_try_echo") >&5
  4113   (eval "$ac_compile") 2>conftest.er1
  4114   ac_status=$?
  4115   grep -v '^ *+' conftest.er1 >conftest.err
  4116   rm -f conftest.er1
  4117   cat conftest.err >&5
  4118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4119   (exit $ac_status); } && {
  4120 	 test -z "$ac_c_werror_flag" ||
  4121 	 test ! -s conftest.err
  4122        } && test -s conftest.$ac_objext; then
  4124 else
  4125   $as_echo "$as_me: failed program was:" >&5
  4126 sed 's/^/| /' conftest.$ac_ext >&5
  4128 	ac_c_werror_flag=$ac_save_c_werror_flag
  4129 	 CFLAGS="-g"
  4130 	 cat >conftest.$ac_ext <<_ACEOF
  4131 /* confdefs.h.  */
  4132 _ACEOF
  4133 cat confdefs.h >>conftest.$ac_ext
  4134 cat >>conftest.$ac_ext <<_ACEOF
  4135 /* end confdefs.h.  */
  4137 int
  4138 main ()
  4142   return 0;
  4144 _ACEOF
  4145 rm -f conftest.$ac_objext
  4146 if { (ac_try="$ac_compile"
  4147 case "(($ac_try" in
  4148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4149   *) ac_try_echo=$ac_try;;
  4150 esac
  4151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4152 $as_echo "$ac_try_echo") >&5
  4153   (eval "$ac_compile") 2>conftest.er1
  4154   ac_status=$?
  4155   grep -v '^ *+' conftest.er1 >conftest.err
  4156   rm -f conftest.er1
  4157   cat conftest.err >&5
  4158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4159   (exit $ac_status); } && {
  4160 	 test -z "$ac_c_werror_flag" ||
  4161 	 test ! -s conftest.err
  4162        } && test -s conftest.$ac_objext; then
  4163   ac_cv_prog_cc_g=yes
  4164 else
  4165   $as_echo "$as_me: failed program was:" >&5
  4166 sed 's/^/| /' conftest.$ac_ext >&5
  4169 fi
  4171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4172 fi
  4174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4175 fi
  4177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4178    ac_c_werror_flag=$ac_save_c_werror_flag
  4179 fi
  4180 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4181 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4182 if test "$ac_test_CFLAGS" = set; then
  4183   CFLAGS=$ac_save_CFLAGS
  4184 elif test $ac_cv_prog_cc_g = yes; then
  4185   if test "$GCC" = yes; then
  4186     CFLAGS="-g -O2"
  4187   else
  4188     CFLAGS="-g"
  4189   fi
  4190 else
  4191   if test "$GCC" = yes; then
  4192     CFLAGS="-O2"
  4193   else
  4194     CFLAGS=
  4195   fi
  4196 fi
  4197 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4198 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4199 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4200   $as_echo_n "(cached) " >&6
  4201 else
  4202   ac_cv_prog_cc_c89=no
  4203 ac_save_CC=$CC
  4204 cat >conftest.$ac_ext <<_ACEOF
  4205 /* confdefs.h.  */
  4206 _ACEOF
  4207 cat confdefs.h >>conftest.$ac_ext
  4208 cat >>conftest.$ac_ext <<_ACEOF
  4209 /* end confdefs.h.  */
  4210 #include <stdarg.h>
  4211 #include <stdio.h>
  4212 #include <sys/types.h>
  4213 #include <sys/stat.h>
  4214 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4215 struct buf { int x; };
  4216 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4217 static char *e (p, i)
  4218      char **p;
  4219      int i;
  4221   return p[i];
  4223 static char *f (char * (*g) (char **, int), char **p, ...)
  4225   char *s;
  4226   va_list v;
  4227   va_start (v,p);
  4228   s = g (p, va_arg (v,int));
  4229   va_end (v);
  4230   return s;
  4233 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4234    function prototypes and stuff, but not '\xHH' hex character constants.
  4235    These don't provoke an error unfortunately, instead are silently treated
  4236    as 'x'.  The following induces an error, until -std is added to get
  4237    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4238    array size at least.  It's necessary to write '\x00'==0 to get something
  4239    that's true only with -std.  */
  4240 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4242 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4243    inside strings and character constants.  */
  4244 #define FOO(x) 'x'
  4245 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4247 int test (int i, double x);
  4248 struct s1 {int (*f) (int a);};
  4249 struct s2 {int (*f) (double a);};
  4250 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4251 int argc;
  4252 char **argv;
  4253 int
  4254 main ()
  4256 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4258   return 0;
  4260 _ACEOF
  4261 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4262 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4263 do
  4264   CC="$ac_save_CC $ac_arg"
  4265   rm -f conftest.$ac_objext
  4266 if { (ac_try="$ac_compile"
  4267 case "(($ac_try" in
  4268   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4269   *) ac_try_echo=$ac_try;;
  4270 esac
  4271 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4272 $as_echo "$ac_try_echo") >&5
  4273   (eval "$ac_compile") 2>conftest.er1
  4274   ac_status=$?
  4275   grep -v '^ *+' conftest.er1 >conftest.err
  4276   rm -f conftest.er1
  4277   cat conftest.err >&5
  4278   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4279   (exit $ac_status); } && {
  4280 	 test -z "$ac_c_werror_flag" ||
  4281 	 test ! -s conftest.err
  4282        } && test -s conftest.$ac_objext; then
  4283   ac_cv_prog_cc_c89=$ac_arg
  4284 else
  4285   $as_echo "$as_me: failed program was:" >&5
  4286 sed 's/^/| /' conftest.$ac_ext >&5
  4289 fi
  4291 rm -f core conftest.err conftest.$ac_objext
  4292   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4293 done
  4294 rm -f conftest.$ac_ext
  4295 CC=$ac_save_CC
  4297 fi
  4298 # AC_CACHE_VAL
  4299 case "x$ac_cv_prog_cc_c89" in
  4300   x)
  4301     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4302 $as_echo "none needed" >&6; } ;;
  4303   xno)
  4304     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4305 $as_echo "unsupported" >&6; } ;;
  4306   *)
  4307     CC="$CC $ac_cv_prog_cc_c89"
  4308     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4309 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4310 esac
  4313 ac_ext=c
  4314 ac_cpp='$CPP $CPPFLAGS'
  4315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4319 depcc="$CC"   am_compiler_list=
  4321 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4322 $as_echo_n "checking dependency style of $depcc... " >&6; }
  4323 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4324   $as_echo_n "(cached) " >&6
  4325 else
  4326   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4327   # We make a subdir and do the tests there.  Otherwise we can end up
  4328   # making bogus files that we don't know about and never remove.  For
  4329   # instance it was reported that on HP-UX the gcc test will end up
  4330   # making a dummy file named `D' -- because `-MD' means `put the output
  4331   # in D'.
  4332   mkdir conftest.dir
  4333   # Copy depcomp to subdir because otherwise we won't find it if we're
  4334   # using a relative directory.
  4335   cp "$am_depcomp" conftest.dir
  4336   cd conftest.dir
  4337   # We will build objects and dependencies in a subdirectory because
  4338   # it helps to detect inapplicable dependency modes.  For instance
  4339   # both Tru64's cc and ICC support -MD to output dependencies as a
  4340   # side effect of compilation, but ICC will put the dependencies in
  4341   # the current directory while Tru64 will put them in the object
  4342   # directory.
  4343   mkdir sub
  4345   am_cv_CC_dependencies_compiler_type=none
  4346   if test "$am_compiler_list" = ""; then
  4347      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4348   fi
  4349   for depmode in $am_compiler_list; do
  4350     # Setup a source with many dependencies, because some compilers
  4351     # like to wrap large dependency lists on column 80 (with \), and
  4352     # we should not choose a depcomp mode which is confused by this.
  4354     # We need to recreate these files for each test, as the compiler may
  4355     # overwrite some of them when testing with obscure command lines.
  4356     # This happens at least with the AIX C compiler.
  4357     : > sub/conftest.c
  4358     for i in 1 2 3 4 5 6; do
  4359       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4360       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4361       # Solaris 8's {/usr,}/bin/sh.
  4362       touch sub/conftst$i.h
  4363     done
  4364     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4366     case $depmode in
  4367     nosideeffect)
  4368       # after this tag, mechanisms are not by side-effect, so they'll
  4369       # only be used when explicitly requested
  4370       if test "x$enable_dependency_tracking" = xyes; then
  4371 	continue
  4372       else
  4373 	break
  4374       fi
  4375       ;;
  4376     none) break ;;
  4377     esac
  4378     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4379     # mode.  It turns out that the SunPro C++ compiler does not properly
  4380     # handle `-M -o', and we need to detect this.
  4381     if depmode=$depmode \
  4382        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4383        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4384        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4385          >/dev/null 2>conftest.err &&
  4386        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4387        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4388        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4389       # icc doesn't choke on unknown options, it will just issue warnings
  4390       # or remarks (even with -Werror).  So we grep stderr for any message
  4391       # that says an option was ignored or not supported.
  4392       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4393       #   icc: Command line warning: ignoring option '-M'; no argument required
  4394       # The diagnosis changed in icc 8.0:
  4395       #   icc: Command line remark: option '-MP' not supported
  4396       if (grep 'ignoring option' conftest.err ||
  4397           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4398         am_cv_CC_dependencies_compiler_type=$depmode
  4399         break
  4400       fi
  4401     fi
  4402   done
  4404   cd ..
  4405   rm -rf conftest.dir
  4406 else
  4407   am_cv_CC_dependencies_compiler_type=none
  4408 fi
  4410 fi
  4411 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4412 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4413 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4417 if
  4418   test "x$enable_dependency_tracking" != xno \
  4419   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4420   am__fastdepCC_TRUE=
  4421   am__fastdepCC_FALSE='#'
  4422 else
  4423   am__fastdepCC_TRUE='#'
  4424   am__fastdepCC_FALSE=
  4425 fi
  4428 ac_ext=c
  4429 ac_cpp='$CPP $CPPFLAGS'
  4430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4433 if test -n "$ac_tool_prefix"; then
  4434   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4435 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4436 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4437 $as_echo_n "checking for $ac_word... " >&6; }
  4438 if test "${ac_cv_prog_CC+set}" = set; then
  4439   $as_echo_n "(cached) " >&6
  4440 else
  4441   if test -n "$CC"; then
  4442   ac_cv_prog_CC="$CC" # Let the user override the test.
  4443 else
  4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4445 for as_dir in $PATH
  4446 do
  4447   IFS=$as_save_IFS
  4448   test -z "$as_dir" && as_dir=.
  4449   for ac_exec_ext in '' $ac_executable_extensions; do
  4450   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4451     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4452     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4453     break 2
  4454   fi
  4455 done
  4456 done
  4457 IFS=$as_save_IFS
  4459 fi
  4460 fi
  4461 CC=$ac_cv_prog_CC
  4462 if test -n "$CC"; then
  4463   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4464 $as_echo "$CC" >&6; }
  4465 else
  4466   { $as_echo "$as_me:$LINENO: result: no" >&5
  4467 $as_echo "no" >&6; }
  4468 fi
  4471 fi
  4472 if test -z "$ac_cv_prog_CC"; then
  4473   ac_ct_CC=$CC
  4474   # Extract the first word of "gcc", so it can be a program name with args.
  4475 set dummy gcc; ac_word=$2
  4476 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4477 $as_echo_n "checking for $ac_word... " >&6; }
  4478 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4479   $as_echo_n "(cached) " >&6
  4480 else
  4481   if test -n "$ac_ct_CC"; then
  4482   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4483 else
  4484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4485 for as_dir in $PATH
  4486 do
  4487   IFS=$as_save_IFS
  4488   test -z "$as_dir" && as_dir=.
  4489   for ac_exec_ext in '' $ac_executable_extensions; do
  4490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4491     ac_cv_prog_ac_ct_CC="gcc"
  4492     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4493     break 2
  4494   fi
  4495 done
  4496 done
  4497 IFS=$as_save_IFS
  4499 fi
  4500 fi
  4501 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4502 if test -n "$ac_ct_CC"; then
  4503   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4504 $as_echo "$ac_ct_CC" >&6; }
  4505 else
  4506   { $as_echo "$as_me:$LINENO: result: no" >&5
  4507 $as_echo "no" >&6; }
  4508 fi
  4510   if test "x$ac_ct_CC" = x; then
  4511     CC=""
  4512   else
  4513     case $cross_compiling:$ac_tool_warned in
  4514 yes:)
  4515 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4516 whose name does not start with the host triplet.  If you think this
  4517 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4518 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4519 whose name does not start with the host triplet.  If you think this
  4520 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4521 ac_tool_warned=yes ;;
  4522 esac
  4523     CC=$ac_ct_CC
  4524   fi
  4525 else
  4526   CC="$ac_cv_prog_CC"
  4527 fi
  4529 if test -z "$CC"; then
  4530           if test -n "$ac_tool_prefix"; then
  4531     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4532 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4533 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4534 $as_echo_n "checking for $ac_word... " >&6; }
  4535 if test "${ac_cv_prog_CC+set}" = set; then
  4536   $as_echo_n "(cached) " >&6
  4537 else
  4538   if test -n "$CC"; then
  4539   ac_cv_prog_CC="$CC" # Let the user override the test.
  4540 else
  4541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4542 for as_dir in $PATH
  4543 do
  4544   IFS=$as_save_IFS
  4545   test -z "$as_dir" && as_dir=.
  4546   for ac_exec_ext in '' $ac_executable_extensions; do
  4547   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4548     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4549     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4550     break 2
  4551   fi
  4552 done
  4553 done
  4554 IFS=$as_save_IFS
  4556 fi
  4557 fi
  4558 CC=$ac_cv_prog_CC
  4559 if test -n "$CC"; then
  4560   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4561 $as_echo "$CC" >&6; }
  4562 else
  4563   { $as_echo "$as_me:$LINENO: result: no" >&5
  4564 $as_echo "no" >&6; }
  4565 fi
  4568   fi
  4569 fi
  4570 if test -z "$CC"; then
  4571   # Extract the first word of "cc", so it can be a program name with args.
  4572 set dummy cc; ac_word=$2
  4573 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4574 $as_echo_n "checking for $ac_word... " >&6; }
  4575 if test "${ac_cv_prog_CC+set}" = set; then
  4576   $as_echo_n "(cached) " >&6
  4577 else
  4578   if test -n "$CC"; then
  4579   ac_cv_prog_CC="$CC" # Let the user override the test.
  4580 else
  4581   ac_prog_rejected=no
  4582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4583 for as_dir in $PATH
  4584 do
  4585   IFS=$as_save_IFS
  4586   test -z "$as_dir" && as_dir=.
  4587   for ac_exec_ext in '' $ac_executable_extensions; do
  4588   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4589     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4590        ac_prog_rejected=yes
  4591        continue
  4592      fi
  4593     ac_cv_prog_CC="cc"
  4594     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4595     break 2
  4596   fi
  4597 done
  4598 done
  4599 IFS=$as_save_IFS
  4601 if test $ac_prog_rejected = yes; then
  4602   # We found a bogon in the path, so make sure we never use it.
  4603   set dummy $ac_cv_prog_CC
  4604   shift
  4605   if test $# != 0; then
  4606     # We chose a different compiler from the bogus one.
  4607     # However, it has the same basename, so the bogon will be chosen
  4608     # first if we set CC to just the basename; use the full file name.
  4609     shift
  4610     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4611   fi
  4612 fi
  4613 fi
  4614 fi
  4615 CC=$ac_cv_prog_CC
  4616 if test -n "$CC"; then
  4617   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4618 $as_echo "$CC" >&6; }
  4619 else
  4620   { $as_echo "$as_me:$LINENO: result: no" >&5
  4621 $as_echo "no" >&6; }
  4622 fi
  4625 fi
  4626 if test -z "$CC"; then
  4627   if test -n "$ac_tool_prefix"; then
  4628   for ac_prog in cl.exe
  4629   do
  4630     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4631 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4632 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4633 $as_echo_n "checking for $ac_word... " >&6; }
  4634 if test "${ac_cv_prog_CC+set}" = set; then
  4635   $as_echo_n "(cached) " >&6
  4636 else
  4637   if test -n "$CC"; then
  4638   ac_cv_prog_CC="$CC" # Let the user override the test.
  4639 else
  4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4641 for as_dir in $PATH
  4642 do
  4643   IFS=$as_save_IFS
  4644   test -z "$as_dir" && as_dir=.
  4645   for ac_exec_ext in '' $ac_executable_extensions; do
  4646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4647     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4648     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4649     break 2
  4650   fi
  4651 done
  4652 done
  4653 IFS=$as_save_IFS
  4655 fi
  4656 fi
  4657 CC=$ac_cv_prog_CC
  4658 if test -n "$CC"; then
  4659   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4660 $as_echo "$CC" >&6; }
  4661 else
  4662   { $as_echo "$as_me:$LINENO: result: no" >&5
  4663 $as_echo "no" >&6; }
  4664 fi
  4667     test -n "$CC" && break
  4668   done
  4669 fi
  4670 if test -z "$CC"; then
  4671   ac_ct_CC=$CC
  4672   for ac_prog in cl.exe
  4673 do
  4674   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4675 set dummy $ac_prog; ac_word=$2
  4676 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4677 $as_echo_n "checking for $ac_word... " >&6; }
  4678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4679   $as_echo_n "(cached) " >&6
  4680 else
  4681   if test -n "$ac_ct_CC"; then
  4682   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4683 else
  4684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4685 for as_dir in $PATH
  4686 do
  4687   IFS=$as_save_IFS
  4688   test -z "$as_dir" && as_dir=.
  4689   for ac_exec_ext in '' $ac_executable_extensions; do
  4690   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4691     ac_cv_prog_ac_ct_CC="$ac_prog"
  4692     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4693     break 2
  4694   fi
  4695 done
  4696 done
  4697 IFS=$as_save_IFS
  4699 fi
  4700 fi
  4701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4702 if test -n "$ac_ct_CC"; then
  4703   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4704 $as_echo "$ac_ct_CC" >&6; }
  4705 else
  4706   { $as_echo "$as_me:$LINENO: result: no" >&5
  4707 $as_echo "no" >&6; }
  4708 fi
  4711   test -n "$ac_ct_CC" && break
  4712 done
  4714   if test "x$ac_ct_CC" = x; then
  4715     CC=""
  4716   else
  4717     case $cross_compiling:$ac_tool_warned in
  4718 yes:)
  4719 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4720 whose name does not start with the host triplet.  If you think this
  4721 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4722 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4723 whose name does not start with the host triplet.  If you think this
  4724 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4725 ac_tool_warned=yes ;;
  4726 esac
  4727     CC=$ac_ct_CC
  4728   fi
  4729 fi
  4731 fi
  4734 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4735 See \`config.log' for more details." >&5
  4736 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  4737 See \`config.log' for more details." >&2;}
  4738    { (exit 1); exit 1; }; }
  4740 # Provide some information about the compiler.
  4741 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  4742 set X $ac_compile
  4743 ac_compiler=$2
  4744 { (ac_try="$ac_compiler --version >&5"
  4745 case "(($ac_try" in
  4746   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4747   *) ac_try_echo=$ac_try;;
  4748 esac
  4749 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4750 $as_echo "$ac_try_echo") >&5
  4751   (eval "$ac_compiler --version >&5") 2>&5
  4752   ac_status=$?
  4753   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4754   (exit $ac_status); }
  4755 { (ac_try="$ac_compiler -v >&5"
  4756 case "(($ac_try" in
  4757   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4758   *) ac_try_echo=$ac_try;;
  4759 esac
  4760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4761 $as_echo "$ac_try_echo") >&5
  4762   (eval "$ac_compiler -v >&5") 2>&5
  4763   ac_status=$?
  4764   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4765   (exit $ac_status); }
  4766 { (ac_try="$ac_compiler -V >&5"
  4767 case "(($ac_try" in
  4768   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4769   *) ac_try_echo=$ac_try;;
  4770 esac
  4771 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4772 $as_echo "$ac_try_echo") >&5
  4773   (eval "$ac_compiler -V >&5") 2>&5
  4774   ac_status=$?
  4775   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4776   (exit $ac_status); }
  4778 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4779 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4780 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4781   $as_echo_n "(cached) " >&6
  4782 else
  4783   cat >conftest.$ac_ext <<_ACEOF
  4784 /* confdefs.h.  */
  4785 _ACEOF
  4786 cat confdefs.h >>conftest.$ac_ext
  4787 cat >>conftest.$ac_ext <<_ACEOF
  4788 /* end confdefs.h.  */
  4790 int
  4791 main ()
  4793 #ifndef __GNUC__
  4794        choke me
  4795 #endif
  4798   return 0;
  4800 _ACEOF
  4801 rm -f conftest.$ac_objext
  4802 if { (ac_try="$ac_compile"
  4803 case "(($ac_try" in
  4804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4805   *) ac_try_echo=$ac_try;;
  4806 esac
  4807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4808 $as_echo "$ac_try_echo") >&5
  4809   (eval "$ac_compile") 2>conftest.er1
  4810   ac_status=$?
  4811   grep -v '^ *+' conftest.er1 >conftest.err
  4812   rm -f conftest.er1
  4813   cat conftest.err >&5
  4814   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4815   (exit $ac_status); } && {
  4816 	 test -z "$ac_c_werror_flag" ||
  4817 	 test ! -s conftest.err
  4818        } && test -s conftest.$ac_objext; then
  4819   ac_compiler_gnu=yes
  4820 else
  4821   $as_echo "$as_me: failed program was:" >&5
  4822 sed 's/^/| /' conftest.$ac_ext >&5
  4824 	ac_compiler_gnu=no
  4825 fi
  4827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4828 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4830 fi
  4831 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4832 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4833 if test $ac_compiler_gnu = yes; then
  4834   GCC=yes
  4835 else
  4836   GCC=
  4837 fi
  4838 ac_test_CFLAGS=${CFLAGS+set}
  4839 ac_save_CFLAGS=$CFLAGS
  4840 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4841 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4842 if test "${ac_cv_prog_cc_g+set}" = set; then
  4843   $as_echo_n "(cached) " >&6
  4844 else
  4845   ac_save_c_werror_flag=$ac_c_werror_flag
  4846    ac_c_werror_flag=yes
  4847    ac_cv_prog_cc_g=no
  4848    CFLAGS="-g"
  4849    cat >conftest.$ac_ext <<_ACEOF
  4850 /* confdefs.h.  */
  4851 _ACEOF
  4852 cat confdefs.h >>conftest.$ac_ext
  4853 cat >>conftest.$ac_ext <<_ACEOF
  4854 /* end confdefs.h.  */
  4856 int
  4857 main ()
  4861   return 0;
  4863 _ACEOF
  4864 rm -f conftest.$ac_objext
  4865 if { (ac_try="$ac_compile"
  4866 case "(($ac_try" in
  4867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4868   *) ac_try_echo=$ac_try;;
  4869 esac
  4870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4871 $as_echo "$ac_try_echo") >&5
  4872   (eval "$ac_compile") 2>conftest.er1
  4873   ac_status=$?
  4874   grep -v '^ *+' conftest.er1 >conftest.err
  4875   rm -f conftest.er1
  4876   cat conftest.err >&5
  4877   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4878   (exit $ac_status); } && {
  4879 	 test -z "$ac_c_werror_flag" ||
  4880 	 test ! -s conftest.err
  4881        } && test -s conftest.$ac_objext; then
  4882   ac_cv_prog_cc_g=yes
  4883 else
  4884   $as_echo "$as_me: failed program was:" >&5
  4885 sed 's/^/| /' conftest.$ac_ext >&5
  4887 	CFLAGS=""
  4888       cat >conftest.$ac_ext <<_ACEOF
  4889 /* confdefs.h.  */
  4890 _ACEOF
  4891 cat confdefs.h >>conftest.$ac_ext
  4892 cat >>conftest.$ac_ext <<_ACEOF
  4893 /* end confdefs.h.  */
  4895 int
  4896 main ()
  4900   return 0;
  4902 _ACEOF
  4903 rm -f conftest.$ac_objext
  4904 if { (ac_try="$ac_compile"
  4905 case "(($ac_try" in
  4906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4907   *) ac_try_echo=$ac_try;;
  4908 esac
  4909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4910 $as_echo "$ac_try_echo") >&5
  4911   (eval "$ac_compile") 2>conftest.er1
  4912   ac_status=$?
  4913   grep -v '^ *+' conftest.er1 >conftest.err
  4914   rm -f conftest.er1
  4915   cat conftest.err >&5
  4916   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4917   (exit $ac_status); } && {
  4918 	 test -z "$ac_c_werror_flag" ||
  4919 	 test ! -s conftest.err
  4920        } && test -s conftest.$ac_objext; then
  4922 else
  4923   $as_echo "$as_me: failed program was:" >&5
  4924 sed 's/^/| /' conftest.$ac_ext >&5
  4926 	ac_c_werror_flag=$ac_save_c_werror_flag
  4927 	 CFLAGS="-g"
  4928 	 cat >conftest.$ac_ext <<_ACEOF
  4929 /* confdefs.h.  */
  4930 _ACEOF
  4931 cat confdefs.h >>conftest.$ac_ext
  4932 cat >>conftest.$ac_ext <<_ACEOF
  4933 /* end confdefs.h.  */
  4935 int
  4936 main ()
  4940   return 0;
  4942 _ACEOF
  4943 rm -f conftest.$ac_objext
  4944 if { (ac_try="$ac_compile"
  4945 case "(($ac_try" in
  4946   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4947   *) ac_try_echo=$ac_try;;
  4948 esac
  4949 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4950 $as_echo "$ac_try_echo") >&5
  4951   (eval "$ac_compile") 2>conftest.er1
  4952   ac_status=$?
  4953   grep -v '^ *+' conftest.er1 >conftest.err
  4954   rm -f conftest.er1
  4955   cat conftest.err >&5
  4956   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4957   (exit $ac_status); } && {
  4958 	 test -z "$ac_c_werror_flag" ||
  4959 	 test ! -s conftest.err
  4960        } && test -s conftest.$ac_objext; then
  4961   ac_cv_prog_cc_g=yes
  4962 else
  4963   $as_echo "$as_me: failed program was:" >&5
  4964 sed 's/^/| /' conftest.$ac_ext >&5
  4967 fi
  4969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4970 fi
  4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4973 fi
  4975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4976    ac_c_werror_flag=$ac_save_c_werror_flag
  4977 fi
  4978 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4979 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4980 if test "$ac_test_CFLAGS" = set; then
  4981   CFLAGS=$ac_save_CFLAGS
  4982 elif test $ac_cv_prog_cc_g = yes; then
  4983   if test "$GCC" = yes; then
  4984     CFLAGS="-g -O2"
  4985   else
  4986     CFLAGS="-g"
  4987   fi
  4988 else
  4989   if test "$GCC" = yes; then
  4990     CFLAGS="-O2"
  4991   else
  4992     CFLAGS=
  4993   fi
  4994 fi
  4995 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4996 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4997 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4998   $as_echo_n "(cached) " >&6
  4999 else
  5000   ac_cv_prog_cc_c89=no
  5001 ac_save_CC=$CC
  5002 cat >conftest.$ac_ext <<_ACEOF
  5003 /* confdefs.h.  */
  5004 _ACEOF
  5005 cat confdefs.h >>conftest.$ac_ext
  5006 cat >>conftest.$ac_ext <<_ACEOF
  5007 /* end confdefs.h.  */
  5008 #include <stdarg.h>
  5009 #include <stdio.h>
  5010 #include <sys/types.h>
  5011 #include <sys/stat.h>
  5012 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5013 struct buf { int x; };
  5014 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5015 static char *e (p, i)
  5016      char **p;
  5017      int i;
  5019   return p[i];
  5021 static char *f (char * (*g) (char **, int), char **p, ...)
  5023   char *s;
  5024   va_list v;
  5025   va_start (v,p);
  5026   s = g (p, va_arg (v,int));
  5027   va_end (v);
  5028   return s;
  5031 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5032    function prototypes and stuff, but not '\xHH' hex character constants.
  5033    These don't provoke an error unfortunately, instead are silently treated
  5034    as 'x'.  The following induces an error, until -std is added to get
  5035    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5036    array size at least.  It's necessary to write '\x00'==0 to get something
  5037    that's true only with -std.  */
  5038 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5040 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5041    inside strings and character constants.  */
  5042 #define FOO(x) 'x'
  5043 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5045 int test (int i, double x);
  5046 struct s1 {int (*f) (int a);};
  5047 struct s2 {int (*f) (double a);};
  5048 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5049 int argc;
  5050 char **argv;
  5051 int
  5052 main ()
  5054 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5056   return 0;
  5058 _ACEOF
  5059 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5060 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5061 do
  5062   CC="$ac_save_CC $ac_arg"
  5063   rm -f conftest.$ac_objext
  5064 if { (ac_try="$ac_compile"
  5065 case "(($ac_try" in
  5066   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5067   *) ac_try_echo=$ac_try;;
  5068 esac
  5069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5070 $as_echo "$ac_try_echo") >&5
  5071   (eval "$ac_compile") 2>conftest.er1
  5072   ac_status=$?
  5073   grep -v '^ *+' conftest.er1 >conftest.err
  5074   rm -f conftest.er1
  5075   cat conftest.err >&5
  5076   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5077   (exit $ac_status); } && {
  5078 	 test -z "$ac_c_werror_flag" ||
  5079 	 test ! -s conftest.err
  5080        } && test -s conftest.$ac_objext; then
  5081   ac_cv_prog_cc_c89=$ac_arg
  5082 else
  5083   $as_echo "$as_me: failed program was:" >&5
  5084 sed 's/^/| /' conftest.$ac_ext >&5
  5087 fi
  5089 rm -f core conftest.err conftest.$ac_objext
  5090   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5091 done
  5092 rm -f conftest.$ac_ext
  5093 CC=$ac_save_CC
  5095 fi
  5096 # AC_CACHE_VAL
  5097 case "x$ac_cv_prog_cc_c89" in
  5098   x)
  5099     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  5100 $as_echo "none needed" >&6; } ;;
  5101   xno)
  5102     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  5103 $as_echo "unsupported" >&6; } ;;
  5104   *)
  5105     CC="$CC $ac_cv_prog_cc_c89"
  5106     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5107 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  5108 esac
  5111 ac_ext=c
  5112 ac_cpp='$CPP $CPPFLAGS'
  5113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5117 depcc="$CC"   am_compiler_list=
  5119 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5120 $as_echo_n "checking dependency style of $depcc... " >&6; }
  5121 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5122   $as_echo_n "(cached) " >&6
  5123 else
  5124   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5125   # We make a subdir and do the tests there.  Otherwise we can end up
  5126   # making bogus files that we don't know about and never remove.  For
  5127   # instance it was reported that on HP-UX the gcc test will end up
  5128   # making a dummy file named `D' -- because `-MD' means `put the output
  5129   # in D'.
  5130   mkdir conftest.dir
  5131   # Copy depcomp to subdir because otherwise we won't find it if we're
  5132   # using a relative directory.
  5133   cp "$am_depcomp" conftest.dir
  5134   cd conftest.dir
  5135   # We will build objects and dependencies in a subdirectory because
  5136   # it helps to detect inapplicable dependency modes.  For instance
  5137   # both Tru64's cc and ICC support -MD to output dependencies as a
  5138   # side effect of compilation, but ICC will put the dependencies in
  5139   # the current directory while Tru64 will put them in the object
  5140   # directory.
  5141   mkdir sub
  5143   am_cv_CC_dependencies_compiler_type=none
  5144   if test "$am_compiler_list" = ""; then
  5145      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5146   fi
  5147   for depmode in $am_compiler_list; do
  5148     # Setup a source with many dependencies, because some compilers
  5149     # like to wrap large dependency lists on column 80 (with \), and
  5150     # we should not choose a depcomp mode which is confused by this.
  5152     # We need to recreate these files for each test, as the compiler may
  5153     # overwrite some of them when testing with obscure command lines.
  5154     # This happens at least with the AIX C compiler.
  5155     : > sub/conftest.c
  5156     for i in 1 2 3 4 5 6; do
  5157       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5158       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5159       # Solaris 8's {/usr,}/bin/sh.
  5160       touch sub/conftst$i.h
  5161     done
  5162     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5164     case $depmode in
  5165     nosideeffect)
  5166       # after this tag, mechanisms are not by side-effect, so they'll
  5167       # only be used when explicitly requested
  5168       if test "x$enable_dependency_tracking" = xyes; then
  5169 	continue
  5170       else
  5171 	break
  5172       fi
  5173       ;;
  5174     none) break ;;
  5175     esac
  5176     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5177     # mode.  It turns out that the SunPro C++ compiler does not properly
  5178     # handle `-M -o', and we need to detect this.
  5179     if depmode=$depmode \
  5180        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5181        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5182        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5183          >/dev/null 2>conftest.err &&
  5184        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5185        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5186        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5187       # icc doesn't choke on unknown options, it will just issue warnings
  5188       # or remarks (even with -Werror).  So we grep stderr for any message
  5189       # that says an option was ignored or not supported.
  5190       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5191       #   icc: Command line warning: ignoring option '-M'; no argument required
  5192       # The diagnosis changed in icc 8.0:
  5193       #   icc: Command line remark: option '-MP' not supported
  5194       if (grep 'ignoring option' conftest.err ||
  5195           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5196         am_cv_CC_dependencies_compiler_type=$depmode
  5197         break
  5198       fi
  5199     fi
  5200   done
  5202   cd ..
  5203   rm -rf conftest.dir
  5204 else
  5205   am_cv_CC_dependencies_compiler_type=none
  5206 fi
  5208 fi
  5209 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5210 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5211 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5215 if
  5216   test "x$enable_dependency_tracking" != xno \
  5217   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5218   am__fastdepCC_TRUE=
  5219   am__fastdepCC_FALSE='#'
  5220 else
  5221   am__fastdepCC_TRUE='#'
  5222   am__fastdepCC_FALSE=
  5223 fi
  5227 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5229 # By default we simply use the C compiler to build assembly code.
  5231 test "${CCAS+set}" = set || CCAS=$CC
  5232 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  5236 ac_ext=c
  5237 ac_cpp='$CPP $CPPFLAGS'
  5238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5241 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5242 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5243 # On Suns, sometimes $CPP names a directory.
  5244 if test -n "$CPP" && test -d "$CPP"; then
  5245   CPP=
  5246 fi
  5247 if test -z "$CPP"; then
  5248   if test "${ac_cv_prog_CPP+set}" = set; then
  5249   $as_echo_n "(cached) " >&6
  5250 else
  5251       # Double quotes because CPP needs to be expanded
  5252     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5253     do
  5254       ac_preproc_ok=false
  5255 for ac_c_preproc_warn_flag in '' yes
  5256 do
  5257   # Use a header file that comes with gcc, so configuring glibc
  5258   # with a fresh cross-compiler works.
  5259   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5260   # <limits.h> exists even on freestanding compilers.
  5261   # On the NeXT, cc -E runs the code through the compiler's parser,
  5262   # not just through cpp. "Syntax error" is here to catch this case.
  5263   cat >conftest.$ac_ext <<_ACEOF
  5264 /* confdefs.h.  */
  5265 _ACEOF
  5266 cat confdefs.h >>conftest.$ac_ext
  5267 cat >>conftest.$ac_ext <<_ACEOF
  5268 /* end confdefs.h.  */
  5269 #ifdef __STDC__
  5270 # include <limits.h>
  5271 #else
  5272 # include <assert.h>
  5273 #endif
  5274 		     Syntax error
  5275 _ACEOF
  5276 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5277 case "(($ac_try" in
  5278   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5279   *) ac_try_echo=$ac_try;;
  5280 esac
  5281 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5282 $as_echo "$ac_try_echo") >&5
  5283   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5284   ac_status=$?
  5285   grep -v '^ *+' conftest.er1 >conftest.err
  5286   rm -f conftest.er1
  5287   cat conftest.err >&5
  5288   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5289   (exit $ac_status); } >/dev/null && {
  5290 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5291 	 test ! -s conftest.err
  5292        }; then
  5294 else
  5295   $as_echo "$as_me: failed program was:" >&5
  5296 sed 's/^/| /' conftest.$ac_ext >&5
  5298   # Broken: fails on valid input.
  5299 continue
  5300 fi
  5302 rm -f conftest.err conftest.$ac_ext
  5304   # OK, works on sane cases.  Now check whether nonexistent headers
  5305   # can be detected and how.
  5306   cat >conftest.$ac_ext <<_ACEOF
  5307 /* confdefs.h.  */
  5308 _ACEOF
  5309 cat confdefs.h >>conftest.$ac_ext
  5310 cat >>conftest.$ac_ext <<_ACEOF
  5311 /* end confdefs.h.  */
  5312 #include <ac_nonexistent.h>
  5313 _ACEOF
  5314 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5315 case "(($ac_try" in
  5316   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5317   *) ac_try_echo=$ac_try;;
  5318 esac
  5319 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5320 $as_echo "$ac_try_echo") >&5
  5321   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5322   ac_status=$?
  5323   grep -v '^ *+' conftest.er1 >conftest.err
  5324   rm -f conftest.er1
  5325   cat conftest.err >&5
  5326   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5327   (exit $ac_status); } >/dev/null && {
  5328 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5329 	 test ! -s conftest.err
  5330        }; then
  5331   # Broken: success on invalid input.
  5332 continue
  5333 else
  5334   $as_echo "$as_me: failed program was:" >&5
  5335 sed 's/^/| /' conftest.$ac_ext >&5
  5337   # Passes both tests.
  5338 ac_preproc_ok=:
  5339 break
  5340 fi
  5342 rm -f conftest.err conftest.$ac_ext
  5344 done
  5345 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5346 rm -f conftest.err conftest.$ac_ext
  5347 if $ac_preproc_ok; then
  5348   break
  5349 fi
  5351     done
  5352     ac_cv_prog_CPP=$CPP
  5354 fi
  5355   CPP=$ac_cv_prog_CPP
  5356 else
  5357   ac_cv_prog_CPP=$CPP
  5358 fi
  5359 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  5360 $as_echo "$CPP" >&6; }
  5361 ac_preproc_ok=false
  5362 for ac_c_preproc_warn_flag in '' yes
  5363 do
  5364   # Use a header file that comes with gcc, so configuring glibc
  5365   # with a fresh cross-compiler works.
  5366   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5367   # <limits.h> exists even on freestanding compilers.
  5368   # On the NeXT, cc -E runs the code through the compiler's parser,
  5369   # not just through cpp. "Syntax error" is here to catch this case.
  5370   cat >conftest.$ac_ext <<_ACEOF
  5371 /* confdefs.h.  */
  5372 _ACEOF
  5373 cat confdefs.h >>conftest.$ac_ext
  5374 cat >>conftest.$ac_ext <<_ACEOF
  5375 /* end confdefs.h.  */
  5376 #ifdef __STDC__
  5377 # include <limits.h>
  5378 #else
  5379 # include <assert.h>
  5380 #endif
  5381 		     Syntax error
  5382 _ACEOF
  5383 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5384 case "(($ac_try" in
  5385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5386   *) ac_try_echo=$ac_try;;
  5387 esac
  5388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5389 $as_echo "$ac_try_echo") >&5
  5390   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5391   ac_status=$?
  5392   grep -v '^ *+' conftest.er1 >conftest.err
  5393   rm -f conftest.er1
  5394   cat conftest.err >&5
  5395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5396   (exit $ac_status); } >/dev/null && {
  5397 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5398 	 test ! -s conftest.err
  5399        }; then
  5401 else
  5402   $as_echo "$as_me: failed program was:" >&5
  5403 sed 's/^/| /' conftest.$ac_ext >&5
  5405   # Broken: fails on valid input.
  5406 continue
  5407 fi
  5409 rm -f conftest.err conftest.$ac_ext
  5411   # OK, works on sane cases.  Now check whether nonexistent headers
  5412   # can be detected and how.
  5413   cat >conftest.$ac_ext <<_ACEOF
  5414 /* confdefs.h.  */
  5415 _ACEOF
  5416 cat confdefs.h >>conftest.$ac_ext
  5417 cat >>conftest.$ac_ext <<_ACEOF
  5418 /* end confdefs.h.  */
  5419 #include <ac_nonexistent.h>
  5420 _ACEOF
  5421 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5422 case "(($ac_try" in
  5423   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5424   *) ac_try_echo=$ac_try;;
  5425 esac
  5426 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5427 $as_echo "$ac_try_echo") >&5
  5428   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5429   ac_status=$?
  5430   grep -v '^ *+' conftest.er1 >conftest.err
  5431   rm -f conftest.er1
  5432   cat conftest.err >&5
  5433   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5434   (exit $ac_status); } >/dev/null && {
  5435 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5436 	 test ! -s conftest.err
  5437        }; then
  5438   # Broken: success on invalid input.
  5439 continue
  5440 else
  5441   $as_echo "$as_me: failed program was:" >&5
  5442 sed 's/^/| /' conftest.$ac_ext >&5
  5444   # Passes both tests.
  5445 ac_preproc_ok=:
  5446 break
  5447 fi
  5449 rm -f conftest.err conftest.$ac_ext
  5451 done
  5452 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5453 rm -f conftest.err conftest.$ac_ext
  5454 if $ac_preproc_ok; then
  5456 else
  5457   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5458 See \`config.log' for more details." >&5
  5459 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5460 See \`config.log' for more details." >&2;}
  5461    { (exit 1); exit 1; }; }
  5462 fi
  5464 ac_ext=c
  5465 ac_cpp='$CPP $CPPFLAGS'
  5466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5471 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  5472 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5473 if test "${ac_cv_path_GREP+set}" = set; then
  5474   $as_echo_n "(cached) " >&6
  5475 else
  5476   if test -z "$GREP"; then
  5477   ac_path_GREP_found=false
  5478   # Loop through the user's path and test for each of PROGNAME-LIST
  5479   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5480 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5481 do
  5482   IFS=$as_save_IFS
  5483   test -z "$as_dir" && as_dir=.
  5484   for ac_prog in grep ggrep; do
  5485     for ac_exec_ext in '' $ac_executable_extensions; do
  5486       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5487       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5488 # Check for GNU ac_path_GREP and select it if it is found.
  5489   # Check for GNU $ac_path_GREP
  5490 case `"$ac_path_GREP" --version 2>&1` in
  5491 *GNU*)
  5492   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5493 *)
  5494   ac_count=0
  5495   $as_echo_n 0123456789 >"conftest.in"
  5496   while :
  5497   do
  5498     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5499     mv "conftest.tmp" "conftest.in"
  5500     cp "conftest.in" "conftest.nl"
  5501     $as_echo 'GREP' >> "conftest.nl"
  5502     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5503     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5504     ac_count=`expr $ac_count + 1`
  5505     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5506       # Best one so far, save it but keep looking for a better one
  5507       ac_cv_path_GREP="$ac_path_GREP"
  5508       ac_path_GREP_max=$ac_count
  5509     fi
  5510     # 10*(2^10) chars as input seems more than enough
  5511     test $ac_count -gt 10 && break
  5512   done
  5513   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5514 esac
  5516       $ac_path_GREP_found && break 3
  5517     done
  5518   done
  5519 done
  5520 IFS=$as_save_IFS
  5521   if test -z "$ac_cv_path_GREP"; then
  5522     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5523 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5524    { (exit 1); exit 1; }; }
  5525   fi
  5526 else
  5527   ac_cv_path_GREP=$GREP
  5528 fi
  5530 fi
  5531 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  5532 $as_echo "$ac_cv_path_GREP" >&6; }
  5533  GREP="$ac_cv_path_GREP"
  5536 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  5537 $as_echo_n "checking for egrep... " >&6; }
  5538 if test "${ac_cv_path_EGREP+set}" = set; then
  5539   $as_echo_n "(cached) " >&6
  5540 else
  5541   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  5542    then ac_cv_path_EGREP="$GREP -E"
  5543    else
  5544      if test -z "$EGREP"; then
  5545   ac_path_EGREP_found=false
  5546   # Loop through the user's path and test for each of PROGNAME-LIST
  5547   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5548 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5549 do
  5550   IFS=$as_save_IFS
  5551   test -z "$as_dir" && as_dir=.
  5552   for ac_prog in egrep; do
  5553     for ac_exec_ext in '' $ac_executable_extensions; do
  5554       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  5555       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  5556 # Check for GNU ac_path_EGREP and select it if it is found.
  5557   # Check for GNU $ac_path_EGREP
  5558 case `"$ac_path_EGREP" --version 2>&1` in
  5559 *GNU*)
  5560   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  5561 *)
  5562   ac_count=0
  5563   $as_echo_n 0123456789 >"conftest.in"
  5564   while :
  5565   do
  5566     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5567     mv "conftest.tmp" "conftest.in"
  5568     cp "conftest.in" "conftest.nl"
  5569     $as_echo 'EGREP' >> "conftest.nl"
  5570     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5571     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5572     ac_count=`expr $ac_count + 1`
  5573     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  5574       # Best one so far, save it but keep looking for a better one
  5575       ac_cv_path_EGREP="$ac_path_EGREP"
  5576       ac_path_EGREP_max=$ac_count
  5577     fi
  5578     # 10*(2^10) chars as input seems more than enough
  5579     test $ac_count -gt 10 && break
  5580   done
  5581   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5582 esac
  5584       $ac_path_EGREP_found && break 3
  5585     done
  5586   done
  5587 done
  5588 IFS=$as_save_IFS
  5589   if test -z "$ac_cv_path_EGREP"; then
  5590     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5591 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5592    { (exit 1); exit 1; }; }
  5593   fi
  5594 else
  5595   ac_cv_path_EGREP=$EGREP
  5596 fi
  5598    fi
  5599 fi
  5600 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  5601 $as_echo "$ac_cv_path_EGREP" >&6; }
  5602  EGREP="$ac_cv_path_EGREP"
  5605 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  5606 $as_echo_n "checking for ANSI C header files... " >&6; }
  5607 if test "${ac_cv_header_stdc+set}" = set; then
  5608   $as_echo_n "(cached) " >&6
  5609 else
  5610   cat >conftest.$ac_ext <<_ACEOF
  5611 /* confdefs.h.  */
  5612 _ACEOF
  5613 cat confdefs.h >>conftest.$ac_ext
  5614 cat >>conftest.$ac_ext <<_ACEOF
  5615 /* end confdefs.h.  */
  5616 #include <stdlib.h>
  5617 #include <stdarg.h>
  5618 #include <string.h>
  5619 #include <float.h>
  5621 int
  5622 main ()
  5626   return 0;
  5628 _ACEOF
  5629 rm -f conftest.$ac_objext
  5630 if { (ac_try="$ac_compile"
  5631 case "(($ac_try" in
  5632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5633   *) ac_try_echo=$ac_try;;
  5634 esac
  5635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5636 $as_echo "$ac_try_echo") >&5
  5637   (eval "$ac_compile") 2>conftest.er1
  5638   ac_status=$?
  5639   grep -v '^ *+' conftest.er1 >conftest.err
  5640   rm -f conftest.er1
  5641   cat conftest.err >&5
  5642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5643   (exit $ac_status); } && {
  5644 	 test -z "$ac_c_werror_flag" ||
  5645 	 test ! -s conftest.err
  5646        } && test -s conftest.$ac_objext; then
  5647   ac_cv_header_stdc=yes
  5648 else
  5649   $as_echo "$as_me: failed program was:" >&5
  5650 sed 's/^/| /' conftest.$ac_ext >&5
  5652 	ac_cv_header_stdc=no
  5653 fi
  5655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5657 if test $ac_cv_header_stdc = yes; then
  5658   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  5659   cat >conftest.$ac_ext <<_ACEOF
  5660 /* confdefs.h.  */
  5661 _ACEOF
  5662 cat confdefs.h >>conftest.$ac_ext
  5663 cat >>conftest.$ac_ext <<_ACEOF
  5664 /* end confdefs.h.  */
  5665 #include <string.h>
  5667 _ACEOF
  5668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5669   $EGREP "memchr" >/dev/null 2>&1; then
  5671 else
  5672   ac_cv_header_stdc=no
  5673 fi
  5674 rm -f conftest*
  5676 fi
  5678 if test $ac_cv_header_stdc = yes; then
  5679   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  5680   cat >conftest.$ac_ext <<_ACEOF
  5681 /* confdefs.h.  */
  5682 _ACEOF
  5683 cat confdefs.h >>conftest.$ac_ext
  5684 cat >>conftest.$ac_ext <<_ACEOF
  5685 /* end confdefs.h.  */
  5686 #include <stdlib.h>
  5688 _ACEOF
  5689 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  5690   $EGREP "free" >/dev/null 2>&1; then
  5692 else
  5693   ac_cv_header_stdc=no
  5694 fi
  5695 rm -f conftest*
  5697 fi
  5699 if test $ac_cv_header_stdc = yes; then
  5700   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  5701   if test "$cross_compiling" = yes; then
  5703 else
  5704   cat >conftest.$ac_ext <<_ACEOF
  5705 /* confdefs.h.  */
  5706 _ACEOF
  5707 cat confdefs.h >>conftest.$ac_ext
  5708 cat >>conftest.$ac_ext <<_ACEOF
  5709 /* end confdefs.h.  */
  5710 #include <ctype.h>
  5711 #include <stdlib.h>
  5712 #if ((' ' & 0x0FF) == 0x020)
  5713 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  5714 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  5715 #else
  5716 # define ISLOWER(c) \
  5717 		   (('a' <= (c) && (c) <= 'i') \
  5718 		     || ('j' <= (c) && (c) <= 'r') \
  5719 		     || ('s' <= (c) && (c) <= 'z'))
  5720 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  5721 #endif
  5723 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  5724 int
  5725 main ()
  5727   int i;
  5728   for (i = 0; i < 256; i++)
  5729     if (XOR (islower (i), ISLOWER (i))
  5730 	|| toupper (i) != TOUPPER (i))
  5731       return 2;
  5732   return 0;
  5734 _ACEOF
  5735 rm -f conftest$ac_exeext
  5736 if { (ac_try="$ac_link"
  5737 case "(($ac_try" in
  5738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5739   *) ac_try_echo=$ac_try;;
  5740 esac
  5741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5742 $as_echo "$ac_try_echo") >&5
  5743   (eval "$ac_link") 2>&5
  5744   ac_status=$?
  5745   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5746   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  5747   { (case "(($ac_try" in
  5748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5749   *) ac_try_echo=$ac_try;;
  5750 esac
  5751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5752 $as_echo "$ac_try_echo") >&5
  5753   (eval "$ac_try") 2>&5
  5754   ac_status=$?
  5755   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5756   (exit $ac_status); }; }; then
  5758 else
  5759   $as_echo "$as_me: program exited with status $ac_status" >&5
  5760 $as_echo "$as_me: failed program was:" >&5
  5761 sed 's/^/| /' conftest.$ac_ext >&5
  5763 ( exit $ac_status )
  5764 ac_cv_header_stdc=no
  5765 fi
  5766 rm -rf conftest.dSYM
  5767 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  5768 fi
  5771 fi
  5772 fi
  5773 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  5774 $as_echo "$ac_cv_header_stdc" >&6; }
  5775 if test $ac_cv_header_stdc = yes; then
  5777 cat >>confdefs.h <<\_ACEOF
  5778 #define STDC_HEADERS 1
  5779 _ACEOF
  5781 fi
  5783 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  5793 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  5794 		  inttypes.h stdint.h unistd.h
  5795 do
  5796 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  5797 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  5798 $as_echo_n "checking for $ac_header... " >&6; }
  5799 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  5800   $as_echo_n "(cached) " >&6
  5801 else
  5802   cat >conftest.$ac_ext <<_ACEOF
  5803 /* confdefs.h.  */
  5804 _ACEOF
  5805 cat confdefs.h >>conftest.$ac_ext
  5806 cat >>conftest.$ac_ext <<_ACEOF
  5807 /* end confdefs.h.  */
  5808 $ac_includes_default
  5810 #include <$ac_header>
  5811 _ACEOF
  5812 rm -f conftest.$ac_objext
  5813 if { (ac_try="$ac_compile"
  5814 case "(($ac_try" in
  5815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5816   *) ac_try_echo=$ac_try;;
  5817 esac
  5818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5819 $as_echo "$ac_try_echo") >&5
  5820   (eval "$ac_compile") 2>conftest.er1
  5821   ac_status=$?
  5822   grep -v '^ *+' conftest.er1 >conftest.err
  5823   rm -f conftest.er1
  5824   cat conftest.err >&5
  5825   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5826   (exit $ac_status); } && {
  5827 	 test -z "$ac_c_werror_flag" ||
  5828 	 test ! -s conftest.err
  5829        } && test -s conftest.$ac_objext; then
  5830   eval "$as_ac_Header=yes"
  5831 else
  5832   $as_echo "$as_me: failed program was:" >&5
  5833 sed 's/^/| /' conftest.$ac_ext >&5
  5835 	eval "$as_ac_Header=no"
  5836 fi
  5838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5839 fi
  5840 ac_res=`eval 'as_val=${'$as_ac_Header'}
  5841 		 $as_echo "$as_val"'`
  5842 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  5843 $as_echo "$ac_res" >&6; }
  5844 if test `eval 'as_val=${'$as_ac_Header'}
  5845 		 $as_echo "$as_val"'` = yes; then
  5846   cat >>confdefs.h <<_ACEOF
  5847 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  5848 _ACEOF
  5850 fi
  5852 done
  5855 # The cast to long int works around a bug in the HP C Compiler
  5856 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  5857 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  5858 # This bug is HP SR number 8606223364.
  5859 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
  5860 $as_echo_n "checking size of void *... " >&6; }
  5861 if test "${ac_cv_sizeof_void_p+set}" = set; then
  5862   $as_echo_n "(cached) " >&6
  5863 else
  5864   if test "$cross_compiling" = yes; then
  5865   # Depending upon the size, compute the lo and hi bounds.
  5866 cat >conftest.$ac_ext <<_ACEOF
  5867 /* confdefs.h.  */
  5868 _ACEOF
  5869 cat confdefs.h >>conftest.$ac_ext
  5870 cat >>conftest.$ac_ext <<_ACEOF
  5871 /* end confdefs.h.  */
  5872 $ac_includes_default
  5873 int
  5874 main ()
  5876 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
  5877 test_array [0] = 0
  5880   return 0;
  5882 _ACEOF
  5883 rm -f conftest.$ac_objext
  5884 if { (ac_try="$ac_compile"
  5885 case "(($ac_try" in
  5886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5887   *) ac_try_echo=$ac_try;;
  5888 esac
  5889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5890 $as_echo "$ac_try_echo") >&5
  5891   (eval "$ac_compile") 2>conftest.er1
  5892   ac_status=$?
  5893   grep -v '^ *+' conftest.er1 >conftest.err
  5894   rm -f conftest.er1
  5895   cat conftest.err >&5
  5896   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5897   (exit $ac_status); } && {
  5898 	 test -z "$ac_c_werror_flag" ||
  5899 	 test ! -s conftest.err
  5900        } && test -s conftest.$ac_objext; then
  5901   ac_lo=0 ac_mid=0
  5902   while :; do
  5903     cat >conftest.$ac_ext <<_ACEOF
  5904 /* confdefs.h.  */
  5905 _ACEOF
  5906 cat confdefs.h >>conftest.$ac_ext
  5907 cat >>conftest.$ac_ext <<_ACEOF
  5908 /* end confdefs.h.  */
  5909 $ac_includes_default
  5910 int
  5911 main ()
  5913 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  5914 test_array [0] = 0
  5917   return 0;
  5919 _ACEOF
  5920 rm -f conftest.$ac_objext
  5921 if { (ac_try="$ac_compile"
  5922 case "(($ac_try" in
  5923   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5924   *) ac_try_echo=$ac_try;;
  5925 esac
  5926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5927 $as_echo "$ac_try_echo") >&5
  5928   (eval "$ac_compile") 2>conftest.er1
  5929   ac_status=$?
  5930   grep -v '^ *+' conftest.er1 >conftest.err
  5931   rm -f conftest.er1
  5932   cat conftest.err >&5
  5933   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5934   (exit $ac_status); } && {
  5935 	 test -z "$ac_c_werror_flag" ||
  5936 	 test ! -s conftest.err
  5937        } && test -s conftest.$ac_objext; then
  5938   ac_hi=$ac_mid; break
  5939 else
  5940   $as_echo "$as_me: failed program was:" >&5
  5941 sed 's/^/| /' conftest.$ac_ext >&5
  5943 	ac_lo=`expr $ac_mid + 1`
  5944 			if test $ac_lo -le $ac_mid; then
  5945 			  ac_lo= ac_hi=
  5946 			  break
  5947 			fi
  5948 			ac_mid=`expr 2 '*' $ac_mid + 1`
  5949 fi
  5951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5952   done
  5953 else
  5954   $as_echo "$as_me: failed program was:" >&5
  5955 sed 's/^/| /' conftest.$ac_ext >&5
  5957 	cat >conftest.$ac_ext <<_ACEOF
  5958 /* confdefs.h.  */
  5959 _ACEOF
  5960 cat confdefs.h >>conftest.$ac_ext
  5961 cat >>conftest.$ac_ext <<_ACEOF
  5962 /* end confdefs.h.  */
  5963 $ac_includes_default
  5964 int
  5965 main ()
  5967 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
  5968 test_array [0] = 0
  5971   return 0;
  5973 _ACEOF
  5974 rm -f conftest.$ac_objext
  5975 if { (ac_try="$ac_compile"
  5976 case "(($ac_try" in
  5977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5978   *) ac_try_echo=$ac_try;;
  5979 esac
  5980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5981 $as_echo "$ac_try_echo") >&5
  5982   (eval "$ac_compile") 2>conftest.er1
  5983   ac_status=$?
  5984   grep -v '^ *+' conftest.er1 >conftest.err
  5985   rm -f conftest.er1
  5986   cat conftest.err >&5
  5987   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5988   (exit $ac_status); } && {
  5989 	 test -z "$ac_c_werror_flag" ||
  5990 	 test ! -s conftest.err
  5991        } && test -s conftest.$ac_objext; then
  5992   ac_hi=-1 ac_mid=-1
  5993   while :; do
  5994     cat >conftest.$ac_ext <<_ACEOF
  5995 /* confdefs.h.  */
  5996 _ACEOF
  5997 cat confdefs.h >>conftest.$ac_ext
  5998 cat >>conftest.$ac_ext <<_ACEOF
  5999 /* end confdefs.h.  */
  6000 $ac_includes_default
  6001 int
  6002 main ()
  6004 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
  6005 test_array [0] = 0
  6008   return 0;
  6010 _ACEOF
  6011 rm -f conftest.$ac_objext
  6012 if { (ac_try="$ac_compile"
  6013 case "(($ac_try" in
  6014   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6015   *) ac_try_echo=$ac_try;;
  6016 esac
  6017 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6018 $as_echo "$ac_try_echo") >&5
  6019   (eval "$ac_compile") 2>conftest.er1
  6020   ac_status=$?
  6021   grep -v '^ *+' conftest.er1 >conftest.err
  6022   rm -f conftest.er1
  6023   cat conftest.err >&5
  6024   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6025   (exit $ac_status); } && {
  6026 	 test -z "$ac_c_werror_flag" ||
  6027 	 test ! -s conftest.err
  6028        } && test -s conftest.$ac_objext; then
  6029   ac_lo=$ac_mid; break
  6030 else
  6031   $as_echo "$as_me: failed program was:" >&5
  6032 sed 's/^/| /' conftest.$ac_ext >&5
  6034 	ac_hi=`expr '(' $ac_mid ')' - 1`
  6035 			if test $ac_mid -le $ac_hi; then
  6036 			  ac_lo= ac_hi=
  6037 			  break
  6038 			fi
  6039 			ac_mid=`expr 2 '*' $ac_mid`
  6040 fi
  6042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6043   done
  6044 else
  6045   $as_echo "$as_me: failed program was:" >&5
  6046 sed 's/^/| /' conftest.$ac_ext >&5
  6048 	ac_lo= ac_hi=
  6049 fi
  6051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6052 fi
  6054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6055 # Binary search between lo and hi bounds.
  6056 while test "x$ac_lo" != "x$ac_hi"; do
  6057   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6058   cat >conftest.$ac_ext <<_ACEOF
  6059 /* confdefs.h.  */
  6060 _ACEOF
  6061 cat confdefs.h >>conftest.$ac_ext
  6062 cat >>conftest.$ac_ext <<_ACEOF
  6063 /* end confdefs.h.  */
  6064 $ac_includes_default
  6065 int
  6066 main ()
  6068 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6069 test_array [0] = 0
  6072   return 0;
  6074 _ACEOF
  6075 rm -f conftest.$ac_objext
  6076 if { (ac_try="$ac_compile"
  6077 case "(($ac_try" in
  6078   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6079   *) ac_try_echo=$ac_try;;
  6080 esac
  6081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6082 $as_echo "$ac_try_echo") >&5
  6083   (eval "$ac_compile") 2>conftest.er1
  6084   ac_status=$?
  6085   grep -v '^ *+' conftest.er1 >conftest.err
  6086   rm -f conftest.er1
  6087   cat conftest.err >&5
  6088   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6089   (exit $ac_status); } && {
  6090 	 test -z "$ac_c_werror_flag" ||
  6091 	 test ! -s conftest.err
  6092        } && test -s conftest.$ac_objext; then
  6093   ac_hi=$ac_mid
  6094 else
  6095   $as_echo "$as_me: failed program was:" >&5
  6096 sed 's/^/| /' conftest.$ac_ext >&5
  6098 	ac_lo=`expr '(' $ac_mid ')' + 1`
  6099 fi
  6101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6102 done
  6103 case $ac_lo in
  6104 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  6105 '') if test "$ac_cv_type_void_p" = yes; then
  6106      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6107 See \`config.log' for more details." >&5
  6108 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6109 See \`config.log' for more details." >&2;}
  6110    { (exit 77); exit 77; }; }
  6111    else
  6112      ac_cv_sizeof_void_p=0
  6113    fi ;;
  6114 esac
  6115 else
  6116   cat >conftest.$ac_ext <<_ACEOF
  6117 /* confdefs.h.  */
  6118 _ACEOF
  6119 cat confdefs.h >>conftest.$ac_ext
  6120 cat >>conftest.$ac_ext <<_ACEOF
  6121 /* end confdefs.h.  */
  6122 $ac_includes_default
  6123 static long int longval () { return (long int) (sizeof (void *)); }
  6124 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
  6125 #include <stdio.h>
  6126 #include <stdlib.h>
  6127 int
  6128 main ()
  6131   FILE *f = fopen ("conftest.val", "w");
  6132   if (! f)
  6133     return 1;
  6134   if (((long int) (sizeof (void *))) < 0)
  6136       long int i = longval ();
  6137       if (i != ((long int) (sizeof (void *))))
  6138 	return 1;
  6139       fprintf (f, "%ld", i);
  6141   else
  6143       unsigned long int i = ulongval ();
  6144       if (i != ((long int) (sizeof (void *))))
  6145 	return 1;
  6146       fprintf (f, "%lu", i);
  6148   /* Do not output a trailing newline, as this causes \r\n confusion
  6149      on some platforms.  */
  6150   return ferror (f) || fclose (f) != 0;
  6153   return 0;
  6155 _ACEOF
  6156 rm -f conftest$ac_exeext
  6157 if { (ac_try="$ac_link"
  6158 case "(($ac_try" in
  6159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6160   *) ac_try_echo=$ac_try;;
  6161 esac
  6162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6163 $as_echo "$ac_try_echo") >&5
  6164   (eval "$ac_link") 2>&5
  6165   ac_status=$?
  6166   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6167   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6168   { (case "(($ac_try" in
  6169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6170   *) ac_try_echo=$ac_try;;
  6171 esac
  6172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6173 $as_echo "$ac_try_echo") >&5
  6174   (eval "$ac_try") 2>&5
  6175   ac_status=$?
  6176   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6177   (exit $ac_status); }; }; then
  6178   ac_cv_sizeof_void_p=`cat conftest.val`
  6179 else
  6180   $as_echo "$as_me: program exited with status $ac_status" >&5
  6181 $as_echo "$as_me: failed program was:" >&5
  6182 sed 's/^/| /' conftest.$ac_ext >&5
  6184 ( exit $ac_status )
  6185 if test "$ac_cv_type_void_p" = yes; then
  6186      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6187 See \`config.log' for more details." >&5
  6188 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6189 See \`config.log' for more details." >&2;}
  6190    { (exit 77); exit 77; }; }
  6191    else
  6192      ac_cv_sizeof_void_p=0
  6193    fi
  6194 fi
  6195 rm -rf conftest.dSYM
  6196 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6197 fi
  6198 rm -f conftest.val
  6199 fi
  6200 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  6201 $as_echo "$ac_cv_sizeof_void_p" >&6; }
  6205 cat >>confdefs.h <<_ACEOF
  6206 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  6207 _ACEOF
  6210 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6211 $as_echo_n "checking for ANSI C header files... " >&6; }
  6212 if test "${ac_cv_header_stdc+set}" = set; then
  6213   $as_echo_n "(cached) " >&6
  6214 else
  6215   cat >conftest.$ac_ext <<_ACEOF
  6216 /* confdefs.h.  */
  6217 _ACEOF
  6218 cat confdefs.h >>conftest.$ac_ext
  6219 cat >>conftest.$ac_ext <<_ACEOF
  6220 /* end confdefs.h.  */
  6221 #include <stdlib.h>
  6222 #include <stdarg.h>
  6223 #include <string.h>
  6224 #include <float.h>
  6226 int
  6227 main ()
  6231   return 0;
  6233 _ACEOF
  6234 rm -f conftest.$ac_objext
  6235 if { (ac_try="$ac_compile"
  6236 case "(($ac_try" in
  6237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6238   *) ac_try_echo=$ac_try;;
  6239 esac
  6240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6241 $as_echo "$ac_try_echo") >&5
  6242   (eval "$ac_compile") 2>conftest.er1
  6243   ac_status=$?
  6244   grep -v '^ *+' conftest.er1 >conftest.err
  6245   rm -f conftest.er1
  6246   cat conftest.err >&5
  6247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6248   (exit $ac_status); } && {
  6249 	 test -z "$ac_c_werror_flag" ||
  6250 	 test ! -s conftest.err
  6251        } && test -s conftest.$ac_objext; then
  6252   ac_cv_header_stdc=yes
  6253 else
  6254   $as_echo "$as_me: failed program was:" >&5
  6255 sed 's/^/| /' conftest.$ac_ext >&5
  6257 	ac_cv_header_stdc=no
  6258 fi
  6260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6262 if test $ac_cv_header_stdc = yes; then
  6263   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6264   cat >conftest.$ac_ext <<_ACEOF
  6265 /* confdefs.h.  */
  6266 _ACEOF
  6267 cat confdefs.h >>conftest.$ac_ext
  6268 cat >>conftest.$ac_ext <<_ACEOF
  6269 /* end confdefs.h.  */
  6270 #include <string.h>
  6272 _ACEOF
  6273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6274   $EGREP "memchr" >/dev/null 2>&1; then
  6276 else
  6277   ac_cv_header_stdc=no
  6278 fi
  6279 rm -f conftest*
  6281 fi
  6283 if test $ac_cv_header_stdc = yes; then
  6284   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6285   cat >conftest.$ac_ext <<_ACEOF
  6286 /* confdefs.h.  */
  6287 _ACEOF
  6288 cat confdefs.h >>conftest.$ac_ext
  6289 cat >>conftest.$ac_ext <<_ACEOF
  6290 /* end confdefs.h.  */
  6291 #include <stdlib.h>
  6293 _ACEOF
  6294 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6295   $EGREP "free" >/dev/null 2>&1; then
  6297 else
  6298   ac_cv_header_stdc=no
  6299 fi
  6300 rm -f conftest*
  6302 fi
  6304 if test $ac_cv_header_stdc = yes; then
  6305   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6306   if test "$cross_compiling" = yes; then
  6308 else
  6309   cat >conftest.$ac_ext <<_ACEOF
  6310 /* confdefs.h.  */
  6311 _ACEOF
  6312 cat confdefs.h >>conftest.$ac_ext
  6313 cat >>conftest.$ac_ext <<_ACEOF
  6314 /* end confdefs.h.  */
  6315 #include <ctype.h>
  6316 #include <stdlib.h>
  6317 #if ((' ' & 0x0FF) == 0x020)
  6318 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6319 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6320 #else
  6321 # define ISLOWER(c) \
  6322 		   (('a' <= (c) && (c) <= 'i') \
  6323 		     || ('j' <= (c) && (c) <= 'r') \
  6324 		     || ('s' <= (c) && (c) <= 'z'))
  6325 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6326 #endif
  6328 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6329 int
  6330 main ()
  6332   int i;
  6333   for (i = 0; i < 256; i++)
  6334     if (XOR (islower (i), ISLOWER (i))
  6335 	|| toupper (i) != TOUPPER (i))
  6336       return 2;
  6337   return 0;
  6339 _ACEOF
  6340 rm -f conftest$ac_exeext
  6341 if { (ac_try="$ac_link"
  6342 case "(($ac_try" in
  6343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6344   *) ac_try_echo=$ac_try;;
  6345 esac
  6346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6347 $as_echo "$ac_try_echo") >&5
  6348   (eval "$ac_link") 2>&5
  6349   ac_status=$?
  6350   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6351   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6352   { (case "(($ac_try" in
  6353   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6354   *) ac_try_echo=$ac_try;;
  6355 esac
  6356 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6357 $as_echo "$ac_try_echo") >&5
  6358   (eval "$ac_try") 2>&5
  6359   ac_status=$?
  6360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6361   (exit $ac_status); }; }; then
  6363 else
  6364   $as_echo "$as_me: program exited with status $ac_status" >&5
  6365 $as_echo "$as_me: failed program was:" >&5
  6366 sed 's/^/| /' conftest.$ac_ext >&5
  6368 ( exit $ac_status )
  6369 ac_cv_header_stdc=no
  6370 fi
  6371 rm -rf conftest.dSYM
  6372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6373 fi
  6376 fi
  6377 fi
  6378 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6379 $as_echo "$ac_cv_header_stdc" >&6; }
  6380 if test $ac_cv_header_stdc = yes; then
  6382 cat >>confdefs.h <<\_ACEOF
  6383 #define STDC_HEADERS 1
  6384 _ACEOF
  6386 fi
  6388 # Make sure we can run config.sub.
  6389 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  6390   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  6391 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  6392    { (exit 1); exit 1; }; }
  6394 { $as_echo "$as_me:$LINENO: checking build system type" >&5
  6395 $as_echo_n "checking build system type... " >&6; }
  6396 if test "${ac_cv_build+set}" = set; then
  6397   $as_echo_n "(cached) " >&6
  6398 else
  6399   ac_build_alias=$build_alias
  6400 test "x$ac_build_alias" = x &&
  6401   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  6402 test "x$ac_build_alias" = x &&
  6403   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  6404 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  6405    { (exit 1); exit 1; }; }
  6406 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  6407   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  6408 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  6409    { (exit 1); exit 1; }; }
  6411 fi
  6412 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  6413 $as_echo "$ac_cv_build" >&6; }
  6414 case $ac_cv_build in
  6415 *-*-*) ;;
  6416 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  6417 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  6418    { (exit 1); exit 1; }; };;
  6419 esac
  6420 build=$ac_cv_build
  6421 ac_save_IFS=$IFS; IFS='-'
  6422 set x $ac_cv_build
  6423 shift
  6424 build_cpu=$1
  6425 build_vendor=$2
  6426 shift; shift
  6427 # Remember, the first character of IFS is used to create $*,
  6428 # except with old shells:
  6429 build_os=$*
  6430 IFS=$ac_save_IFS
  6431 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  6434 { $as_echo "$as_me:$LINENO: checking host system type" >&5
  6435 $as_echo_n "checking host system type... " >&6; }
  6436 if test "${ac_cv_host+set}" = set; then
  6437   $as_echo_n "(cached) " >&6
  6438 else
  6439   if test "x$host_alias" = x; then
  6440   ac_cv_host=$ac_cv_build
  6441 else
  6442   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  6443     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  6444 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  6445    { (exit 1); exit 1; }; }
  6446 fi
  6448 fi
  6449 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  6450 $as_echo "$ac_cv_host" >&6; }
  6451 case $ac_cv_host in
  6452 *-*-*) ;;
  6453 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  6454 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  6455    { (exit 1); exit 1; }; };;
  6456 esac
  6457 host=$ac_cv_host
  6458 ac_save_IFS=$IFS; IFS='-'
  6459 set x $ac_cv_host
  6460 shift
  6461 host_cpu=$1
  6462 host_vendor=$2
  6463 shift; shift
  6464 # Remember, the first character of IFS is used to create $*,
  6465 # except with old shells:
  6466 host_os=$*
  6467 IFS=$ac_save_IFS
  6468 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  6472 # Extract the first word of "pod2man", so it can be a program name with args.
  6473 set dummy pod2man; ac_word=$2
  6474 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6475 $as_echo_n "checking for $ac_word... " >&6; }
  6476 if test "${ac_cv_path_POD2MAN+set}" = set; then
  6477   $as_echo_n "(cached) " >&6
  6478 else
  6479   case $POD2MAN in
  6480   [\\/]* | ?:[\\/]*)
  6481   ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
  6482   ;;
  6483   *)
  6484   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6485 for as_dir in $PATH
  6486 do
  6487   IFS=$as_save_IFS
  6488   test -z "$as_dir" && as_dir=.
  6489   for ac_exec_ext in '' $ac_executable_extensions; do
  6490   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6491     ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
  6492     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6493     break 2
  6494   fi
  6495 done
  6496 done
  6497 IFS=$as_save_IFS
  6499   ;;
  6500 esac
  6501 fi
  6502 POD2MAN=$ac_cv_path_POD2MAN
  6503 if test -n "$POD2MAN"; then
  6504   { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5
  6505 $as_echo "$POD2MAN" >&6; }
  6506 else
  6507   { $as_echo "$as_me:$LINENO: result: no" >&5
  6508 $as_echo "no" >&6; }
  6509 fi
  6512 # Extract the first word of "pod2html", so it can be a program name with args.
  6513 set dummy pod2html; ac_word=$2
  6514 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6515 $as_echo_n "checking for $ac_word... " >&6; }
  6516 if test "${ac_cv_path_POD2HTML+set}" = set; then
  6517   $as_echo_n "(cached) " >&6
  6518 else
  6519   case $POD2HTML in
  6520   [\\/]* | ?:[\\/]*)
  6521   ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
  6522   ;;
  6523   *)
  6524   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6525 for as_dir in $PATH
  6526 do
  6527   IFS=$as_save_IFS
  6528   test -z "$as_dir" && as_dir=.
  6529   for ac_exec_ext in '' $ac_executable_extensions; do
  6530   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6531     ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
  6532     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6533     break 2
  6534   fi
  6535 done
  6536 done
  6537 IFS=$as_save_IFS
  6539   ;;
  6540 esac
  6541 fi
  6542 POD2HTML=$ac_cv_path_POD2HTML
  6543 if test -n "$POD2HTML"; then
  6544   { $as_echo "$as_me:$LINENO: result: $POD2HTML" >&5
  6545 $as_echo "$POD2HTML" >&6; }
  6546 else
  6547   { $as_echo "$as_me:$LINENO: result: no" >&5
  6548 $as_echo "no" >&6; }
  6549 fi
  6554 # Check whether --enable-translator was given.
  6555 if test "${enable_translator+set}" = set; then
  6556   enableval=$enable_translator; true
  6557 else
  6558   enable_translator=yes
  6559 fi
  6561 # Check whether --enable-trace was given.
  6562 if test "${enable_trace+set}" = set; then
  6563   enableval=$enable_trace; if test "$enableval" == "yes"; then
  6565 cat >>confdefs.h <<\_ACEOF
  6566 #define ENABLE_TRACE_IO 1
  6567 _ACEOF
  6569     fi
  6570 fi
  6572 # Check whether --enable-watch was given.
  6573 if test "${enable_watch+set}" = set; then
  6574   enableval=$enable_watch; if test "$enableval" == "yes"; then
  6576 cat >>confdefs.h <<\_ACEOF
  6577 #define ENABLE_WATCH 1
  6578 _ACEOF
  6580    fi
  6581 fi
  6583 # Check whether --enable-sh4stats was given.
  6584 if test "${enable_sh4stats+set}" = set; then
  6585   enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
  6587 cat >>confdefs.h <<\_ACEOF
  6588 #define ENABLE_SH4STATS 1
  6589 _ACEOF
  6591     fi
  6592 fi
  6595 # Check whether --with-osmesa was given.
  6596 if test "${with_osmesa+set}" = set; then
  6597   withval=$with_osmesa;
  6598 else
  6599   with_osmesa=no
  6600 fi
  6603 # Check whether --with-gtk was given.
  6604 if test "${with_gtk+set}" = set; then
  6605   withval=$with_gtk; with_gtk=yes
  6606 else
  6607   with_gtk=x11
  6608 fi
  6611 # Check whether --with-esd was given.
  6612 if test "${with_esd+set}" = set; then
  6613   withval=$with_esd;
  6614 fi
  6617 # Check whether --with-pulse was given.
  6618 if test "${with_pulse+set}" = set; then
  6619   withval=$with_pulse;
  6620 fi
  6624 if test "x$GCC" = "xyes"; then
  6625    CFLAGS="$CFLAGS -fno-strict-aliasing"
  6626 fi
  6629 lxdream_save_cppflags="$CPPFLAGS"
  6630 CPPFLAGS="$CPPFLAGS -x objective-c"
  6631 cat >conftest.$ac_ext <<_ACEOF
  6632 /* confdefs.h.  */
  6633 _ACEOF
  6634 cat confdefs.h >>conftest.$ac_ext
  6635 cat >>conftest.$ac_ext <<_ACEOF
  6636 /* end confdefs.h.  */
  6637 @interface Foo @end
  6638 int
  6639 main ()
  6643   return 0;
  6645 _ACEOF
  6646 rm -f conftest.$ac_objext
  6647 if { (ac_try="$ac_compile"
  6648 case "(($ac_try" in
  6649   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6650   *) ac_try_echo=$ac_try;;
  6651 esac
  6652 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6653 $as_echo "$ac_try_echo") >&5
  6654   (eval "$ac_compile") 2>conftest.er1
  6655   ac_status=$?
  6656   grep -v '^ *+' conftest.er1 >conftest.err
  6657   rm -f conftest.er1
  6658   cat conftest.err >&5
  6659   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6660   (exit $ac_status); } && {
  6661 	 test -z "$ac_c_werror_flag" ||
  6662 	 test ! -s conftest.err
  6663        } && test -s conftest.$ac_objext; then
  6666    if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6667   { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  6668 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
  6669 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6670   $as_echo_n "(cached) " >&6
  6671 fi
  6672 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  6673 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  6674 else
  6675   # Is the header compilable?
  6676 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
  6677 $as_echo_n "checking Cocoa/Cocoa.h usability... " >&6; }
  6678 cat >conftest.$ac_ext <<_ACEOF
  6679 /* confdefs.h.  */
  6680 _ACEOF
  6681 cat confdefs.h >>conftest.$ac_ext
  6682 cat >>conftest.$ac_ext <<_ACEOF
  6683 /* end confdefs.h.  */
  6684 $ac_includes_default
  6685 #include <Cocoa/Cocoa.h>
  6686 _ACEOF
  6687 rm -f conftest.$ac_objext
  6688 if { (ac_try="$ac_compile"
  6689 case "(($ac_try" in
  6690   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6691   *) ac_try_echo=$ac_try;;
  6692 esac
  6693 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6694 $as_echo "$ac_try_echo") >&5
  6695   (eval "$ac_compile") 2>conftest.er1
  6696   ac_status=$?
  6697   grep -v '^ *+' conftest.er1 >conftest.err
  6698   rm -f conftest.er1
  6699   cat conftest.err >&5
  6700   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6701   (exit $ac_status); } && {
  6702 	 test -z "$ac_c_werror_flag" ||
  6703 	 test ! -s conftest.err
  6704        } && test -s conftest.$ac_objext; then
  6705   ac_header_compiler=yes
  6706 else
  6707   $as_echo "$as_me: failed program was:" >&5
  6708 sed 's/^/| /' conftest.$ac_ext >&5
  6710 	ac_header_compiler=no
  6711 fi
  6713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6714 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  6715 $as_echo "$ac_header_compiler" >&6; }
  6717 # Is the header present?
  6718 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
  6719 $as_echo_n "checking Cocoa/Cocoa.h presence... " >&6; }
  6720 cat >conftest.$ac_ext <<_ACEOF
  6721 /* confdefs.h.  */
  6722 _ACEOF
  6723 cat confdefs.h >>conftest.$ac_ext
  6724 cat >>conftest.$ac_ext <<_ACEOF
  6725 /* end confdefs.h.  */
  6726 #include <Cocoa/Cocoa.h>
  6727 _ACEOF
  6728 if { (ac_try="$ac_cpp conftest.$ac_ext"
  6729 case "(($ac_try" in
  6730   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6731   *) ac_try_echo=$ac_try;;
  6732 esac
  6733 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6734 $as_echo "$ac_try_echo") >&5
  6735   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  6736   ac_status=$?
  6737   grep -v '^ *+' conftest.er1 >conftest.err
  6738   rm -f conftest.er1
  6739   cat conftest.err >&5
  6740   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6741   (exit $ac_status); } >/dev/null && {
  6742 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  6743 	 test ! -s conftest.err
  6744        }; then
  6745   ac_header_preproc=yes
  6746 else
  6747   $as_echo "$as_me: failed program was:" >&5
  6748 sed 's/^/| /' conftest.$ac_ext >&5
  6750   ac_header_preproc=no
  6751 fi
  6753 rm -f conftest.err conftest.$ac_ext
  6754 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  6755 $as_echo "$ac_header_preproc" >&6; }
  6757 # So?  What about this header?
  6758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  6759   yes:no: )
  6760     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  6761 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  6762     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
  6763 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
  6764     ac_header_preproc=yes
  6765     ;;
  6766   no:yes:* )
  6767     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
  6768 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
  6769     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&5
  6770 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&2;}
  6771     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
  6772 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
  6773     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&5
  6774 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  6775     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&5
  6776 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}
  6777     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&5
  6778 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
  6780     ;;
  6781 esac
  6782 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  6783 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
  6784 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  6785   $as_echo_n "(cached) " >&6
  6786 else
  6787   ac_cv_header_Cocoa_Cocoa_h=$ac_header_preproc
  6788 fi
  6789 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  6790 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  6792 fi
  6793 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
  6795       HAVE_COCOA='yes'
  6796       APPLE_BUILD='yes'
  6797       LIBS="$LIBS -framework AppKit"
  6798       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"
  6799       LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
  6801 cat >>confdefs.h <<\_ACEOF
  6802 #define HAVE_COCOA 1
  6803 _ACEOF
  6806 cat >>confdefs.h <<\_ACEOF
  6807 #define APPLE_BUILD 1
  6808 _ACEOF
  6810       if test "x$with_gtk" = "xx11"; then
  6811         with_gtk=no
  6812       fi
  6814 fi
  6819 else
  6820   $as_echo "$as_me: failed program was:" >&5
  6821 sed 's/^/| /' conftest.$ac_ext >&5
  6823 	CPPFLAGS="$lxdream_save_cppflags"
  6824 fi
  6826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6829 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
  6830   GUI_COCOA_TRUE=
  6831   GUI_COCOA_FALSE='#'
  6832 else
  6833   GUI_COCOA_TRUE='#'
  6834   GUI_COCOA_FALSE=
  6835 fi
  6840 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  6841 	if test -n "$ac_tool_prefix"; then
  6842   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  6843 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  6844 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6845 $as_echo_n "checking for $ac_word... " >&6; }
  6846 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  6847   $as_echo_n "(cached) " >&6
  6848 else
  6849   case $PKG_CONFIG in
  6850   [\\/]* | ?:[\\/]*)
  6851   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  6852   ;;
  6853   *)
  6854   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6855 for as_dir in $PATH
  6856 do
  6857   IFS=$as_save_IFS
  6858   test -z "$as_dir" && as_dir=.
  6859   for ac_exec_ext in '' $ac_executable_extensions; do
  6860   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6861     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  6862     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6863     break 2
  6864   fi
  6865 done
  6866 done
  6867 IFS=$as_save_IFS
  6869   ;;
  6870 esac
  6871 fi
  6872 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  6873 if test -n "$PKG_CONFIG"; then
  6874   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  6875 $as_echo "$PKG_CONFIG" >&6; }
  6876 else
  6877   { $as_echo "$as_me:$LINENO: result: no" >&5
  6878 $as_echo "no" >&6; }
  6879 fi
  6882 fi
  6883 if test -z "$ac_cv_path_PKG_CONFIG"; then
  6884   ac_pt_PKG_CONFIG=$PKG_CONFIG
  6885   # Extract the first word of "pkg-config", so it can be a program name with args.
  6886 set dummy pkg-config; ac_word=$2
  6887 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6888 $as_echo_n "checking for $ac_word... " >&6; }
  6889 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  6890   $as_echo_n "(cached) " >&6
  6891 else
  6892   case $ac_pt_PKG_CONFIG in
  6893   [\\/]* | ?:[\\/]*)
  6894   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  6895   ;;
  6896   *)
  6897   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6898 for as_dir in $PATH
  6899 do
  6900   IFS=$as_save_IFS
  6901   test -z "$as_dir" && as_dir=.
  6902   for ac_exec_ext in '' $ac_executable_extensions; do
  6903   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6904     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  6905     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6906     break 2
  6907   fi
  6908 done
  6909 done
  6910 IFS=$as_save_IFS
  6912   ;;
  6913 esac
  6914 fi
  6915 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  6916 if test -n "$ac_pt_PKG_CONFIG"; then
  6917   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  6918 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  6919 else
  6920   { $as_echo "$as_me:$LINENO: result: no" >&5
  6921 $as_echo "no" >&6; }
  6922 fi
  6924   if test "x$ac_pt_PKG_CONFIG" = x; then
  6925     PKG_CONFIG=""
  6926   else
  6927     case $cross_compiling:$ac_tool_warned in
  6928 yes:)
  6929 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  6930 whose name does not start with the host triplet.  If you think this
  6931 configuration is useful to you, please write to autoconf@gnu.org." >&5
  6932 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  6933 whose name does not start with the host triplet.  If you think this
  6934 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  6935 ac_tool_warned=yes ;;
  6936 esac
  6937     PKG_CONFIG=$ac_pt_PKG_CONFIG
  6938   fi
  6939 else
  6940   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  6941 fi
  6943 fi
  6944 if test -n "$PKG_CONFIG"; then
  6945 	_pkg_min_version=0.9.0
  6946 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  6947 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  6948 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  6949 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
  6950 $as_echo "yes" >&6; }
  6951 	else
  6952 		{ $as_echo "$as_me:$LINENO: result: no" >&5
  6953 $as_echo "no" >&6; }
  6954 		PKG_CONFIG=""
  6955 	fi
  6957 fi
  6959 pkg_failed=no
  6960 { $as_echo "$as_me:$LINENO: checking for LIBPNG" >&5
  6961 $as_echo_n "checking for LIBPNG... " >&6; }
  6963 if test -n "$PKG_CONFIG"; then
  6964     if test -n "$LIBPNG_CFLAGS"; then
  6965         pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
  6966     else
  6967         if test -n "$PKG_CONFIG" && \
  6968     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  6969   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  6970   ac_status=$?
  6971   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6972   (exit $ac_status); }; then
  6973   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
  6974 else
  6975   pkg_failed=yes
  6976 fi
  6977     fi
  6978 else
  6979 	pkg_failed=untried
  6980 fi
  6981 if test -n "$PKG_CONFIG"; then
  6982     if test -n "$LIBPNG_LIBS"; then
  6983         pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
  6984     else
  6985         if test -n "$PKG_CONFIG" && \
  6986     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  6987   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  6988   ac_status=$?
  6989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6990   (exit $ac_status); }; then
  6991   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
  6992 else
  6993   pkg_failed=yes
  6994 fi
  6995     fi
  6996 else
  6997 	pkg_failed=untried
  6998 fi
  7002 if test $pkg_failed = yes; then
  7004 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  7005         _pkg_short_errors_supported=yes
  7006 else
  7007         _pkg_short_errors_supported=no
  7008 fi
  7009         if test $_pkg_short_errors_supported = yes; then
  7010 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpng "`
  7011         else
  7012 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpng "`
  7013         fi
  7014 	# Put the nasty error message in config.log where it belongs
  7015 	echo "$LIBPNG_PKG_ERRORS" >&5
  7017 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
  7019 $LIBPNG_PKG_ERRORS
  7021 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7022 installed software in a non-standard prefix.
  7024 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  7025 and LIBPNG_LIBS to avoid the need to call pkg-config.
  7026 See the pkg-config man page for more details.
  7027 " >&5
  7028 $as_echo "$as_me: error: Package requirements (libpng ) were not met:
  7030 $LIBPNG_PKG_ERRORS
  7032 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7033 installed software in a non-standard prefix.
  7035 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  7036 and LIBPNG_LIBS to avoid the need to call pkg-config.
  7037 See the pkg-config man page for more details.
  7038 " >&2;}
  7039    { (exit 1); exit 1; }; }
  7040 elif test $pkg_failed = untried; then
  7041 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  7042 is in your PATH or set the PKG_CONFIG environment variable to the full
  7043 path to pkg-config.
  7045 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  7046 and LIBPNG_LIBS to avoid the need to call pkg-config.
  7047 See the pkg-config man page for more details.
  7049 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7050 See \`config.log' for more details." >&5
  7051 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  7052 is in your PATH or set the PKG_CONFIG environment variable to the full
  7053 path to pkg-config.
  7055 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  7056 and LIBPNG_LIBS to avoid the need to call pkg-config.
  7057 See the pkg-config man page for more details.
  7059 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7060 See \`config.log' for more details." >&2;}
  7061    { (exit 1); exit 1; }; }
  7062 else
  7063 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
  7064 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
  7065         { $as_echo "$as_me:$LINENO: result: yes" >&5
  7066 $as_echo "yes" >&6; }
  7068 fi
  7071 { $as_echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
  7072 $as_echo_n "checking for uncompress in -lz... " >&6; }
  7073 if test "${ac_cv_lib_z_uncompress+set}" = set; then
  7074   $as_echo_n "(cached) " >&6
  7075 else
  7076   ac_check_lib_save_LIBS=$LIBS
  7077 LIBS="-lz  $LIBS"
  7078 cat >conftest.$ac_ext <<_ACEOF
  7079 /* confdefs.h.  */
  7080 _ACEOF
  7081 cat confdefs.h >>conftest.$ac_ext
  7082 cat >>conftest.$ac_ext <<_ACEOF
  7083 /* end confdefs.h.  */
  7085 /* Override any GCC internal prototype to avoid an error.
  7086    Use char because int might match the return type of a GCC
  7087    builtin and then its argument prototype would still apply.  */
  7088 #ifdef __cplusplus
  7089 extern "C"
  7090 #endif
  7091 char uncompress ();
  7092 int
  7093 main ()
  7095 return uncompress ();
  7097   return 0;
  7099 _ACEOF
  7100 rm -f conftest.$ac_objext conftest$ac_exeext
  7101 if { (ac_try="$ac_link"
  7102 case "(($ac_try" in
  7103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7104   *) ac_try_echo=$ac_try;;
  7105 esac
  7106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7107 $as_echo "$ac_try_echo") >&5
  7108   (eval "$ac_link") 2>conftest.er1
  7109   ac_status=$?
  7110   grep -v '^ *+' conftest.er1 >conftest.err
  7111   rm -f conftest.er1
  7112   cat conftest.err >&5
  7113   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7114   (exit $ac_status); } && {
  7115 	 test -z "$ac_c_werror_flag" ||
  7116 	 test ! -s conftest.err
  7117        } && test -s conftest$ac_exeext && {
  7118 	 test "$cross_compiling" = yes ||
  7119 	 $as_test_x conftest$ac_exeext
  7120        }; then
  7121   ac_cv_lib_z_uncompress=yes
  7122 else
  7123   $as_echo "$as_me: failed program was:" >&5
  7124 sed 's/^/| /' conftest.$ac_ext >&5
  7126 	ac_cv_lib_z_uncompress=no
  7127 fi
  7129 rm -rf conftest.dSYM
  7130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7131       conftest$ac_exeext conftest.$ac_ext
  7132 LIBS=$ac_check_lib_save_LIBS
  7133 fi
  7134 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
  7135 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
  7136 if test $ac_cv_lib_z_uncompress = yes; then
  7137   cat >>confdefs.h <<_ACEOF
  7138 #define HAVE_LIBZ 1
  7139 _ACEOF
  7141   LIBS="-lz $LIBS"
  7143 else
  7145     echo "Zlib (libz.so) could not be found, but is required."
  7146     exit 1
  7147 fi
  7150 if test "x$with_gtk" = "xno"; then
  7152 pkg_failed=no
  7153 { $as_echo "$as_me:$LINENO: checking for GLIB" >&5
  7154 $as_echo_n "checking for GLIB... " >&6; }
  7156 if test -n "$PKG_CONFIG"; then
  7157     if test -n "$GLIB_CFLAGS"; then
  7158         pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
  7159     else
  7160         if test -n "$PKG_CONFIG" && \
  7161     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
  7162   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  7163   ac_status=$?
  7164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7165   (exit $ac_status); }; then
  7166   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
  7167 else
  7168   pkg_failed=yes
  7169 fi
  7170     fi
  7171 else
  7172 	pkg_failed=untried
  7173 fi
  7174 if test -n "$PKG_CONFIG"; then
  7175     if test -n "$GLIB_LIBS"; then
  7176         pkg_cv_GLIB_LIBS="$GLIB_LIBS"
  7177     else
  7178         if test -n "$PKG_CONFIG" && \
  7179     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
  7180   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  7181   ac_status=$?
  7182   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7183   (exit $ac_status); }; then
  7184   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
  7185 else
  7186   pkg_failed=yes
  7187 fi
  7188     fi
  7189 else
  7190 	pkg_failed=untried
  7191 fi
  7195 if test $pkg_failed = yes; then
  7197 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  7198         _pkg_short_errors_supported=yes
  7199 else
  7200         _pkg_short_errors_supported=no
  7201 fi
  7202         if test $_pkg_short_errors_supported = yes; then
  7203 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "glib-2.0"`
  7204         else
  7205 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "glib-2.0"`
  7206         fi
  7207 	# Put the nasty error message in config.log where it belongs
  7208 	echo "$GLIB_PKG_ERRORS" >&5
  7210 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
  7212 $GLIB_PKG_ERRORS
  7214 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7215 installed software in a non-standard prefix.
  7217 Alternatively, you may set the environment variables GLIB_CFLAGS
  7218 and GLIB_LIBS to avoid the need to call pkg-config.
  7219 See the pkg-config man page for more details.
  7220 " >&5
  7221 $as_echo "$as_me: error: Package requirements (glib-2.0) were not met:
  7223 $GLIB_PKG_ERRORS
  7225 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7226 installed software in a non-standard prefix.
  7228 Alternatively, you may set the environment variables GLIB_CFLAGS
  7229 and GLIB_LIBS to avoid the need to call pkg-config.
  7230 See the pkg-config man page for more details.
  7231 " >&2;}
  7232    { (exit 1); exit 1; }; }
  7233 elif test $pkg_failed = untried; then
  7234 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  7235 is in your PATH or set the PKG_CONFIG environment variable to the full
  7236 path to pkg-config.
  7238 Alternatively, you may set the environment variables GLIB_CFLAGS
  7239 and GLIB_LIBS to avoid the need to call pkg-config.
  7240 See the pkg-config man page for more details.
  7242 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7243 See \`config.log' for more details." >&5
  7244 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  7245 is in your PATH or set the PKG_CONFIG environment variable to the full
  7246 path to pkg-config.
  7248 Alternatively, you may set the environment variables GLIB_CFLAGS
  7249 and GLIB_LIBS to avoid the need to call pkg-config.
  7250 See the pkg-config man page for more details.
  7252 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7253 See \`config.log' for more details." >&2;}
  7254    { (exit 1); exit 1; }; }
  7255 else
  7256 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
  7257 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
  7258         { $as_echo "$as_me:$LINENO: result: yes" >&5
  7259 $as_echo "yes" >&6; }
  7261 fi
  7262 else
  7264 pkg_failed=no
  7265 { $as_echo "$as_me:$LINENO: checking for GTK" >&5
  7266 $as_echo_n "checking for GTK... " >&6; }
  7268 if test -n "$PKG_CONFIG"; then
  7269     if test -n "$GTK_CFLAGS"; then
  7270         pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
  7271     else
  7272         if test -n "$PKG_CONFIG" && \
  7273     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  7274   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  7275   ac_status=$?
  7276   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7277   (exit $ac_status); }; then
  7278   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
  7279 else
  7280   pkg_failed=yes
  7281 fi
  7282     fi
  7283 else
  7284 	pkg_failed=untried
  7285 fi
  7286 if test -n "$PKG_CONFIG"; then
  7287     if test -n "$GTK_LIBS"; then
  7288         pkg_cv_GTK_LIBS="$GTK_LIBS"
  7289     else
  7290         if test -n "$PKG_CONFIG" && \
  7291     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  7292   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  7293   ac_status=$?
  7294   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7295   (exit $ac_status); }; then
  7296   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
  7297 else
  7298   pkg_failed=yes
  7299 fi
  7300     fi
  7301 else
  7302 	pkg_failed=untried
  7303 fi
  7307 if test $pkg_failed = yes; then
  7309 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  7310         _pkg_short_errors_supported=yes
  7311 else
  7312         _pkg_short_errors_supported=no
  7313 fi
  7314         if test $_pkg_short_errors_supported = yes; then
  7315 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
  7316         else
  7317 	        GTK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
  7318         fi
  7319 	# Put the nasty error message in config.log where it belongs
  7320 	echo "$GTK_PKG_ERRORS" >&5
  7322 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
  7324 $GTK_PKG_ERRORS
  7326 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7327 installed software in a non-standard prefix.
  7329 Alternatively, you may set the environment variables GTK_CFLAGS
  7330 and GTK_LIBS to avoid the need to call pkg-config.
  7331 See the pkg-config man page for more details.
  7332 " >&5
  7333 $as_echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
  7335 $GTK_PKG_ERRORS
  7337 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  7338 installed software in a non-standard prefix.
  7340 Alternatively, you may set the environment variables GTK_CFLAGS
  7341 and GTK_LIBS to avoid the need to call pkg-config.
  7342 See the pkg-config man page for more details.
  7343 " >&2;}
  7344    { (exit 1); exit 1; }; }
  7345 elif test $pkg_failed = untried; then
  7346 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  7347 is in your PATH or set the PKG_CONFIG environment variable to the full
  7348 path to pkg-config.
  7350 Alternatively, you may set the environment variables GTK_CFLAGS
  7351 and GTK_LIBS to avoid the need to call pkg-config.
  7352 See the pkg-config man page for more details.
  7354 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7355 See \`config.log' for more details." >&5
  7356 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  7357 is in your PATH or set the PKG_CONFIG environment variable to the full
  7358 path to pkg-config.
  7360 Alternatively, you may set the environment variables GTK_CFLAGS
  7361 and GTK_LIBS to avoid the need to call pkg-config.
  7362 See the pkg-config man page for more details.
  7364 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  7365 See \`config.log' for more details." >&2;}
  7366    { (exit 1); exit 1; }; }
  7367 else
  7368 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
  7369 	GTK_LIBS=$pkg_cv_GTK_LIBS
  7370         { $as_echo "$as_me:$LINENO: result: yes" >&5
  7371 $as_echo "yes" >&6; }
  7373        HAVE_GTK='yes'
  7375 cat >>confdefs.h <<\_ACEOF
  7376 #define HAVE_GTK 1
  7377 _ACEOF
  7380 fi
  7382       LIBS="$LIBS $GTK_LIBS"
  7383    { $as_echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
  7384 $as_echo_n "checking for gdk_x11_display_get_xdisplay... " >&6; }
  7385 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
  7386   $as_echo_n "(cached) " >&6
  7387 else
  7388   cat >conftest.$ac_ext <<_ACEOF
  7389 /* confdefs.h.  */
  7390 _ACEOF
  7391 cat confdefs.h >>conftest.$ac_ext
  7392 cat >>conftest.$ac_ext <<_ACEOF
  7393 /* end confdefs.h.  */
  7394 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
  7395    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  7396 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
  7398 /* System header to define __stub macros and hopefully few prototypes,
  7399     which can conflict with char gdk_x11_display_get_xdisplay (); below.
  7400     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7401     <limits.h> exists even on freestanding compilers.  */
  7403 #ifdef __STDC__
  7404 # include <limits.h>
  7405 #else
  7406 # include <assert.h>
  7407 #endif
  7409 #undef gdk_x11_display_get_xdisplay
  7411 /* Override any GCC internal prototype to avoid an error.
  7412    Use char because int might match the return type of a GCC
  7413    builtin and then its argument prototype would still apply.  */
  7414 #ifdef __cplusplus
  7415 extern "C"
  7416 #endif
  7417 char gdk_x11_display_get_xdisplay ();
  7418 /* The GNU C library defines this for functions which it implements
  7419     to always fail with ENOSYS.  Some functions are actually named
  7420     something starting with __ and the normal name is an alias.  */
  7421 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
  7422 choke me
  7423 #endif
  7425 int
  7426 main ()
  7428 return gdk_x11_display_get_xdisplay ();
  7430   return 0;
  7432 _ACEOF
  7433 rm -f conftest.$ac_objext conftest$ac_exeext
  7434 if { (ac_try="$ac_link"
  7435 case "(($ac_try" in
  7436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7437   *) ac_try_echo=$ac_try;;
  7438 esac
  7439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7440 $as_echo "$ac_try_echo") >&5
  7441   (eval "$ac_link") 2>conftest.er1
  7442   ac_status=$?
  7443   grep -v '^ *+' conftest.er1 >conftest.err
  7444   rm -f conftest.er1
  7445   cat conftest.err >&5
  7446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7447   (exit $ac_status); } && {
  7448 	 test -z "$ac_c_werror_flag" ||
  7449 	 test ! -s conftest.err
  7450        } && test -s conftest$ac_exeext && {
  7451 	 test "$cross_compiling" = yes ||
  7452 	 $as_test_x conftest$ac_exeext
  7453        }; then
  7454   ac_cv_func_gdk_x11_display_get_xdisplay=yes
  7455 else
  7456   $as_echo "$as_me: failed program was:" >&5
  7457 sed 's/^/| /' conftest.$ac_ext >&5
  7459 	ac_cv_func_gdk_x11_display_get_xdisplay=no
  7460 fi
  7462 rm -rf conftest.dSYM
  7463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7464       conftest$ac_exeext conftest.$ac_ext
  7465 fi
  7466 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
  7467 $as_echo "$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
  7468 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
  7470       HAVE_GTK_X11='yes'
  7472 cat >>confdefs.h <<\_ACEOF
  7473 #define HAVE_GTK_X11 1
  7474 _ACEOF
  7476 fi
  7478    { $as_echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
  7479 $as_echo_n "checking for gdk_quartz_window_get_nsview... " >&6; }
  7480 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
  7481   $as_echo_n "(cached) " >&6
  7482 else
  7483   cat >conftest.$ac_ext <<_ACEOF
  7484 /* confdefs.h.  */
  7485 _ACEOF
  7486 cat confdefs.h >>conftest.$ac_ext
  7487 cat >>conftest.$ac_ext <<_ACEOF
  7488 /* end confdefs.h.  */
  7489 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
  7490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  7491 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
  7493 /* System header to define __stub macros and hopefully few prototypes,
  7494     which can conflict with char gdk_quartz_window_get_nsview (); below.
  7495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7496     <limits.h> exists even on freestanding compilers.  */
  7498 #ifdef __STDC__
  7499 # include <limits.h>
  7500 #else
  7501 # include <assert.h>
  7502 #endif
  7504 #undef gdk_quartz_window_get_nsview
  7506 /* Override any GCC internal prototype to avoid an error.
  7507    Use char because int might match the return type of a GCC
  7508    builtin and then its argument prototype would still apply.  */
  7509 #ifdef __cplusplus
  7510 extern "C"
  7511 #endif
  7512 char gdk_quartz_window_get_nsview ();
  7513 /* The GNU C library defines this for functions which it implements
  7514     to always fail with ENOSYS.  Some functions are actually named
  7515     something starting with __ and the normal name is an alias.  */
  7516 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
  7517 choke me
  7518 #endif
  7520 int
  7521 main ()
  7523 return gdk_quartz_window_get_nsview ();
  7525   return 0;
  7527 _ACEOF
  7528 rm -f conftest.$ac_objext conftest$ac_exeext
  7529 if { (ac_try="$ac_link"
  7530 case "(($ac_try" in
  7531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7532   *) ac_try_echo=$ac_try;;
  7533 esac
  7534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7535 $as_echo "$ac_try_echo") >&5
  7536   (eval "$ac_link") 2>conftest.er1
  7537   ac_status=$?
  7538   grep -v '^ *+' conftest.er1 >conftest.err
  7539   rm -f conftest.er1
  7540   cat conftest.err >&5
  7541   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7542   (exit $ac_status); } && {
  7543 	 test -z "$ac_c_werror_flag" ||
  7544 	 test ! -s conftest.err
  7545        } && test -s conftest$ac_exeext && {
  7546 	 test "$cross_compiling" = yes ||
  7547 	 $as_test_x conftest$ac_exeext
  7548        }; then
  7549   ac_cv_func_gdk_quartz_window_get_nsview=yes
  7550 else
  7551   $as_echo "$as_me: failed program was:" >&5
  7552 sed 's/^/| /' conftest.$ac_ext >&5
  7554 	ac_cv_func_gdk_quartz_window_get_nsview=no
  7555 fi
  7557 rm -rf conftest.dSYM
  7558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7559       conftest$ac_exeext conftest.$ac_ext
  7560 fi
  7561 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
  7562 $as_echo "$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
  7563 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
  7565       HAVE_GTK_OSX='yes'
  7567 cat >>confdefs.h <<\_ACEOF
  7568 #define HAVE_GTK_OSX 1
  7569 _ACEOF
  7571 fi
  7573 fi
  7577 if test "$HAVE_GTK" = 'yes'; then
  7578   GUI_GTK_TRUE=
  7579   GUI_GTK_FALSE='#'
  7580 else
  7581   GUI_GTK_TRUE='#'
  7582   GUI_GTK_FALSE=
  7583 fi
  7586 if test "x$with_osmesa" != xno; then
  7590 { $as_echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
  7591 $as_echo_n "checking for OSMesaCreateContext in -lOSMesa... " >&6; }
  7592 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
  7593   $as_echo_n "(cached) " >&6
  7594 else
  7595   ac_check_lib_save_LIBS=$LIBS
  7596 LIBS="-lOSMesa  $LIBS"
  7597 cat >conftest.$ac_ext <<_ACEOF
  7598 /* confdefs.h.  */
  7599 _ACEOF
  7600 cat confdefs.h >>conftest.$ac_ext
  7601 cat >>conftest.$ac_ext <<_ACEOF
  7602 /* end confdefs.h.  */
  7604 /* Override any GCC internal prototype to avoid an error.
  7605    Use char because int might match the return type of a GCC
  7606    builtin and then its argument prototype would still apply.  */
  7607 #ifdef __cplusplus
  7608 extern "C"
  7609 #endif
  7610 char OSMesaCreateContext ();
  7611 int
  7612 main ()
  7614 return OSMesaCreateContext ();
  7616   return 0;
  7618 _ACEOF
  7619 rm -f conftest.$ac_objext conftest$ac_exeext
  7620 if { (ac_try="$ac_link"
  7621 case "(($ac_try" in
  7622   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7623   *) ac_try_echo=$ac_try;;
  7624 esac
  7625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7626 $as_echo "$ac_try_echo") >&5
  7627   (eval "$ac_link") 2>conftest.er1
  7628   ac_status=$?
  7629   grep -v '^ *+' conftest.er1 >conftest.err
  7630   rm -f conftest.er1
  7631   cat conftest.err >&5
  7632   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7633   (exit $ac_status); } && {
  7634 	 test -z "$ac_c_werror_flag" ||
  7635 	 test ! -s conftest.err
  7636        } && test -s conftest$ac_exeext && {
  7637 	 test "$cross_compiling" = yes ||
  7638 	 $as_test_x conftest$ac_exeext
  7639        }; then
  7640   ac_cv_lib_OSMesa_OSMesaCreateContext=yes
  7641 else
  7642   $as_echo "$as_me: failed program was:" >&5
  7643 sed 's/^/| /' conftest.$ac_ext >&5
  7645 	ac_cv_lib_OSMesa_OSMesaCreateContext=no
  7646 fi
  7648 rm -rf conftest.dSYM
  7649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7650       conftest$ac_exeext conftest.$ac_ext
  7651 LIBS=$ac_check_lib_save_LIBS
  7652 fi
  7653 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
  7654 $as_echo "$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
  7655 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
  7656   cat >>confdefs.h <<_ACEOF
  7657 #define HAVE_LIBOSMESA 1
  7658 _ACEOF
  7660   LIBS="-lOSMesa $LIBS"
  7662 else
  7663   { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
  7664 See \`config.log' for more details." >&5
  7665 $as_echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
  7666 See \`config.log' for more details." >&2;}
  7667    { (exit 1); exit 1; }; }
  7668 fi
  7670   if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  7671   { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  7672 $as_echo_n "checking for GL/osmesa.h... " >&6; }
  7673 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  7674   $as_echo_n "(cached) " >&6
  7675 fi
  7676 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  7677 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
  7678 else
  7679   # Is the header compilable?
  7680 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
  7681 $as_echo_n "checking GL/osmesa.h usability... " >&6; }
  7682 cat >conftest.$ac_ext <<_ACEOF
  7683 /* confdefs.h.  */
  7684 _ACEOF
  7685 cat confdefs.h >>conftest.$ac_ext
  7686 cat >>conftest.$ac_ext <<_ACEOF
  7687 /* end confdefs.h.  */
  7688 $ac_includes_default
  7689 #include <GL/osmesa.h>
  7690 _ACEOF
  7691 rm -f conftest.$ac_objext
  7692 if { (ac_try="$ac_compile"
  7693 case "(($ac_try" in
  7694   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7695   *) ac_try_echo=$ac_try;;
  7696 esac
  7697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7698 $as_echo "$ac_try_echo") >&5
  7699   (eval "$ac_compile") 2>conftest.er1
  7700   ac_status=$?
  7701   grep -v '^ *+' conftest.er1 >conftest.err
  7702   rm -f conftest.er1
  7703   cat conftest.err >&5
  7704   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7705   (exit $ac_status); } && {
  7706 	 test -z "$ac_c_werror_flag" ||
  7707 	 test ! -s conftest.err
  7708        } && test -s conftest.$ac_objext; then
  7709   ac_header_compiler=yes
  7710 else
  7711   $as_echo "$as_me: failed program was:" >&5
  7712 sed 's/^/| /' conftest.$ac_ext >&5
  7714 	ac_header_compiler=no
  7715 fi
  7717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7718 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  7719 $as_echo "$ac_header_compiler" >&6; }
  7721 # Is the header present?
  7722 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
  7723 $as_echo_n "checking GL/osmesa.h presence... " >&6; }
  7724 cat >conftest.$ac_ext <<_ACEOF
  7725 /* confdefs.h.  */
  7726 _ACEOF
  7727 cat confdefs.h >>conftest.$ac_ext
  7728 cat >>conftest.$ac_ext <<_ACEOF
  7729 /* end confdefs.h.  */
  7730 #include <GL/osmesa.h>
  7731 _ACEOF
  7732 if { (ac_try="$ac_cpp conftest.$ac_ext"
  7733 case "(($ac_try" in
  7734   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7735   *) ac_try_echo=$ac_try;;
  7736 esac
  7737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7738 $as_echo "$ac_try_echo") >&5
  7739   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7740   ac_status=$?
  7741   grep -v '^ *+' conftest.er1 >conftest.err
  7742   rm -f conftest.er1
  7743   cat conftest.err >&5
  7744   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7745   (exit $ac_status); } >/dev/null && {
  7746 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7747 	 test ! -s conftest.err
  7748        }; then
  7749   ac_header_preproc=yes
  7750 else
  7751   $as_echo "$as_me: failed program was:" >&5
  7752 sed 's/^/| /' conftest.$ac_ext >&5
  7754   ac_header_preproc=no
  7755 fi
  7757 rm -f conftest.err conftest.$ac_ext
  7758 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  7759 $as_echo "$ac_header_preproc" >&6; }
  7761 # So?  What about this header?
  7762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  7763   yes:no: )
  7764     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  7765 $as_echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  7766     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
  7767 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
  7768     ac_header_preproc=yes
  7769     ;;
  7770   no:yes:* )
  7771     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
  7772 $as_echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
  7773     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&5
  7774 $as_echo "$as_me: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&2;}
  7775     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
  7776 $as_echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
  7777     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&5
  7778 $as_echo "$as_me: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  7779     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
  7780 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
  7781     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
  7782 $as_echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
  7784     ;;
  7785 esac
  7786 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  7787 $as_echo_n "checking for GL/osmesa.h... " >&6; }
  7788 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  7789   $as_echo_n "(cached) " >&6
  7790 else
  7791   ac_cv_header_GL_osmesa_h=$ac_header_preproc
  7792 fi
  7793 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  7794 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
  7796 fi
  7797 if test $ac_cv_header_GL_osmesa_h = yes; then
  7799 else
  7800   { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
  7801 See \`config.log' for more details." >&5
  7802 $as_echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
  7803 See \`config.log' for more details." >&2;}
  7804    { (exit 1); exit 1; }; }
  7805 fi
  7808   HAVE_OSMESA='yes'
  7809   VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
  7811 cat >>confdefs.h <<\_ACEOF
  7812 #define HAVE_OSMESA 1
  7813 _ACEOF
  7815 else
  7818    if test "x$APPLE_BUILD" != 'xyes'; then
  7820 { $as_echo "$as_me:$LINENO: checking for glVertex3f in -lGL" >&5
  7821 $as_echo_n "checking for glVertex3f in -lGL... " >&6; }
  7822 if test "${ac_cv_lib_GL_glVertex3f+set}" = set; then
  7823   $as_echo_n "(cached) " >&6
  7824 else
  7825   ac_check_lib_save_LIBS=$LIBS
  7826 LIBS="-lGL  $LIBS"
  7827 cat >conftest.$ac_ext <<_ACEOF
  7828 /* confdefs.h.  */
  7829 _ACEOF
  7830 cat confdefs.h >>conftest.$ac_ext
  7831 cat >>conftest.$ac_ext <<_ACEOF
  7832 /* end confdefs.h.  */
  7834 /* Override any GCC internal prototype to avoid an error.
  7835    Use char because int might match the return type of a GCC
  7836    builtin and then its argument prototype would still apply.  */
  7837 #ifdef __cplusplus
  7838 extern "C"
  7839 #endif
  7840 char glVertex3f ();
  7841 int
  7842 main ()
  7844 return glVertex3f ();
  7846   return 0;
  7848 _ACEOF
  7849 rm -f conftest.$ac_objext conftest$ac_exeext
  7850 if { (ac_try="$ac_link"
  7851 case "(($ac_try" in
  7852   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7853   *) ac_try_echo=$ac_try;;
  7854 esac
  7855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7856 $as_echo "$ac_try_echo") >&5
  7857   (eval "$ac_link") 2>conftest.er1
  7858   ac_status=$?
  7859   grep -v '^ *+' conftest.er1 >conftest.err
  7860   rm -f conftest.er1
  7861   cat conftest.err >&5
  7862   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7863   (exit $ac_status); } && {
  7864 	 test -z "$ac_c_werror_flag" ||
  7865 	 test ! -s conftest.err
  7866        } && test -s conftest$ac_exeext && {
  7867 	 test "$cross_compiling" = yes ||
  7868 	 $as_test_x conftest$ac_exeext
  7869        }; then
  7870   ac_cv_lib_GL_glVertex3f=yes
  7871 else
  7872   $as_echo "$as_me: failed program was:" >&5
  7873 sed 's/^/| /' conftest.$ac_ext >&5
  7875 	ac_cv_lib_GL_glVertex3f=no
  7876 fi
  7878 rm -rf conftest.dSYM
  7879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  7880       conftest$ac_exeext conftest.$ac_ext
  7881 LIBS=$ac_check_lib_save_LIBS
  7882 fi
  7883 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glVertex3f" >&5
  7884 $as_echo "$ac_cv_lib_GL_glVertex3f" >&6; }
  7885 if test $ac_cv_lib_GL_glVertex3f = yes; then
  7886   cat >>confdefs.h <<_ACEOF
  7887 #define HAVE_LIBGL 1
  7888 _ACEOF
  7890   LIBS="-lGL $LIBS"
  7892 else
  7894           { { $as_echo "$as_me:$LINENO: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
  7895 See \`config.log' for more details." >&5
  7896 $as_echo "$as_me: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
  7897 See \`config.log' for more details." >&2;}
  7898    { (exit 1); exit 1; }; }
  7899 fi
  7901       if test "${ac_cv_header_GL_gl_h+set}" = set; then
  7902   { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  7903 $as_echo_n "checking for GL/gl.h... " >&6; }
  7904 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  7905   $as_echo_n "(cached) " >&6
  7906 fi
  7907 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  7908 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
  7909 else
  7910   # Is the header compilable?
  7911 { $as_echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
  7912 $as_echo_n "checking GL/gl.h usability... " >&6; }
  7913 cat >conftest.$ac_ext <<_ACEOF
  7914 /* confdefs.h.  */
  7915 _ACEOF
  7916 cat confdefs.h >>conftest.$ac_ext
  7917 cat >>conftest.$ac_ext <<_ACEOF
  7918 /* end confdefs.h.  */
  7919 $ac_includes_default
  7920 #include <GL/gl.h>
  7921 _ACEOF
  7922 rm -f conftest.$ac_objext
  7923 if { (ac_try="$ac_compile"
  7924 case "(($ac_try" in
  7925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7926   *) ac_try_echo=$ac_try;;
  7927 esac
  7928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7929 $as_echo "$ac_try_echo") >&5
  7930   (eval "$ac_compile") 2>conftest.er1
  7931   ac_status=$?
  7932   grep -v '^ *+' conftest.er1 >conftest.err
  7933   rm -f conftest.er1
  7934   cat conftest.err >&5
  7935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7936   (exit $ac_status); } && {
  7937 	 test -z "$ac_c_werror_flag" ||
  7938 	 test ! -s conftest.err
  7939        } && test -s conftest.$ac_objext; then
  7940   ac_header_compiler=yes
  7941 else
  7942   $as_echo "$as_me: failed program was:" >&5
  7943 sed 's/^/| /' conftest.$ac_ext >&5
  7945 	ac_header_compiler=no
  7946 fi
  7948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7949 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  7950 $as_echo "$ac_header_compiler" >&6; }
  7952 # Is the header present?
  7953 { $as_echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
  7954 $as_echo_n "checking GL/gl.h presence... " >&6; }
  7955 cat >conftest.$ac_ext <<_ACEOF
  7956 /* confdefs.h.  */
  7957 _ACEOF
  7958 cat confdefs.h >>conftest.$ac_ext
  7959 cat >>conftest.$ac_ext <<_ACEOF
  7960 /* end confdefs.h.  */
  7961 #include <GL/gl.h>
  7962 _ACEOF
  7963 if { (ac_try="$ac_cpp conftest.$ac_ext"
  7964 case "(($ac_try" in
  7965   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7966   *) ac_try_echo=$ac_try;;
  7967 esac
  7968 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7969 $as_echo "$ac_try_echo") >&5
  7970   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7971   ac_status=$?
  7972   grep -v '^ *+' conftest.er1 >conftest.err
  7973   rm -f conftest.er1
  7974   cat conftest.err >&5
  7975   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7976   (exit $ac_status); } >/dev/null && {
  7977 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  7978 	 test ! -s conftest.err
  7979        }; then
  7980   ac_header_preproc=yes
  7981 else
  7982   $as_echo "$as_me: failed program was:" >&5
  7983 sed 's/^/| /' conftest.$ac_ext >&5
  7985   ac_header_preproc=no
  7986 fi
  7988 rm -f conftest.err conftest.$ac_ext
  7989 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  7990 $as_echo "$ac_header_preproc" >&6; }
  7992 # So?  What about this header?
  7993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  7994   yes:no: )
  7995     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  7996 $as_echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  7997     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
  7998 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
  7999     ac_header_preproc=yes
  8000     ;;
  8001   no:yes:* )
  8002     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
  8003 $as_echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
  8004     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&5
  8005 $as_echo "$as_me: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&2;}
  8006     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
  8007 $as_echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
  8008     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&5
  8009 $as_echo "$as_me: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  8010     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
  8011 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
  8012     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
  8013 $as_echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
  8015     ;;
  8016 esac
  8017 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  8018 $as_echo_n "checking for GL/gl.h... " >&6; }
  8019 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  8020   $as_echo_n "(cached) " >&6
  8021 else
  8022   ac_cv_header_GL_gl_h=$ac_header_preproc
  8023 fi
  8024 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  8025 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
  8027 fi
  8028 if test $ac_cv_header_GL_gl_h = yes; then
  8030 else
  8032           { { $as_echo "$as_me:$LINENO: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
  8033 See \`config.log' for more details." >&5
  8034 $as_echo "$as_me: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
  8035 See \`config.log' for more details." >&2;}
  8036    { (exit 1); exit 1; }; }
  8037 fi
  8040    else
  8041       { $as_echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
  8042 $as_echo_n "checking for NSOpenGLGetVersion... " >&6; }
  8043 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
  8044   $as_echo_n "(cached) " >&6
  8045 else
  8046   cat >conftest.$ac_ext <<_ACEOF
  8047 /* confdefs.h.  */
  8048 _ACEOF
  8049 cat confdefs.h >>conftest.$ac_ext
  8050 cat >>conftest.$ac_ext <<_ACEOF
  8051 /* end confdefs.h.  */
  8052 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
  8053    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8054 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
  8056 /* System header to define __stub macros and hopefully few prototypes,
  8057     which can conflict with char NSOpenGLGetVersion (); below.
  8058     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8059     <limits.h> exists even on freestanding compilers.  */
  8061 #ifdef __STDC__
  8062 # include <limits.h>
  8063 #else
  8064 # include <assert.h>
  8065 #endif
  8067 #undef NSOpenGLGetVersion
  8069 /* Override any GCC internal prototype to avoid an error.
  8070    Use char because int might match the return type of a GCC
  8071    builtin and then its argument prototype would still apply.  */
  8072 #ifdef __cplusplus
  8073 extern "C"
  8074 #endif
  8075 char NSOpenGLGetVersion ();
  8076 /* The GNU C library defines this for functions which it implements
  8077     to always fail with ENOSYS.  Some functions are actually named
  8078     something starting with __ and the normal name is an alias.  */
  8079 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
  8080 choke me
  8081 #endif
  8083 int
  8084 main ()
  8086 return NSOpenGLGetVersion ();
  8088   return 0;
  8090 _ACEOF
  8091 rm -f conftest.$ac_objext conftest$ac_exeext
  8092 if { (ac_try="$ac_link"
  8093 case "(($ac_try" in
  8094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8095   *) ac_try_echo=$ac_try;;
  8096 esac
  8097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8098 $as_echo "$ac_try_echo") >&5
  8099   (eval "$ac_link") 2>conftest.er1
  8100   ac_status=$?
  8101   grep -v '^ *+' conftest.er1 >conftest.err
  8102   rm -f conftest.er1
  8103   cat conftest.err >&5
  8104   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8105   (exit $ac_status); } && {
  8106 	 test -z "$ac_c_werror_flag" ||
  8107 	 test ! -s conftest.err
  8108        } && test -s conftest$ac_exeext && {
  8109 	 test "$cross_compiling" = yes ||
  8110 	 $as_test_x conftest$ac_exeext
  8111        }; then
  8112   ac_cv_func_NSOpenGLGetVersion=yes
  8113 else
  8114   $as_echo "$as_me: failed program was:" >&5
  8115 sed 's/^/| /' conftest.$ac_ext >&5
  8117 	ac_cv_func_NSOpenGLGetVersion=no
  8118 fi
  8120 rm -rf conftest.dSYM
  8121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8122       conftest$ac_exeext conftest.$ac_ext
  8123 fi
  8124 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
  8125 $as_echo "$ac_cv_func_NSOpenGLGetVersion" >&6; }
  8126 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
  8128          HAVE_NSGL='yes'
  8129          VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
  8131 cat >>confdefs.h <<\_ACEOF
  8132 #define HAVE_NSGL 1
  8133 _ACEOF
  8135 fi
  8137    fi
  8139    if test "x$HAVE_GTK_X11" = "xyes"; then
  8140       if test "x$APPLE_BUILD" = "xyes"; then
  8141          LIBS="$LIBS -L/usr/X11/lib -lGL"
  8142       fi
  8143       { $as_echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
  8144 $as_echo_n "checking for glXQueryVersion... " >&6; }
  8145 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
  8146   $as_echo_n "(cached) " >&6
  8147 else
  8148   cat >conftest.$ac_ext <<_ACEOF
  8149 /* confdefs.h.  */
  8150 _ACEOF
  8151 cat confdefs.h >>conftest.$ac_ext
  8152 cat >>conftest.$ac_ext <<_ACEOF
  8153 /* end confdefs.h.  */
  8154 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
  8155    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8156 #define glXQueryVersion innocuous_glXQueryVersion
  8158 /* System header to define __stub macros and hopefully few prototypes,
  8159     which can conflict with char glXQueryVersion (); below.
  8160     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8161     <limits.h> exists even on freestanding compilers.  */
  8163 #ifdef __STDC__
  8164 # include <limits.h>
  8165 #else
  8166 # include <assert.h>
  8167 #endif
  8169 #undef glXQueryVersion
  8171 /* Override any GCC internal prototype to avoid an error.
  8172    Use char because int might match the return type of a GCC
  8173    builtin and then its argument prototype would still apply.  */
  8174 #ifdef __cplusplus
  8175 extern "C"
  8176 #endif
  8177 char glXQueryVersion ();
  8178 /* The GNU C library defines this for functions which it implements
  8179     to always fail with ENOSYS.  Some functions are actually named
  8180     something starting with __ and the normal name is an alias.  */
  8181 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
  8182 choke me
  8183 #endif
  8185 int
  8186 main ()
  8188 return glXQueryVersion ();
  8190   return 0;
  8192 _ACEOF
  8193 rm -f conftest.$ac_objext conftest$ac_exeext
  8194 if { (ac_try="$ac_link"
  8195 case "(($ac_try" in
  8196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8197   *) ac_try_echo=$ac_try;;
  8198 esac
  8199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8200 $as_echo "$ac_try_echo") >&5
  8201   (eval "$ac_link") 2>conftest.er1
  8202   ac_status=$?
  8203   grep -v '^ *+' conftest.er1 >conftest.err
  8204   rm -f conftest.er1
  8205   cat conftest.err >&5
  8206   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8207   (exit $ac_status); } && {
  8208 	 test -z "$ac_c_werror_flag" ||
  8209 	 test ! -s conftest.err
  8210        } && test -s conftest$ac_exeext && {
  8211 	 test "$cross_compiling" = yes ||
  8212 	 $as_test_x conftest$ac_exeext
  8213        }; then
  8214   ac_cv_func_glXQueryVersion=yes
  8215 else
  8216   $as_echo "$as_me: failed program was:" >&5
  8217 sed 's/^/| /' conftest.$ac_ext >&5
  8219 	ac_cv_func_glXQueryVersion=no
  8220 fi
  8222 rm -rf conftest.dSYM
  8223 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8224       conftest$ac_exeext conftest.$ac_ext
  8225 fi
  8226 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
  8227 $as_echo "$ac_cv_func_glXQueryVersion" >&6; }
  8228 if test $ac_cv_func_glXQueryVersion = yes; then
  8230          HAVE_GLX='yes'
  8231          VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
  8233 cat >>confdefs.h <<\_ACEOF
  8234 #define HAVE_GLX 1
  8235 _ACEOF
  8237 fi
  8239    fi
  8242 fi
  8249 if test "x$HAVE_OSMESA" = "xyes"; then
  8250   VIDEO_OSMESA_TRUE=
  8251   VIDEO_OSMESA_FALSE='#'
  8252 else
  8253   VIDEO_OSMESA_TRUE='#'
  8254   VIDEO_OSMESA_FALSE=
  8255 fi
  8259 if test "x$HAVE_GLX" = "xyes"; then
  8260   VIDEO_GLX_TRUE=
  8261   VIDEO_GLX_FALSE='#'
  8262 else
  8263   VIDEO_GLX_TRUE='#'
  8264   VIDEO_GLX_FALSE=
  8265 fi
  8269 if test "x$HAVE_NSGL" = "xyes"; then
  8270   VIDEO_NSGL_TRUE=
  8271   VIDEO_NSGL_FALSE='#'
  8272 else
  8273   VIDEO_NSGL_TRUE='#'
  8274   VIDEO_NSGL_FALSE=
  8275 fi
  8278 { $as_echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
  8279 $as_echo_n "checking for glGenFramebuffersEXT... " >&6; }
  8280 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
  8281   $as_echo_n "(cached) " >&6
  8282 else
  8283   cat >conftest.$ac_ext <<_ACEOF
  8284 /* confdefs.h.  */
  8285 _ACEOF
  8286 cat confdefs.h >>conftest.$ac_ext
  8287 cat >>conftest.$ac_ext <<_ACEOF
  8288 /* end confdefs.h.  */
  8289 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
  8290    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8291 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
  8293 /* System header to define __stub macros and hopefully few prototypes,
  8294     which can conflict with char glGenFramebuffersEXT (); below.
  8295     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8296     <limits.h> exists even on freestanding compilers.  */
  8298 #ifdef __STDC__
  8299 # include <limits.h>
  8300 #else
  8301 # include <assert.h>
  8302 #endif
  8304 #undef glGenFramebuffersEXT
  8306 /* Override any GCC internal prototype to avoid an error.
  8307    Use char because int might match the return type of a GCC
  8308    builtin and then its argument prototype would still apply.  */
  8309 #ifdef __cplusplus
  8310 extern "C"
  8311 #endif
  8312 char glGenFramebuffersEXT ();
  8313 /* The GNU C library defines this for functions which it implements
  8314     to always fail with ENOSYS.  Some functions are actually named
  8315     something starting with __ and the normal name is an alias.  */
  8316 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
  8317 choke me
  8318 #endif
  8320 int
  8321 main ()
  8323 return glGenFramebuffersEXT ();
  8325   return 0;
  8327 _ACEOF
  8328 rm -f conftest.$ac_objext conftest$ac_exeext
  8329 if { (ac_try="$ac_link"
  8330 case "(($ac_try" in
  8331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8332   *) ac_try_echo=$ac_try;;
  8333 esac
  8334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8335 $as_echo "$ac_try_echo") >&5
  8336   (eval "$ac_link") 2>conftest.er1
  8337   ac_status=$?
  8338   grep -v '^ *+' conftest.er1 >conftest.err
  8339   rm -f conftest.er1
  8340   cat conftest.err >&5
  8341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8342   (exit $ac_status); } && {
  8343 	 test -z "$ac_c_werror_flag" ||
  8344 	 test ! -s conftest.err
  8345        } && test -s conftest$ac_exeext && {
  8346 	 test "$cross_compiling" = yes ||
  8347 	 $as_test_x conftest$ac_exeext
  8348        }; then
  8349   ac_cv_func_glGenFramebuffersEXT=yes
  8350 else
  8351   $as_echo "$as_me: failed program was:" >&5
  8352 sed 's/^/| /' conftest.$ac_ext >&5
  8354 	ac_cv_func_glGenFramebuffersEXT=no
  8355 fi
  8357 rm -rf conftest.dSYM
  8358 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8359       conftest$ac_exeext conftest.$ac_ext
  8360 fi
  8361 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
  8362 $as_echo "$ac_cv_func_glGenFramebuffersEXT" >&6; }
  8363 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
  8365 cat >>confdefs.h <<\_ACEOF
  8366 #define HAVE_OPENGL_FBO 1
  8367 _ACEOF
  8369 fi
  8371 { $as_echo "$as_me:$LINENO: checking for glCreateShader" >&5
  8372 $as_echo_n "checking for glCreateShader... " >&6; }
  8373 if test "${ac_cv_func_glCreateShader+set}" = set; then
  8374   $as_echo_n "(cached) " >&6
  8375 else
  8376   cat >conftest.$ac_ext <<_ACEOF
  8377 /* confdefs.h.  */
  8378 _ACEOF
  8379 cat confdefs.h >>conftest.$ac_ext
  8380 cat >>conftest.$ac_ext <<_ACEOF
  8381 /* end confdefs.h.  */
  8382 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
  8383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8384 #define glCreateShader innocuous_glCreateShader
  8386 /* System header to define __stub macros and hopefully few prototypes,
  8387     which can conflict with char glCreateShader (); below.
  8388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8389     <limits.h> exists even on freestanding compilers.  */
  8391 #ifdef __STDC__
  8392 # include <limits.h>
  8393 #else
  8394 # include <assert.h>
  8395 #endif
  8397 #undef glCreateShader
  8399 /* Override any GCC internal prototype to avoid an error.
  8400    Use char because int might match the return type of a GCC
  8401    builtin and then its argument prototype would still apply.  */
  8402 #ifdef __cplusplus
  8403 extern "C"
  8404 #endif
  8405 char glCreateShader ();
  8406 /* The GNU C library defines this for functions which it implements
  8407     to always fail with ENOSYS.  Some functions are actually named
  8408     something starting with __ and the normal name is an alias.  */
  8409 #if defined __stub_glCreateShader || defined __stub___glCreateShader
  8410 choke me
  8411 #endif
  8413 int
  8414 main ()
  8416 return glCreateShader ();
  8418   return 0;
  8420 _ACEOF
  8421 rm -f conftest.$ac_objext conftest$ac_exeext
  8422 if { (ac_try="$ac_link"
  8423 case "(($ac_try" in
  8424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8425   *) ac_try_echo=$ac_try;;
  8426 esac
  8427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8428 $as_echo "$ac_try_echo") >&5
  8429   (eval "$ac_link") 2>conftest.er1
  8430   ac_status=$?
  8431   grep -v '^ *+' conftest.er1 >conftest.err
  8432   rm -f conftest.er1
  8433   cat conftest.err >&5
  8434   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8435   (exit $ac_status); } && {
  8436 	 test -z "$ac_c_werror_flag" ||
  8437 	 test ! -s conftest.err
  8438        } && test -s conftest$ac_exeext && {
  8439 	 test "$cross_compiling" = yes ||
  8440 	 $as_test_x conftest$ac_exeext
  8441        }; then
  8442   ac_cv_func_glCreateShader=yes
  8443 else
  8444   $as_echo "$as_me: failed program was:" >&5
  8445 sed 's/^/| /' conftest.$ac_ext >&5
  8447 	ac_cv_func_glCreateShader=no
  8448 fi
  8450 rm -rf conftest.dSYM
  8451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8452       conftest$ac_exeext conftest.$ac_ext
  8453 fi
  8454 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
  8455 $as_echo "$ac_cv_func_glCreateShader" >&6; }
  8456 if test $ac_cv_func_glCreateShader = yes; then
  8458 cat >>confdefs.h <<\_ACEOF
  8459 #define HAVE_OPENGL_SHADER 1
  8460 _ACEOF
  8462 fi
  8464 { $as_echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
  8465 $as_echo_n "checking for glCreateShaderObjectARB... " >&6; }
  8466 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
  8467   $as_echo_n "(cached) " >&6
  8468 else
  8469   cat >conftest.$ac_ext <<_ACEOF
  8470 /* confdefs.h.  */
  8471 _ACEOF
  8472 cat confdefs.h >>conftest.$ac_ext
  8473 cat >>conftest.$ac_ext <<_ACEOF
  8474 /* end confdefs.h.  */
  8475 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
  8476    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8477 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
  8479 /* System header to define __stub macros and hopefully few prototypes,
  8480     which can conflict with char glCreateShaderObjectARB (); below.
  8481     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8482     <limits.h> exists even on freestanding compilers.  */
  8484 #ifdef __STDC__
  8485 # include <limits.h>
  8486 #else
  8487 # include <assert.h>
  8488 #endif
  8490 #undef glCreateShaderObjectARB
  8492 /* Override any GCC internal prototype to avoid an error.
  8493    Use char because int might match the return type of a GCC
  8494    builtin and then its argument prototype would still apply.  */
  8495 #ifdef __cplusplus
  8496 extern "C"
  8497 #endif
  8498 char glCreateShaderObjectARB ();
  8499 /* The GNU C library defines this for functions which it implements
  8500     to always fail with ENOSYS.  Some functions are actually named
  8501     something starting with __ and the normal name is an alias.  */
  8502 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
  8503 choke me
  8504 #endif
  8506 int
  8507 main ()
  8509 return glCreateShaderObjectARB ();
  8511   return 0;
  8513 _ACEOF
  8514 rm -f conftest.$ac_objext conftest$ac_exeext
  8515 if { (ac_try="$ac_link"
  8516 case "(($ac_try" in
  8517   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8518   *) ac_try_echo=$ac_try;;
  8519 esac
  8520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8521 $as_echo "$ac_try_echo") >&5
  8522   (eval "$ac_link") 2>conftest.er1
  8523   ac_status=$?
  8524   grep -v '^ *+' conftest.er1 >conftest.err
  8525   rm -f conftest.er1
  8526   cat conftest.err >&5
  8527   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8528   (exit $ac_status); } && {
  8529 	 test -z "$ac_c_werror_flag" ||
  8530 	 test ! -s conftest.err
  8531        } && test -s conftest$ac_exeext && {
  8532 	 test "$cross_compiling" = yes ||
  8533 	 $as_test_x conftest$ac_exeext
  8534        }; then
  8535   ac_cv_func_glCreateShaderObjectARB=yes
  8536 else
  8537   $as_echo "$as_me: failed program was:" >&5
  8538 sed 's/^/| /' conftest.$ac_ext >&5
  8540 	ac_cv_func_glCreateShaderObjectARB=no
  8541 fi
  8543 rm -rf conftest.dSYM
  8544 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8545       conftest$ac_exeext conftest.$ac_ext
  8546 fi
  8547 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
  8548 $as_echo "$ac_cv_func_glCreateShaderObjectARB" >&6; }
  8549 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
  8551 cat >>confdefs.h <<\_ACEOF
  8552 #define HAVE_OPENGL_SHADER_ARB 1
  8553 _ACEOF
  8555 fi
  8557 { $as_echo "$as_me:$LINENO: checking for glClampColorARB" >&5
  8558 $as_echo_n "checking for glClampColorARB... " >&6; }
  8559 if test "${ac_cv_func_glClampColorARB+set}" = set; then
  8560   $as_echo_n "(cached) " >&6
  8561 else
  8562   cat >conftest.$ac_ext <<_ACEOF
  8563 /* confdefs.h.  */
  8564 _ACEOF
  8565 cat confdefs.h >>conftest.$ac_ext
  8566 cat >>conftest.$ac_ext <<_ACEOF
  8567 /* end confdefs.h.  */
  8568 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
  8569    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8570 #define glClampColorARB innocuous_glClampColorARB
  8572 /* System header to define __stub macros and hopefully few prototypes,
  8573     which can conflict with char glClampColorARB (); below.
  8574     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8575     <limits.h> exists even on freestanding compilers.  */
  8577 #ifdef __STDC__
  8578 # include <limits.h>
  8579 #else
  8580 # include <assert.h>
  8581 #endif
  8583 #undef glClampColorARB
  8585 /* Override any GCC internal prototype to avoid an error.
  8586    Use char because int might match the return type of a GCC
  8587    builtin and then its argument prototype would still apply.  */
  8588 #ifdef __cplusplus
  8589 extern "C"
  8590 #endif
  8591 char glClampColorARB ();
  8592 /* The GNU C library defines this for functions which it implements
  8593     to always fail with ENOSYS.  Some functions are actually named
  8594     something starting with __ and the normal name is an alias.  */
  8595 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
  8596 choke me
  8597 #endif
  8599 int
  8600 main ()
  8602 return glClampColorARB ();
  8604   return 0;
  8606 _ACEOF
  8607 rm -f conftest.$ac_objext conftest$ac_exeext
  8608 if { (ac_try="$ac_link"
  8609 case "(($ac_try" in
  8610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8611   *) ac_try_echo=$ac_try;;
  8612 esac
  8613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8614 $as_echo "$ac_try_echo") >&5
  8615   (eval "$ac_link") 2>conftest.er1
  8616   ac_status=$?
  8617   grep -v '^ *+' conftest.er1 >conftest.err
  8618   rm -f conftest.er1
  8619   cat conftest.err >&5
  8620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8621   (exit $ac_status); } && {
  8622 	 test -z "$ac_c_werror_flag" ||
  8623 	 test ! -s conftest.err
  8624        } && test -s conftest$ac_exeext && {
  8625 	 test "$cross_compiling" = yes ||
  8626 	 $as_test_x conftest$ac_exeext
  8627        }; then
  8628   ac_cv_func_glClampColorARB=yes
  8629 else
  8630   $as_echo "$as_me: failed program was:" >&5
  8631 sed 's/^/| /' conftest.$ac_ext >&5
  8633 	ac_cv_func_glClampColorARB=no
  8634 fi
  8636 rm -rf conftest.dSYM
  8637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8638       conftest$ac_exeext conftest.$ac_ext
  8639 fi
  8640 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
  8641 $as_echo "$ac_cv_func_glClampColorARB" >&6; }
  8642 if test $ac_cv_func_glClampColorARB = yes; then
  8644 cat >>confdefs.h <<\_ACEOF
  8645 #define HAVE_OPENGL_CLAMP_COLOR 1
  8646 _ACEOF
  8648 fi
  8653 if test "x$enable_translator" != "xno"; then
  8654     case $host_cpu in
  8655         i386|i486|i586|i686|x86_64)
  8656 	    SH4_TRANSLATOR="x86"
  8658 cat >>confdefs.h <<_ACEOF
  8659 #define SH4_TRANSLATOR TARGET_X86
  8660 _ACEOF
  8661 ;;
  8662     esac
  8663 fi
  8666 if test "$SH4_TRANSLATOR" = "x86"; then
  8667   BUILD_SH4X86_TRUE=
  8668   BUILD_SH4X86_FALSE='#'
  8669 else
  8670   BUILD_SH4X86_TRUE='#'
  8671   BUILD_SH4X86_FALSE=
  8672 fi
  8675 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  8676   { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
  8677 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
  8678 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  8679   $as_echo_n "(cached) " >&6
  8680 fi
  8681 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
  8682 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
  8683 else
  8684   # Is the header compilable?
  8685 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
  8686 $as_echo_n "checking CoreAudio/CoreAudio.h usability... " >&6; }
  8687 cat >conftest.$ac_ext <<_ACEOF
  8688 /* confdefs.h.  */
  8689 _ACEOF
  8690 cat confdefs.h >>conftest.$ac_ext
  8691 cat >>conftest.$ac_ext <<_ACEOF
  8692 /* end confdefs.h.  */
  8693 $ac_includes_default
  8694 #include <CoreAudio/CoreAudio.h>
  8695 _ACEOF
  8696 rm -f conftest.$ac_objext
  8697 if { (ac_try="$ac_compile"
  8698 case "(($ac_try" in
  8699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8700   *) ac_try_echo=$ac_try;;
  8701 esac
  8702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8703 $as_echo "$ac_try_echo") >&5
  8704   (eval "$ac_compile") 2>conftest.er1
  8705   ac_status=$?
  8706   grep -v '^ *+' conftest.er1 >conftest.err
  8707   rm -f conftest.er1
  8708   cat conftest.err >&5
  8709   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8710   (exit $ac_status); } && {
  8711 	 test -z "$ac_c_werror_flag" ||
  8712 	 test ! -s conftest.err
  8713        } && test -s conftest.$ac_objext; then
  8714   ac_header_compiler=yes
  8715 else
  8716   $as_echo "$as_me: failed program was:" >&5
  8717 sed 's/^/| /' conftest.$ac_ext >&5
  8719 	ac_header_compiler=no
  8720 fi
  8722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8723 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8724 $as_echo "$ac_header_compiler" >&6; }
  8726 # Is the header present?
  8727 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
  8728 $as_echo_n "checking CoreAudio/CoreAudio.h presence... " >&6; }
  8729 cat >conftest.$ac_ext <<_ACEOF
  8730 /* confdefs.h.  */
  8731 _ACEOF
  8732 cat confdefs.h >>conftest.$ac_ext
  8733 cat >>conftest.$ac_ext <<_ACEOF
  8734 /* end confdefs.h.  */
  8735 #include <CoreAudio/CoreAudio.h>
  8736 _ACEOF
  8737 if { (ac_try="$ac_cpp conftest.$ac_ext"
  8738 case "(($ac_try" in
  8739   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8740   *) ac_try_echo=$ac_try;;
  8741 esac
  8742 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8743 $as_echo "$ac_try_echo") >&5
  8744   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8745   ac_status=$?
  8746   grep -v '^ *+' conftest.er1 >conftest.err
  8747   rm -f conftest.er1
  8748   cat conftest.err >&5
  8749   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8750   (exit $ac_status); } >/dev/null && {
  8751 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8752 	 test ! -s conftest.err
  8753        }; then
  8754   ac_header_preproc=yes
  8755 else
  8756   $as_echo "$as_me: failed program was:" >&5
  8757 sed 's/^/| /' conftest.$ac_ext >&5
  8759   ac_header_preproc=no
  8760 fi
  8762 rm -f conftest.err conftest.$ac_ext
  8763 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8764 $as_echo "$ac_header_preproc" >&6; }
  8766 # So?  What about this header?
  8767 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8768   yes:no: )
  8769     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8770 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8771     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
  8772 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
  8773     ac_header_preproc=yes
  8774     ;;
  8775   no:yes:* )
  8776     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
  8777 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
  8778     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
  8779 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
  8780     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
  8781 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
  8782     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
  8783 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  8784     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
  8785 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
  8786     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
  8787 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
  8789     ;;
  8790 esac
  8791 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
  8792 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
  8793 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  8794   $as_echo_n "(cached) " >&6
  8795 else
  8796   ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
  8797 fi
  8798 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
  8799 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
  8801 fi
  8802 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
  8804      HAVE_CORE_AUDIO=yes
  8805      LIBS="$LIBS -framework CoreAudio"
  8806      AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
  8808 cat >>confdefs.h <<\_ACEOF
  8809 #define HAVE_CORE_AUDIO 1
  8810 _ACEOF
  8812 else
  8813   true
  8814 fi
  8819 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
  8820   AUDIO_OSX_TRUE=
  8821   AUDIO_OSX_FALSE='#'
  8822 else
  8823   AUDIO_OSX_TRUE='#'
  8824   AUDIO_OSX_FALSE=
  8825 fi
  8828 if test "x$with_pulse" != "xno"; then
  8830 pkg_failed=no
  8831 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
  8832 $as_echo_n "checking for PULSE... " >&6; }
  8834 if test -n "$PKG_CONFIG"; then
  8835     if test -n "$PULSE_CFLAGS"; then
  8836         pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
  8837     else
  8838         if test -n "$PKG_CONFIG" && \
  8839     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
  8840   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
  8841   ac_status=$?
  8842   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8843   (exit $ac_status); }; then
  8844   pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
  8845 else
  8846   pkg_failed=yes
  8847 fi
  8848     fi
  8849 else
  8850 	pkg_failed=untried
  8851 fi
  8852 if test -n "$PKG_CONFIG"; then
  8853     if test -n "$PULSE_LIBS"; then
  8854         pkg_cv_PULSE_LIBS="$PULSE_LIBS"
  8855     else
  8856         if test -n "$PKG_CONFIG" && \
  8857     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
  8858   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
  8859   ac_status=$?
  8860   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8861   (exit $ac_status); }; then
  8862   pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
  8863 else
  8864   pkg_failed=yes
  8865 fi
  8866     fi
  8867 else
  8868 	pkg_failed=untried
  8869 fi
  8873 if test $pkg_failed = yes; then
  8875 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8876         _pkg_short_errors_supported=yes
  8877 else
  8878         _pkg_short_errors_supported=no
  8879 fi
  8880         if test $_pkg_short_errors_supported = yes; then
  8881 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libpulse-simple"`
  8882         else
  8883 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libpulse-simple"`
  8884         fi
  8885 	# Put the nasty error message in config.log where it belongs
  8886 	echo "$PULSE_PKG_ERRORS" >&5
  8888 	{ $as_echo "$as_me:$LINENO: result: no" >&5
  8889 $as_echo "no" >&6; }
  8891        if test "x$with_pulse" = "xyes"; then
  8892           { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
  8893 See \`config.log' for more details." >&5
  8894 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
  8895 See \`config.log' for more details." >&2;}
  8896    { (exit 1); exit 1; }; }
  8897        fi
  8899 elif test $pkg_failed = untried; then
  8901        if test "x$with_pulse" = "xyes"; then
  8902           { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
  8903 See \`config.log' for more details." >&5
  8904 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
  8905 See \`config.log' for more details." >&2;}
  8906    { (exit 1); exit 1; }; }
  8907        fi
  8909 else
  8910 	PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
  8911 	PULSE_LIBS=$pkg_cv_PULSE_LIBS
  8912         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8913 $as_echo "yes" >&6; }
  8915        HAVE_PULSE='yes'
  8916        AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
  8918 cat >>confdefs.h <<\_ACEOF
  8919 #define HAVE_PULSE 1
  8920 _ACEOF
  8923 fi
  8924 fi
  8927 if test "$HAVE_PULSE" = 'yes' ; then
  8928   AUDIO_PULSE_TRUE=
  8929   AUDIO_PULSE_FALSE='#'
  8930 else
  8931   AUDIO_PULSE_TRUE='#'
  8932   AUDIO_PULSE_FALSE=
  8933 fi
  8936 if test "x$with_esd" != "xno"; then
  8938 pkg_failed=no
  8939 { $as_echo "$as_me:$LINENO: checking for ESOUND" >&5
  8940 $as_echo_n "checking for ESOUND... " >&6; }
  8942 if test -n "$PKG_CONFIG"; then
  8943     if test -n "$ESOUND_CFLAGS"; then
  8944         pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
  8945     else
  8946         if test -n "$PKG_CONFIG" && \
  8947     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  8948   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  8949   ac_status=$?
  8950   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8951   (exit $ac_status); }; then
  8952   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
  8953 else
  8954   pkg_failed=yes
  8955 fi
  8956     fi
  8957 else
  8958 	pkg_failed=untried
  8959 fi
  8960 if test -n "$PKG_CONFIG"; then
  8961     if test -n "$ESOUND_LIBS"; then
  8962         pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
  8963     else
  8964         if test -n "$PKG_CONFIG" && \
  8965     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  8966   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  8967   ac_status=$?
  8968   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8969   (exit $ac_status); }; then
  8970   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
  8971 else
  8972   pkg_failed=yes
  8973 fi
  8974     fi
  8975 else
  8976 	pkg_failed=untried
  8977 fi
  8981 if test $pkg_failed = yes; then
  8983 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8984         _pkg_short_errors_supported=yes
  8985 else
  8986         _pkg_short_errors_supported=no
  8987 fi
  8988         if test $_pkg_short_errors_supported = yes; then
  8989 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "esound"`
  8990         else
  8991 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "esound"`
  8992         fi
  8993 	# Put the nasty error message in config.log where it belongs
  8994 	echo "$ESOUND_PKG_ERRORS" >&5
  8996 	{ $as_echo "$as_me:$LINENO: result: no" >&5
  8997 $as_echo "no" >&6; }
  8999        if test "x$with_esd" = "xyes"; then
  9000           { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
  9001 See \`config.log' for more details." >&5
  9002 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
  9003 See \`config.log' for more details." >&2;}
  9004    { (exit 1); exit 1; }; }
  9005        fi
  9007 elif test $pkg_failed = untried; then
  9009        if test "x$with_esd" = "xyes"; then
  9010           { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
  9011 See \`config.log' for more details." >&5
  9012 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
  9013 See \`config.log' for more details." >&2;}
  9014    { (exit 1); exit 1; }; }
  9015        fi
  9017 else
  9018 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
  9019 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
  9020         { $as_echo "$as_me:$LINENO: result: yes" >&5
  9021 $as_echo "yes" >&6; }
  9023        HAVE_ESOUND='yes'
  9024        AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
  9026 cat >>confdefs.h <<\_ACEOF
  9027 #define HAVE_ESOUND 1
  9028 _ACEOF
  9031 fi
  9032 fi
  9035 if test "$HAVE_ESOUND" = 'yes' ; then
  9036   AUDIO_ESOUND_TRUE=
  9037   AUDIO_ESOUND_FALSE='#'
  9038 else
  9039   AUDIO_ESOUND_TRUE='#'
  9040   AUDIO_ESOUND_FALSE=
  9041 fi
  9045 pkg_failed=no
  9046 { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
  9047 $as_echo_n "checking for ALSA... " >&6; }
  9049 if test -n "$PKG_CONFIG"; then
  9050     if test -n "$ALSA_CFLAGS"; then
  9051         pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
  9052     else
  9053         if test -n "$PKG_CONFIG" && \
  9054     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
  9055   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
  9056   ac_status=$?
  9057   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9058   (exit $ac_status); }; then
  9059   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
  9060 else
  9061   pkg_failed=yes
  9062 fi
  9063     fi
  9064 else
  9065 	pkg_failed=untried
  9066 fi
  9067 if test -n "$PKG_CONFIG"; then
  9068     if test -n "$ALSA_LIBS"; then
  9069         pkg_cv_ALSA_LIBS="$ALSA_LIBS"
  9070     else
  9071         if test -n "$PKG_CONFIG" && \
  9072     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
  9073   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
  9074   ac_status=$?
  9075   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9076   (exit $ac_status); }; then
  9077   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
  9078 else
  9079   pkg_failed=yes
  9080 fi
  9081     fi
  9082 else
  9083 	pkg_failed=untried
  9084 fi
  9088 if test $pkg_failed = yes; then
  9090 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  9091         _pkg_short_errors_supported=yes
  9092 else
  9093         _pkg_short_errors_supported=no
  9094 fi
  9095         if test $_pkg_short_errors_supported = yes; then
  9096 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "alsa"`
  9097         else
  9098 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "alsa"`
  9099         fi
  9100 	# Put the nasty error message in config.log where it belongs
  9101 	echo "$ALSA_PKG_ERRORS" >&5
  9103 	{ $as_echo "$as_me:$LINENO: result: no" >&5
  9104 $as_echo "no" >&6; }
  9105                 true
  9106 elif test $pkg_failed = untried; then
  9107 	true
  9108 else
  9109 	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
  9110 	ALSA_LIBS=$pkg_cv_ALSA_LIBS
  9111         { $as_echo "$as_me:$LINENO: result: yes" >&5
  9112 $as_echo "yes" >&6; }
  9114      HAVE_ALSA='yes'
  9115      AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
  9117 cat >>confdefs.h <<\_ACEOF
  9118 #define HAVE_ALSA 1
  9119 _ACEOF
  9121 fi
  9124 if test "$HAVE_ALSA" = 'yes' ; then
  9125   AUDIO_ALSA_TRUE=
  9126   AUDIO_ALSA_FALSE='#'
  9127 else
  9128   AUDIO_ALSA_TRUE='#'
  9129   AUDIO_ALSA_FALSE=
  9130 fi
  9134 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  9135   { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  9136 $as_echo_n "checking for linux/cdrom.h... " >&6; }
  9137 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  9138   $as_echo_n "(cached) " >&6
  9139 fi
  9140 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  9141 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
  9142 else
  9143   # Is the header compilable?
  9144 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
  9145 $as_echo_n "checking linux/cdrom.h usability... " >&6; }
  9146 cat >conftest.$ac_ext <<_ACEOF
  9147 /* confdefs.h.  */
  9148 _ACEOF
  9149 cat confdefs.h >>conftest.$ac_ext
  9150 cat >>conftest.$ac_ext <<_ACEOF
  9151 /* end confdefs.h.  */
  9152 $ac_includes_default
  9153 #include <linux/cdrom.h>
  9154 _ACEOF
  9155 rm -f conftest.$ac_objext
  9156 if { (ac_try="$ac_compile"
  9157 case "(($ac_try" in
  9158   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9159   *) ac_try_echo=$ac_try;;
  9160 esac
  9161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9162 $as_echo "$ac_try_echo") >&5
  9163   (eval "$ac_compile") 2>conftest.er1
  9164   ac_status=$?
  9165   grep -v '^ *+' conftest.er1 >conftest.err
  9166   rm -f conftest.er1
  9167   cat conftest.err >&5
  9168   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9169   (exit $ac_status); } && {
  9170 	 test -z "$ac_c_werror_flag" ||
  9171 	 test ! -s conftest.err
  9172        } && test -s conftest.$ac_objext; then
  9173   ac_header_compiler=yes
  9174 else
  9175   $as_echo "$as_me: failed program was:" >&5
  9176 sed 's/^/| /' conftest.$ac_ext >&5
  9178 	ac_header_compiler=no
  9179 fi
  9181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9182 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9183 $as_echo "$ac_header_compiler" >&6; }
  9185 # Is the header present?
  9186 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
  9187 $as_echo_n "checking linux/cdrom.h presence... " >&6; }
  9188 cat >conftest.$ac_ext <<_ACEOF
  9189 /* confdefs.h.  */
  9190 _ACEOF
  9191 cat confdefs.h >>conftest.$ac_ext
  9192 cat >>conftest.$ac_ext <<_ACEOF
  9193 /* end confdefs.h.  */
  9194 #include <linux/cdrom.h>
  9195 _ACEOF
  9196 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9197 case "(($ac_try" in
  9198   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9199   *) ac_try_echo=$ac_try;;
  9200 esac
  9201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9202 $as_echo "$ac_try_echo") >&5
  9203   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9204   ac_status=$?
  9205   grep -v '^ *+' conftest.er1 >conftest.err
  9206   rm -f conftest.er1
  9207   cat conftest.err >&5
  9208   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9209   (exit $ac_status); } >/dev/null && {
  9210 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9211 	 test ! -s conftest.err
  9212        }; then
  9213   ac_header_preproc=yes
  9214 else
  9215   $as_echo "$as_me: failed program was:" >&5
  9216 sed 's/^/| /' conftest.$ac_ext >&5
  9218   ac_header_preproc=no
  9219 fi
  9221 rm -f conftest.err conftest.$ac_ext
  9222 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9223 $as_echo "$ac_header_preproc" >&6; }
  9225 # So?  What about this header?
  9226 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9227   yes:no: )
  9228     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9229 $as_echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9230     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
  9231 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
  9232     ac_header_preproc=yes
  9233     ;;
  9234   no:yes:* )
  9235     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
  9236 $as_echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
  9237     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
  9238 $as_echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
  9239     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
  9240 $as_echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
  9241     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
  9242 $as_echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9243     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
  9244 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
  9245     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
  9246 $as_echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
  9248     ;;
  9249 esac
  9250 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
  9251 $as_echo_n "checking for linux/cdrom.h... " >&6; }
  9252 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
  9253   $as_echo_n "(cached) " >&6
  9254 else
  9255   ac_cv_header_linux_cdrom_h=$ac_header_preproc
  9256 fi
  9257 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
  9258 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
  9260 fi
  9261 if test $ac_cv_header_linux_cdrom_h = yes; then
  9262   CDROM_DRIVER=linux
  9263 else
  9264   true
  9265 fi
  9268 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
  9269   { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
  9270 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
  9271 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
  9272   $as_echo_n "(cached) " >&6
  9273 fi
  9274 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
  9275 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
  9276 else
  9277   # Is the header compilable?
  9278 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
  9279 $as_echo_n "checking IOKit/IOKitLib.h usability... " >&6; }
  9280 cat >conftest.$ac_ext <<_ACEOF
  9281 /* confdefs.h.  */
  9282 _ACEOF
  9283 cat confdefs.h >>conftest.$ac_ext
  9284 cat >>conftest.$ac_ext <<_ACEOF
  9285 /* end confdefs.h.  */
  9286 $ac_includes_default
  9287 #include <IOKit/IOKitLib.h>
  9288 _ACEOF
  9289 rm -f conftest.$ac_objext
  9290 if { (ac_try="$ac_compile"
  9291 case "(($ac_try" in
  9292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9293   *) ac_try_echo=$ac_try;;
  9294 esac
  9295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9296 $as_echo "$ac_try_echo") >&5
  9297   (eval "$ac_compile") 2>conftest.er1
  9298   ac_status=$?
  9299   grep -v '^ *+' conftest.er1 >conftest.err
  9300   rm -f conftest.er1
  9301   cat conftest.err >&5
  9302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9303   (exit $ac_status); } && {
  9304 	 test -z "$ac_c_werror_flag" ||
  9305 	 test ! -s conftest.err
  9306        } && test -s conftest.$ac_objext; then
  9307   ac_header_compiler=yes
  9308 else
  9309   $as_echo "$as_me: failed program was:" >&5
  9310 sed 's/^/| /' conftest.$ac_ext >&5
  9312 	ac_header_compiler=no
  9313 fi
  9315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9316 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9317 $as_echo "$ac_header_compiler" >&6; }
  9319 # Is the header present?
  9320 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
  9321 $as_echo_n "checking IOKit/IOKitLib.h presence... " >&6; }
  9322 cat >conftest.$ac_ext <<_ACEOF
  9323 /* confdefs.h.  */
  9324 _ACEOF
  9325 cat confdefs.h >>conftest.$ac_ext
  9326 cat >>conftest.$ac_ext <<_ACEOF
  9327 /* end confdefs.h.  */
  9328 #include <IOKit/IOKitLib.h>
  9329 _ACEOF
  9330 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9331 case "(($ac_try" in
  9332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9333   *) ac_try_echo=$ac_try;;
  9334 esac
  9335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9336 $as_echo "$ac_try_echo") >&5
  9337   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9338   ac_status=$?
  9339   grep -v '^ *+' conftest.er1 >conftest.err
  9340   rm -f conftest.er1
  9341   cat conftest.err >&5
  9342   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9343   (exit $ac_status); } >/dev/null && {
  9344 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9345 	 test ! -s conftest.err
  9346        }; then
  9347   ac_header_preproc=yes
  9348 else
  9349   $as_echo "$as_me: failed program was:" >&5
  9350 sed 's/^/| /' conftest.$ac_ext >&5
  9352   ac_header_preproc=no
  9353 fi
  9355 rm -f conftest.err conftest.$ac_ext
  9356 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9357 $as_echo "$ac_header_preproc" >&6; }
  9359 # So?  What about this header?
  9360 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9361   yes:no: )
  9362     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9363 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9364     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
  9365 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
  9366     ac_header_preproc=yes
  9367     ;;
  9368   no:yes:* )
  9369     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
  9370 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
  9371     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&5
  9372 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&2;}
  9373     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
  9374 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
  9375     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&5
  9376 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9377     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
  9378 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
  9379     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
  9380 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
  9382     ;;
  9383 esac
  9384 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
  9385 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
  9386 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
  9387   $as_echo_n "(cached) " >&6
  9388 else
  9389   ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
  9390 fi
  9391 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
  9392 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
  9394 fi
  9395 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
  9397      CDROM_DRIVER=osx
  9398      LIBS="$LIBS -framework IOKit"
  9399 else
  9400   true
  9401 fi
  9406 if test "x$CDROM_DRIVER" = "xlinux"; then
  9407   CDROM_LINUX_TRUE=
  9408   CDROM_LINUX_FALSE='#'
  9409 else
  9410   CDROM_LINUX_TRUE='#'
  9411   CDROM_LINUX_FALSE=
  9412 fi
  9416 if test "x$CDROM_DRIVER" = "xosx"; then
  9417   CDROM_OSX_TRUE=
  9418   CDROM_OSX_FALSE='#'
  9419 else
  9420   CDROM_OSX_TRUE='#'
  9421   CDROM_OSX_FALSE=
  9422 fi
  9426 if test "x$CDROM_DRIVER" = "x"; then
  9427   CDROM_NONE_TRUE=
  9428   CDROM_NONE_FALSE='#'
  9429 else
  9430   CDROM_NONE_TRUE='#'
  9431   CDROM_NONE_FALSE=
  9432 fi
  9435 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
  9436   { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
  9437 $as_echo_n "checking for linux/joystick.h... " >&6; }
  9438 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
  9439   $as_echo_n "(cached) " >&6
  9440 fi
  9441 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
  9442 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
  9443 else
  9444   # Is the header compilable?
  9445 { $as_echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
  9446 $as_echo_n "checking linux/joystick.h usability... " >&6; }
  9447 cat >conftest.$ac_ext <<_ACEOF
  9448 /* confdefs.h.  */
  9449 _ACEOF
  9450 cat confdefs.h >>conftest.$ac_ext
  9451 cat >>conftest.$ac_ext <<_ACEOF
  9452 /* end confdefs.h.  */
  9453 $ac_includes_default
  9454 #include <linux/joystick.h>
  9455 _ACEOF
  9456 rm -f conftest.$ac_objext
  9457 if { (ac_try="$ac_compile"
  9458 case "(($ac_try" in
  9459   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9460   *) ac_try_echo=$ac_try;;
  9461 esac
  9462 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9463 $as_echo "$ac_try_echo") >&5
  9464   (eval "$ac_compile") 2>conftest.er1
  9465   ac_status=$?
  9466   grep -v '^ *+' conftest.er1 >conftest.err
  9467   rm -f conftest.er1
  9468   cat conftest.err >&5
  9469   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9470   (exit $ac_status); } && {
  9471 	 test -z "$ac_c_werror_flag" ||
  9472 	 test ! -s conftest.err
  9473        } && test -s conftest.$ac_objext; then
  9474   ac_header_compiler=yes
  9475 else
  9476   $as_echo "$as_me: failed program was:" >&5
  9477 sed 's/^/| /' conftest.$ac_ext >&5
  9479 	ac_header_compiler=no
  9480 fi
  9482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9483 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9484 $as_echo "$ac_header_compiler" >&6; }
  9486 # Is the header present?
  9487 { $as_echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
  9488 $as_echo_n "checking linux/joystick.h presence... " >&6; }
  9489 cat >conftest.$ac_ext <<_ACEOF
  9490 /* confdefs.h.  */
  9491 _ACEOF
  9492 cat confdefs.h >>conftest.$ac_ext
  9493 cat >>conftest.$ac_ext <<_ACEOF
  9494 /* end confdefs.h.  */
  9495 #include <linux/joystick.h>
  9496 _ACEOF
  9497 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9498 case "(($ac_try" in
  9499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9500   *) ac_try_echo=$ac_try;;
  9501 esac
  9502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9503 $as_echo "$ac_try_echo") >&5
  9504   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9505   ac_status=$?
  9506   grep -v '^ *+' conftest.er1 >conftest.err
  9507   rm -f conftest.er1
  9508   cat conftest.err >&5
  9509   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9510   (exit $ac_status); } >/dev/null && {
  9511 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9512 	 test ! -s conftest.err
  9513        }; then
  9514   ac_header_preproc=yes
  9515 else
  9516   $as_echo "$as_me: failed program was:" >&5
  9517 sed 's/^/| /' conftest.$ac_ext >&5
  9519   ac_header_preproc=no
  9520 fi
  9522 rm -f conftest.err conftest.$ac_ext
  9523 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9524 $as_echo "$ac_header_preproc" >&6; }
  9526 # So?  What about this header?
  9527 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9528   yes:no: )
  9529     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9530 $as_echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9531     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
  9532 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
  9533     ac_header_preproc=yes
  9534     ;;
  9535   no:yes:* )
  9536     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
  9537 $as_echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
  9538     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&5
  9539 $as_echo "$as_me: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&2;}
  9540     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
  9541 $as_echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
  9542     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&5
  9543 $as_echo "$as_me: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9544     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
  9545 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
  9546     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
  9547 $as_echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
  9549     ;;
  9550 esac
  9551 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
  9552 $as_echo_n "checking for linux/joystick.h... " >&6; }
  9553 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
  9554   $as_echo_n "(cached) " >&6
  9555 else
  9556   ac_cv_header_linux_joystick_h=$ac_header_preproc
  9557 fi
  9558 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
  9559 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
  9561 fi
  9562 if test $ac_cv_header_linux_joystick_h = yes; then
  9564     HAVE_LINUX_JOYSTICK_H=yes
  9566 cat >>confdefs.h <<\_ACEOF
  9567 #define HAVE_LINUX_JOYSTICK 1
  9568 _ACEOF
  9570 else
  9571    echo "Linux Joystick support not found, building without it."
  9572 fi
  9577 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
  9578   JOY_LINUX_TRUE=
  9579   JOY_LINUX_FALSE='#'
  9580 else
  9581   JOY_LINUX_TRUE='#'
  9582   JOY_LINUX_FALSE=
  9583 fi
  9586 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
  9587 set dummy sh-elf-gcc; ac_word=$2
  9588 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9589 $as_echo_n "checking for $ac_word... " >&6; }
  9590 if test "${ac_cv_path_SHCC+set}" = set; then
  9591   $as_echo_n "(cached) " >&6
  9592 else
  9593   case $SHCC in
  9594   [\\/]* | ?:[\\/]*)
  9595   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
  9596   ;;
  9597   *)
  9598   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9599 for as_dir in $PATH
  9600 do
  9601   IFS=$as_save_IFS
  9602   test -z "$as_dir" && as_dir=.
  9603   for ac_exec_ext in '' $ac_executable_extensions; do
  9604   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9605     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
  9606     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9607     break 2
  9608   fi
  9609 done
  9610 done
  9611 IFS=$as_save_IFS
  9613   ;;
  9614 esac
  9615 fi
  9616 SHCC=$ac_cv_path_SHCC
  9617 if test -n "$SHCC"; then
  9618   { $as_echo "$as_me:$LINENO: result: $SHCC" >&5
  9619 $as_echo "$SHCC" >&6; }
  9620 else
  9621   { $as_echo "$as_me:$LINENO: result: no" >&5
  9622 $as_echo "no" >&6; }
  9623 fi
  9626 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
  9627 set dummy sh-elf-ld; ac_word=$2
  9628 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9629 $as_echo_n "checking for $ac_word... " >&6; }
  9630 if test "${ac_cv_path_SHLD+set}" = set; then
  9631   $as_echo_n "(cached) " >&6
  9632 else
  9633   case $SHLD in
  9634   [\\/]* | ?:[\\/]*)
  9635   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
  9636   ;;
  9637   *)
  9638   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9639 for as_dir in $PATH
  9640 do
  9641   IFS=$as_save_IFS
  9642   test -z "$as_dir" && as_dir=.
  9643   for ac_exec_ext in '' $ac_executable_extensions; do
  9644   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9645     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
  9646     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9647     break 2
  9648   fi
  9649 done
  9650 done
  9651 IFS=$as_save_IFS
  9653   ;;
  9654 esac
  9655 fi
  9656 SHLD=$ac_cv_path_SHLD
  9657 if test -n "$SHLD"; then
  9658   { $as_echo "$as_me:$LINENO: result: $SHLD" >&5
  9659 $as_echo "$SHLD" >&6; }
  9660 else
  9661   { $as_echo "$as_me:$LINENO: result: no" >&5
  9662 $as_echo "no" >&6; }
  9663 fi
  9666 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
  9667 set dummy sh-elf-objcopy; ac_word=$2
  9668 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9669 $as_echo_n "checking for $ac_word... " >&6; }
  9670 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
  9671   $as_echo_n "(cached) " >&6
  9672 else
  9673   case $SHOBJCOPY in
  9674   [\\/]* | ?:[\\/]*)
  9675   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
  9676   ;;
  9677   *)
  9678   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9679 for as_dir in $PATH
  9680 do
  9681   IFS=$as_save_IFS
  9682   test -z "$as_dir" && as_dir=.
  9683   for ac_exec_ext in '' $ac_executable_extensions; do
  9684   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9685     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  9686     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9687     break 2
  9688   fi
  9689 done
  9690 done
  9691 IFS=$as_save_IFS
  9693   ;;
  9694 esac
  9695 fi
  9696 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
  9697 if test -n "$SHOBJCOPY"; then
  9698   { $as_echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
  9699 $as_echo "$SHOBJCOPY" >&6; }
  9700 else
  9701   { $as_echo "$as_me:$LINENO: result: no" >&5
  9702 $as_echo "no" >&6; }
  9703 fi
  9706 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
  9707 set dummy arm-elf-gcc; ac_word=$2
  9708 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9709 $as_echo_n "checking for $ac_word... " >&6; }
  9710 if test "${ac_cv_path_ARMCC+set}" = set; then
  9711   $as_echo_n "(cached) " >&6
  9712 else
  9713   case $ARMCC in
  9714   [\\/]* | ?:[\\/]*)
  9715   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
  9716   ;;
  9717   *)
  9718   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9719 for as_dir in $PATH
  9720 do
  9721   IFS=$as_save_IFS
  9722   test -z "$as_dir" && as_dir=.
  9723   for ac_exec_ext in '' $ac_executable_extensions; do
  9724   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9725     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
  9726     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9727     break 2
  9728   fi
  9729 done
  9730 done
  9731 IFS=$as_save_IFS
  9733   ;;
  9734 esac
  9735 fi
  9736 ARMCC=$ac_cv_path_ARMCC
  9737 if test -n "$ARMCC"; then
  9738   { $as_echo "$as_me:$LINENO: result: $ARMCC" >&5
  9739 $as_echo "$ARMCC" >&6; }
  9740 else
  9741   { $as_echo "$as_me:$LINENO: result: no" >&5
  9742 $as_echo "no" >&6; }
  9743 fi
  9746 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
  9747 set dummy arm-elf-ld; ac_word=$2
  9748 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9749 $as_echo_n "checking for $ac_word... " >&6; }
  9750 if test "${ac_cv_path_ARMLD+set}" = set; then
  9751   $as_echo_n "(cached) " >&6
  9752 else
  9753   case $ARMLD in
  9754   [\\/]* | ?:[\\/]*)
  9755   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
  9756   ;;
  9757   *)
  9758   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9759 for as_dir in $PATH
  9760 do
  9761   IFS=$as_save_IFS
  9762   test -z "$as_dir" && as_dir=.
  9763   for ac_exec_ext in '' $ac_executable_extensions; do
  9764   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9765     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
  9766     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9767     break 2
  9768   fi
  9769 done
  9770 done
  9771 IFS=$as_save_IFS
  9773   ;;
  9774 esac
  9775 fi
  9776 ARMLD=$ac_cv_path_ARMLD
  9777 if test -n "$ARMLD"; then
  9778   { $as_echo "$as_me:$LINENO: result: $ARMLD" >&5
  9779 $as_echo "$ARMLD" >&6; }
  9780 else
  9781   { $as_echo "$as_me:$LINENO: result: no" >&5
  9782 $as_echo "no" >&6; }
  9783 fi
  9786 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
  9787 set dummy arm-elf-objcopy; ac_word=$2
  9788 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  9789 $as_echo_n "checking for $ac_word... " >&6; }
  9790 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
  9791   $as_echo_n "(cached) " >&6
  9792 else
  9793   case $ARMOBJCOPY in
  9794   [\\/]* | ?:[\\/]*)
  9795   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
  9796   ;;
  9797   *)
  9798   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9799 for as_dir in $PATH
  9800 do
  9801   IFS=$as_save_IFS
  9802   test -z "$as_dir" && as_dir=.
  9803   for ac_exec_ext in '' $ac_executable_extensions; do
  9804   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  9805     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
  9806     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  9807     break 2
  9808   fi
  9809 done
  9810 done
  9811 IFS=$as_save_IFS
  9813   ;;
  9814 esac
  9815 fi
  9816 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
  9817 if test -n "$ARMOBJCOPY"; then
  9818   { $as_echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
  9819 $as_echo "$ARMOBJCOPY" >&6; }
  9820 else
  9821   { $as_echo "$as_me:$LINENO: result: no" >&5
  9822 $as_echo "no" >&6; }
  9823 fi
  9827 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
  9828   BUILD_SH="no"
  9829   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
  9830 else
  9831   BUILD_SH="yes"
  9832 fi
  9833 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
  9834   BUILD_ARM="no"
  9835   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
  9836 else
  9837   BUILD_ARM="yes"
  9838 fi
  9841 if test "$BUILD_SH" = "yes"; then
  9842   BUILD_SYSTEST_TRUE=
  9843   BUILD_SYSTEST_FALSE='#'
  9844 else
  9845   BUILD_SYSTEST_TRUE='#'
  9846   BUILD_SYSTEST_FALSE=
  9847 fi
  9851 if test "$BUILD_ARM" = "yes"; then
  9852   BUILD_ARMTEST_TRUE=
  9853   BUILD_ARMTEST_FALSE='#'
  9854 else
  9855   BUILD_ARMTEST_TRUE='#'
  9856   BUILD_ARMTEST_FALSE=
  9857 fi
  9861 GETTEXT_PACKAGE=lxdream
  9864 cat >>confdefs.h <<_ACEOF
  9865 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
  9866 _ACEOF
  9869 ALL_LINGUAS="de es it pt_BR"
  9872 for ac_header in locale.h
  9873 do
  9874 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  9875 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9876   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  9877 $as_echo_n "checking for $ac_header... " >&6; }
  9878 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9879   $as_echo_n "(cached) " >&6
  9880 fi
  9881 ac_res=`eval 'as_val=${'$as_ac_Header'}
  9882 		 $as_echo "$as_val"'`
  9883 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  9884 $as_echo "$ac_res" >&6; }
  9885 else
  9886   # Is the header compilable?
  9887 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  9888 $as_echo_n "checking $ac_header usability... " >&6; }
  9889 cat >conftest.$ac_ext <<_ACEOF
  9890 /* confdefs.h.  */
  9891 _ACEOF
  9892 cat confdefs.h >>conftest.$ac_ext
  9893 cat >>conftest.$ac_ext <<_ACEOF
  9894 /* end confdefs.h.  */
  9895 $ac_includes_default
  9896 #include <$ac_header>
  9897 _ACEOF
  9898 rm -f conftest.$ac_objext
  9899 if { (ac_try="$ac_compile"
  9900 case "(($ac_try" in
  9901   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9902   *) ac_try_echo=$ac_try;;
  9903 esac
  9904 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9905 $as_echo "$ac_try_echo") >&5
  9906   (eval "$ac_compile") 2>conftest.er1
  9907   ac_status=$?
  9908   grep -v '^ *+' conftest.er1 >conftest.err
  9909   rm -f conftest.er1
  9910   cat conftest.err >&5
  9911   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9912   (exit $ac_status); } && {
  9913 	 test -z "$ac_c_werror_flag" ||
  9914 	 test ! -s conftest.err
  9915        } && test -s conftest.$ac_objext; then
  9916   ac_header_compiler=yes
  9917 else
  9918   $as_echo "$as_me: failed program was:" >&5
  9919 sed 's/^/| /' conftest.$ac_ext >&5
  9921 	ac_header_compiler=no
  9922 fi
  9924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9925 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9926 $as_echo "$ac_header_compiler" >&6; }
  9928 # Is the header present?
  9929 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  9930 $as_echo_n "checking $ac_header presence... " >&6; }
  9931 cat >conftest.$ac_ext <<_ACEOF
  9932 /* confdefs.h.  */
  9933 _ACEOF
  9934 cat confdefs.h >>conftest.$ac_ext
  9935 cat >>conftest.$ac_ext <<_ACEOF
  9936 /* end confdefs.h.  */
  9937 #include <$ac_header>
  9938 _ACEOF
  9939 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9940 case "(($ac_try" in
  9941   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9942   *) ac_try_echo=$ac_try;;
  9943 esac
  9944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9945 $as_echo "$ac_try_echo") >&5
  9946   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9947   ac_status=$?
  9948   grep -v '^ *+' conftest.er1 >conftest.err
  9949   rm -f conftest.er1
  9950   cat conftest.err >&5
  9951   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9952   (exit $ac_status); } >/dev/null && {
  9953 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9954 	 test ! -s conftest.err
  9955        }; then
  9956   ac_header_preproc=yes
  9957 else
  9958   $as_echo "$as_me: failed program was:" >&5
  9959 sed 's/^/| /' conftest.$ac_ext >&5
  9961   ac_header_preproc=no
  9962 fi
  9964 rm -f conftest.err conftest.$ac_ext
  9965 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9966 $as_echo "$ac_header_preproc" >&6; }
  9968 # So?  What about this header?
  9969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9970   yes:no: )
  9971     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  9972 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9973     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  9974 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  9975     ac_header_preproc=yes
  9976     ;;
  9977   no:yes:* )
  9978     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  9979 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  9980     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
  9981 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
  9982     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  9983 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  9984     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
  9985 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
  9986     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  9987 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  9988     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  9989 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  9991     ;;
  9992 esac
  9993 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  9994 $as_echo_n "checking for $ac_header... " >&6; }
  9995 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  9996   $as_echo_n "(cached) " >&6
  9997 else
  9998   eval "$as_ac_Header=\$ac_header_preproc"
  9999 fi
 10000 ac_res=`eval 'as_val=${'$as_ac_Header'}
 10001 		 $as_echo "$as_val"'`
 10002 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 10003 $as_echo "$ac_res" >&6; }
 10005 fi
 10006 if test `eval 'as_val=${'$as_ac_Header'}
 10007 		 $as_echo "$as_val"'` = yes; then
 10008   cat >>confdefs.h <<_ACEOF
 10009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 10010 _ACEOF
 10012 fi
 10014 done
 10016     if test $ac_cv_header_locale_h = yes; then
 10017     { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 10018 $as_echo_n "checking for LC_MESSAGES... " >&6; }
 10019 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 10020   $as_echo_n "(cached) " >&6
 10021 else
 10022   cat >conftest.$ac_ext <<_ACEOF
 10023 /* confdefs.h.  */
 10024 _ACEOF
 10025 cat confdefs.h >>conftest.$ac_ext
 10026 cat >>conftest.$ac_ext <<_ACEOF
 10027 /* end confdefs.h.  */
 10028 #include <locale.h>
 10029 int
 10030 main ()
 10032 return LC_MESSAGES
 10034   return 0;
 10036 _ACEOF
 10037 rm -f conftest.$ac_objext conftest$ac_exeext
 10038 if { (ac_try="$ac_link"
 10039 case "(($ac_try" in
 10040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10041   *) ac_try_echo=$ac_try;;
 10042 esac
 10043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10044 $as_echo "$ac_try_echo") >&5
 10045   (eval "$ac_link") 2>conftest.er1
 10046   ac_status=$?
 10047   grep -v '^ *+' conftest.er1 >conftest.err
 10048   rm -f conftest.er1
 10049   cat conftest.err >&5
 10050   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10051   (exit $ac_status); } && {
 10052 	 test -z "$ac_c_werror_flag" ||
 10053 	 test ! -s conftest.err
 10054        } && test -s conftest$ac_exeext && {
 10055 	 test "$cross_compiling" = yes ||
 10056 	 $as_test_x conftest$ac_exeext
 10057        }; then
 10058   am_cv_val_LC_MESSAGES=yes
 10059 else
 10060   $as_echo "$as_me: failed program was:" >&5
 10061 sed 's/^/| /' conftest.$ac_ext >&5
 10063 	am_cv_val_LC_MESSAGES=no
 10064 fi
 10066 rm -rf conftest.dSYM
 10067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10068       conftest$ac_exeext conftest.$ac_ext
 10069 fi
 10070 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 10071 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 10072     if test $am_cv_val_LC_MESSAGES = yes; then
 10074 cat >>confdefs.h <<\_ACEOF
 10075 #define HAVE_LC_MESSAGES 1
 10076 _ACEOF
 10078     fi
 10079   fi
 10080          USE_NLS=yes
 10083     gt_cv_have_gettext=no
 10085     CATOBJEXT=NONE
 10086     XGETTEXT=:
 10087     INTLLIBS=
 10089     if test "${ac_cv_header_libintl_h+set}" = set; then
 10090   { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 10091 $as_echo_n "checking for libintl.h... " >&6; }
 10092 if test "${ac_cv_header_libintl_h+set}" = set; then
 10093   $as_echo_n "(cached) " >&6
 10094 fi
 10095 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 10096 $as_echo "$ac_cv_header_libintl_h" >&6; }
 10097 else
 10098   # Is the header compilable?
 10099 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 10100 $as_echo_n "checking libintl.h usability... " >&6; }
 10101 cat >conftest.$ac_ext <<_ACEOF
 10102 /* confdefs.h.  */
 10103 _ACEOF
 10104 cat confdefs.h >>conftest.$ac_ext
 10105 cat >>conftest.$ac_ext <<_ACEOF
 10106 /* end confdefs.h.  */
 10107 $ac_includes_default
 10108 #include <libintl.h>
 10109 _ACEOF
 10110 rm -f conftest.$ac_objext
 10111 if { (ac_try="$ac_compile"
 10112 case "(($ac_try" in
 10113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10114   *) ac_try_echo=$ac_try;;
 10115 esac
 10116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10117 $as_echo "$ac_try_echo") >&5
 10118   (eval "$ac_compile") 2>conftest.er1
 10119   ac_status=$?
 10120   grep -v '^ *+' conftest.er1 >conftest.err
 10121   rm -f conftest.er1
 10122   cat conftest.err >&5
 10123   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10124   (exit $ac_status); } && {
 10125 	 test -z "$ac_c_werror_flag" ||
 10126 	 test ! -s conftest.err
 10127        } && test -s conftest.$ac_objext; then
 10128   ac_header_compiler=yes
 10129 else
 10130   $as_echo "$as_me: failed program was:" >&5
 10131 sed 's/^/| /' conftest.$ac_ext >&5
 10133 	ac_header_compiler=no
 10134 fi
 10136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10137 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10138 $as_echo "$ac_header_compiler" >&6; }
 10140 # Is the header present?
 10141 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 10142 $as_echo_n "checking libintl.h presence... " >&6; }
 10143 cat >conftest.$ac_ext <<_ACEOF
 10144 /* confdefs.h.  */
 10145 _ACEOF
 10146 cat confdefs.h >>conftest.$ac_ext
 10147 cat >>conftest.$ac_ext <<_ACEOF
 10148 /* end confdefs.h.  */
 10149 #include <libintl.h>
 10150 _ACEOF
 10151 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10152 case "(($ac_try" in
 10153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10154   *) ac_try_echo=$ac_try;;
 10155 esac
 10156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10157 $as_echo "$ac_try_echo") >&5
 10158   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10159   ac_status=$?
 10160   grep -v '^ *+' conftest.er1 >conftest.err
 10161   rm -f conftest.er1
 10162   cat conftest.err >&5
 10163   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10164   (exit $ac_status); } >/dev/null && {
 10165 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10166 	 test ! -s conftest.err
 10167        }; then
 10168   ac_header_preproc=yes
 10169 else
 10170   $as_echo "$as_me: failed program was:" >&5
 10171 sed 's/^/| /' conftest.$ac_ext >&5
 10173   ac_header_preproc=no
 10174 fi
 10176 rm -f conftest.err conftest.$ac_ext
 10177 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10178 $as_echo "$ac_header_preproc" >&6; }
 10180 # So?  What about this header?
 10181 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10182   yes:no: )
 10183     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10184 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10185     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 10186 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 10187     ac_header_preproc=yes
 10188     ;;
 10189   no:yes:* )
 10190     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 10191 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 10192     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 10193 $as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 10194     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 10195 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 10196     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 10197 $as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10198     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 10199 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 10200     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 10201 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 10203     ;;
 10204 esac
 10205 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 10206 $as_echo_n "checking for libintl.h... " >&6; }
 10207 if test "${ac_cv_header_libintl_h+set}" = set; then
 10208   $as_echo_n "(cached) " >&6
 10209 else
 10210   ac_cv_header_libintl_h=$ac_header_preproc
 10211 fi
 10212 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 10213 $as_echo "$ac_cv_header_libintl_h" >&6; }
 10215 fi
 10216 if test $ac_cv_header_libintl_h = yes; then
 10217   gt_cv_func_dgettext_libintl="no"
 10218       libintl_extra_libs=""
 10221       # First check in libc
 10223       { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 10224 $as_echo_n "checking for ngettext in libc... " >&6; }
 10225 if test "${gt_cv_func_ngettext_libc+set}" = set; then
 10226   $as_echo_n "(cached) " >&6
 10227 else
 10228   cat >conftest.$ac_ext <<_ACEOF
 10229 /* confdefs.h.  */
 10230 _ACEOF
 10231 cat confdefs.h >>conftest.$ac_ext
 10232 cat >>conftest.$ac_ext <<_ACEOF
 10233 /* end confdefs.h.  */
 10235 #include <libintl.h>
 10237 int
 10238 main ()
 10240 return !ngettext ("","", 1)
 10242   return 0;
 10244 _ACEOF
 10245 rm -f conftest.$ac_objext conftest$ac_exeext
 10246 if { (ac_try="$ac_link"
 10247 case "(($ac_try" in
 10248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10249   *) ac_try_echo=$ac_try;;
 10250 esac
 10251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10252 $as_echo "$ac_try_echo") >&5
 10253   (eval "$ac_link") 2>conftest.er1
 10254   ac_status=$?
 10255   grep -v '^ *+' conftest.er1 >conftest.err
 10256   rm -f conftest.er1
 10257   cat conftest.err >&5
 10258   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10259   (exit $ac_status); } && {
 10260 	 test -z "$ac_c_werror_flag" ||
 10261 	 test ! -s conftest.err
 10262        } && test -s conftest$ac_exeext && {
 10263 	 test "$cross_compiling" = yes ||
 10264 	 $as_test_x conftest$ac_exeext
 10265        }; then
 10266   gt_cv_func_ngettext_libc=yes
 10267 else
 10268   $as_echo "$as_me: failed program was:" >&5
 10269 sed 's/^/| /' conftest.$ac_ext >&5
 10271 	gt_cv_func_ngettext_libc=no
 10272 fi
 10274 rm -rf conftest.dSYM
 10275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10276       conftest$ac_exeext conftest.$ac_ext
 10278 fi
 10279 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 10280 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
 10282       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 10283 	      { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 10284 $as_echo_n "checking for dgettext in libc... " >&6; }
 10285 if test "${gt_cv_func_dgettext_libc+set}" = set; then
 10286   $as_echo_n "(cached) " >&6
 10287 else
 10288   cat >conftest.$ac_ext <<_ACEOF
 10289 /* confdefs.h.  */
 10290 _ACEOF
 10291 cat confdefs.h >>conftest.$ac_ext
 10292 cat >>conftest.$ac_ext <<_ACEOF
 10293 /* end confdefs.h.  */
 10295 #include <libintl.h>
 10297 int
 10298 main ()
 10300 return !dgettext ("","")
 10302   return 0;
 10304 _ACEOF
 10305 rm -f conftest.$ac_objext conftest$ac_exeext
 10306 if { (ac_try="$ac_link"
 10307 case "(($ac_try" in
 10308   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10309   *) ac_try_echo=$ac_try;;
 10310 esac
 10311 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10312 $as_echo "$ac_try_echo") >&5
 10313   (eval "$ac_link") 2>conftest.er1
 10314   ac_status=$?
 10315   grep -v '^ *+' conftest.er1 >conftest.err
 10316   rm -f conftest.er1
 10317   cat conftest.err >&5
 10318   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10319   (exit $ac_status); } && {
 10320 	 test -z "$ac_c_werror_flag" ||
 10321 	 test ! -s conftest.err
 10322        } && test -s conftest$ac_exeext && {
 10323 	 test "$cross_compiling" = yes ||
 10324 	 $as_test_x conftest$ac_exeext
 10325        }; then
 10326   gt_cv_func_dgettext_libc=yes
 10327 else
 10328   $as_echo "$as_me: failed program was:" >&5
 10329 sed 's/^/| /' conftest.$ac_ext >&5
 10331 	gt_cv_func_dgettext_libc=no
 10332 fi
 10334 rm -rf conftest.dSYM
 10335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10336       conftest$ac_exeext conftest.$ac_ext
 10338 fi
 10339 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 10340 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
 10341       fi
 10343       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 10345 for ac_func in bind_textdomain_codeset
 10346 do
 10347 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 10348 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 10349 $as_echo_n "checking for $ac_func... " >&6; }
 10350 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 10351   $as_echo_n "(cached) " >&6
 10352 else
 10353   cat >conftest.$ac_ext <<_ACEOF
 10354 /* confdefs.h.  */
 10355 _ACEOF
 10356 cat confdefs.h >>conftest.$ac_ext
 10357 cat >>conftest.$ac_ext <<_ACEOF
 10358 /* end confdefs.h.  */
 10359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 10360    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 10361 #define $ac_func innocuous_$ac_func
 10363 /* System header to define __stub macros and hopefully few prototypes,
 10364     which can conflict with char $ac_func (); below.
 10365     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 10366     <limits.h> exists even on freestanding compilers.  */
 10368 #ifdef __STDC__
 10369 # include <limits.h>
 10370 #else
 10371 # include <assert.h>
 10372 #endif
 10374 #undef $ac_func
 10376 /* Override any GCC internal prototype to avoid an error.
 10377    Use char because int might match the return type of a GCC
 10378    builtin and then its argument prototype would still apply.  */
 10379 #ifdef __cplusplus
 10380 extern "C"
 10381 #endif
 10382 char $ac_func ();
 10383 /* The GNU C library defines this for functions which it implements
 10384     to always fail with ENOSYS.  Some functions are actually named
 10385     something starting with __ and the normal name is an alias.  */
 10386 #if defined __stub_$ac_func || defined __stub___$ac_func
 10387 choke me
 10388 #endif
 10390 int
 10391 main ()
 10393 return $ac_func ();
 10395   return 0;
 10397 _ACEOF
 10398 rm -f conftest.$ac_objext conftest$ac_exeext
 10399 if { (ac_try="$ac_link"
 10400 case "(($ac_try" in
 10401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10402   *) ac_try_echo=$ac_try;;
 10403 esac
 10404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10405 $as_echo "$ac_try_echo") >&5
 10406   (eval "$ac_link") 2>conftest.er1
 10407   ac_status=$?
 10408   grep -v '^ *+' conftest.er1 >conftest.err
 10409   rm -f conftest.er1
 10410   cat conftest.err >&5
 10411   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10412   (exit $ac_status); } && {
 10413 	 test -z "$ac_c_werror_flag" ||
 10414 	 test ! -s conftest.err
 10415        } && test -s conftest$ac_exeext && {
 10416 	 test "$cross_compiling" = yes ||
 10417 	 $as_test_x conftest$ac_exeext
 10418        }; then
 10419   eval "$as_ac_var=yes"
 10420 else
 10421   $as_echo "$as_me: failed program was:" >&5
 10422 sed 's/^/| /' conftest.$ac_ext >&5
 10424 	eval "$as_ac_var=no"
 10425 fi
 10427 rm -rf conftest.dSYM
 10428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10429       conftest$ac_exeext conftest.$ac_ext
 10430 fi
 10431 ac_res=`eval 'as_val=${'$as_ac_var'}
 10432 		 $as_echo "$as_val"'`
 10433 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 10434 $as_echo "$ac_res" >&6; }
 10435 if test `eval 'as_val=${'$as_ac_var'}
 10436 		 $as_echo "$as_val"'` = yes; then
 10437   cat >>confdefs.h <<_ACEOF
 10438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 10439 _ACEOF
 10441 fi
 10442 done
 10444       fi
 10447       # If we don't have everything we want, check in libintl
 10449       if test "$gt_cv_func_dgettext_libc" != "yes" \
 10450 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
 10451          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 10453         { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 10454 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 10455 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 10456   $as_echo_n "(cached) " >&6
 10457 else
 10458   ac_check_lib_save_LIBS=$LIBS
 10459 LIBS="-lintl  $LIBS"
 10460 cat >conftest.$ac_ext <<_ACEOF
 10461 /* confdefs.h.  */
 10462 _ACEOF
 10463 cat confdefs.h >>conftest.$ac_ext
 10464 cat >>conftest.$ac_ext <<_ACEOF
 10465 /* end confdefs.h.  */
 10467 /* Override any GCC internal prototype to avoid an error.
 10468    Use char because int might match the return type of a GCC
 10469    builtin and then its argument prototype would still apply.  */
 10470 #ifdef __cplusplus
 10471 extern "C"
 10472 #endif
 10473 char bindtextdomain ();
 10474 int
 10475 main ()
 10477 return bindtextdomain ();
 10479   return 0;
 10481 _ACEOF
 10482 rm -f conftest.$ac_objext conftest$ac_exeext
 10483 if { (ac_try="$ac_link"
 10484 case "(($ac_try" in
 10485   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10486   *) ac_try_echo=$ac_try;;
 10487 esac
 10488 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10489 $as_echo "$ac_try_echo") >&5
 10490   (eval "$ac_link") 2>conftest.er1
 10491   ac_status=$?
 10492   grep -v '^ *+' conftest.er1 >conftest.err
 10493   rm -f conftest.er1
 10494   cat conftest.err >&5
 10495   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10496   (exit $ac_status); } && {
 10497 	 test -z "$ac_c_werror_flag" ||
 10498 	 test ! -s conftest.err
 10499        } && test -s conftest$ac_exeext && {
 10500 	 test "$cross_compiling" = yes ||
 10501 	 $as_test_x conftest$ac_exeext
 10502        }; then
 10503   ac_cv_lib_intl_bindtextdomain=yes
 10504 else
 10505   $as_echo "$as_me: failed program was:" >&5
 10506 sed 's/^/| /' conftest.$ac_ext >&5
 10508 	ac_cv_lib_intl_bindtextdomain=no
 10509 fi
 10511 rm -rf conftest.dSYM
 10512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10513       conftest$ac_exeext conftest.$ac_ext
 10514 LIBS=$ac_check_lib_save_LIBS
 10515 fi
 10516 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 10517 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 10518 if test $ac_cv_lib_intl_bindtextdomain = yes; then
 10519   { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 10520 $as_echo_n "checking for ngettext in -lintl... " >&6; }
 10521 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 10522   $as_echo_n "(cached) " >&6
 10523 else
 10524   ac_check_lib_save_LIBS=$LIBS
 10525 LIBS="-lintl  $LIBS"
 10526 cat >conftest.$ac_ext <<_ACEOF
 10527 /* confdefs.h.  */
 10528 _ACEOF
 10529 cat confdefs.h >>conftest.$ac_ext
 10530 cat >>conftest.$ac_ext <<_ACEOF
 10531 /* end confdefs.h.  */
 10533 /* Override any GCC internal prototype to avoid an error.
 10534    Use char because int might match the return type of a GCC
 10535    builtin and then its argument prototype would still apply.  */
 10536 #ifdef __cplusplus
 10537 extern "C"
 10538 #endif
 10539 char ngettext ();
 10540 int
 10541 main ()
 10543 return ngettext ();
 10545   return 0;
 10547 _ACEOF
 10548 rm -f conftest.$ac_objext conftest$ac_exeext
 10549 if { (ac_try="$ac_link"
 10550 case "(($ac_try" in
 10551   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10552   *) ac_try_echo=$ac_try;;
 10553 esac
 10554 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10555 $as_echo "$ac_try_echo") >&5
 10556   (eval "$ac_link") 2>conftest.er1
 10557   ac_status=$?
 10558   grep -v '^ *+' conftest.er1 >conftest.err
 10559   rm -f conftest.er1
 10560   cat conftest.err >&5
 10561   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10562   (exit $ac_status); } && {
 10563 	 test -z "$ac_c_werror_flag" ||
 10564 	 test ! -s conftest.err
 10565        } && test -s conftest$ac_exeext && {
 10566 	 test "$cross_compiling" = yes ||
 10567 	 $as_test_x conftest$ac_exeext
 10568        }; then
 10569   ac_cv_lib_intl_ngettext=yes
 10570 else
 10571   $as_echo "$as_me: failed program was:" >&5
 10572 sed 's/^/| /' conftest.$ac_ext >&5
 10574 	ac_cv_lib_intl_ngettext=no
 10575 fi
 10577 rm -rf conftest.dSYM
 10578 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10579       conftest$ac_exeext conftest.$ac_ext
 10580 LIBS=$ac_check_lib_save_LIBS
 10581 fi
 10582 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 10583 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 10584 if test $ac_cv_lib_intl_ngettext = yes; then
 10585   { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 10586 $as_echo_n "checking for dgettext in -lintl... " >&6; }
 10587 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 10588   $as_echo_n "(cached) " >&6
 10589 else
 10590   ac_check_lib_save_LIBS=$LIBS
 10591 LIBS="-lintl  $LIBS"
 10592 cat >conftest.$ac_ext <<_ACEOF
 10593 /* confdefs.h.  */
 10594 _ACEOF
 10595 cat confdefs.h >>conftest.$ac_ext
 10596 cat >>conftest.$ac_ext <<_ACEOF
 10597 /* end confdefs.h.  */
 10599 /* Override any GCC internal prototype to avoid an error.
 10600    Use char because int might match the return type of a GCC
 10601    builtin and then its argument prototype would still apply.  */
 10602 #ifdef __cplusplus
 10603 extern "C"
 10604 #endif
 10605 char dgettext ();
 10606 int
 10607 main ()
 10609 return dgettext ();
 10611   return 0;
 10613 _ACEOF
 10614 rm -f conftest.$ac_objext conftest$ac_exeext
 10615 if { (ac_try="$ac_link"
 10616 case "(($ac_try" in
 10617   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10618   *) ac_try_echo=$ac_try;;
 10619 esac
 10620 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10621 $as_echo "$ac_try_echo") >&5
 10622   (eval "$ac_link") 2>conftest.er1
 10623   ac_status=$?
 10624   grep -v '^ *+' conftest.er1 >conftest.err
 10625   rm -f conftest.er1
 10626   cat conftest.err >&5
 10627   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10628   (exit $ac_status); } && {
 10629 	 test -z "$ac_c_werror_flag" ||
 10630 	 test ! -s conftest.err
 10631        } && test -s conftest$ac_exeext && {
 10632 	 test "$cross_compiling" = yes ||
 10633 	 $as_test_x conftest$ac_exeext
 10634        }; then
 10635   ac_cv_lib_intl_dgettext=yes
 10636 else
 10637   $as_echo "$as_me: failed program was:" >&5
 10638 sed 's/^/| /' conftest.$ac_ext >&5
 10640 	ac_cv_lib_intl_dgettext=no
 10641 fi
 10643 rm -rf conftest.dSYM
 10644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10645       conftest$ac_exeext conftest.$ac_ext
 10646 LIBS=$ac_check_lib_save_LIBS
 10647 fi
 10648 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 10649 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 10650 if test $ac_cv_lib_intl_dgettext = yes; then
 10651   gt_cv_func_dgettext_libintl=yes
 10652 fi
 10654 fi
 10656 fi
 10659 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 10660 	  { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 10661 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 10662 	  { $as_echo "$as_me:$LINENO: result: " >&5
 10663 $as_echo "" >&6; }
 10664   	  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 10665 $as_echo_n "checking for ngettext in -lintl... " >&6; }
 10666 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 10667   $as_echo_n "(cached) " >&6
 10668 else
 10669   ac_check_lib_save_LIBS=$LIBS
 10670 LIBS="-lintl -liconv $LIBS"
 10671 cat >conftest.$ac_ext <<_ACEOF
 10672 /* confdefs.h.  */
 10673 _ACEOF
 10674 cat confdefs.h >>conftest.$ac_ext
 10675 cat >>conftest.$ac_ext <<_ACEOF
 10676 /* end confdefs.h.  */
 10678 /* Override any GCC internal prototype to avoid an error.
 10679    Use char because int might match the return type of a GCC
 10680    builtin and then its argument prototype would still apply.  */
 10681 #ifdef __cplusplus
 10682 extern "C"
 10683 #endif
 10684 char ngettext ();
 10685 int
 10686 main ()
 10688 return ngettext ();
 10690   return 0;
 10692 _ACEOF
 10693 rm -f conftest.$ac_objext conftest$ac_exeext
 10694 if { (ac_try="$ac_link"
 10695 case "(($ac_try" in
 10696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10697   *) ac_try_echo=$ac_try;;
 10698 esac
 10699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10700 $as_echo "$ac_try_echo") >&5
 10701   (eval "$ac_link") 2>conftest.er1
 10702   ac_status=$?
 10703   grep -v '^ *+' conftest.er1 >conftest.err
 10704   rm -f conftest.er1
 10705   cat conftest.err >&5
 10706   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10707   (exit $ac_status); } && {
 10708 	 test -z "$ac_c_werror_flag" ||
 10709 	 test ! -s conftest.err
 10710        } && test -s conftest$ac_exeext && {
 10711 	 test "$cross_compiling" = yes ||
 10712 	 $as_test_x conftest$ac_exeext
 10713        }; then
 10714   ac_cv_lib_intl_ngettext=yes
 10715 else
 10716   $as_echo "$as_me: failed program was:" >&5
 10717 sed 's/^/| /' conftest.$ac_ext >&5
 10719 	ac_cv_lib_intl_ngettext=no
 10720 fi
 10722 rm -rf conftest.dSYM
 10723 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10724       conftest$ac_exeext conftest.$ac_ext
 10725 LIBS=$ac_check_lib_save_LIBS
 10726 fi
 10727 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 10728 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 10729 if test $ac_cv_lib_intl_ngettext = yes; then
 10730   { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 10731 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
 10732 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 10733   $as_echo_n "(cached) " >&6
 10734 else
 10735   ac_check_lib_save_LIBS=$LIBS
 10736 LIBS="-lintl -liconv $LIBS"
 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.  */
 10744 /* Override any GCC internal prototype to avoid an error.
 10745    Use char because int might match the return type of a GCC
 10746    builtin and then its argument prototype would still apply.  */
 10747 #ifdef __cplusplus
 10748 extern "C"
 10749 #endif
 10750 char dcgettext ();
 10751 int
 10752 main ()
 10754 return dcgettext ();
 10756   return 0;
 10758 _ACEOF
 10759 rm -f conftest.$ac_objext conftest$ac_exeext
 10760 if { (ac_try="$ac_link"
 10761 case "(($ac_try" in
 10762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10763   *) ac_try_echo=$ac_try;;
 10764 esac
 10765 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10766 $as_echo "$ac_try_echo") >&5
 10767   (eval "$ac_link") 2>conftest.er1
 10768   ac_status=$?
 10769   grep -v '^ *+' conftest.er1 >conftest.err
 10770   rm -f conftest.er1
 10771   cat conftest.err >&5
 10772   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10773   (exit $ac_status); } && {
 10774 	 test -z "$ac_c_werror_flag" ||
 10775 	 test ! -s conftest.err
 10776        } && test -s conftest$ac_exeext && {
 10777 	 test "$cross_compiling" = yes ||
 10778 	 $as_test_x conftest$ac_exeext
 10779        }; then
 10780   ac_cv_lib_intl_dcgettext=yes
 10781 else
 10782   $as_echo "$as_me: failed program was:" >&5
 10783 sed 's/^/| /' conftest.$ac_ext >&5
 10785 	ac_cv_lib_intl_dcgettext=no
 10786 fi
 10788 rm -rf conftest.dSYM
 10789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10790       conftest$ac_exeext conftest.$ac_ext
 10791 LIBS=$ac_check_lib_save_LIBS
 10792 fi
 10793 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 10794 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 10795 if test $ac_cv_lib_intl_dcgettext = yes; then
 10796   gt_cv_func_dgettext_libintl=yes
 10797 			libintl_extra_libs=-liconv
 10798 else
 10800 fi
 10802 else
 10804 fi
 10806         fi
 10809         # If we found libintl, then check in it for bind_textdomain_codeset();
 10810         # we'll prefer libc if neither have bind_textdomain_codeset(),
 10811         # and both have dgettext and ngettext
 10813         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 10814           glib_save_LIBS="$LIBS"
 10815           LIBS="$LIBS -lintl $libintl_extra_libs"
 10816           unset ac_cv_func_bind_textdomain_codeset
 10818 for ac_func in bind_textdomain_codeset
 10819 do
 10820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 10821 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 10822 $as_echo_n "checking for $ac_func... " >&6; }
 10823 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 10824   $as_echo_n "(cached) " >&6
 10825 else
 10826   cat >conftest.$ac_ext <<_ACEOF
 10827 /* confdefs.h.  */
 10828 _ACEOF
 10829 cat confdefs.h >>conftest.$ac_ext
 10830 cat >>conftest.$ac_ext <<_ACEOF
 10831 /* end confdefs.h.  */
 10832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 10833    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 10834 #define $ac_func innocuous_$ac_func
 10836 /* System header to define __stub macros and hopefully few prototypes,
 10837     which can conflict with char $ac_func (); below.
 10838     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 10839     <limits.h> exists even on freestanding compilers.  */
 10841 #ifdef __STDC__
 10842 # include <limits.h>
 10843 #else
 10844 # include <assert.h>
 10845 #endif
 10847 #undef $ac_func
 10849 /* Override any GCC internal prototype to avoid an error.
 10850    Use char because int might match the return type of a GCC
 10851    builtin and then its argument prototype would still apply.  */
 10852 #ifdef __cplusplus
 10853 extern "C"
 10854 #endif
 10855 char $ac_func ();
 10856 /* The GNU C library defines this for functions which it implements
 10857     to always fail with ENOSYS.  Some functions are actually named
 10858     something starting with __ and the normal name is an alias.  */
 10859 #if defined __stub_$ac_func || defined __stub___$ac_func
 10860 choke me
 10861 #endif
 10863 int
 10864 main ()
 10866 return $ac_func ();
 10868   return 0;
 10870 _ACEOF
 10871 rm -f conftest.$ac_objext conftest$ac_exeext
 10872 if { (ac_try="$ac_link"
 10873 case "(($ac_try" in
 10874   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10875   *) ac_try_echo=$ac_try;;
 10876 esac
 10877 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10878 $as_echo "$ac_try_echo") >&5
 10879   (eval "$ac_link") 2>conftest.er1
 10880   ac_status=$?
 10881   grep -v '^ *+' conftest.er1 >conftest.err
 10882   rm -f conftest.er1
 10883   cat conftest.err >&5
 10884   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10885   (exit $ac_status); } && {
 10886 	 test -z "$ac_c_werror_flag" ||
 10887 	 test ! -s conftest.err
 10888        } && test -s conftest$ac_exeext && {
 10889 	 test "$cross_compiling" = yes ||
 10890 	 $as_test_x conftest$ac_exeext
 10891        }; then
 10892   eval "$as_ac_var=yes"
 10893 else
 10894   $as_echo "$as_me: failed program was:" >&5
 10895 sed 's/^/| /' conftest.$ac_ext >&5
 10897 	eval "$as_ac_var=no"
 10898 fi
 10900 rm -rf conftest.dSYM
 10901 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 10902       conftest$ac_exeext conftest.$ac_ext
 10903 fi
 10904 ac_res=`eval 'as_val=${'$as_ac_var'}
 10905 		 $as_echo "$as_val"'`
 10906 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 10907 $as_echo "$ac_res" >&6; }
 10908 if test `eval 'as_val=${'$as_ac_var'}
 10909 		 $as_echo "$as_val"'` = yes; then
 10910   cat >>confdefs.h <<_ACEOF
 10911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 10912 _ACEOF
 10914 fi
 10915 done
 10917           LIBS="$glib_save_LIBS"
 10919           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 10920             gt_cv_func_dgettext_libc=no
 10921           else
 10922             if test "$gt_cv_func_dgettext_libc" = "yes" \
 10923 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
 10924               gt_cv_func_dgettext_libintl=no
 10925             fi
 10926           fi
 10927         fi
 10928       fi
 10930       if test "$gt_cv_func_dgettext_libc" = "yes" \
 10931 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
 10932         gt_cv_have_gettext=yes
 10933       fi
 10935       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 10936         INTLLIBS="-lintl $libintl_extra_libs"
 10937       fi
 10939       if test "$gt_cv_have_gettext" = "yes"; then
 10941 cat >>confdefs.h <<\_ACEOF
 10942 #define HAVE_GETTEXT 1
 10943 _ACEOF
 10945 	# Extract the first word of "msgfmt", so it can be a program name with args.
 10946 set dummy msgfmt; ac_word=$2
 10947 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10948 $as_echo_n "checking for $ac_word... " >&6; }
 10949 if test "${ac_cv_path_MSGFMT+set}" = set; then
 10950   $as_echo_n "(cached) " >&6
 10951 else
 10952   case "$MSGFMT" in
 10953   /*)
 10954   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 10955   ;;
 10956   *)
 10957   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 10958   for ac_dir in $PATH; do
 10959     test -z "$ac_dir" && ac_dir=.
 10960     if test -f $ac_dir/$ac_word; then
 10961       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 10962 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 10963 	break
 10964       fi
 10965     fi
 10966   done
 10967   IFS="$ac_save_ifs"
 10968   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 10969   ;;
 10970 esac
 10971 fi
 10972 MSGFMT="$ac_cv_path_MSGFMT"
 10973 if test "$MSGFMT" != "no"; then
 10974   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 10975 $as_echo "$MSGFMT" >&6; }
 10976 else
 10977   { $as_echo "$as_me:$LINENO: result: no" >&5
 10978 $as_echo "no" >&6; }
 10979 fi
 10980 	if test "$MSGFMT" != "no"; then
 10981           glib_save_LIBS="$LIBS"
 10982           LIBS="$LIBS $INTLLIBS"
 10984 for ac_func in dcgettext
 10985 do
 10986 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 10987 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 10988 $as_echo_n "checking for $ac_func... " >&6; }
 10989 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 10990   $as_echo_n "(cached) " >&6
 10991 else
 10992   cat >conftest.$ac_ext <<_ACEOF
 10993 /* confdefs.h.  */
 10994 _ACEOF
 10995 cat confdefs.h >>conftest.$ac_ext
 10996 cat >>conftest.$ac_ext <<_ACEOF
 10997 /* end confdefs.h.  */
 10998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 10999    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11000 #define $ac_func innocuous_$ac_func
 11002 /* System header to define __stub macros and hopefully few prototypes,
 11003     which can conflict with char $ac_func (); below.
 11004     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11005     <limits.h> exists even on freestanding compilers.  */
 11007 #ifdef __STDC__
 11008 # include <limits.h>
 11009 #else
 11010 # include <assert.h>
 11011 #endif
 11013 #undef $ac_func
 11015 /* Override any GCC internal prototype to avoid an error.
 11016    Use char because int might match the return type of a GCC
 11017    builtin and then its argument prototype would still apply.  */
 11018 #ifdef __cplusplus
 11019 extern "C"
 11020 #endif
 11021 char $ac_func ();
 11022 /* The GNU C library defines this for functions which it implements
 11023     to always fail with ENOSYS.  Some functions are actually named
 11024     something starting with __ and the normal name is an alias.  */
 11025 #if defined __stub_$ac_func || defined __stub___$ac_func
 11026 choke me
 11027 #endif
 11029 int
 11030 main ()
 11032 return $ac_func ();
 11034   return 0;
 11036 _ACEOF
 11037 rm -f conftest.$ac_objext conftest$ac_exeext
 11038 if { (ac_try="$ac_link"
 11039 case "(($ac_try" in
 11040   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11041   *) ac_try_echo=$ac_try;;
 11042 esac
 11043 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11044 $as_echo "$ac_try_echo") >&5
 11045   (eval "$ac_link") 2>conftest.er1
 11046   ac_status=$?
 11047   grep -v '^ *+' conftest.er1 >conftest.err
 11048   rm -f conftest.er1
 11049   cat conftest.err >&5
 11050   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11051   (exit $ac_status); } && {
 11052 	 test -z "$ac_c_werror_flag" ||
 11053 	 test ! -s conftest.err
 11054        } && test -s conftest$ac_exeext && {
 11055 	 test "$cross_compiling" = yes ||
 11056 	 $as_test_x conftest$ac_exeext
 11057        }; then
 11058   eval "$as_ac_var=yes"
 11059 else
 11060   $as_echo "$as_me: failed program was:" >&5
 11061 sed 's/^/| /' conftest.$ac_ext >&5
 11063 	eval "$as_ac_var=no"
 11064 fi
 11066 rm -rf conftest.dSYM
 11067 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11068       conftest$ac_exeext conftest.$ac_ext
 11069 fi
 11070 ac_res=`eval 'as_val=${'$as_ac_var'}
 11071 		 $as_echo "$as_val"'`
 11072 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 11073 $as_echo "$ac_res" >&6; }
 11074 if test `eval 'as_val=${'$as_ac_var'}
 11075 		 $as_echo "$as_val"'` = yes; then
 11076   cat >>confdefs.h <<_ACEOF
 11077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 11078 _ACEOF
 11080 fi
 11081 done
 11083 	  MSGFMT_OPTS=
 11084 	  { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 11085 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
 11086 	  cat >conftest.foo <<_ACEOF
 11088 msgid ""
 11089 msgstr ""
 11090 "Content-Type: text/plain; charset=UTF-8\n"
 11091 "Project-Id-Version: test 1.0\n"
 11092 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
 11093 "Last-Translator: test <foo@bar.xx>\n"
 11094 "Language-Team: C <LL@li.org>\n"
 11095 "MIME-Version: 1.0\n"
 11096 "Content-Transfer-Encoding: 8bit\n"
 11098 _ACEOF
 11099 if { ($as_echo "$as_me:$LINENO: msgfmt -c -o /dev/null conftest.foo") >&5
 11100   (msgfmt -c -o /dev/null conftest.foo) 2>&5
 11101   ac_status=$?
 11102   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11103   (exit $ac_status); }; then
 11104   MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 11105 $as_echo "yes" >&6; }
 11106 else { $as_echo "$as_me:$LINENO: result: no" >&5
 11107 $as_echo "no" >&6; }
 11108 echo "$as_me: failed input was:" >&5
 11109 sed 's/^/| /' conftest.foo >&5
 11110 fi
 11112 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 11113 set dummy gmsgfmt; ac_word=$2
 11114 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 11115 $as_echo_n "checking for $ac_word... " >&6; }
 11116 if test "${ac_cv_path_GMSGFMT+set}" = set; then
 11117   $as_echo_n "(cached) " >&6
 11118 else
 11119   case $GMSGFMT in
 11120   [\\/]* | ?:[\\/]*)
 11121   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 11122   ;;
 11123   *)
 11124   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11125 for as_dir in $PATH
 11126 do
 11127   IFS=$as_save_IFS
 11128   test -z "$as_dir" && as_dir=.
 11129   for ac_exec_ext in '' $ac_executable_extensions; do
 11130   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 11131     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 11132     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 11133     break 2
 11134   fi
 11135 done
 11136 done
 11137 IFS=$as_save_IFS
 11139   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 11140   ;;
 11141 esac
 11142 fi
 11143 GMSGFMT=$ac_cv_path_GMSGFMT
 11144 if test -n "$GMSGFMT"; then
 11145   { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 11146 $as_echo "$GMSGFMT" >&6; }
 11147 else
 11148   { $as_echo "$as_me:$LINENO: result: no" >&5
 11149 $as_echo "no" >&6; }
 11150 fi
 11153 	  # Extract the first word of "xgettext", so it can be a program name with args.
 11154 set dummy xgettext; ac_word=$2
 11155 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 11156 $as_echo_n "checking for $ac_word... " >&6; }
 11157 if test "${ac_cv_path_XGETTEXT+set}" = set; then
 11158   $as_echo_n "(cached) " >&6
 11159 else
 11160   case "$XGETTEXT" in
 11161   /*)
 11162   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 11163   ;;
 11164   *)
 11165   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 11166   for ac_dir in $PATH; do
 11167     test -z "$ac_dir" && ac_dir=.
 11168     if test -f $ac_dir/$ac_word; then
 11169       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 11170 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 11171 	break
 11172       fi
 11173     fi
 11174   done
 11175   IFS="$ac_save_ifs"
 11176   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 11177   ;;
 11178 esac
 11179 fi
 11180 XGETTEXT="$ac_cv_path_XGETTEXT"
 11181 if test "$XGETTEXT" != ":"; then
 11182   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 11183 $as_echo "$XGETTEXT" >&6; }
 11184 else
 11185   { $as_echo "$as_me:$LINENO: result: no" >&5
 11186 $as_echo "no" >&6; }
 11187 fi
 11189 	  cat >conftest.$ac_ext <<_ACEOF
 11190 /* confdefs.h.  */
 11191 _ACEOF
 11192 cat confdefs.h >>conftest.$ac_ext
 11193 cat >>conftest.$ac_ext <<_ACEOF
 11194 /* end confdefs.h.  */
 11196 int
 11197 main ()
 11199 extern int _nl_msg_cat_cntr;
 11200 			 return _nl_msg_cat_cntr
 11202   return 0;
 11204 _ACEOF
 11205 rm -f conftest.$ac_objext conftest$ac_exeext
 11206 if { (ac_try="$ac_link"
 11207 case "(($ac_try" in
 11208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11209   *) ac_try_echo=$ac_try;;
 11210 esac
 11211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11212 $as_echo "$ac_try_echo") >&5
 11213   (eval "$ac_link") 2>conftest.er1
 11214   ac_status=$?
 11215   grep -v '^ *+' conftest.er1 >conftest.err
 11216   rm -f conftest.er1
 11217   cat conftest.err >&5
 11218   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11219   (exit $ac_status); } && {
 11220 	 test -z "$ac_c_werror_flag" ||
 11221 	 test ! -s conftest.err
 11222        } && test -s conftest$ac_exeext && {
 11223 	 test "$cross_compiling" = yes ||
 11224 	 $as_test_x conftest$ac_exeext
 11225        }; then
 11226   CATOBJEXT=.gmo
 11227              DATADIRNAME=share
 11228 else
 11229   $as_echo "$as_me: failed program was:" >&5
 11230 sed 's/^/| /' conftest.$ac_ext >&5
 11232 	case $host in
 11233 	    *-*-solaris*)
 11234 	    	                	    	                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 11235 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
 11236 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 11237   $as_echo_n "(cached) " >&6
 11238 else
 11239   cat >conftest.$ac_ext <<_ACEOF
 11240 /* confdefs.h.  */
 11241 _ACEOF
 11242 cat confdefs.h >>conftest.$ac_ext
 11243 cat >>conftest.$ac_ext <<_ACEOF
 11244 /* end confdefs.h.  */
 11245 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 11246    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11247 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 11249 /* System header to define __stub macros and hopefully few prototypes,
 11250     which can conflict with char bind_textdomain_codeset (); below.
 11251     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11252     <limits.h> exists even on freestanding compilers.  */
 11254 #ifdef __STDC__
 11255 # include <limits.h>
 11256 #else
 11257 # include <assert.h>
 11258 #endif
 11260 #undef bind_textdomain_codeset
 11262 /* Override any GCC internal prototype to avoid an error.
 11263    Use char because int might match the return type of a GCC
 11264    builtin and then its argument prototype would still apply.  */
 11265 #ifdef __cplusplus
 11266 extern "C"
 11267 #endif
 11268 char bind_textdomain_codeset ();
 11269 /* The GNU C library defines this for functions which it implements
 11270     to always fail with ENOSYS.  Some functions are actually named
 11271     something starting with __ and the normal name is an alias.  */
 11272 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 11273 choke me
 11274 #endif
 11276 int
 11277 main ()
 11279 return bind_textdomain_codeset ();
 11281   return 0;
 11283 _ACEOF
 11284 rm -f conftest.$ac_objext conftest$ac_exeext
 11285 if { (ac_try="$ac_link"
 11286 case "(($ac_try" in
 11287   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11288   *) ac_try_echo=$ac_try;;
 11289 esac
 11290 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11291 $as_echo "$ac_try_echo") >&5
 11292   (eval "$ac_link") 2>conftest.er1
 11293   ac_status=$?
 11294   grep -v '^ *+' conftest.er1 >conftest.err
 11295   rm -f conftest.er1
 11296   cat conftest.err >&5
 11297   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11298   (exit $ac_status); } && {
 11299 	 test -z "$ac_c_werror_flag" ||
 11300 	 test ! -s conftest.err
 11301        } && test -s conftest$ac_exeext && {
 11302 	 test "$cross_compiling" = yes ||
 11303 	 $as_test_x conftest$ac_exeext
 11304        }; then
 11305   ac_cv_func_bind_textdomain_codeset=yes
 11306 else
 11307   $as_echo "$as_me: failed program was:" >&5
 11308 sed 's/^/| /' conftest.$ac_ext >&5
 11310 	ac_cv_func_bind_textdomain_codeset=no
 11311 fi
 11313 rm -rf conftest.dSYM
 11314 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11315       conftest$ac_exeext conftest.$ac_ext
 11316 fi
 11317 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 11318 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 11319 if test $ac_cv_func_bind_textdomain_codeset = yes; then
 11320   CATOBJEXT=.gmo
 11321                DATADIRNAME=share
 11322 else
 11323   CATOBJEXT=.mo
 11324                DATADIRNAME=lib
 11325 fi
 11327 	    ;;
 11328 	    *)
 11329 	    CATOBJEXT=.mo
 11330             DATADIRNAME=lib
 11331 	    ;;
 11332 	    esac
 11333 fi
 11335 rm -rf conftest.dSYM
 11336 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11337       conftest$ac_exeext conftest.$ac_ext
 11338           LIBS="$glib_save_LIBS"
 11339 	  INSTOBJEXT=.mo
 11340 	else
 11341 	  gt_cv_have_gettext=no
 11342 	fi
 11343       fi
 11345 fi
 11349     if test "$gt_cv_have_gettext" = "yes" ; then
 11351 cat >>confdefs.h <<\_ACEOF
 11352 #define ENABLE_NLS 1
 11353 _ACEOF
 11355     fi
 11357         if test "$XGETTEXT" != ":"; then
 11358                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 11359         : ;
 11360       else
 11361         { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 11362 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 11363         XGETTEXT=":"
 11364       fi
 11365     fi
 11367     # We need to process the po/ directory.
 11368     POSUB=po
 11370     ac_config_commands="$ac_config_commands default-1"
 11373                 for lang in $ALL_LINGUAS; do
 11374       GMOFILES="$GMOFILES $lang.gmo"
 11375       POFILES="$POFILES $lang.po"
 11376     done
 11390    if test "$gt_cv_have_gettext" = "yes"; then
 11391      if test "x$ALL_LINGUAS" = "x"; then
 11392        LINGUAS=
 11393      else
 11394        { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 11395 $as_echo_n "checking for catalogs to be installed... " >&6; }
 11396        NEW_LINGUAS=
 11397        for presentlang in $ALL_LINGUAS; do
 11398          useit=no
 11399          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 11400            desiredlanguages="$LINGUAS"
 11401          else
 11402            desiredlanguages="$ALL_LINGUAS"
 11403          fi
 11404          for desiredlang in $desiredlanguages; do
 11405  	   # Use the presentlang catalog if desiredlang is
 11406            #   a. equal to presentlang, or
 11407            #   b. a variant of presentlang (because in this case,
 11408            #      presentlang can be used as a fallback for messages
 11409            #      which are not translated in the desiredlang catalog).
 11410            case "$desiredlang" in
 11411              "$presentlang"*) useit=yes;;
 11412            esac
 11413          done
 11414          if test $useit = yes; then
 11415            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 11416          fi
 11417        done
 11418        LINGUAS=$NEW_LINGUAS
 11419        { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 11420 $as_echo "$LINGUAS" >&6; }
 11421      fi
 11423           if test -n "$LINGUAS"; then
 11424        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 11425      fi
 11426    fi
 11428             MKINSTALLDIRS=
 11429    if test -n "$ac_aux_dir"; then
 11430      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 11431    fi
 11432    if test -z "$MKINSTALLDIRS"; then
 11433      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 11434    fi
 11437          test -d po || mkdir po
 11438    if test "x$srcdir" != "x."; then
 11439      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 11440        posrcprefix="$srcdir/"
 11441      else
 11442        posrcprefix="../$srcdir/"
 11443      fi
 11444    else
 11445      posrcprefix="../"
 11446    fi
 11447    rm -f po/POTFILES
 11448    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 11449 	< $srcdir/po/POTFILES.in > po/POTFILES
 11452 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile Info.plist"
 11454 cat >confcache <<\_ACEOF
 11455 # This file is a shell script that caches the results of configure
 11456 # tests run on this system so they can be shared between configure
 11457 # scripts and configure runs, see configure's option --config-cache.
 11458 # It is not useful on other systems.  If it contains results you don't
 11459 # want to keep, you may remove or edit it.
 11461 # config.status only pays attention to the cache file if you give it
 11462 # the --recheck option to rerun configure.
 11464 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 11465 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 11466 # following values.
 11468 _ACEOF
 11470 # The following way of writing the cache mishandles newlines in values,
 11471 # but we know of no workaround that is simple, portable, and efficient.
 11472 # So, we kill variables containing newlines.
 11473 # Ultrix sh set writes to stderr and can't be redirected directly,
 11474 # and sets the high bit in the cache file unless we assign to the vars.
 11476   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 11477     eval ac_val=\$$ac_var
 11478     case $ac_val in #(
 11479     *${as_nl}*)
 11480       case $ac_var in #(
 11481       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 11482 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 11483       esac
 11484       case $ac_var in #(
 11485       _ | IFS | as_nl) ;; #(
 11486       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 11487       *) $as_unset $ac_var ;;
 11488       esac ;;
 11489     esac
 11490   done
 11492   (set) 2>&1 |
 11493     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 11494     *${as_nl}ac_space=\ *)
 11495       # `set' does not quote correctly, so add quotes (double-quote
 11496       # substitution turns \\\\ into \\, and sed turns \\ into \).
 11497       sed -n \
 11498 	"s/'/'\\\\''/g;
 11499 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 11500       ;; #(
 11501     *)
 11502       # `set' quotes correctly as required by POSIX, so do not add quotes.
 11503       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 11504       ;;
 11505     esac |
 11506     sort
 11507 ) |
 11508   sed '
 11509      /^ac_cv_env_/b end
 11510      t clear
 11511      :clear
 11512      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 11513      t end
 11514      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 11515      :end' >>confcache
 11516 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 11517   if test -w "$cache_file"; then
 11518     test "x$cache_file" != "x/dev/null" &&
 11519       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 11520 $as_echo "$as_me: updating cache $cache_file" >&6;}
 11521     cat confcache >$cache_file
 11522   else
 11523     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 11524 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 11525   fi
 11526 fi
 11527 rm -f confcache
 11529 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 11530 # Let make expand exec_prefix.
 11531 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 11533 DEFS=-DHAVE_CONFIG_H
 11535 ac_libobjs=
 11536 ac_ltlibobjs=
 11537 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 11538   # 1. Remove the extension, and $U if already installed.
 11539   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 11540   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 11541   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 11542   #    will be set to the directory where LIBOBJS objects are built.
 11543   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 11544   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 11545 done
 11546 LIBOBJS=$ac_libobjs
 11548 LTLIBOBJS=$ac_ltlibobjs
 11551 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 11552   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 11553 Usually this means the macro was only invoked conditionally." >&5
 11554 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 11555 Usually this means the macro was only invoked conditionally." >&2;}
 11556    { (exit 1); exit 1; }; }
 11557 fi
 11558 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 11559   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 11560 Usually this means the macro was only invoked conditionally." >&5
 11561 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 11562 Usually this means the macro was only invoked conditionally." >&2;}
 11563    { (exit 1); exit 1; }; }
 11564 fi
 11565 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 11566   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 11567 Usually this means the macro was only invoked conditionally." >&5
 11568 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 11569 Usually this means the macro was only invoked conditionally." >&2;}
 11570    { (exit 1); exit 1; }; }
 11571 fi
 11572 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 11573   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 11574 Usually this means the macro was only invoked conditionally." >&5
 11575 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 11576 Usually this means the macro was only invoked conditionally." >&2;}
 11577    { (exit 1); exit 1; }; }
 11578 fi
 11579 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 11580   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 11581 Usually this means the macro was only invoked conditionally." >&5
 11582 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 11583 Usually this means the macro was only invoked conditionally." >&2;}
 11584    { (exit 1); exit 1; }; }
 11585 fi
 11586 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
 11587   { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
 11588 Usually this means the macro was only invoked conditionally." >&5
 11589 $as_echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
 11590 Usually this means the macro was only invoked conditionally." >&2;}
 11591    { (exit 1); exit 1; }; }
 11592 fi
 11593 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
 11594   { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
 11595 Usually this means the macro was only invoked conditionally." >&5
 11596 $as_echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
 11597 Usually this means the macro was only invoked conditionally." >&2;}
 11598    { (exit 1); exit 1; }; }
 11599 fi
 11600 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
 11601   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
 11602 Usually this means the macro was only invoked conditionally." >&5
 11603 $as_echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
 11604 Usually this means the macro was only invoked conditionally." >&2;}
 11605    { (exit 1); exit 1; }; }
 11606 fi
 11607 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
 11608   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
 11609 Usually this means the macro was only invoked conditionally." >&5
 11610 $as_echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
 11611 Usually this means the macro was only invoked conditionally." >&2;}
 11612    { (exit 1); exit 1; }; }
 11613 fi
 11614 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
 11615   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
 11616 Usually this means the macro was only invoked conditionally." >&5
 11617 $as_echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
 11618 Usually this means the macro was only invoked conditionally." >&2;}
 11619    { (exit 1); exit 1; }; }
 11620 fi
 11621 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
 11622   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
 11623 Usually this means the macro was only invoked conditionally." >&5
 11624 $as_echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
 11625 Usually this means the macro was only invoked conditionally." >&2;}
 11626    { (exit 1); exit 1; }; }
 11627 fi
 11628 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
 11629   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
 11630 Usually this means the macro was only invoked conditionally." >&5
 11631 $as_echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
 11632 Usually this means the macro was only invoked conditionally." >&2;}
 11633    { (exit 1); exit 1; }; }
 11634 fi
 11635 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
 11636   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
 11637 Usually this means the macro was only invoked conditionally." >&5
 11638 $as_echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
 11639 Usually this means the macro was only invoked conditionally." >&2;}
 11640    { (exit 1); exit 1; }; }
 11641 fi
 11642 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
 11643   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
 11644 Usually this means the macro was only invoked conditionally." >&5
 11645 $as_echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
 11646 Usually this means the macro was only invoked conditionally." >&2;}
 11647    { (exit 1); exit 1; }; }
 11648 fi
 11649 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
 11650   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
 11651 Usually this means the macro was only invoked conditionally." >&5
 11652 $as_echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
 11653 Usually this means the macro was only invoked conditionally." >&2;}
 11654    { (exit 1); exit 1; }; }
 11655 fi
 11656 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
 11657   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
 11658 Usually this means the macro was only invoked conditionally." >&5
 11659 $as_echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
 11660 Usually this means the macro was only invoked conditionally." >&2;}
 11661    { (exit 1); exit 1; }; }
 11662 fi
 11663 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
 11664   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
 11665 Usually this means the macro was only invoked conditionally." >&5
 11666 $as_echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
 11667 Usually this means the macro was only invoked conditionally." >&2;}
 11668    { (exit 1); exit 1; }; }
 11669 fi
 11670 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
 11671   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
 11672 Usually this means the macro was only invoked conditionally." >&5
 11673 $as_echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
 11674 Usually this means the macro was only invoked conditionally." >&2;}
 11675    { (exit 1); exit 1; }; }
 11676 fi
 11677 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
 11678   { { $as_echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
 11679 Usually this means the macro was only invoked conditionally." >&5
 11680 $as_echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
 11681 Usually this means the macro was only invoked conditionally." >&2;}
 11682    { (exit 1); exit 1; }; }
 11683 fi
 11684 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
 11685   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
 11686 Usually this means the macro was only invoked conditionally." >&5
 11687 $as_echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
 11688 Usually this means the macro was only invoked conditionally." >&2;}
 11689    { (exit 1); exit 1; }; }
 11690 fi
 11691 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
 11692   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
 11693 Usually this means the macro was only invoked conditionally." >&5
 11694 $as_echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
 11695 Usually this means the macro was only invoked conditionally." >&2;}
 11696    { (exit 1); exit 1; }; }
 11697 fi
 11699 : ${CONFIG_STATUS=./config.status}
 11700 ac_write_fail=0
 11701 ac_clean_files_save=$ac_clean_files
 11702 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 11703 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 11704 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 11705 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 11706 #! $SHELL
 11707 # Generated by $as_me.
 11708 # Run this file to recreate the current configuration.
 11709 # Compiler output produced by configure, useful for debugging
 11710 # configure, is in config.log if it exists.
 11712 debug=false
 11713 ac_cs_recheck=false
 11714 ac_cs_silent=false
 11715 SHELL=\${CONFIG_SHELL-$SHELL}
 11716 _ACEOF
 11718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 11719 ## --------------------- ##
 11720 ## M4sh Initialization.  ##
 11721 ## --------------------- ##
 11723 # Be more Bourne compatible
 11724 DUALCASE=1; export DUALCASE # for MKS sh
 11725 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 11726   emulate sh
 11727   NULLCMD=:
 11728   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 11729   # is contrary to our usage.  Disable this feature.
 11730   alias -g '${1+"$@"}'='"$@"'
 11731   setopt NO_GLOB_SUBST
 11732 else
 11733   case `(set -o) 2>/dev/null` in
 11734   *posix*) set -o posix ;;
 11735 esac
 11737 fi
 11742 # PATH needs CR
 11743 # Avoid depending upon Character Ranges.
 11744 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 11745 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 11746 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 11747 as_cr_digits='0123456789'
 11748 as_cr_alnum=$as_cr_Letters$as_cr_digits
 11750 as_nl='
 11752 export as_nl
 11753 # Printing a long string crashes Solaris 7 /usr/bin/printf.
 11754 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 11755 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 11756 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 11757 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 11758   as_echo='printf %s\n'
 11759   as_echo_n='printf %s'
 11760 else
 11761   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 11762     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 11763     as_echo_n='/usr/ucb/echo -n'
 11764   else
 11765     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 11766     as_echo_n_body='eval
 11767       arg=$1;
 11768       case $arg in
 11769       *"$as_nl"*)
 11770 	expr "X$arg" : "X\\(.*\\)$as_nl";
 11771 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 11772       esac;
 11773       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 11775     export as_echo_n_body
 11776     as_echo_n='sh -c $as_echo_n_body as_echo'
 11777   fi
 11778   export as_echo_body
 11779   as_echo='sh -c $as_echo_body as_echo'
 11780 fi
 11782 # The user is always right.
 11783 if test "${PATH_SEPARATOR+set}" != set; then
 11784   PATH_SEPARATOR=:
 11785   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 11786     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 11787       PATH_SEPARATOR=';'
 11789 fi
 11791 # Support unset when possible.
 11792 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 11793   as_unset=unset
 11794 else
 11795   as_unset=false
 11796 fi
 11799 # IFS
 11800 # We need space, tab and new line, in precisely that order.  Quoting is
 11801 # there to prevent editors from complaining about space-tab.
 11802 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 11803 # splitting by setting IFS to empty value.)
 11804 IFS=" ""	$as_nl"
 11806 # Find who we are.  Look in the path if we contain no directory separator.
 11807 case $0 in
 11808   *[\\/]* ) as_myself=$0 ;;
 11809   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 11810 for as_dir in $PATH
 11811 do
 11812   IFS=$as_save_IFS
 11813   test -z "$as_dir" && as_dir=.
 11814   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 11815 done
 11816 IFS=$as_save_IFS
 11818      ;;
 11819 esac
 11820 # We did not find ourselves, most probably we were run as `sh COMMAND'
 11821 # in which case we are not to be found in the path.
 11822 if test "x$as_myself" = x; then
 11823   as_myself=$0
 11824 fi
 11825 if test ! -f "$as_myself"; then
 11826   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 11827   { (exit 1); exit 1; }
 11828 fi
 11830 # Work around bugs in pre-3.0 UWIN ksh.
 11831 for as_var in ENV MAIL MAILPATH
 11832 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 11833 done
 11834 PS1='$ '
 11835 PS2='> '
 11836 PS4='+ '
 11838 # NLS nuisances.
 11839 LC_ALL=C
 11840 export LC_ALL
 11841 LANGUAGE=C
 11842 export LANGUAGE
 11844 # Required to use basename.
 11845 if expr a : '\(a\)' >/dev/null 2>&1 &&
 11846    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 11847   as_expr=expr
 11848 else
 11849   as_expr=false
 11850 fi
 11852 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 11853   as_basename=basename
 11854 else
 11855   as_basename=false
 11856 fi
 11859 # Name of the executable.
 11860 as_me=`$as_basename -- "$0" ||
 11861 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 11862 	 X"$0" : 'X\(//\)$' \| \
 11863 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 11864 $as_echo X/"$0" |
 11865     sed '/^.*\/\([^/][^/]*\)\/*$/{
 11866 	    s//\1/
 11869 	  /^X\/\(\/\/\)$/{
 11870 	    s//\1/
 11873 	  /^X\/\(\/\).*/{
 11874 	    s//\1/
 11877 	  s/.*/./; q'`
 11879 # CDPATH.
 11880 $as_unset CDPATH
 11884   as_lineno_1=$LINENO
 11885   as_lineno_2=$LINENO
 11886   test "x$as_lineno_1" != "x$as_lineno_2" &&
 11887   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 11889   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 11890   # uniformly replaced by the line number.  The first 'sed' inserts a
 11891   # line-number line after each line using $LINENO; the second 'sed'
 11892   # does the real work.  The second script uses 'N' to pair each
 11893   # line-number line with the line containing $LINENO, and appends
 11894   # trailing '-' during substitution so that $LINENO is not a special
 11895   # case at line end.
 11896   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 11897   # scripts with optimization help from Paolo Bonzini.  Blame Lee
 11898   # E. McMahon (1931-1989) for sed's syntax.  :-)
 11899   sed -n '
 11901     /[$]LINENO/=
 11902   ' <$as_myself |
 11903     sed '
 11904       s/[$]LINENO.*/&-/
 11905       t lineno
 11907       :lineno
 11909       :loop
 11910       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 11911       t loop
 11912       s/-\n.*//
 11913     ' >$as_me.lineno &&
 11914   chmod +x "$as_me.lineno" ||
 11915     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 11916    { (exit 1); exit 1; }; }
 11918   # Don't try to exec as it changes $[0], causing all sort of problems
 11919   # (the dirname of $[0] is not the place where we might find the
 11920   # original and so on.  Autoconf is especially sensitive to this).
 11921   . "./$as_me.lineno"
 11922   # Exit status is that of the last command.
 11923   exit
 11927 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 11928   as_dirname=dirname
 11929 else
 11930   as_dirname=false
 11931 fi
 11933 ECHO_C= ECHO_N= ECHO_T=
 11934 case `echo -n x` in
 11935 -n*)
 11936   case `echo 'x\c'` in
 11937   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 11938   *)   ECHO_C='\c';;
 11939   esac;;
 11940 *)
 11941   ECHO_N='-n';;
 11942 esac
 11943 if expr a : '\(a\)' >/dev/null 2>&1 &&
 11944    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 11945   as_expr=expr
 11946 else
 11947   as_expr=false
 11948 fi
 11950 rm -f conf$$ conf$$.exe conf$$.file
 11951 if test -d conf$$.dir; then
 11952   rm -f conf$$.dir/conf$$.file
 11953 else
 11954   rm -f conf$$.dir
 11955   mkdir conf$$.dir 2>/dev/null
 11956 fi
 11957 if (echo >conf$$.file) 2>/dev/null; then
 11958   if ln -s conf$$.file conf$$ 2>/dev/null; then
 11959     as_ln_s='ln -s'
 11960     # ... but there are two gotchas:
 11961     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 11962     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 11963     # In both cases, we have to default to `cp -p'.
 11964     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 11965       as_ln_s='cp -p'
 11966   elif ln conf$$.file conf$$ 2>/dev/null; then
 11967     as_ln_s=ln
 11968   else
 11969     as_ln_s='cp -p'
 11970   fi
 11971 else
 11972   as_ln_s='cp -p'
 11973 fi
 11974 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 11975 rmdir conf$$.dir 2>/dev/null
 11977 if mkdir -p . 2>/dev/null; then
 11978   as_mkdir_p=:
 11979 else
 11980   test -d ./-p && rmdir ./-p
 11981   as_mkdir_p=false
 11982 fi
 11984 if test -x / >/dev/null 2>&1; then
 11985   as_test_x='test -x'
 11986 else
 11987   if ls -dL / >/dev/null 2>&1; then
 11988     as_ls_L_option=L
 11989   else
 11990     as_ls_L_option=
 11991   fi
 11992   as_test_x='
 11993     eval sh -c '\''
 11994       if test -d "$1"; then
 11995 	test -d "$1/.";
 11996       else
 11997 	case $1 in
 11998 	-*)set "./$1";;
 11999 	esac;
 12000 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 12001 	???[sx]*):;;*)false;;esac;fi
 12002     '\'' sh
 12004 fi
 12005 as_executable_p=$as_test_x
 12007 # Sed expression to map a string onto a valid CPP name.
 12008 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 12010 # Sed expression to map a string onto a valid variable name.
 12011 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 12014 exec 6>&1
 12016 # Save the log message, to keep $[0] and so on meaningful, and to
 12017 # report actual input values of CONFIG_FILES etc. instead of their
 12018 # values after options handling.
 12019 ac_log="
 12020 This file was extended by $as_me, which was
 12021 generated by GNU Autoconf 2.62.  Invocation command line was
 12023   CONFIG_FILES    = $CONFIG_FILES
 12024   CONFIG_HEADERS  = $CONFIG_HEADERS
 12025   CONFIG_LINKS    = $CONFIG_LINKS
 12026   CONFIG_COMMANDS = $CONFIG_COMMANDS
 12027   $ $0 $@
 12029 on `(hostname || uname -n) 2>/dev/null | sed 1q`
 12032 _ACEOF
 12034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12035 # Files that config.status was made for.
 12036 config_files="$ac_config_files"
 12037 config_headers="$ac_config_headers"
 12038 config_commands="$ac_config_commands"
 12040 _ACEOF
 12042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12043 ac_cs_usage="\
 12044 \`$as_me' instantiates files from templates according to the
 12045 current configuration.
 12047 Usage: $0 [OPTIONS] [FILE]...
 12049   -h, --help       print this help, then exit
 12050   -V, --version    print version number and configuration settings, then exit
 12051   -q, --quiet      do not print progress messages
 12052   -d, --debug      don't remove temporary files
 12053       --recheck    update $as_me by reconfiguring in the same conditions
 12054   --file=FILE[:TEMPLATE]
 12055                    instantiate the configuration file FILE
 12056   --header=FILE[:TEMPLATE]
 12057                    instantiate the configuration header FILE
 12059 Configuration files:
 12060 $config_files
 12062 Configuration headers:
 12063 $config_headers
 12065 Configuration commands:
 12066 $config_commands
 12068 Report bugs to <bug-autoconf@gnu.org>."
 12070 _ACEOF
 12071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12072 ac_cs_version="\\
 12073 config.status
 12074 configured by $0, generated by GNU Autoconf 2.62,
 12075   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 12077 Copyright (C) 2008 Free Software Foundation, Inc.
 12078 This config.status script is free software; the Free Software Foundation
 12079 gives unlimited permission to copy, distribute and modify it."
 12081 ac_pwd='$ac_pwd'
 12082 srcdir='$srcdir'
 12083 INSTALL='$INSTALL'
 12084 AWK='$AWK'
 12085 test -n "\$AWK" || AWK=awk
 12086 _ACEOF
 12088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12089 # The default lists apply if the user does not specify any file.
 12090 ac_need_defaults=:
 12091 while test $# != 0
 12092 do
 12093   case $1 in
 12094   --*=*)
 12095     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 12096     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 12097     ac_shift=:
 12098     ;;
 12099   *)
 12100     ac_option=$1
 12101     ac_optarg=$2
 12102     ac_shift=shift
 12103     ;;
 12104   esac
 12106   case $ac_option in
 12107   # Handling of the options.
 12108   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 12109     ac_cs_recheck=: ;;
 12110   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 12111     $as_echo "$ac_cs_version"; exit ;;
 12112   --debug | --debu | --deb | --de | --d | -d )
 12113     debug=: ;;
 12114   --file | --fil | --fi | --f )
 12115     $ac_shift
 12116     case $ac_optarg in
 12117     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 12118     esac
 12119     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 12120     ac_need_defaults=false;;
 12121   --header | --heade | --head | --hea )
 12122     $ac_shift
 12123     case $ac_optarg in
 12124     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 12125     esac
 12126     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 12127     ac_need_defaults=false;;
 12128   --he | --h)
 12129     # Conflict between --help and --header
 12130     { $as_echo "$as_me: error: ambiguous option: $1
 12131 Try \`$0 --help' for more information." >&2
 12132    { (exit 1); exit 1; }; };;
 12133   --help | --hel | -h )
 12134     $as_echo "$ac_cs_usage"; exit ;;
 12135   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 12136   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 12137     ac_cs_silent=: ;;
 12139   # This is an error.
 12140   -*) { $as_echo "$as_me: error: unrecognized option: $1
 12141 Try \`$0 --help' for more information." >&2
 12142    { (exit 1); exit 1; }; } ;;
 12144   *) ac_config_targets="$ac_config_targets $1"
 12145      ac_need_defaults=false ;;
 12147   esac
 12148   shift
 12149 done
 12151 ac_configure_extra_args=
 12153 if $ac_cs_silent; then
 12154   exec 6>/dev/null
 12155   ac_configure_extra_args="$ac_configure_extra_args --silent"
 12156 fi
 12158 _ACEOF
 12159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12160 if \$ac_cs_recheck; then
 12161   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 12162   shift
 12163   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 12164   CONFIG_SHELL='$SHELL'
 12165   export CONFIG_SHELL
 12166   exec "\$@"
 12167 fi
 12169 _ACEOF
 12170 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12171 exec 5>>config.log
 12173   echo
 12174   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 12175 ## Running $as_me. ##
 12176 _ASBOX
 12177   $as_echo "$ac_log"
 12178 } >&5
 12180 _ACEOF
 12181 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12183 # INIT-COMMANDS
 12185 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 12188 _ACEOF
 12190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12192 # Handling of arguments.
 12193 for ac_config_target in $ac_config_targets
 12194 do
 12195   case $ac_config_target in
 12196     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 12197     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 12198     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 12199     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 12200     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 12201     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 12202     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 12203     "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;
 12205   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 12206 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 12207    { (exit 1); exit 1; }; };;
 12208   esac
 12209 done
 12212 # If the user did not use the arguments to specify the items to instantiate,
 12213 # then the envvar interface is used.  Set only those that are not.
 12214 # We use the long form for the default assignment because of an extremely
 12215 # bizarre bug on SunOS 4.1.3.
 12216 if $ac_need_defaults; then
 12217   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 12218   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 12219   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 12220 fi
 12222 # Have a temporary directory for convenience.  Make it in the build tree
 12223 # simply because there is no reason against having it here, and in addition,
 12224 # creating and moving files from /tmp can sometimes cause problems.
 12225 # Hook for its removal unless debugging.
 12226 # Note that there is a small window in which the directory will not be cleaned:
 12227 # after its creation but before its name has been assigned to `$tmp'.
 12228 $debug ||
 12230   tmp=
 12231   trap 'exit_status=$?
 12232   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 12233 ' 0
 12234   trap '{ (exit 1); exit 1; }' 1 2 13 15
 12236 # Create a (secure) tmp directory for tmp files.
 12239   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 12240   test -n "$tmp" && test -d "$tmp"
 12241 }  ||
 12243   tmp=./conf$$-$RANDOM
 12244   (umask 077 && mkdir "$tmp")
 12245 } ||
 12247    $as_echo "$as_me: cannot create a temporary directory in ." >&2
 12248    { (exit 1); exit 1; }
 12251 # Set up the scripts for CONFIG_FILES section.
 12252 # No need to generate them if there are no CONFIG_FILES.
 12253 # This happens for instance with `./config.status config.h'.
 12254 if test -n "$CONFIG_FILES"; then
 12257 ac_cr='
 12259 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 12260 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 12261   ac_cs_awk_cr='\\r'
 12262 else
 12263   ac_cs_awk_cr=$ac_cr
 12264 fi
 12266 echo 'BEGIN {' >"$tmp/subs1.awk" &&
 12267 _ACEOF
 12271   echo "cat >conf$$subs.awk <<_ACEOF" &&
 12272   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 12273   echo "_ACEOF"
 12274 } >conf$$subs.sh ||
 12275   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 12276 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 12277    { (exit 1); exit 1; }; }
 12278 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 12279 ac_delim='%!_!# '
 12280 for ac_last_try in false false false false false :; do
 12281   . ./conf$$subs.sh ||
 12282     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 12283 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 12284    { (exit 1); exit 1; }; }
 12286   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 12287     break
 12288   elif $ac_last_try; then
 12289     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 12290 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 12291    { (exit 1); exit 1; }; }
 12292   else
 12293     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 12294   fi
 12295 done
 12296 rm -f conf$$subs.sh
 12298 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12299 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 12300 _ACEOF
 12301 sed -n '
 12303 s/^/S["/; s/!.*/"]=/
 12306 s/^[^!]*!//
 12307 :repl
 12308 t repl
 12309 s/'"$ac_delim"'$//
 12310 t delim
 12311 :nl
 12313 s/\(.\{148\}\).*/\1/
 12314 t more1
 12315 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 12318 b repl
 12319 :more1
 12320 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 12323 s/.\{148\}//
 12324 t nl
 12325 :delim
 12327 s/\(.\{148\}\).*/\1/
 12328 t more2
 12329 s/["\\]/\\&/g; s/^/"/; s/$/"/
 12332 :more2
 12333 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 12336 s/.\{148\}//
 12337 t delim
 12338 ' <conf$$subs.awk | sed '
 12339 /^[^""]/{
 12341   s/\n//
 12343 ' >>$CONFIG_STATUS || ac_write_fail=1
 12344 rm -f conf$$subs.awk
 12345 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12346 _ACAWK
 12347 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 12348   for (key in S) S_is_set[key] = 1
 12349   FS = ""
 12353   line = $ 0
 12354   nfields = split(line, field, "@")
 12355   substed = 0
 12356   len = length(field[1])
 12357   for (i = 2; i < nfields; i++) {
 12358     key = field[i]
 12359     keylen = length(key)
 12360     if (S_is_set[key]) {
 12361       value = S[key]
 12362       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 12363       len += length(value) + length(field[++i])
 12364       substed = 1
 12365     } else
 12366       len += 1 + keylen
 12369   print line
 12372 _ACAWK
 12373 _ACEOF
 12374 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12375 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 12376   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 12377 else
 12378   cat
 12379 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 12380   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 12381 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
 12382    { (exit 1); exit 1; }; }
 12383 _ACEOF
 12385 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 12386 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 12387 # trailing colons and then remove the whole line if VPATH becomes empty
 12388 # (actually we leave an empty line to preserve line numbers).
 12389 if test "x$srcdir" = x.; then
 12390   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 12391 s/:*\$(srcdir):*/:/
 12392 s/:*\${srcdir}:*/:/
 12393 s/:*@srcdir@:*/:/
 12394 s/^\([^=]*=[	 ]*\):*/\1/
 12395 s/:*$//
 12396 s/^[^=]*=[	 ]*$//
 12397 }'
 12398 fi
 12400 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12401 fi # test -n "$CONFIG_FILES"
 12403 # Set up the scripts for CONFIG_HEADERS section.
 12404 # No need to generate them if there are no CONFIG_HEADERS.
 12405 # This happens for instance with `./config.status Makefile'.
 12406 if test -n "$CONFIG_HEADERS"; then
 12407 cat >"$tmp/defines.awk" <<\_ACAWK ||
 12408 BEGIN {
 12409 _ACEOF
 12411 # Transform confdefs.h into an awk script `defines.awk', embedded as
 12412 # here-document in config.status, that substitutes the proper values into
 12413 # config.h.in to produce config.h.
 12415 # Create a delimiter string that does not exist in confdefs.h, to ease
 12416 # handling of long lines.
 12417 ac_delim='%!_!# '
 12418 for ac_last_try in false false :; do
 12419   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 12420   if test -z "$ac_t"; then
 12421     break
 12422   elif $ac_last_try; then
 12423     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 12424 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 12425    { (exit 1); exit 1; }; }
 12426   else
 12427     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 12428   fi
 12429 done
 12431 # For the awk script, D is an array of macro values keyed by name,
 12432 # likewise P contains macro parameters if any.  Preserve backslash
 12433 # newline sequences.
 12435 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 12436 sed -n '
 12437 s/.\{148\}/&'"$ac_delim"'/g
 12438 t rset
 12439 :rset
 12440 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 12441 t def
 12443 :def
 12444 s/\\$//
 12445 t bsnl
 12446 s/["\\]/\\&/g
 12447 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 12448 D["\1"]=" \3"/p
 12449 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 12451 :bsnl
 12452 s/["\\]/\\&/g
 12453 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 12454 D["\1"]=" \3\\\\\\n"\\/p
 12455 t cont
 12456 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 12457 t cont
 12459 :cont
 12461 s/.\{148\}/&'"$ac_delim"'/g
 12462 t clear
 12463 :clear
 12464 s/\\$//
 12465 t bsnlc
 12466 s/["\\]/\\&/g; s/^/"/; s/$/"/p
 12468 :bsnlc
 12469 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 12470 b cont
 12471 ' <confdefs.h | sed '
 12472 s/'"$ac_delim"'/"\\\
 12473 "/g' >>$CONFIG_STATUS || ac_write_fail=1
 12475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12476   for (key in D) D_is_set[key] = 1
 12477   FS = ""
 12479 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 12480   line = \$ 0
 12481   split(line, arg, " ")
 12482   if (arg[1] == "#") {
 12483     defundef = arg[2]
 12484     mac1 = arg[3]
 12485   } else {
 12486     defundef = substr(arg[1], 2)
 12487     mac1 = arg[2]
 12489   split(mac1, mac2, "(") #)
 12490   macro = mac2[1]
 12491   if (D_is_set[macro]) {
 12492     # Preserve the white space surrounding the "#".
 12493     prefix = substr(line, 1, index(line, defundef) - 1)
 12494     print prefix "define", macro P[macro] D[macro]
 12495     next
 12496   } else {
 12497     # Replace #undef with comments.  This is necessary, for example,
 12498     # in the case of _POSIX_SOURCE, which is predefined and required
 12499     # on some systems where configure will not decide to define it.
 12500     if (defundef == "undef") {
 12501       print "/*", line, "*/"
 12502       next
 12506 { print }
 12507 _ACAWK
 12508 _ACEOF
 12509 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12510   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 12511 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 12512    { (exit 1); exit 1; }; }
 12513 fi # test -n "$CONFIG_HEADERS"
 12516 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 12517 shift
 12518 for ac_tag
 12519 do
 12520   case $ac_tag in
 12521   :[FHLC]) ac_mode=$ac_tag; continue;;
 12522   esac
 12523   case $ac_mode$ac_tag in
 12524   :[FHL]*:*);;
 12525   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 12526 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 12527    { (exit 1); exit 1; }; };;
 12528   :[FH]-) ac_tag=-:-;;
 12529   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 12530   esac
 12531   ac_save_IFS=$IFS
 12532   IFS=:
 12533   set x $ac_tag
 12534   IFS=$ac_save_IFS
 12535   shift
 12536   ac_file=$1
 12537   shift
 12539   case $ac_mode in
 12540   :L) ac_source=$1;;
 12541   :[FH])
 12542     ac_file_inputs=
 12543     for ac_f
 12544     do
 12545       case $ac_f in
 12546       -) ac_f="$tmp/stdin";;
 12547       *) # Look for the file first in the build tree, then in the source tree
 12548 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 12549 	 # because $ac_f cannot contain `:'.
 12550 	 test -f "$ac_f" ||
 12551 	   case $ac_f in
 12552 	   [\\/$]*) false;;
 12553 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 12554 	   esac ||
 12555 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 12556 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 12557    { (exit 1); exit 1; }; };;
 12558       esac
 12559       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 12560       ac_file_inputs="$ac_file_inputs '$ac_f'"
 12561     done
 12563     # Let's still pretend it is `configure' which instantiates (i.e., don't
 12564     # use $as_me), people would be surprised to read:
 12565     #    /* config.h.  Generated by config.status.  */
 12566     configure_input='Generated from '`
 12567 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 12568 	`' by configure.'
 12569     if test x"$ac_file" != x-; then
 12570       configure_input="$ac_file.  $configure_input"
 12571       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 12572 $as_echo "$as_me: creating $ac_file" >&6;}
 12573     fi
 12574     # Neutralize special characters interpreted by sed in replacement strings.
 12575     case $configure_input in #(
 12576     *\&* | *\|* | *\\* )
 12577        ac_sed_conf_input=`$as_echo "$configure_input" |
 12578        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 12579     *) ac_sed_conf_input=$configure_input;;
 12580     esac
 12582     case $ac_tag in
 12583     *:-:* | *:-) cat >"$tmp/stdin" \
 12584       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 12585 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 12586    { (exit 1); exit 1; }; } ;;
 12587     esac
 12588     ;;
 12589   esac
 12591   ac_dir=`$as_dirname -- "$ac_file" ||
 12592 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12593 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 12594 	 X"$ac_file" : 'X\(//\)$' \| \
 12595 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 12596 $as_echo X"$ac_file" |
 12597     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12598 	    s//\1/
 12601 	  /^X\(\/\/\)[^/].*/{
 12602 	    s//\1/
 12605 	  /^X\(\/\/\)$/{
 12606 	    s//\1/
 12609 	  /^X\(\/\).*/{
 12610 	    s//\1/
 12613 	  s/.*/./; q'`
 12614   { as_dir="$ac_dir"
 12615   case $as_dir in #(
 12616   -*) as_dir=./$as_dir;;
 12617   esac
 12618   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 12619     as_dirs=
 12620     while :; do
 12621       case $as_dir in #(
 12622       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 12623       *) as_qdir=$as_dir;;
 12624       esac
 12625       as_dirs="'$as_qdir' $as_dirs"
 12626       as_dir=`$as_dirname -- "$as_dir" ||
 12627 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12628 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 12629 	 X"$as_dir" : 'X\(//\)$' \| \
 12630 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 12631 $as_echo X"$as_dir" |
 12632     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12633 	    s//\1/
 12636 	  /^X\(\/\/\)[^/].*/{
 12637 	    s//\1/
 12640 	  /^X\(\/\/\)$/{
 12641 	    s//\1/
 12644 	  /^X\(\/\).*/{
 12645 	    s//\1/
 12648 	  s/.*/./; q'`
 12649       test -d "$as_dir" && break
 12650     done
 12651     test -z "$as_dirs" || eval "mkdir $as_dirs"
 12652   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 12653 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 12654    { (exit 1); exit 1; }; }; }
 12655   ac_builddir=.
 12657 case "$ac_dir" in
 12658 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 12659 *)
 12660   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 12661   # A ".." for each directory in $ac_dir_suffix.
 12662   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 12663   case $ac_top_builddir_sub in
 12664   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 12665   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 12666   esac ;;
 12667 esac
 12668 ac_abs_top_builddir=$ac_pwd
 12669 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 12670 # for backward compatibility:
 12671 ac_top_builddir=$ac_top_build_prefix
 12673 case $srcdir in
 12674   .)  # We are building in place.
 12675     ac_srcdir=.
 12676     ac_top_srcdir=$ac_top_builddir_sub
 12677     ac_abs_top_srcdir=$ac_pwd ;;
 12678   [\\/]* | ?:[\\/]* )  # Absolute name.
 12679     ac_srcdir=$srcdir$ac_dir_suffix;
 12680     ac_top_srcdir=$srcdir
 12681     ac_abs_top_srcdir=$srcdir ;;
 12682   *) # Relative name.
 12683     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 12684     ac_top_srcdir=$ac_top_build_prefix$srcdir
 12685     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 12686 esac
 12687 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 12690   case $ac_mode in
 12691   :F)
 12693   # CONFIG_FILE
 12696   case $INSTALL in
 12697   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 12698   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 12699   esac
 12700 _ACEOF
 12702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12703 # If the template does not know about datarootdir, expand it.
 12704 # FIXME: This hack should be removed a few years after 2.60.
 12705 ac_datarootdir_hack=; ac_datarootdir_seen=
 12707 ac_sed_dataroot='
 12708 /datarootdir/ {
 12712 /@datadir@/p
 12713 /@docdir@/p
 12714 /@infodir@/p
 12715 /@localedir@/p
 12716 /@mandir@/p
 12718 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 12719 *datarootdir*) ac_datarootdir_seen=yes;;
 12720 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 12721   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 12722 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 12723 _ACEOF
 12724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12725   ac_datarootdir_hack='
 12726   s&@datadir@&$datadir&g
 12727   s&@docdir@&$docdir&g
 12728   s&@infodir@&$infodir&g
 12729   s&@localedir@&$localedir&g
 12730   s&@mandir@&$mandir&g
 12731     s&\\\${datarootdir}&$datarootdir&g' ;;
 12732 esac
 12733 _ACEOF
 12735 # Neutralize VPATH when `$srcdir' = `.'.
 12736 # Shell code in configure.ac might set extrasub.
 12737 # FIXME: do we really want to maintain this feature?
 12738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12739 ac_sed_extra="$ac_vpsub
 12740 $extrasub
 12741 _ACEOF
 12742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12743 :t
 12744 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 12745 s|@configure_input@|$ac_sed_conf_input|;t t
 12746 s&@top_builddir@&$ac_top_builddir_sub&;t t
 12747 s&@top_build_prefix@&$ac_top_build_prefix&;t t
 12748 s&@srcdir@&$ac_srcdir&;t t
 12749 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 12750 s&@top_srcdir@&$ac_top_srcdir&;t t
 12751 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 12752 s&@builddir@&$ac_builddir&;t t
 12753 s&@abs_builddir@&$ac_abs_builddir&;t t
 12754 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 12755 s&@INSTALL@&$ac_INSTALL&;t t
 12756 $ac_datarootdir_hack
 12758 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 12759   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 12760 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 12761    { (exit 1); exit 1; }; }
 12763 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 12764   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 12765   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 12766   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 12767 which seems to be undefined.  Please make sure it is defined." >&5
 12768 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 12769 which seems to be undefined.  Please make sure it is defined." >&2;}
 12771   rm -f "$tmp/stdin"
 12772   case $ac_file in
 12773   -) cat "$tmp/out" && rm -f "$tmp/out";;
 12774   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 12775   esac \
 12776   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 12777 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 12778    { (exit 1); exit 1; }; }
 12779  ;;
 12780   :H)
 12782   # CONFIG_HEADER
 12784   if test x"$ac_file" != x-; then
 12786       $as_echo "/* $configure_input  */" \
 12787       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 12788     } >"$tmp/config.h" \
 12789       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 12790 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 12791    { (exit 1); exit 1; }; }
 12792     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 12793       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 12794 $as_echo "$as_me: $ac_file is unchanged" >&6;}
 12795     else
 12796       rm -f "$ac_file"
 12797       mv "$tmp/config.h" "$ac_file" \
 12798 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 12799 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 12800    { (exit 1); exit 1; }; }
 12801     fi
 12802   else
 12803     $as_echo "/* $configure_input  */" \
 12804       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 12805       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 12806 $as_echo "$as_me: error: could not create -" >&2;}
 12807    { (exit 1); exit 1; }; }
 12808   fi
 12809 # Compute "$ac_file"'s index in $config_headers.
 12810 _am_stamp_count=1
 12811 for _am_header in $config_headers :; do
 12812   case $_am_header in
 12813     "$ac_file" | "$ac_file":* )
 12814       break ;;
 12815     * )
 12816       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 12817   esac
 12818 done
 12819 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
 12820 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12821 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 12822 	 X"$ac_file" : 'X\(//\)$' \| \
 12823 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 12824 $as_echo X"$ac_file" |
 12825     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12826 	    s//\1/
 12829 	  /^X\(\/\/\)[^/].*/{
 12830 	    s//\1/
 12833 	  /^X\(\/\/\)$/{
 12834 	    s//\1/
 12837 	  /^X\(\/\).*/{
 12838 	    s//\1/
 12841 	  s/.*/./; q'`/stamp-h$_am_stamp_count
 12842  ;;
 12844   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 12845 $as_echo "$as_me: executing $ac_file commands" >&6;}
 12846  ;;
 12847   esac
 12850   case $ac_file$ac_mode in
 12851     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 12852   # Strip MF so we end up with the name of the file.
 12853   mf=`echo "$mf" | sed -e 's/:.*$//'`
 12854   # Check whether this is an Automake generated Makefile or not.
 12855   # We used to match only the files named `Makefile.in', but
 12856   # some people rename them; so instead we look at the file content.
 12857   # Grep'ing the first line is not enough: some people post-process
 12858   # each Makefile.in and add a new line on top of each file to say so.
 12859   # So let's grep whole file.
 12860   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 12861     dirpart=`$as_dirname -- "$mf" ||
 12862 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12863 	 X"$mf" : 'X\(//\)[^/]' \| \
 12864 	 X"$mf" : 'X\(//\)$' \| \
 12865 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 12866 $as_echo X"$mf" |
 12867     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12868 	    s//\1/
 12871 	  /^X\(\/\/\)[^/].*/{
 12872 	    s//\1/
 12875 	  /^X\(\/\/\)$/{
 12876 	    s//\1/
 12879 	  /^X\(\/\).*/{
 12880 	    s//\1/
 12883 	  s/.*/./; q'`
 12884   else
 12885     continue
 12886   fi
 12887   # Extract the definition of DEPDIR, am__include, and am__quote
 12888   # from the Makefile without running `make'.
 12889   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 12890   test -z "$DEPDIR" && continue
 12891   am__include=`sed -n 's/^am__include = //p' < "$mf"`
 12892   test -z "am__include" && continue
 12893   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 12894   # When using ansi2knr, U may be empty or an underscore; expand it
 12895   U=`sed -n 's/^U = //p' < "$mf"`
 12896   # Find all dependency output files, they are included files with
 12897   # $(DEPDIR) in their names.  We invoke sed twice because it is the
 12898   # simplest approach to changing $(DEPDIR) to its actual value in the
 12899   # expansion.
 12900   for file in `sed -n "
 12901     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 12902        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 12903     # Make sure the directory exists.
 12904     test -f "$dirpart/$file" && continue
 12905     fdir=`$as_dirname -- "$file" ||
 12906 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12907 	 X"$file" : 'X\(//\)[^/]' \| \
 12908 	 X"$file" : 'X\(//\)$' \| \
 12909 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 12910 $as_echo X"$file" |
 12911     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12912 	    s//\1/
 12915 	  /^X\(\/\/\)[^/].*/{
 12916 	    s//\1/
 12919 	  /^X\(\/\/\)$/{
 12920 	    s//\1/
 12923 	  /^X\(\/\).*/{
 12924 	    s//\1/
 12927 	  s/.*/./; q'`
 12928     { as_dir=$dirpart/$fdir
 12929   case $as_dir in #(
 12930   -*) as_dir=./$as_dir;;
 12931   esac
 12932   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 12933     as_dirs=
 12934     while :; do
 12935       case $as_dir in #(
 12936       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 12937       *) as_qdir=$as_dir;;
 12938       esac
 12939       as_dirs="'$as_qdir' $as_dirs"
 12940       as_dir=`$as_dirname -- "$as_dir" ||
 12941 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 12942 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 12943 	 X"$as_dir" : 'X\(//\)$' \| \
 12944 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 12945 $as_echo X"$as_dir" |
 12946     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 12947 	    s//\1/
 12950 	  /^X\(\/\/\)[^/].*/{
 12951 	    s//\1/
 12954 	  /^X\(\/\/\)$/{
 12955 	    s//\1/
 12958 	  /^X\(\/\).*/{
 12959 	    s//\1/
 12962 	  s/.*/./; q'`
 12963       test -d "$as_dir" && break
 12964     done
 12965     test -z "$as_dirs" || eval "mkdir $as_dirs"
 12966   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 12967 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 12968    { (exit 1); exit 1; }; }; }
 12969     # echo "creating $dirpart/$file"
 12970     echo '# dummy' > "$dirpart/$file"
 12971   done
 12972 done
 12973  ;;
 12974     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 12975         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 12976       esac ;;
 12978   esac
 12979 done # for ac_tag
 12982 { (exit 0); exit 0; }
 12983 _ACEOF
 12984 chmod +x $CONFIG_STATUS
 12985 ac_clean_files=$ac_clean_files_save
 12987 test $ac_write_fail = 0 ||
 12988   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 12989 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 12990    { (exit 1); exit 1; }; }
 12993 # configure is writing to config.log, and then calls config.status.
 12994 # config.status does its own redirection, appending to config.log.
 12995 # Unfortunately, on DOS this fails, as config.log is still kept open
 12996 # by configure, so config.status won't be able to write to it; its
 12997 # output is simply discarded.  So we exec the FD to /dev/null,
 12998 # effectively closing config.log, so it can be properly (re)opened and
 12999 # appended to by config.status.  When coming back to configure, we
 13000 # need to make the FD available again.
 13001 if test "$no_create" != yes; then
 13002   ac_cs_success=:
 13003   ac_config_status_args=
 13004   test "$silent" = yes &&
 13005     ac_config_status_args="$ac_config_status_args --quiet"
 13006   exec 5>/dev/null
 13007   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 13008   exec 5>>config.log
 13009   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 13010   # would make configure fail if this is the last instruction.
 13011   $ac_cs_success || { (exit 1); exit 1; }
 13012 fi
 13013 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 13014   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 13015 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 13016 fi
 13018 { as_dir=test/sh4
 13019   case $as_dir in #(
 13020   -*) as_dir=./$as_dir;;
 13021   esac
 13022   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 13023     as_dirs=
 13024     while :; do
 13025       case $as_dir in #(
 13026       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 13027       *) as_qdir=$as_dir;;
 13028       esac
 13029       as_dirs="'$as_qdir' $as_dirs"
 13030       as_dir=`$as_dirname -- "$as_dir" ||
 13031 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13032 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 13033 	 X"$as_dir" : 'X\(//\)$' \| \
 13034 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 13035 $as_echo X"$as_dir" |
 13036     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13037 	    s//\1/
 13040 	  /^X\(\/\/\)[^/].*/{
 13041 	    s//\1/
 13044 	  /^X\(\/\/\)$/{
 13045 	    s//\1/
 13048 	  /^X\(\/\).*/{
 13049 	    s//\1/
 13052 	  s/.*/./; q'`
 13053       test -d "$as_dir" && break
 13054     done
 13055     test -z "$as_dirs" || eval "mkdir $as_dirs"
 13056   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 13057 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 13058    { (exit 1); exit 1; }; }; }
 13061 echo
 13062 echo "Configuration complete"
 13063 echo
 13065 if test "x$HAVE_GTK" = x; then
 13066   if test "x$HAVE_COCOA" = x; then
 13067      echo "  User interface: none"
 13068   else
 13069      echo "  User interface: Cocoa"
 13070   fi
 13071 else
 13072   echo "  User interface: GTK"
 13073 fi
 13075 if test "x$SH4_TRANSLATOR" = "x"; then
 13076   echo "  SH4 translator: None (emulation core only)"
 13077 else
 13078   echo "  SH4 translator: $SH4_TRANSLATOR"
 13079 fi
 13081 if test "x$VIDEO_DRIVERS" = "x"; then
 13082    echo "  Video drivers: none (no supported GL found)"
 13083 else
 13084    echo "  Video drivers: $VIDEO_DRIVERS"
 13085 fi
 13087 if test "x$AUDIO_DRIVERS" = "x"; then
 13088    echo "  Audio drivers: none (no supported output devices found)"
 13089 else
 13090    echo "  Audio drivers: $AUDIO_DRIVERS"
 13091 fi
 13093 if test "x$CDROM_DRIVER" = "x"; then
 13094    echo "  CD-ROM driver: none (no supported cd-rom devices found)"
 13095 else
 13096    echo "  CD-ROM driver: $CDROM_DRIVER"
 13097 fi
.