Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 964:f2f3c7612d06
prev927:17b6b9e245d8
next966:0f0320cb3650
author nkeynes
date Thu Jan 15 04:15:11 2009 +0000 (15 years ago)
permissions -rwxr-xr-x
last change Add support for the Intel ICC compiler (C only, icc doesn't support Obj-C)
- Rename Obj-C source to .m
- Separate paths.c into paths_unix.c and paths_osx.m
- Add configuration detection of ICC, along with specific opt flags
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.62.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    27 fi
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
    40 as_nl='
    41 '
    42 export as_nl
    43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    48   as_echo='printf %s\n'
    49   as_echo_n='printf %s'
    50 else
    51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    53     as_echo_n='/usr/ucb/echo -n'
    54   else
    55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    56     as_echo_n_body='eval
    57       arg=$1;
    58       case $arg in
    59       *"$as_nl"*)
    60 	expr "X$arg" : "X\\(.*\\)$as_nl";
    61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    62       esac;
    63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    64     '
    65     export as_echo_n_body
    66     as_echo_n='sh -c $as_echo_n_body as_echo'
    67   fi
    68   export as_echo_body
    69   as_echo='sh -c $as_echo_body as_echo'
    70 fi
    72 # The user is always right.
    73 if test "${PATH_SEPARATOR+set}" != set; then
    74   PATH_SEPARATOR=:
    75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    77       PATH_SEPARATOR=';'
    78   }
    79 fi
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    89 # IFS
    90 # We need space, tab and new line, in precisely that order.  Quoting is
    91 # there to prevent editors from complaining about space-tab.
    92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    93 # splitting by setting IFS to empty value.)
    94 IFS=" ""	$as_nl"
    96 # Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
    98   *[\\/]* ) as_myself=$0 ;;
    99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   100 for as_dir in $PATH
   101 do
   102   IFS=$as_save_IFS
   103   test -z "$as_dir" && as_dir=.
   104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   105 done
   106 IFS=$as_save_IFS
   108      ;;
   109 esac
   110 # We did not find ourselves, most probably we were run as `sh COMMAND'
   111 # in which case we are not to be found in the path.
   112 if test "x$as_myself" = x; then
   113   as_myself=$0
   114 fi
   115 if test ! -f "$as_myself"; then
   116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   117   { (exit 1); exit 1; }
   118 fi
   120 # Work around bugs in pre-3.0 UWIN ksh.
   121 for as_var in ENV MAIL MAILPATH
   122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   123 done
   124 PS1='$ '
   125 PS2='> '
   126 PS4='+ '
   128 # NLS nuisances.
   129 LC_ALL=C
   130 export LC_ALL
   131 LANGUAGE=C
   132 export LANGUAGE
   134 # Required to use basename.
   135 if expr a : '\(a\)' >/dev/null 2>&1 &&
   136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   137   as_expr=expr
   138 else
   139   as_expr=false
   140 fi
   142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   143   as_basename=basename
   144 else
   145   as_basename=false
   146 fi
   149 # Name of the executable.
   150 as_me=`$as_basename -- "$0" ||
   151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   152 	 X"$0" : 'X\(//\)$' \| \
   153 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   154 $as_echo X/"$0" |
   155     sed '/^.*\/\([^/][^/]*\)\/*$/{
   156 	    s//\1/
   157 	    q
   158 	  }
   159 	  /^X\/\(\/\/\)$/{
   160 	    s//\1/
   161 	    q
   162 	  }
   163 	  /^X\/\(\/\).*/{
   164 	    s//\1/
   165 	    q
   166 	  }
   167 	  s/.*/./; q'`
   169 # CDPATH.
   170 $as_unset CDPATH
   173 if test "x$CONFIG_SHELL" = x; then
   174   if (eval ":") 2>/dev/null; then
   175   as_have_required=yes
   176 else
   177   as_have_required=no
   178 fi
   180   if test $as_have_required = yes &&	 (eval ":
   181 (as_func_return () {
   182   (exit \$1)
   183 }
   184 as_func_success () {
   185   as_func_return 0
   186 }
   187 as_func_failure () {
   188   as_func_return 1
   189 }
   190 as_func_ret_success () {
   191   return 0
   192 }
   193 as_func_ret_failure () {
   194   return 1
   195 }
   197 exitcode=0
   198 if as_func_success; then
   199   :
   200 else
   201   exitcode=1
   202   echo as_func_success failed.
   203 fi
   205 if as_func_failure; then
   206   exitcode=1
   207   echo as_func_failure succeeded.
   208 fi
   210 if as_func_ret_success; then
   211   :
   212 else
   213   exitcode=1
   214   echo as_func_ret_success failed.
   215 fi
   217 if as_func_ret_failure; then
   218   exitcode=1
   219   echo as_func_ret_failure succeeded.
   220 fi
   222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   223   :
   224 else
   225   exitcode=1
   226   echo positional parameters were not saved.
   227 fi
   229 test \$exitcode = 0) || { (exit 1); exit 1; }
   231 (
   232   as_lineno_1=\$LINENO
   233   as_lineno_2=\$LINENO
   234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   236 ") 2> /dev/null; then
   237   :
   238 else
   239   as_candidate_shells=
   240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   242 do
   243   IFS=$as_save_IFS
   244   test -z "$as_dir" && as_dir=.
   245   case $as_dir in
   246 	 /*)
   247 	   for as_base in sh bash ksh sh5; do
   248 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   249 	   done;;
   250        esac
   251 done
   252 IFS=$as_save_IFS
   255       for as_shell in $as_candidate_shells $SHELL; do
   256 	 # Try only shells that exist, to save several forks.
   257 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   258 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   260   emulate sh
   261   NULLCMD=:
   262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   263   # is contrary to our usage.  Disable this feature.
   264   alias -g '${1+"$@"}'='"$@"'
   265   setopt NO_GLOB_SUBST
   266 else
   267   case `(set -o) 2>/dev/null` in
   268   *posix*) set -o posix ;;
   269 esac
   271 fi
   274 :
   275 _ASEOF
   276 }; then
   277   CONFIG_SHELL=$as_shell
   278 	       as_have_required=yes
   279 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   281   emulate sh
   282   NULLCMD=:
   283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   284   # is contrary to our usage.  Disable this feature.
   285   alias -g '${1+"$@"}'='"$@"'
   286   setopt NO_GLOB_SUBST
   287 else
   288   case `(set -o) 2>/dev/null` in
   289   *posix*) set -o posix ;;
   290 esac
   292 fi
   295 :
   296 (as_func_return () {
   297   (exit $1)
   298 }
   299 as_func_success () {
   300   as_func_return 0
   301 }
   302 as_func_failure () {
   303   as_func_return 1
   304 }
   305 as_func_ret_success () {
   306   return 0
   307 }
   308 as_func_ret_failure () {
   309   return 1
   310 }
   312 exitcode=0
   313 if as_func_success; then
   314   :
   315 else
   316   exitcode=1
   317   echo as_func_success failed.
   318 fi
   320 if as_func_failure; then
   321   exitcode=1
   322   echo as_func_failure succeeded.
   323 fi
   325 if as_func_ret_success; then
   326   :
   327 else
   328   exitcode=1
   329   echo as_func_ret_success failed.
   330 fi
   332 if as_func_ret_failure; then
   333   exitcode=1
   334   echo as_func_ret_failure succeeded.
   335 fi
   337 if ( set x; as_func_ret_success y && test x = "$1" ); then
   338   :
   339 else
   340   exitcode=1
   341   echo positional parameters were not saved.
   342 fi
   344 test $exitcode = 0) || { (exit 1); exit 1; }
   346 (
   347   as_lineno_1=$LINENO
   348   as_lineno_2=$LINENO
   349   test "x$as_lineno_1" != "x$as_lineno_2" &&
   350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   352 _ASEOF
   353 }; then
   354   break
   355 fi
   357 fi
   359       done
   361       if test "x$CONFIG_SHELL" != x; then
   362   for as_var in BASH_ENV ENV
   363 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   364 	done
   365 	export CONFIG_SHELL
   366 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   367 fi
   370     if test $as_have_required = no; then
   371   echo This script requires a shell more modern than all the
   372       echo shells that I found on your system.  Please install a
   373       echo modern shell, or manually run the script under such a
   374       echo shell if you do have one.
   375       { (exit 1); exit 1; }
   376 fi
   379 fi
   381 fi
   385 (eval "as_func_return () {
   386   (exit \$1)
   387 }
   388 as_func_success () {
   389   as_func_return 0
   390 }
   391 as_func_failure () {
   392   as_func_return 1
   393 }
   394 as_func_ret_success () {
   395   return 0
   396 }
   397 as_func_ret_failure () {
   398   return 1
   399 }
   401 exitcode=0
   402 if as_func_success; then
   403   :
   404 else
   405   exitcode=1
   406   echo as_func_success failed.
   407 fi
   409 if as_func_failure; then
   410   exitcode=1
   411   echo as_func_failure succeeded.
   412 fi
   414 if as_func_ret_success; then
   415   :
   416 else
   417   exitcode=1
   418   echo as_func_ret_success failed.
   419 fi
   421 if as_func_ret_failure; then
   422   exitcode=1
   423   echo as_func_ret_failure succeeded.
   424 fi
   426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   427   :
   428 else
   429   exitcode=1
   430   echo positional parameters were not saved.
   431 fi
   433 test \$exitcode = 0") || {
   434   echo No shell found that supports shell functions.
   435   echo Please tell bug-autoconf@gnu.org about your system,
   436   echo including any error possibly output before this message.
   437   echo This can help us improve future autoconf versions.
   438   echo Configuration will now proceed without shell functions.
   439 }
   443   as_lineno_1=$LINENO
   444   as_lineno_2=$LINENO
   445   test "x$as_lineno_1" != "x$as_lineno_2" &&
   446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   449   # uniformly replaced by the line number.  The first 'sed' inserts a
   450   # line-number line after each line using $LINENO; the second 'sed'
   451   # does the real work.  The second script uses 'N' to pair each
   452   # line-number line with the line containing $LINENO, and appends
   453   # trailing '-' during substitution so that $LINENO is not a special
   454   # case at line end.
   455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   457   # E. McMahon (1931-1989) for sed's syntax.  :-)
   458   sed -n '
   459     p
   460     /[$]LINENO/=
   461   ' <$as_myself |
   462     sed '
   463       s/[$]LINENO.*/&-/
   464       t lineno
   465       b
   466       :lineno
   467       N
   468       :loop
   469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   470       t loop
   471       s/-\n.*//
   472     ' >$as_me.lineno &&
   473   chmod +x "$as_me.lineno" ||
   474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   475    { (exit 1); exit 1; }; }
   477   # Don't try to exec as it changes $[0], causing all sort of problems
   478   # (the dirname of $[0] is not the place where we might find the
   479   # original and so on.  Autoconf is especially sensitive to this).
   480   . "./$as_me.lineno"
   481   # Exit status is that of the last command.
   482   exit
   483 }
   486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   487   as_dirname=dirname
   488 else
   489   as_dirname=false
   490 fi
   492 ECHO_C= ECHO_N= ECHO_T=
   493 case `echo -n x` in
   494 -n*)
   495   case `echo 'x\c'` in
   496   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   497   *)   ECHO_C='\c';;
   498   esac;;
   499 *)
   500   ECHO_N='-n';;
   501 esac
   502 if expr a : '\(a\)' >/dev/null 2>&1 &&
   503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   504   as_expr=expr
   505 else
   506   as_expr=false
   507 fi
   509 rm -f conf$$ conf$$.exe conf$$.file
   510 if test -d conf$$.dir; then
   511   rm -f conf$$.dir/conf$$.file
   512 else
   513   rm -f conf$$.dir
   514   mkdir conf$$.dir 2>/dev/null
   515 fi
   516 if (echo >conf$$.file) 2>/dev/null; then
   517   if ln -s conf$$.file conf$$ 2>/dev/null; then
   518     as_ln_s='ln -s'
   519     # ... but there are two gotchas:
   520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   522     # In both cases, we have to default to `cp -p'.
   523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   524       as_ln_s='cp -p'
   525   elif ln conf$$.file conf$$ 2>/dev/null; then
   526     as_ln_s=ln
   527   else
   528     as_ln_s='cp -p'
   529   fi
   530 else
   531   as_ln_s='cp -p'
   532 fi
   533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   534 rmdir conf$$.dir 2>/dev/null
   536 if mkdir -p . 2>/dev/null; then
   537   as_mkdir_p=:
   538 else
   539   test -d ./-p && rmdir ./-p
   540   as_mkdir_p=false
   541 fi
   543 if test -x / >/dev/null 2>&1; then
   544   as_test_x='test -x'
   545 else
   546   if ls -dL / >/dev/null 2>&1; then
   547     as_ls_L_option=L
   548   else
   549     as_ls_L_option=
   550   fi
   551   as_test_x='
   552     eval sh -c '\''
   553       if test -d "$1"; then
   554 	test -d "$1/.";
   555       else
   556 	case $1 in
   557 	-*)set "./$1";;
   558 	esac;
   559 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   560 	???[sx]*):;;*)false;;esac;fi
   561     '\'' sh
   562   '
   563 fi
   564 as_executable_p=$as_test_x
   566 # Sed expression to map a string onto a valid CPP name.
   567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   569 # Sed expression to map a string onto a valid variable name.
   570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   574 exec 7<&0 </dev/null 6>&1
   576 # Name of the host.
   577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   578 # so uname gets run too.
   579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   581 #
   582 # Initializations.
   583 #
   584 ac_default_prefix=/usr/local
   585 ac_clean_files=
   586 ac_config_libobj_dir=.
   587 LIBOBJS=
   588 cross_compiling=no
   589 subdirs=
   590 MFLAGS=
   591 MAKEFLAGS=
   592 SHELL=${CONFIG_SHELL-/bin/sh}
   594 # Identity of this package.
   595 PACKAGE_NAME=
   596 PACKAGE_TARNAME=
   597 PACKAGE_VERSION=
   598 PACKAGE_STRING=
   599 PACKAGE_BUGREPORT=
   601 ac_unique_file="configure.in"
   602 # Factoring default headers for most tests.
   603 ac_includes_default="\
   604 #include <stdio.h>
   605 #ifdef HAVE_SYS_TYPES_H
   606 # include <sys/types.h>
   607 #endif
   608 #ifdef HAVE_SYS_STAT_H
   609 # include <sys/stat.h>
   610 #endif
   611 #ifdef STDC_HEADERS
   612 # include <stdlib.h>
   613 # include <stddef.h>
   614 #else
   615 # ifdef HAVE_STDLIB_H
   616 #  include <stdlib.h>
   617 # endif
   618 #endif
   619 #ifdef HAVE_STRING_H
   620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   621 #  include <memory.h>
   622 # endif
   623 # include <string.h>
   624 #endif
   625 #ifdef HAVE_STRINGS_H
   626 # include <strings.h>
   627 #endif
   628 #ifdef HAVE_INTTYPES_H
   629 # include <inttypes.h>
   630 #endif
   631 #ifdef HAVE_STDINT_H
   632 # include <stdint.h>
   633 #endif
   634 #ifdef HAVE_UNISTD_H
   635 # include <unistd.h>
   636 #endif"
   638 ac_subst_vars='SHELL
   639 PATH_SEPARATOR
   640 PACKAGE_NAME
   641 PACKAGE_TARNAME
   642 PACKAGE_VERSION
   643 PACKAGE_STRING
   644 PACKAGE_BUGREPORT
   645 exec_prefix
   646 prefix
   647 program_transform_name
   648 bindir
   649 sbindir
   650 libexecdir
   651 datarootdir
   652 datadir
   653 sysconfdir
   654 sharedstatedir
   655 localstatedir
   656 includedir
   657 oldincludedir
   658 docdir
   659 infodir
   660 htmldir
   661 dvidir
   662 pdfdir
   663 psdir
   664 libdir
   665 localedir
   666 mandir
   667 DEFS
   668 ECHO_C
   669 ECHO_N
   670 ECHO_T
   671 LIBS
   672 build_alias
   673 host_alias
   674 target_alias
   675 INSTALL_PROGRAM
   676 INSTALL_SCRIPT
   677 INSTALL_DATA
   678 CYGPATH_W
   679 PACKAGE
   680 VERSION
   681 ACLOCAL
   682 AUTOCONF
   683 AUTOMAKE
   684 AUTOHEADER
   685 MAKEINFO
   686 install_sh
   687 STRIP
   688 INSTALL_STRIP_PROGRAM
   689 mkdir_p
   690 AWK
   691 SET_MAKE
   692 am__leading_dot
   693 AMTAR
   694 am__tar
   695 am__untar
   696 MAINTAINER_MODE_TRUE
   697 MAINTAINER_MODE_FALSE
   698 MAINT
   699 CC
   700 CFLAGS
   701 LDFLAGS
   702 CPPFLAGS
   703 ac_ct_CC
   704 EXEEXT
   705 OBJEXT
   706 DEPDIR
   707 am__include
   708 am__quote
   709 AMDEP_TRUE
   710 AMDEP_FALSE
   711 AMDEPBACKSLASH
   712 CCDEPMODE
   713 am__fastdepCC_TRUE
   714 am__fastdepCC_FALSE
   715 OBJC
   716 OBJCFLAGS
   717 ac_ct_OBJC
   718 SED
   719 CCAS
   720 CCASFLAGS
   721 CPP
   722 GREP
   723 EGREP
   724 build
   725 build_cpu
   726 build_vendor
   727 build_os
   728 host
   729 host_cpu
   730 host_vendor
   731 host_os
   732 OBJCDEPMODE
   733 am__fastdepOBJC_TRUE
   734 am__fastdepOBJC_FALSE
   735 POD2MAN
   736 POD2HTML
   737 OBJCPP
   738 GUI_COCOA_TRUE
   739 GUI_COCOA_FALSE
   740 PKG_CONFIG
   741 LIBPNG_CFLAGS
   742 LIBPNG_LIBS
   743 GLIB_CFLAGS
   744 GLIB_LIBS
   745 GTK_CFLAGS
   746 GTK_LIBS
   747 GUI_GTK_TRUE
   748 GUI_GTK_FALSE
   749 VIDEO_OSMESA_TRUE
   750 VIDEO_OSMESA_FALSE
   751 VIDEO_GLX_TRUE
   752 VIDEO_GLX_FALSE
   753 VIDEO_NSGL_TRUE
   754 VIDEO_NSGL_FALSE
   755 BUILD_SH4X86_TRUE
   756 BUILD_SH4X86_FALSE
   757 AUDIO_OSX_TRUE
   758 AUDIO_OSX_FALSE
   759 PULSE_CFLAGS
   760 PULSE_LIBS
   761 AUDIO_PULSE_TRUE
   762 AUDIO_PULSE_FALSE
   763 ESOUND_CFLAGS
   764 ESOUND_LIBS
   765 AUDIO_ESOUND_TRUE
   766 AUDIO_ESOUND_FALSE
   767 ALSA_CFLAGS
   768 ALSA_LIBS
   769 AUDIO_ALSA_TRUE
   770 AUDIO_ALSA_FALSE
   771 CDROM_LINUX_TRUE
   772 CDROM_LINUX_FALSE
   773 CDROM_OSX_TRUE
   774 CDROM_OSX_FALSE
   775 CDROM_NONE_TRUE
   776 CDROM_NONE_FALSE
   777 JOY_LINUX_TRUE
   778 JOY_LINUX_FALSE
   779 SHCC
   780 SHLD
   781 SHOBJCOPY
   782 ARMCC
   783 ARMLD
   784 ARMOBJCOPY
   785 BUILD_SYSTEST_TRUE
   786 BUILD_SYSTEST_FALSE
   787 BUILD_ARMTEST_TRUE
   788 BUILD_ARMTEST_FALSE
   789 GETTEXT_PACKAGE
   790 USE_NLS
   791 MSGFMT
   792 MSGFMT_OPTS
   793 GMSGFMT
   794 XGETTEXT
   795 CATALOGS
   796 CATOBJEXT
   797 DATADIRNAME
   798 GMOFILES
   799 INSTOBJEXT
   800 INTLLIBS
   801 PO_IN_DATADIR_TRUE
   802 PO_IN_DATADIR_FALSE
   803 POFILES
   804 POSUB
   805 MKINSTALLDIRS
   806 LIBOBJS
   807 LTLIBOBJS'
   808 ac_subst_files=''
   809 ac_user_opts='
   810 enable_option_checking
   811 enable_maintainer_mode
   812 enable_dependency_tracking
   813 enable_strict_warn
   814 enable_translator
   815 enable_optimized
   816 enable_profiled
   817 enable_trace
   818 enable_watch
   819 enable_sh4stats
   820 with_osmesa
   821 with_gtk
   822 with_esd
   823 with_pulse
   824 '
   825       ac_precious_vars='build_alias
   826 host_alias
   827 target_alias
   828 CC
   829 CFLAGS
   830 LDFLAGS
   831 LIBS
   832 CPPFLAGS
   833 OBJC
   834 OBJCFLAGS
   835 CCAS
   836 CCASFLAGS
   837 CPP
   838 OBJCPP
   839 PKG_CONFIG
   840 LIBPNG_CFLAGS
   841 LIBPNG_LIBS
   842 GLIB_CFLAGS
   843 GLIB_LIBS
   844 GTK_CFLAGS
   845 GTK_LIBS
   846 PULSE_CFLAGS
   847 PULSE_LIBS
   848 ESOUND_CFLAGS
   849 ESOUND_LIBS
   850 ALSA_CFLAGS
   851 ALSA_LIBS'
   854 # Initialize some variables set by options.
   855 ac_init_help=
   856 ac_init_version=false
   857 ac_unrecognized_opts=
   858 ac_unrecognized_sep=
   859 # The variables have the same names as the options, with
   860 # dashes changed to underlines.
   861 cache_file=/dev/null
   862 exec_prefix=NONE
   863 no_create=
   864 no_recursion=
   865 prefix=NONE
   866 program_prefix=NONE
   867 program_suffix=NONE
   868 program_transform_name=s,x,x,
   869 silent=
   870 site=
   871 srcdir=
   872 verbose=
   873 x_includes=NONE
   874 x_libraries=NONE
   876 # Installation directory options.
   877 # These are left unexpanded so users can "make install exec_prefix=/foo"
   878 # and all the variables that are supposed to be based on exec_prefix
   879 # by default will actually change.
   880 # Use braces instead of parens because sh, perl, etc. also accept them.
   881 # (The list follows the same order as the GNU Coding Standards.)
   882 bindir='${exec_prefix}/bin'
   883 sbindir='${exec_prefix}/sbin'
   884 libexecdir='${exec_prefix}/libexec'
   885 datarootdir='${prefix}/share'
   886 datadir='${datarootdir}'
   887 sysconfdir='${prefix}/etc'
   888 sharedstatedir='${prefix}/com'
   889 localstatedir='${prefix}/var'
   890 includedir='${prefix}/include'
   891 oldincludedir='/usr/include'
   892 docdir='${datarootdir}/doc/${PACKAGE}'
   893 infodir='${datarootdir}/info'
   894 htmldir='${docdir}'
   895 dvidir='${docdir}'
   896 pdfdir='${docdir}'
   897 psdir='${docdir}'
   898 libdir='${exec_prefix}/lib'
   899 localedir='${datarootdir}/locale'
   900 mandir='${datarootdir}/man'
   902 ac_prev=
   903 ac_dashdash=
   904 for ac_option
   905 do
   906   # If the previous option needs an argument, assign it.
   907   if test -n "$ac_prev"; then
   908     eval $ac_prev=\$ac_option
   909     ac_prev=
   910     continue
   911   fi
   913   case $ac_option in
   914   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   915   *)	ac_optarg=yes ;;
   916   esac
   918   # Accept the important Cygnus configure options, so we can diagnose typos.
   920   case $ac_dashdash$ac_option in
   921   --)
   922     ac_dashdash=yes ;;
   924   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   925     ac_prev=bindir ;;
   926   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   927     bindir=$ac_optarg ;;
   929   -build | --build | --buil | --bui | --bu)
   930     ac_prev=build_alias ;;
   931   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   932     build_alias=$ac_optarg ;;
   934   -cache-file | --cache-file | --cache-fil | --cache-fi \
   935   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   936     ac_prev=cache_file ;;
   937   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   938   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   939     cache_file=$ac_optarg ;;
   941   --config-cache | -C)
   942     cache_file=config.cache ;;
   944   -datadir | --datadir | --datadi | --datad)
   945     ac_prev=datadir ;;
   946   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   947     datadir=$ac_optarg ;;
   949   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   950   | --dataroo | --dataro | --datar)
   951     ac_prev=datarootdir ;;
   952   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   953   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   954     datarootdir=$ac_optarg ;;
   956   -disable-* | --disable-*)
   957     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   958     # Reject names that are not valid shell variable names.
   959     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   960       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   961    { (exit 1); exit 1; }; }
   962     ac_useropt_orig=$ac_useropt
   963     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   964     case $ac_user_opts in
   965       *"
   966 "enable_$ac_useropt"
   967 "*) ;;
   968       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   969 	 ac_unrecognized_sep=', ';;
   970     esac
   971     eval enable_$ac_useropt=no ;;
   973   -docdir | --docdir | --docdi | --doc | --do)
   974     ac_prev=docdir ;;
   975   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   976     docdir=$ac_optarg ;;
   978   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   979     ac_prev=dvidir ;;
   980   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   981     dvidir=$ac_optarg ;;
   983   -enable-* | --enable-*)
   984     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   985     # Reject names that are not valid shell variable names.
   986     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   987       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   988    { (exit 1); exit 1; }; }
   989     ac_useropt_orig=$ac_useropt
   990     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   991     case $ac_user_opts in
   992       *"
   993 "enable_$ac_useropt"
   994 "*) ;;
   995       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   996 	 ac_unrecognized_sep=', ';;
   997     esac
   998     eval enable_$ac_useropt=\$ac_optarg ;;
  1000   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1001   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1002   | --exec | --exe | --ex)
  1003     ac_prev=exec_prefix ;;
  1004   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1005   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1006   | --exec=* | --exe=* | --ex=*)
  1007     exec_prefix=$ac_optarg ;;
  1009   -gas | --gas | --ga | --g)
  1010     # Obsolete; use --with-gas.
  1011     with_gas=yes ;;
  1013   -help | --help | --hel | --he | -h)
  1014     ac_init_help=long ;;
  1015   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1016     ac_init_help=recursive ;;
  1017   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1018     ac_init_help=short ;;
  1020   -host | --host | --hos | --ho)
  1021     ac_prev=host_alias ;;
  1022   -host=* | --host=* | --hos=* | --ho=*)
  1023     host_alias=$ac_optarg ;;
  1025   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1026     ac_prev=htmldir ;;
  1027   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1028   | --ht=*)
  1029     htmldir=$ac_optarg ;;
  1031   -includedir | --includedir | --includedi | --included | --include \
  1032   | --includ | --inclu | --incl | --inc)
  1033     ac_prev=includedir ;;
  1034   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1035   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1036     includedir=$ac_optarg ;;
  1038   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1039     ac_prev=infodir ;;
  1040   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1041     infodir=$ac_optarg ;;
  1043   -libdir | --libdir | --libdi | --libd)
  1044     ac_prev=libdir ;;
  1045   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1046     libdir=$ac_optarg ;;
  1048   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1049   | --libexe | --libex | --libe)
  1050     ac_prev=libexecdir ;;
  1051   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1052   | --libexe=* | --libex=* | --libe=*)
  1053     libexecdir=$ac_optarg ;;
  1055   -localedir | --localedir | --localedi | --localed | --locale)
  1056     ac_prev=localedir ;;
  1057   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1058     localedir=$ac_optarg ;;
  1060   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1061   | --localstate | --localstat | --localsta | --localst | --locals)
  1062     ac_prev=localstatedir ;;
  1063   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1064   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1065     localstatedir=$ac_optarg ;;
  1067   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1068     ac_prev=mandir ;;
  1069   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1070     mandir=$ac_optarg ;;
  1072   -nfp | --nfp | --nf)
  1073     # Obsolete; use --without-fp.
  1074     with_fp=no ;;
  1076   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1077   | --no-cr | --no-c | -n)
  1078     no_create=yes ;;
  1080   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1081   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1082     no_recursion=yes ;;
  1084   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1085   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1086   | --oldin | --oldi | --old | --ol | --o)
  1087     ac_prev=oldincludedir ;;
  1088   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1089   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1090   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1091     oldincludedir=$ac_optarg ;;
  1093   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1094     ac_prev=prefix ;;
  1095   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1096     prefix=$ac_optarg ;;
  1098   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1099   | --program-pre | --program-pr | --program-p)
  1100     ac_prev=program_prefix ;;
  1101   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1102   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1103     program_prefix=$ac_optarg ;;
  1105   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1106   | --program-suf | --program-su | --program-s)
  1107     ac_prev=program_suffix ;;
  1108   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1109   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1110     program_suffix=$ac_optarg ;;
  1112   -program-transform-name | --program-transform-name \
  1113   | --program-transform-nam | --program-transform-na \
  1114   | --program-transform-n | --program-transform- \
  1115   | --program-transform | --program-transfor \
  1116   | --program-transfo | --program-transf \
  1117   | --program-trans | --program-tran \
  1118   | --progr-tra | --program-tr | --program-t)
  1119     ac_prev=program_transform_name ;;
  1120   -program-transform-name=* | --program-transform-name=* \
  1121   | --program-transform-nam=* | --program-transform-na=* \
  1122   | --program-transform-n=* | --program-transform-=* \
  1123   | --program-transform=* | --program-transfor=* \
  1124   | --program-transfo=* | --program-transf=* \
  1125   | --program-trans=* | --program-tran=* \
  1126   | --progr-tra=* | --program-tr=* | --program-t=*)
  1127     program_transform_name=$ac_optarg ;;
  1129   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1130     ac_prev=pdfdir ;;
  1131   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1132     pdfdir=$ac_optarg ;;
  1134   -psdir | --psdir | --psdi | --psd | --ps)
  1135     ac_prev=psdir ;;
  1136   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1137     psdir=$ac_optarg ;;
  1139   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1140   | -silent | --silent | --silen | --sile | --sil)
  1141     silent=yes ;;
  1143   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1144     ac_prev=sbindir ;;
  1145   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1146   | --sbi=* | --sb=*)
  1147     sbindir=$ac_optarg ;;
  1149   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1150   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1151   | --sharedst | --shareds | --shared | --share | --shar \
  1152   | --sha | --sh)
  1153     ac_prev=sharedstatedir ;;
  1154   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1155   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1156   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1157   | --sha=* | --sh=*)
  1158     sharedstatedir=$ac_optarg ;;
  1160   -site | --site | --sit)
  1161     ac_prev=site ;;
  1162   -site=* | --site=* | --sit=*)
  1163     site=$ac_optarg ;;
  1165   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1166     ac_prev=srcdir ;;
  1167   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1168     srcdir=$ac_optarg ;;
  1170   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1171   | --syscon | --sysco | --sysc | --sys | --sy)
  1172     ac_prev=sysconfdir ;;
  1173   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1174   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1175     sysconfdir=$ac_optarg ;;
  1177   -target | --target | --targe | --targ | --tar | --ta | --t)
  1178     ac_prev=target_alias ;;
  1179   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1180     target_alias=$ac_optarg ;;
  1182   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1183     verbose=yes ;;
  1185   -version | --version | --versio | --versi | --vers | -V)
  1186     ac_init_version=: ;;
  1188   -with-* | --with-*)
  1189     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1190     # Reject names that are not valid shell variable names.
  1191     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1192       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1193    { (exit 1); exit 1; }; }
  1194     ac_useropt_orig=$ac_useropt
  1195     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1196     case $ac_user_opts in
  1197       *"
  1198 "with_$ac_useropt"
  1199 "*) ;;
  1200       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1201 	 ac_unrecognized_sep=', ';;
  1202     esac
  1203     eval with_$ac_useropt=\$ac_optarg ;;
  1205   -without-* | --without-*)
  1206     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1207     # Reject names that are not valid shell variable names.
  1208     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1209       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1210    { (exit 1); exit 1; }; }
  1211     ac_useropt_orig=$ac_useropt
  1212     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1213     case $ac_user_opts in
  1214       *"
  1215 "with_$ac_useropt"
  1216 "*) ;;
  1217       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1218 	 ac_unrecognized_sep=', ';;
  1219     esac
  1220     eval with_$ac_useropt=no ;;
  1222   --x)
  1223     # Obsolete; use --with-x.
  1224     with_x=yes ;;
  1226   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1227   | --x-incl | --x-inc | --x-in | --x-i)
  1228     ac_prev=x_includes ;;
  1229   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1230   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1231     x_includes=$ac_optarg ;;
  1233   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1234   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1235     ac_prev=x_libraries ;;
  1236   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1237   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1238     x_libraries=$ac_optarg ;;
  1240   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1241 Try \`$0 --help' for more information." >&2
  1242    { (exit 1); exit 1; }; }
  1243     ;;
  1245   *=*)
  1246     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1247     # Reject names that are not valid shell variable names.
  1248     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1249       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1250    { (exit 1); exit 1; }; }
  1251     eval $ac_envvar=\$ac_optarg
  1252     export $ac_envvar ;;
  1254   *)
  1255     # FIXME: should be removed in autoconf 3.0.
  1256     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1257     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1258       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1259     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1260     ;;
  1262   esac
  1263 done
  1265 if test -n "$ac_prev"; then
  1266   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1267   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1268    { (exit 1); exit 1; }; }
  1269 fi
  1271 if test -n "$ac_unrecognized_opts"; then
  1272   case $enable_option_checking in
  1273     no) ;;
  1274     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  1275    { (exit 1); exit 1; }; } ;;
  1276     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1277   esac
  1278 fi
  1280 # Check all directory arguments for consistency.
  1281 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1282 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1283 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1284 		libdir localedir mandir
  1285 do
  1286   eval ac_val=\$$ac_var
  1287   # Remove trailing slashes.
  1288   case $ac_val in
  1289     */ )
  1290       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1291       eval $ac_var=\$ac_val;;
  1292   esac
  1293   # Be sure to have absolute directory names.
  1294   case $ac_val in
  1295     [\\/$]* | ?:[\\/]* )  continue;;
  1296     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1297   esac
  1298   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1299    { (exit 1); exit 1; }; }
  1300 done
  1302 # There might be people who depend on the old broken behavior: `$host'
  1303 # used to hold the argument of --host etc.
  1304 # FIXME: To remove some day.
  1305 build=$build_alias
  1306 host=$host_alias
  1307 target=$target_alias
  1309 # FIXME: To remove some day.
  1310 if test "x$host_alias" != x; then
  1311   if test "x$build_alias" = x; then
  1312     cross_compiling=maybe
  1313     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1314     If a cross compiler is detected then cross compile mode will be used." >&2
  1315   elif test "x$build_alias" != "x$host_alias"; then
  1316     cross_compiling=yes
  1317   fi
  1318 fi
  1320 ac_tool_prefix=
  1321 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1323 test "$silent" = yes && exec 6>/dev/null
  1326 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1327 ac_ls_di=`ls -di .` &&
  1328 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1329   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  1330    { (exit 1); exit 1; }; }
  1331 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1332   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1333    { (exit 1); exit 1; }; }
  1336 # Find the source files, if location was not specified.
  1337 if test -z "$srcdir"; then
  1338   ac_srcdir_defaulted=yes
  1339   # Try the directory containing this script, then the parent directory.
  1340   ac_confdir=`$as_dirname -- "$as_myself" ||
  1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1342 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1343 	 X"$as_myself" : 'X\(//\)$' \| \
  1344 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1345 $as_echo X"$as_myself" |
  1346     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1347 	    s//\1/
  1350 	  /^X\(\/\/\)[^/].*/{
  1351 	    s//\1/
  1354 	  /^X\(\/\/\)$/{
  1355 	    s//\1/
  1358 	  /^X\(\/\).*/{
  1359 	    s//\1/
  1362 	  s/.*/./; q'`
  1363   srcdir=$ac_confdir
  1364   if test ! -r "$srcdir/$ac_unique_file"; then
  1365     srcdir=..
  1366   fi
  1367 else
  1368   ac_srcdir_defaulted=no
  1369 fi
  1370 if test ! -r "$srcdir/$ac_unique_file"; then
  1371   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1372   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1373    { (exit 1); exit 1; }; }
  1374 fi
  1375 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1376 ac_abs_confdir=`(
  1377 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1378    { (exit 1); exit 1; }; }
  1379 	pwd)`
  1380 # When building in place, set srcdir=.
  1381 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1382   srcdir=.
  1383 fi
  1384 # Remove unnecessary trailing slashes from srcdir.
  1385 # Double slashes in file names in object file debugging info
  1386 # mess up M-x gdb in Emacs.
  1387 case $srcdir in
  1388 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1389 esac
  1390 for ac_var in $ac_precious_vars; do
  1391   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1392   eval ac_env_${ac_var}_value=\$${ac_var}
  1393   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1394   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1395 done
  1398 # Report the --help message.
  1400 if test "$ac_init_help" = "long"; then
  1401   # Omit some internal or obsolete options to make the list less imposing.
  1402   # This message is too long to be a string in the A/UX 3.1 sh.
  1403   cat <<_ACEOF
  1404 \`configure' configures this package to adapt to many kinds of systems.
  1406 Usage: $0 [OPTION]... [VAR=VALUE]...
  1408 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1409 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1411 Defaults for the options are specified in brackets.
  1413 Configuration:
  1414   -h, --help              display this help and exit
  1415       --help=short        display options specific to this package
  1416       --help=recursive    display the short help of all the included packages
  1417   -V, --version           display version information and exit
  1418   -q, --quiet, --silent   do not print \`checking...' messages
  1419       --cache-file=FILE   cache test results in FILE [disabled]
  1420   -C, --config-cache      alias for \`--cache-file=config.cache'
  1421   -n, --no-create         do not create output files
  1422       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1424 Installation directories:
  1425   --prefix=PREFIX         install architecture-independent files in PREFIX
  1426                           [$ac_default_prefix]
  1427   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1428                           [PREFIX]
  1430 By default, \`make install' will install all the files in
  1431 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1432 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1433 for instance \`--prefix=\$HOME'.
  1435 For better control, use the options below.
  1437 Fine tuning of the installation directories:
  1438   --bindir=DIR            user executables [EPREFIX/bin]
  1439   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1440   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1441   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1442   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1443   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1444   --libdir=DIR            object code libraries [EPREFIX/lib]
  1445   --includedir=DIR        C header files [PREFIX/include]
  1446   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1447   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1448   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1449   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1450   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1451   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1452   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1453   --htmldir=DIR           html documentation [DOCDIR]
  1454   --dvidir=DIR            dvi documentation [DOCDIR]
  1455   --pdfdir=DIR            pdf documentation [DOCDIR]
  1456   --psdir=DIR             ps documentation [DOCDIR]
  1457 _ACEOF
  1459   cat <<\_ACEOF
  1461 Program names:
  1462   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1463   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1464   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1466 System types:
  1467   --build=BUILD     configure for building on BUILD [guessed]
  1468   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1469 _ACEOF
  1470 fi
  1472 if test -n "$ac_init_help"; then
  1474   cat <<\_ACEOF
  1476 Optional Features:
  1477   --disable-option-checking  ignore unrecognized --enable/--with options
  1478   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1479   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1480   --enable-maintainer-mode  enable make rules and dependencies not useful
  1481 			  (and sometimes confusing) to the casual installer
  1482   --disable-dependency-tracking  speeds up one-time build
  1483   --enable-dependency-tracking   do not reject slow dependency extractors
  1484   --enable-strict-warn    Enable strict compilation warnings
  1485   --disable-translator    Disable the SH4 translator (Enabled by default)
  1486   --disable-optimized     Disable compile-time optimizations (Enabled by
  1487                           default)
  1488   --enable-profiled       Enable profiling build
  1489   --enable-trace          Enable generation of IO traces (warning: hurts
  1490                           performance)
  1491   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1492                           performance)
  1493   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1495 Optional Packages:
  1496   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1497   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1498   --with-osmesa           Build with the osmesa GL library (software
  1499                           rendering)
  1500   --with-gtk              Build with the GTK UI. Default on X11 systems
  1501   --with-esd              Build with support for the ESounD audio system
  1502   --with-pulse            Build with support for the PulseAudio audio system
  1504 Some influential environment variables:
  1505   CC          C compiler command
  1506   CFLAGS      C compiler flags
  1507   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1508               nonstandard directory <lib dir>
  1509   LIBS        libraries to pass to the linker, e.g. -l<library>
  1510   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1511               you have headers in a nonstandard directory <include dir>
  1512   OBJC        Objective C compiler command
  1513   OBJCFLAGS   Objective C compiler flags
  1514   CCAS        assembler compiler command (defaults to CC)
  1515   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1516   CPP         C preprocessor
  1517   OBJCPP      Objective C preprocessor
  1518   PKG_CONFIG  path to pkg-config utility
  1519   LIBPNG_CFLAGS
  1520               C compiler flags for LIBPNG, overriding pkg-config
  1521   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1522   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1523   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1524   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1525   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1526   PULSE_CFLAGS
  1527               C compiler flags for PULSE, overriding pkg-config
  1528   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1529   ESOUND_CFLAGS
  1530               C compiler flags for ESOUND, overriding pkg-config
  1531   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1532   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1533   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1535 Use these variables to override the choices made by `configure' or to help
  1536 it to find libraries and programs with nonstandard names/locations.
  1538 _ACEOF
  1539 ac_status=$?
  1540 fi
  1542 if test "$ac_init_help" = "recursive"; then
  1543   # If there are subdirs, report their specific --help.
  1544   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1545     test -d "$ac_dir" ||
  1546       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1547       continue
  1548     ac_builddir=.
  1550 case "$ac_dir" in
  1551 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1552 *)
  1553   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1554   # A ".." for each directory in $ac_dir_suffix.
  1555   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1556   case $ac_top_builddir_sub in
  1557   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1558   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1559   esac ;;
  1560 esac
  1561 ac_abs_top_builddir=$ac_pwd
  1562 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1563 # for backward compatibility:
  1564 ac_top_builddir=$ac_top_build_prefix
  1566 case $srcdir in
  1567   .)  # We are building in place.
  1568     ac_srcdir=.
  1569     ac_top_srcdir=$ac_top_builddir_sub
  1570     ac_abs_top_srcdir=$ac_pwd ;;
  1571   [\\/]* | ?:[\\/]* )  # Absolute name.
  1572     ac_srcdir=$srcdir$ac_dir_suffix;
  1573     ac_top_srcdir=$srcdir
  1574     ac_abs_top_srcdir=$srcdir ;;
  1575   *) # Relative name.
  1576     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1577     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1578     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1579 esac
  1580 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1582     cd "$ac_dir" || { ac_status=$?; continue; }
  1583     # Check for guested configure.
  1584     if test -f "$ac_srcdir/configure.gnu"; then
  1585       echo &&
  1586       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1587     elif test -f "$ac_srcdir/configure"; then
  1588       echo &&
  1589       $SHELL "$ac_srcdir/configure" --help=recursive
  1590     else
  1591       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1592     fi || ac_status=$?
  1593     cd "$ac_pwd" || { ac_status=$?; break; }
  1594   done
  1595 fi
  1597 test -n "$ac_init_help" && exit $ac_status
  1598 if $ac_init_version; then
  1599   cat <<\_ACEOF
  1600 configure
  1601 generated by GNU Autoconf 2.62
  1603 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1604 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1605 This configure script is free software; the Free Software Foundation
  1606 gives unlimited permission to copy, distribute and modify it.
  1607 _ACEOF
  1608   exit
  1609 fi
  1610 cat >config.log <<_ACEOF
  1611 This file contains any messages produced by compilers while
  1612 running configure, to aid debugging if configure makes a mistake.
  1614 It was created by $as_me, which was
  1615 generated by GNU Autoconf 2.62.  Invocation command line was
  1617   $ $0 $@
  1619 _ACEOF
  1620 exec 5>>config.log
  1622 cat <<_ASUNAME
  1623 ## --------- ##
  1624 ## Platform. ##
  1625 ## --------- ##
  1627 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1628 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1629 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1630 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1631 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1633 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1634 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1636 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1637 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1638 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1639 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1640 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1641 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1642 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1644 _ASUNAME
  1646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1647 for as_dir in $PATH
  1648 do
  1649   IFS=$as_save_IFS
  1650   test -z "$as_dir" && as_dir=.
  1651   $as_echo "PATH: $as_dir"
  1652 done
  1653 IFS=$as_save_IFS
  1655 } >&5
  1657 cat >&5 <<_ACEOF
  1660 ## ----------- ##
  1661 ## Core tests. ##
  1662 ## ----------- ##
  1664 _ACEOF
  1667 # Keep a trace of the command line.
  1668 # Strip out --no-create and --no-recursion so they do not pile up.
  1669 # Strip out --silent because we don't want to record it for future runs.
  1670 # Also quote any args containing shell meta-characters.
  1671 # Make two passes to allow for proper duplicate-argument suppression.
  1672 ac_configure_args=
  1673 ac_configure_args0=
  1674 ac_configure_args1=
  1675 ac_must_keep_next=false
  1676 for ac_pass in 1 2
  1677 do
  1678   for ac_arg
  1679   do
  1680     case $ac_arg in
  1681     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1682     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1683     | -silent | --silent | --silen | --sile | --sil)
  1684       continue ;;
  1685     *\'*)
  1686       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1687     esac
  1688     case $ac_pass in
  1689     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1690     2)
  1691       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1692       if test $ac_must_keep_next = true; then
  1693 	ac_must_keep_next=false # Got value, back to normal.
  1694       else
  1695 	case $ac_arg in
  1696 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1697 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1698 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1699 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1700 	    case "$ac_configure_args0 " in
  1701 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1702 	    esac
  1703 	    ;;
  1704 	  -* ) ac_must_keep_next=true ;;
  1705 	esac
  1706       fi
  1707       ac_configure_args="$ac_configure_args '$ac_arg'"
  1708       ;;
  1709     esac
  1710   done
  1711 done
  1712 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1713 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1715 # When interrupted or exit'd, cleanup temporary files, and complete
  1716 # config.log.  We remove comments because anyway the quotes in there
  1717 # would cause problems or look ugly.
  1718 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1719 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1720 trap 'exit_status=$?
  1721   # Save into config.log some information that might help in debugging.
  1723     echo
  1725     cat <<\_ASBOX
  1726 ## ---------------- ##
  1727 ## Cache variables. ##
  1728 ## ---------------- ##
  1729 _ASBOX
  1730     echo
  1731     # The following way of writing the cache mishandles newlines in values,
  1733   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1734     eval ac_val=\$$ac_var
  1735     case $ac_val in #(
  1736     *${as_nl}*)
  1737       case $ac_var in #(
  1738       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1739 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1740       esac
  1741       case $ac_var in #(
  1742       _ | IFS | as_nl) ;; #(
  1743       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1744       *) $as_unset $ac_var ;;
  1745       esac ;;
  1746     esac
  1747   done
  1748   (set) 2>&1 |
  1749     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1750     *${as_nl}ac_space=\ *)
  1751       sed -n \
  1752 	"s/'\''/'\''\\\\'\'''\''/g;
  1753 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1754       ;; #(
  1755     *)
  1756       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1757       ;;
  1758     esac |
  1759     sort
  1761     echo
  1763     cat <<\_ASBOX
  1764 ## ----------------- ##
  1765 ## Output variables. ##
  1766 ## ----------------- ##
  1767 _ASBOX
  1768     echo
  1769     for ac_var in $ac_subst_vars
  1770     do
  1771       eval ac_val=\$$ac_var
  1772       case $ac_val in
  1773       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1774       esac
  1775       $as_echo "$ac_var='\''$ac_val'\''"
  1776     done | sort
  1777     echo
  1779     if test -n "$ac_subst_files"; then
  1780       cat <<\_ASBOX
  1781 ## ------------------- ##
  1782 ## File substitutions. ##
  1783 ## ------------------- ##
  1784 _ASBOX
  1785       echo
  1786       for ac_var in $ac_subst_files
  1787       do
  1788 	eval ac_val=\$$ac_var
  1789 	case $ac_val in
  1790 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1791 	esac
  1792 	$as_echo "$ac_var='\''$ac_val'\''"
  1793       done | sort
  1794       echo
  1795     fi
  1797     if test -s confdefs.h; then
  1798       cat <<\_ASBOX
  1799 ## ----------- ##
  1800 ## confdefs.h. ##
  1801 ## ----------- ##
  1802 _ASBOX
  1803       echo
  1804       cat confdefs.h
  1805       echo
  1806     fi
  1807     test "$ac_signal" != 0 &&
  1808       $as_echo "$as_me: caught signal $ac_signal"
  1809     $as_echo "$as_me: exit $exit_status"
  1810   } >&5
  1811   rm -f core *.core core.conftest.* &&
  1812     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1813     exit $exit_status
  1814 ' 0
  1815 for ac_signal in 1 2 13 15; do
  1816   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1817 done
  1818 ac_signal=0
  1820 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1821 rm -f -r conftest* confdefs.h
  1823 # Predefined preprocessor variables.
  1825 cat >>confdefs.h <<_ACEOF
  1826 #define PACKAGE_NAME "$PACKAGE_NAME"
  1827 _ACEOF
  1830 cat >>confdefs.h <<_ACEOF
  1831 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1832 _ACEOF
  1835 cat >>confdefs.h <<_ACEOF
  1836 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1837 _ACEOF
  1840 cat >>confdefs.h <<_ACEOF
  1841 #define PACKAGE_STRING "$PACKAGE_STRING"
  1842 _ACEOF
  1845 cat >>confdefs.h <<_ACEOF
  1846 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1847 _ACEOF
  1850 # Let the site file select an alternate cache file if it wants to.
  1851 # Prefer an explicitly selected file to automatically selected ones.
  1852 ac_site_file1=NONE
  1853 ac_site_file2=NONE
  1854 if test -n "$CONFIG_SITE"; then
  1855   ac_site_file1=$CONFIG_SITE
  1856 elif test "x$prefix" != xNONE; then
  1857   ac_site_file1=$prefix/share/config.site
  1858   ac_site_file2=$prefix/etc/config.site
  1859 else
  1860   ac_site_file1=$ac_default_prefix/share/config.site
  1861   ac_site_file2=$ac_default_prefix/etc/config.site
  1862 fi
  1863 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1864 do
  1865   test "x$ac_site_file" = xNONE && continue
  1866   if test -r "$ac_site_file"; then
  1867     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1868 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1869     sed 's/^/| /' "$ac_site_file" >&5
  1870     . "$ac_site_file"
  1871   fi
  1872 done
  1874 if test -r "$cache_file"; then
  1875   # Some versions of bash will fail to source /dev/null (special
  1876   # files actually), so we avoid doing that.
  1877   if test -f "$cache_file"; then
  1878     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1879 $as_echo "$as_me: loading cache $cache_file" >&6;}
  1880     case $cache_file in
  1881       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1882       *)                      . "./$cache_file";;
  1883     esac
  1884   fi
  1885 else
  1886   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1887 $as_echo "$as_me: creating cache $cache_file" >&6;}
  1888   >$cache_file
  1889 fi
  1891 # Check that the precious variables saved in the cache have kept the same
  1892 # value.
  1893 ac_cache_corrupted=false
  1894 for ac_var in $ac_precious_vars; do
  1895   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1896   eval ac_new_set=\$ac_env_${ac_var}_set
  1897   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1898   eval ac_new_val=\$ac_env_${ac_var}_value
  1899   case $ac_old_set,$ac_new_set in
  1900     set,)
  1901       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1902 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1903       ac_cache_corrupted=: ;;
  1904     ,set)
  1905       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1906 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1907       ac_cache_corrupted=: ;;
  1908     ,);;
  1909     *)
  1910       if test "x$ac_old_val" != "x$ac_new_val"; then
  1911 	# differences in whitespace do not lead to failure.
  1912 	ac_old_val_w=`echo x $ac_old_val`
  1913 	ac_new_val_w=`echo x $ac_new_val`
  1914 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1915 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1916 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1917 	  ac_cache_corrupted=:
  1918 	else
  1919 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1920 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1921 	  eval $ac_var=\$ac_old_val
  1922 	fi
  1923 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  1924 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1925 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  1926 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1927       fi;;
  1928   esac
  1929   # Pass precious variables to config.status.
  1930   if test "$ac_new_set" = set; then
  1931     case $ac_new_val in
  1932     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1933     *) ac_arg=$ac_var=$ac_new_val ;;
  1934     esac
  1935     case " $ac_configure_args " in
  1936       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1937       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1938     esac
  1939   fi
  1940 done
  1941 if $ac_cache_corrupted; then
  1942   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1943 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1944   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1945 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1946    { (exit 1); exit 1; }; }
  1947 fi
  1965 ac_ext=c
  1966 ac_cpp='$CPP $CPPFLAGS'
  1967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1972 am__api_version="1.9"
  1973 ac_aux_dir=
  1974 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1975   if test -f "$ac_dir/install-sh"; then
  1976     ac_aux_dir=$ac_dir
  1977     ac_install_sh="$ac_aux_dir/install-sh -c"
  1978     break
  1979   elif test -f "$ac_dir/install.sh"; then
  1980     ac_aux_dir=$ac_dir
  1981     ac_install_sh="$ac_aux_dir/install.sh -c"
  1982     break
  1983   elif test -f "$ac_dir/shtool"; then
  1984     ac_aux_dir=$ac_dir
  1985     ac_install_sh="$ac_aux_dir/shtool install -c"
  1986     break
  1987   fi
  1988 done
  1989 if test -z "$ac_aux_dir"; then
  1990   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1991 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1992    { (exit 1); exit 1; }; }
  1993 fi
  1995 # These three variables are undocumented and unsupported,
  1996 # and are intended to be withdrawn in a future Autoconf release.
  1997 # They can cause serious problems if a builder's source tree is in a directory
  1998 # whose full name contains unusual characters.
  1999 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  2000 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  2001 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2004 # Find a good install program.  We prefer a C program (faster),
  2005 # so one script is as good as another.  But avoid the broken or
  2006 # incompatible versions:
  2007 # SysV /etc/install, /usr/sbin/install
  2008 # SunOS /usr/etc/install
  2009 # IRIX /sbin/install
  2010 # AIX /bin/install
  2011 # AmigaOS /C/install, which installs bootblocks on floppy discs
  2012 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2013 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2014 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2015 # OS/2's system install, which has a completely different semantic
  2016 # ./install, which can be erroneously created by make from ./install.sh.
  2017 # Reject install programs that cannot install multiple files.
  2018 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2019 $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2020 if test -z "$INSTALL"; then
  2021 if test "${ac_cv_path_install+set}" = set; then
  2022   $as_echo_n "(cached) " >&6
  2023 else
  2024   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2025 for as_dir in $PATH
  2026 do
  2027   IFS=$as_save_IFS
  2028   test -z "$as_dir" && as_dir=.
  2029   # Account for people who put trailing slashes in PATH elements.
  2030 case $as_dir/ in
  2031   ./ | .// | /cC/* | \
  2032   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2033   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2034   /usr/ucb/* ) ;;
  2035   *)
  2036     # OSF1 and SCO ODT 3.0 have their own names for install.
  2037     # Don't use installbsd from OSF since it installs stuff as root
  2038     # by default.
  2039     for ac_prog in ginstall scoinst install; do
  2040       for ac_exec_ext in '' $ac_executable_extensions; do
  2041 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2042 	  if test $ac_prog = install &&
  2043 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2044 	    # AIX install.  It has an incompatible calling convention.
  2046 	  elif test $ac_prog = install &&
  2047 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2048 	    # program-specific install script used by HP pwplus--don't use.
  2050 	  else
  2051 	    rm -rf conftest.one conftest.two conftest.dir
  2052 	    echo one > conftest.one
  2053 	    echo two > conftest.two
  2054 	    mkdir conftest.dir
  2055 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2056 	      test -s conftest.one && test -s conftest.two &&
  2057 	      test -s conftest.dir/conftest.one &&
  2058 	      test -s conftest.dir/conftest.two
  2059 	    then
  2060 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2061 	      break 3
  2062 	    fi
  2063 	  fi
  2064 	fi
  2065       done
  2066     done
  2067     ;;
  2068 esac
  2070 done
  2071 IFS=$as_save_IFS
  2073 rm -rf conftest.one conftest.two conftest.dir
  2075 fi
  2076   if test "${ac_cv_path_install+set}" = set; then
  2077     INSTALL=$ac_cv_path_install
  2078   else
  2079     # As a last resort, use the slow shell script.  Don't cache a
  2080     # value for INSTALL within a source directory, because that will
  2081     # break other packages using the cache if that directory is
  2082     # removed, or if the value is a relative name.
  2083     INSTALL=$ac_install_sh
  2084   fi
  2085 fi
  2086 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2087 $as_echo "$INSTALL" >&6; }
  2089 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2090 # It thinks the first close brace ends the variable substitution.
  2091 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2093 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2095 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2097 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2098 $as_echo_n "checking whether build environment is sane... " >&6; }
  2099 # Just in case
  2100 sleep 1
  2101 echo timestamp > conftest.file
  2102 # Do `set' in a subshell so we don't clobber the current shell's
  2103 # arguments.  Must try -L first in case configure is actually a
  2104 # symlink; some systems play weird games with the mod time of symlinks
  2105 # (eg FreeBSD returns the mod time of the symlink's containing
  2106 # directory).
  2107 if (
  2108    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2109    if test "$*" = "X"; then
  2110       # -L didn't work.
  2111       set X `ls -t $srcdir/configure conftest.file`
  2112    fi
  2113    rm -f conftest.file
  2114    if test "$*" != "X $srcdir/configure conftest.file" \
  2115       && test "$*" != "X conftest.file $srcdir/configure"; then
  2117       # If neither matched, then we have a broken ls.  This can happen
  2118       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2119       # broken ls alias from the environment.  This has actually
  2120       # happened.  Such a system could not be considered "sane".
  2121       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2122 alias in your environment" >&5
  2123 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2124 alias in your environment" >&2;}
  2125    { (exit 1); exit 1; }; }
  2126    fi
  2128    test "$2" = conftest.file
  2130 then
  2131    # Ok.
  2133 else
  2134    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2135 Check your system clock" >&5
  2136 $as_echo "$as_me: error: newly created file is older than distributed files!
  2137 Check your system clock" >&2;}
  2138    { (exit 1); exit 1; }; }
  2139 fi
  2140 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2141 $as_echo "yes" >&6; }
  2142 test "$program_prefix" != NONE &&
  2143   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2144 # Use a double $ so make ignores it.
  2145 test "$program_suffix" != NONE &&
  2146   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2147 # Double any \ or $.
  2148 # By default was `s,x,x', remove it if useless.
  2149 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2150 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2152 # expand $ac_aux_dir to an absolute path
  2153 am_aux_dir=`cd $ac_aux_dir && pwd`
  2155 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2156 # Use eval to expand $SHELL
  2157 if eval "$MISSING --run true"; then
  2158   am_missing_run="$MISSING --run "
  2159 else
  2160   am_missing_run=
  2161   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2162 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2163 fi
  2165 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2166   # We used to keeping the `.' as first argument, in order to
  2167   # allow $(mkdir_p) to be used without argument.  As in
  2168   #   $(mkdir_p) $(somedir)
  2169   # where $(somedir) is conditionally defined.  However this is wrong
  2170   # for two reasons:
  2171   #  1. if the package is installed by a user who cannot write `.'
  2172   #     make install will fail,
  2173   #  2. the above comment should most certainly read
  2174   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2175   #     so it does not work when $(somedir) is undefined and
  2176   #     $(DESTDIR) is not.
  2177   #  To support the latter case, we have to write
  2178   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2179   #  so the `.' trick is pointless.
  2180   mkdir_p='mkdir -p --'
  2181 else
  2182   # On NextStep and OpenStep, the `mkdir' command does not
  2183   # recognize any option.  It will interpret all options as
  2184   # directories to create, and then abort because `.' already
  2185   # exists.
  2186   for d in ./-p ./--version;
  2187   do
  2188     test -d $d && rmdir $d
  2189   done
  2190   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2191   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2192     mkdir_p='$(mkinstalldirs)'
  2193   else
  2194     mkdir_p='$(install_sh) -d'
  2195   fi
  2196 fi
  2198 for ac_prog in gawk mawk nawk awk
  2199 do
  2200   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2201 set dummy $ac_prog; ac_word=$2
  2202 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2203 $as_echo_n "checking for $ac_word... " >&6; }
  2204 if test "${ac_cv_prog_AWK+set}" = set; then
  2205   $as_echo_n "(cached) " >&6
  2206 else
  2207   if test -n "$AWK"; then
  2208   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2209 else
  2210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2211 for as_dir in $PATH
  2212 do
  2213   IFS=$as_save_IFS
  2214   test -z "$as_dir" && as_dir=.
  2215   for ac_exec_ext in '' $ac_executable_extensions; do
  2216   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2217     ac_cv_prog_AWK="$ac_prog"
  2218     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2219     break 2
  2220   fi
  2221 done
  2222 done
  2223 IFS=$as_save_IFS
  2225 fi
  2226 fi
  2227 AWK=$ac_cv_prog_AWK
  2228 if test -n "$AWK"; then
  2229   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2230 $as_echo "$AWK" >&6; }
  2231 else
  2232   { $as_echo "$as_me:$LINENO: result: no" >&5
  2233 $as_echo "no" >&6; }
  2234 fi
  2237   test -n "$AWK" && break
  2238 done
  2240 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2241 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2242 set x ${MAKE-make}
  2243 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2244 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2245   $as_echo_n "(cached) " >&6
  2246 else
  2247   cat >conftest.make <<\_ACEOF
  2248 SHELL = /bin/sh
  2249 all:
  2250 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2251 _ACEOF
  2252 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2253 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2254   *@@@%%%=?*=@@@%%%*)
  2255     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2256   *)
  2257     eval ac_cv_prog_make_${ac_make}_set=no;;
  2258 esac
  2259 rm -f conftest.make
  2260 fi
  2261 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2262   { $as_echo "$as_me:$LINENO: result: yes" >&5
  2263 $as_echo "yes" >&6; }
  2264   SET_MAKE=
  2265 else
  2266   { $as_echo "$as_me:$LINENO: result: no" >&5
  2267 $as_echo "no" >&6; }
  2268   SET_MAKE="MAKE=${MAKE-make}"
  2269 fi
  2271 rm -rf .tst 2>/dev/null
  2272 mkdir .tst 2>/dev/null
  2273 if test -d .tst; then
  2274   am__leading_dot=.
  2275 else
  2276   am__leading_dot=_
  2277 fi
  2278 rmdir .tst 2>/dev/null
  2280 # test to see if srcdir already configured
  2281 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2282    test -f $srcdir/config.status; then
  2283   { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2284 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2285    { (exit 1); exit 1; }; }
  2286 fi
  2288 # test whether we have cygpath
  2289 if test -z "$CYGPATH_W"; then
  2290   if (cygpath --version) >/dev/null 2>/dev/null; then
  2291     CYGPATH_W='cygpath -w'
  2292   else
  2293     CYGPATH_W=echo
  2294   fi
  2295 fi
  2298 # Define the identity of the package.
  2299  PACKAGE=lxdream
  2300  VERSION=0.9
  2303 cat >>confdefs.h <<_ACEOF
  2304 #define PACKAGE "$PACKAGE"
  2305 _ACEOF
  2308 cat >>confdefs.h <<_ACEOF
  2309 #define VERSION "$VERSION"
  2310 _ACEOF
  2312 # Some tools Automake needs.
  2314 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2317 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2320 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2323 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2326 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2328 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2330 # Installed binaries are usually stripped using `strip' when the user
  2331 # run `make install-strip'.  However `strip' might not be the right
  2332 # tool to use in cross-compilation environments, therefore Automake
  2333 # will honor the `STRIP' environment variable to overrule this program.
  2334 if test "$cross_compiling" != no; then
  2335   if test -n "$ac_tool_prefix"; then
  2336   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2337 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2338 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2339 $as_echo_n "checking for $ac_word... " >&6; }
  2340 if test "${ac_cv_prog_STRIP+set}" = set; then
  2341   $as_echo_n "(cached) " >&6
  2342 else
  2343   if test -n "$STRIP"; then
  2344   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2345 else
  2346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2347 for as_dir in $PATH
  2348 do
  2349   IFS=$as_save_IFS
  2350   test -z "$as_dir" && as_dir=.
  2351   for ac_exec_ext in '' $ac_executable_extensions; do
  2352   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2353     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2354     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2355     break 2
  2356   fi
  2357 done
  2358 done
  2359 IFS=$as_save_IFS
  2361 fi
  2362 fi
  2363 STRIP=$ac_cv_prog_STRIP
  2364 if test -n "$STRIP"; then
  2365   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2366 $as_echo "$STRIP" >&6; }
  2367 else
  2368   { $as_echo "$as_me:$LINENO: result: no" >&5
  2369 $as_echo "no" >&6; }
  2370 fi
  2373 fi
  2374 if test -z "$ac_cv_prog_STRIP"; then
  2375   ac_ct_STRIP=$STRIP
  2376   # Extract the first word of "strip", so it can be a program name with args.
  2377 set dummy strip; ac_word=$2
  2378 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2379 $as_echo_n "checking for $ac_word... " >&6; }
  2380 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2381   $as_echo_n "(cached) " >&6
  2382 else
  2383   if test -n "$ac_ct_STRIP"; then
  2384   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2385 else
  2386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2387 for as_dir in $PATH
  2388 do
  2389   IFS=$as_save_IFS
  2390   test -z "$as_dir" && as_dir=.
  2391   for ac_exec_ext in '' $ac_executable_extensions; do
  2392   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2393     ac_cv_prog_ac_ct_STRIP="strip"
  2394     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2395     break 2
  2396   fi
  2397 done
  2398 done
  2399 IFS=$as_save_IFS
  2401 fi
  2402 fi
  2403 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2404 if test -n "$ac_ct_STRIP"; then
  2405   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2406 $as_echo "$ac_ct_STRIP" >&6; }
  2407 else
  2408   { $as_echo "$as_me:$LINENO: result: no" >&5
  2409 $as_echo "no" >&6; }
  2410 fi
  2412   if test "x$ac_ct_STRIP" = x; then
  2413     STRIP=":"
  2414   else
  2415     case $cross_compiling:$ac_tool_warned in
  2416 yes:)
  2417 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2418 whose name does not start with the host triplet.  If you think this
  2419 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2420 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2421 whose name does not start with the host triplet.  If you think this
  2422 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2423 ac_tool_warned=yes ;;
  2424 esac
  2425     STRIP=$ac_ct_STRIP
  2426   fi
  2427 else
  2428   STRIP="$ac_cv_prog_STRIP"
  2429 fi
  2431 fi
  2432 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2434 # We need awk for the "check" target.  The system "awk" is bad on
  2435 # some platforms.
  2436 # Always define AMTAR for backward compatibility.
  2438 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2440 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2446 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2447 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2448     # Check whether --enable-maintainer-mode was given.
  2449 if test "${enable_maintainer_mode+set}" = set; then
  2450   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2451 else
  2452   USE_MAINTAINER_MODE=no
  2453 fi
  2455   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2456 $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2459 if test $USE_MAINTAINER_MODE = yes; then
  2460   MAINTAINER_MODE_TRUE=
  2461   MAINTAINER_MODE_FALSE='#'
  2462 else
  2463   MAINTAINER_MODE_TRUE='#'
  2464   MAINTAINER_MODE_FALSE=
  2465 fi
  2467   MAINT=$MAINTAINER_MODE_TRUE
  2470 ac_config_headers="$ac_config_headers config.h"
  2473 DEPDIR="${am__leading_dot}deps"
  2475 ac_config_commands="$ac_config_commands depfiles"
  2478 am_make=${MAKE-make}
  2479 cat > confinc << 'END'
  2480 am__doit:
  2481 	@echo done
  2482 .PHONY: am__doit
  2483 END
  2484 # If we don't find an include directive, just comment out the code.
  2485 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2486 $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2487 am__include="#"
  2488 am__quote=
  2489 _am_result=none
  2490 # First try GNU make style include.
  2491 echo "include confinc" > confmf
  2492 # We grep out `Entering directory' and `Leaving directory'
  2493 # messages which can occur if `w' ends up in MAKEFLAGS.
  2494 # In particular we don't look at `^make:' because GNU make might
  2495 # be invoked under some other name (usually "gmake"), in which
  2496 # case it prints its new name instead of `make'.
  2497 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2498    am__include=include
  2499    am__quote=
  2500    _am_result=GNU
  2501 fi
  2502 # Now try BSD make style include.
  2503 if test "$am__include" = "#"; then
  2504    echo '.include "confinc"' > confmf
  2505    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2506       am__include=.include
  2507       am__quote="\""
  2508       _am_result=BSD
  2509    fi
  2510 fi
  2513 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  2514 $as_echo "$_am_result" >&6; }
  2515 rm -f confinc confmf
  2517 # Check whether --enable-dependency-tracking was given.
  2518 if test "${enable_dependency_tracking+set}" = set; then
  2519   enableval=$enable_dependency_tracking;
  2520 fi
  2522 if test "x$enable_dependency_tracking" != xno; then
  2523   am_depcomp="$ac_aux_dir/depcomp"
  2524   AMDEPBACKSLASH='\'
  2525 fi
  2528 if test "x$enable_dependency_tracking" != xno; then
  2529   AMDEP_TRUE=
  2530   AMDEP_FALSE='#'
  2531 else
  2532   AMDEP_TRUE='#'
  2533   AMDEP_FALSE=
  2534 fi
  2538 ac_ext=c
  2539 ac_cpp='$CPP $CPPFLAGS'
  2540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2543 if test -n "$ac_tool_prefix"; then
  2544   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2545 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2546 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2547 $as_echo_n "checking for $ac_word... " >&6; }
  2548 if test "${ac_cv_prog_CC+set}" = set; then
  2549   $as_echo_n "(cached) " >&6
  2550 else
  2551   if test -n "$CC"; then
  2552   ac_cv_prog_CC="$CC" # Let the user override the test.
  2553 else
  2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2555 for as_dir in $PATH
  2556 do
  2557   IFS=$as_save_IFS
  2558   test -z "$as_dir" && as_dir=.
  2559   for ac_exec_ext in '' $ac_executable_extensions; do
  2560   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2561     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2562     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2563     break 2
  2564   fi
  2565 done
  2566 done
  2567 IFS=$as_save_IFS
  2569 fi
  2570 fi
  2571 CC=$ac_cv_prog_CC
  2572 if test -n "$CC"; then
  2573   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2574 $as_echo "$CC" >&6; }
  2575 else
  2576   { $as_echo "$as_me:$LINENO: result: no" >&5
  2577 $as_echo "no" >&6; }
  2578 fi
  2581 fi
  2582 if test -z "$ac_cv_prog_CC"; then
  2583   ac_ct_CC=$CC
  2584   # Extract the first word of "gcc", so it can be a program name with args.
  2585 set dummy gcc; ac_word=$2
  2586 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2587 $as_echo_n "checking for $ac_word... " >&6; }
  2588 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2589   $as_echo_n "(cached) " >&6
  2590 else
  2591   if test -n "$ac_ct_CC"; then
  2592   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2593 else
  2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2595 for as_dir in $PATH
  2596 do
  2597   IFS=$as_save_IFS
  2598   test -z "$as_dir" && as_dir=.
  2599   for ac_exec_ext in '' $ac_executable_extensions; do
  2600   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2601     ac_cv_prog_ac_ct_CC="gcc"
  2602     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2603     break 2
  2604   fi
  2605 done
  2606 done
  2607 IFS=$as_save_IFS
  2609 fi
  2610 fi
  2611 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2612 if test -n "$ac_ct_CC"; then
  2613   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2614 $as_echo "$ac_ct_CC" >&6; }
  2615 else
  2616   { $as_echo "$as_me:$LINENO: result: no" >&5
  2617 $as_echo "no" >&6; }
  2618 fi
  2620   if test "x$ac_ct_CC" = x; then
  2621     CC=""
  2622   else
  2623     case $cross_compiling:$ac_tool_warned in
  2624 yes:)
  2625 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2626 whose name does not start with the host triplet.  If you think this
  2627 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2628 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2629 whose name does not start with the host triplet.  If you think this
  2630 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2631 ac_tool_warned=yes ;;
  2632 esac
  2633     CC=$ac_ct_CC
  2634   fi
  2635 else
  2636   CC="$ac_cv_prog_CC"
  2637 fi
  2639 if test -z "$CC"; then
  2640           if test -n "$ac_tool_prefix"; then
  2641     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2642 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2643 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2644 $as_echo_n "checking for $ac_word... " >&6; }
  2645 if test "${ac_cv_prog_CC+set}" = set; then
  2646   $as_echo_n "(cached) " >&6
  2647 else
  2648   if test -n "$CC"; then
  2649   ac_cv_prog_CC="$CC" # Let the user override the test.
  2650 else
  2651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2652 for as_dir in $PATH
  2653 do
  2654   IFS=$as_save_IFS
  2655   test -z "$as_dir" && as_dir=.
  2656   for ac_exec_ext in '' $ac_executable_extensions; do
  2657   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2658     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2659     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2660     break 2
  2661   fi
  2662 done
  2663 done
  2664 IFS=$as_save_IFS
  2666 fi
  2667 fi
  2668 CC=$ac_cv_prog_CC
  2669 if test -n "$CC"; then
  2670   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2671 $as_echo "$CC" >&6; }
  2672 else
  2673   { $as_echo "$as_me:$LINENO: result: no" >&5
  2674 $as_echo "no" >&6; }
  2675 fi
  2678   fi
  2679 fi
  2680 if test -z "$CC"; then
  2681   # Extract the first word of "cc", so it can be a program name with args.
  2682 set dummy cc; ac_word=$2
  2683 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2684 $as_echo_n "checking for $ac_word... " >&6; }
  2685 if test "${ac_cv_prog_CC+set}" = set; then
  2686   $as_echo_n "(cached) " >&6
  2687 else
  2688   if test -n "$CC"; then
  2689   ac_cv_prog_CC="$CC" # Let the user override the test.
  2690 else
  2691   ac_prog_rejected=no
  2692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2693 for as_dir in $PATH
  2694 do
  2695   IFS=$as_save_IFS
  2696   test -z "$as_dir" && as_dir=.
  2697   for ac_exec_ext in '' $ac_executable_extensions; do
  2698   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2699     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2700        ac_prog_rejected=yes
  2701        continue
  2702      fi
  2703     ac_cv_prog_CC="cc"
  2704     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2705     break 2
  2706   fi
  2707 done
  2708 done
  2709 IFS=$as_save_IFS
  2711 if test $ac_prog_rejected = yes; then
  2712   # We found a bogon in the path, so make sure we never use it.
  2713   set dummy $ac_cv_prog_CC
  2714   shift
  2715   if test $# != 0; then
  2716     # We chose a different compiler from the bogus one.
  2717     # However, it has the same basename, so the bogon will be chosen
  2718     # first if we set CC to just the basename; use the full file name.
  2719     shift
  2720     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2721   fi
  2722 fi
  2723 fi
  2724 fi
  2725 CC=$ac_cv_prog_CC
  2726 if test -n "$CC"; then
  2727   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2728 $as_echo "$CC" >&6; }
  2729 else
  2730   { $as_echo "$as_me:$LINENO: result: no" >&5
  2731 $as_echo "no" >&6; }
  2732 fi
  2735 fi
  2736 if test -z "$CC"; then
  2737   if test -n "$ac_tool_prefix"; then
  2738   for ac_prog in cl.exe
  2739   do
  2740     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2741 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2742 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2743 $as_echo_n "checking for $ac_word... " >&6; }
  2744 if test "${ac_cv_prog_CC+set}" = set; then
  2745   $as_echo_n "(cached) " >&6
  2746 else
  2747   if test -n "$CC"; then
  2748   ac_cv_prog_CC="$CC" # Let the user override the test.
  2749 else
  2750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2751 for as_dir in $PATH
  2752 do
  2753   IFS=$as_save_IFS
  2754   test -z "$as_dir" && as_dir=.
  2755   for ac_exec_ext in '' $ac_executable_extensions; do
  2756   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2757     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2758     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2759     break 2
  2760   fi
  2761 done
  2762 done
  2763 IFS=$as_save_IFS
  2765 fi
  2766 fi
  2767 CC=$ac_cv_prog_CC
  2768 if test -n "$CC"; then
  2769   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2770 $as_echo "$CC" >&6; }
  2771 else
  2772   { $as_echo "$as_me:$LINENO: result: no" >&5
  2773 $as_echo "no" >&6; }
  2774 fi
  2777     test -n "$CC" && break
  2778   done
  2779 fi
  2780 if test -z "$CC"; then
  2781   ac_ct_CC=$CC
  2782   for ac_prog in cl.exe
  2783 do
  2784   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2785 set dummy $ac_prog; ac_word=$2
  2786 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2787 $as_echo_n "checking for $ac_word... " >&6; }
  2788 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2789   $as_echo_n "(cached) " >&6
  2790 else
  2791   if test -n "$ac_ct_CC"; then
  2792   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2793 else
  2794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2795 for as_dir in $PATH
  2796 do
  2797   IFS=$as_save_IFS
  2798   test -z "$as_dir" && as_dir=.
  2799   for ac_exec_ext in '' $ac_executable_extensions; do
  2800   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2801     ac_cv_prog_ac_ct_CC="$ac_prog"
  2802     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2803     break 2
  2804   fi
  2805 done
  2806 done
  2807 IFS=$as_save_IFS
  2809 fi
  2810 fi
  2811 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2812 if test -n "$ac_ct_CC"; then
  2813   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2814 $as_echo "$ac_ct_CC" >&6; }
  2815 else
  2816   { $as_echo "$as_me:$LINENO: result: no" >&5
  2817 $as_echo "no" >&6; }
  2818 fi
  2821   test -n "$ac_ct_CC" && break
  2822 done
  2824   if test "x$ac_ct_CC" = x; then
  2825     CC=""
  2826   else
  2827     case $cross_compiling:$ac_tool_warned in
  2828 yes:)
  2829 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2830 whose name does not start with the host triplet.  If you think this
  2831 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2832 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  2833 whose name does not start with the host triplet.  If you think this
  2834 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  2835 ac_tool_warned=yes ;;
  2836 esac
  2837     CC=$ac_ct_CC
  2838   fi
  2839 fi
  2841 fi
  2844 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2845 See \`config.log' for more details." >&5
  2846 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2847 See \`config.log' for more details." >&2;}
  2848    { (exit 1); exit 1; }; }
  2850 # Provide some information about the compiler.
  2851 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2852 set X $ac_compile
  2853 ac_compiler=$2
  2854 { (ac_try="$ac_compiler --version >&5"
  2855 case "(($ac_try" in
  2856   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2857   *) ac_try_echo=$ac_try;;
  2858 esac
  2859 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2860 $as_echo "$ac_try_echo") >&5
  2861   (eval "$ac_compiler --version >&5") 2>&5
  2862   ac_status=$?
  2863   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2864   (exit $ac_status); }
  2865 { (ac_try="$ac_compiler -v >&5"
  2866 case "(($ac_try" in
  2867   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2868   *) ac_try_echo=$ac_try;;
  2869 esac
  2870 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2871 $as_echo "$ac_try_echo") >&5
  2872   (eval "$ac_compiler -v >&5") 2>&5
  2873   ac_status=$?
  2874   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2875   (exit $ac_status); }
  2876 { (ac_try="$ac_compiler -V >&5"
  2877 case "(($ac_try" in
  2878   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2879   *) ac_try_echo=$ac_try;;
  2880 esac
  2881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2882 $as_echo "$ac_try_echo") >&5
  2883   (eval "$ac_compiler -V >&5") 2>&5
  2884   ac_status=$?
  2885   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2886   (exit $ac_status); }
  2888 cat >conftest.$ac_ext <<_ACEOF
  2889 /* confdefs.h.  */
  2890 _ACEOF
  2891 cat confdefs.h >>conftest.$ac_ext
  2892 cat >>conftest.$ac_ext <<_ACEOF
  2893 /* end confdefs.h.  */
  2895 int
  2896 main ()
  2900   return 0;
  2902 _ACEOF
  2903 ac_clean_files_save=$ac_clean_files
  2904 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2905 # Try to create an executable without -o first, disregard a.out.
  2906 # It will help us diagnose broken compilers, and finding out an intuition
  2907 # of exeext.
  2908 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2909 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2910 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2912 # The possible output files:
  2913 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2915 ac_rmfiles=
  2916 for ac_file in $ac_files
  2917 do
  2918   case $ac_file in
  2919     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2920     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2921   esac
  2922 done
  2923 rm -f $ac_rmfiles
  2925 if { (ac_try="$ac_link_default"
  2926 case "(($ac_try" in
  2927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2928   *) ac_try_echo=$ac_try;;
  2929 esac
  2930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2931 $as_echo "$ac_try_echo") >&5
  2932   (eval "$ac_link_default") 2>&5
  2933   ac_status=$?
  2934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2935   (exit $ac_status); }; then
  2936   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2937 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2938 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2939 # so that the user can short-circuit this test for compilers unknown to
  2940 # Autoconf.
  2941 for ac_file in $ac_files ''
  2942 do
  2943   test -f "$ac_file" || continue
  2944   case $ac_file in
  2945     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2946 	;;
  2947     [ab].out )
  2948 	# We found the default executable, but exeext='' is most
  2949 	# certainly right.
  2950 	break;;
  2951     *.* )
  2952         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2953 	then :; else
  2954 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2955 	fi
  2956 	# We set ac_cv_exeext here because the later test for it is not
  2957 	# safe: cross compilers may not add the suffix if given an `-o'
  2958 	# argument, so we may need to know it at that point already.
  2959 	# Even if this section looks crufty: it has the advantage of
  2960 	# actually working.
  2961 	break;;
  2962     * )
  2963 	break;;
  2964   esac
  2965 done
  2966 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2968 else
  2969   ac_file=''
  2970 fi
  2972 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2973 $as_echo "$ac_file" >&6; }
  2974 if test -z "$ac_file"; then
  2975   $as_echo "$as_me: failed program was:" >&5
  2976 sed 's/^/| /' conftest.$ac_ext >&5
  2978 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2979 See \`config.log' for more details." >&5
  2980 $as_echo "$as_me: error: C compiler cannot create executables
  2981 See \`config.log' for more details." >&2;}
  2982    { (exit 77); exit 77; }; }
  2983 fi
  2985 ac_exeext=$ac_cv_exeext
  2987 # Check that the compiler produces executables we can run.  If not, either
  2988 # the compiler is broken, or we cross compile.
  2989 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2990 $as_echo_n "checking whether the C compiler works... " >&6; }
  2991 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2992 # If not cross compiling, check that we can run a simple program.
  2993 if test "$cross_compiling" != yes; then
  2994   if { ac_try='./$ac_file'
  2995   { (case "(($ac_try" in
  2996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2997   *) ac_try_echo=$ac_try;;
  2998 esac
  2999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3000 $as_echo "$ac_try_echo") >&5
  3001   (eval "$ac_try") 2>&5
  3002   ac_status=$?
  3003   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3004   (exit $ac_status); }; }; then
  3005     cross_compiling=no
  3006   else
  3007     if test "$cross_compiling" = maybe; then
  3008 	cross_compiling=yes
  3009     else
  3010 	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3011 If you meant to cross compile, use \`--host'.
  3012 See \`config.log' for more details." >&5
  3013 $as_echo "$as_me: error: cannot run C compiled programs.
  3014 If you meant to cross compile, use \`--host'.
  3015 See \`config.log' for more details." >&2;}
  3016    { (exit 1); exit 1; }; }
  3017     fi
  3018   fi
  3019 fi
  3020 { $as_echo "$as_me:$LINENO: result: yes" >&5
  3021 $as_echo "yes" >&6; }
  3023 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3024 ac_clean_files=$ac_clean_files_save
  3025 # Check that the compiler produces executables we can run.  If not, either
  3026 # the compiler is broken, or we cross compile.
  3027 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3028 $as_echo_n "checking whether we are cross compiling... " >&6; }
  3029 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3030 $as_echo "$cross_compiling" >&6; }
  3032 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3033 $as_echo_n "checking for suffix of executables... " >&6; }
  3034 if { (ac_try="$ac_link"
  3035 case "(($ac_try" in
  3036   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3037   *) ac_try_echo=$ac_try;;
  3038 esac
  3039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3040 $as_echo "$ac_try_echo") >&5
  3041   (eval "$ac_link") 2>&5
  3042   ac_status=$?
  3043   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3044   (exit $ac_status); }; then
  3045   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3046 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3047 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3048 # `rm'.
  3049 for ac_file in conftest.exe conftest conftest.*; do
  3050   test -f "$ac_file" || continue
  3051   case $ac_file in
  3052     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3053     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3054 	  break;;
  3055     * ) break;;
  3056   esac
  3057 done
  3058 else
  3059   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3060 See \`config.log' for more details." >&5
  3061 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3062 See \`config.log' for more details." >&2;}
  3063    { (exit 1); exit 1; }; }
  3064 fi
  3066 rm -f conftest$ac_cv_exeext
  3067 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3068 $as_echo "$ac_cv_exeext" >&6; }
  3070 rm -f conftest.$ac_ext
  3071 EXEEXT=$ac_cv_exeext
  3072 ac_exeext=$EXEEXT
  3073 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3074 $as_echo_n "checking for suffix of object files... " >&6; }
  3075 if test "${ac_cv_objext+set}" = set; then
  3076   $as_echo_n "(cached) " >&6
  3077 else
  3078   cat >conftest.$ac_ext <<_ACEOF
  3079 /* confdefs.h.  */
  3080 _ACEOF
  3081 cat confdefs.h >>conftest.$ac_ext
  3082 cat >>conftest.$ac_ext <<_ACEOF
  3083 /* end confdefs.h.  */
  3085 int
  3086 main ()
  3090   return 0;
  3092 _ACEOF
  3093 rm -f conftest.o conftest.obj
  3094 if { (ac_try="$ac_compile"
  3095 case "(($ac_try" in
  3096   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3097   *) ac_try_echo=$ac_try;;
  3098 esac
  3099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3100 $as_echo "$ac_try_echo") >&5
  3101   (eval "$ac_compile") 2>&5
  3102   ac_status=$?
  3103   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3104   (exit $ac_status); }; then
  3105   for ac_file in conftest.o conftest.obj conftest.*; do
  3106   test -f "$ac_file" || continue;
  3107   case $ac_file in
  3108     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3109     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3110        break;;
  3111   esac
  3112 done
  3113 else
  3114   $as_echo "$as_me: failed program was:" >&5
  3115 sed 's/^/| /' conftest.$ac_ext >&5
  3117 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3118 See \`config.log' for more details." >&5
  3119 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3120 See \`config.log' for more details." >&2;}
  3121    { (exit 1); exit 1; }; }
  3122 fi
  3124 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3125 fi
  3126 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3127 $as_echo "$ac_cv_objext" >&6; }
  3128 OBJEXT=$ac_cv_objext
  3129 ac_objext=$OBJEXT
  3130 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3131 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3132 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3133   $as_echo_n "(cached) " >&6
  3134 else
  3135   cat >conftest.$ac_ext <<_ACEOF
  3136 /* confdefs.h.  */
  3137 _ACEOF
  3138 cat confdefs.h >>conftest.$ac_ext
  3139 cat >>conftest.$ac_ext <<_ACEOF
  3140 /* end confdefs.h.  */
  3142 int
  3143 main ()
  3145 #ifndef __GNUC__
  3146        choke me
  3147 #endif
  3150   return 0;
  3152 _ACEOF
  3153 rm -f conftest.$ac_objext
  3154 if { (ac_try="$ac_compile"
  3155 case "(($ac_try" in
  3156   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3157   *) ac_try_echo=$ac_try;;
  3158 esac
  3159 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3160 $as_echo "$ac_try_echo") >&5
  3161   (eval "$ac_compile") 2>conftest.er1
  3162   ac_status=$?
  3163   grep -v '^ *+' conftest.er1 >conftest.err
  3164   rm -f conftest.er1
  3165   cat conftest.err >&5
  3166   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3167   (exit $ac_status); } && {
  3168 	 test -z "$ac_c_werror_flag" ||
  3169 	 test ! -s conftest.err
  3170        } && test -s conftest.$ac_objext; then
  3171   ac_compiler_gnu=yes
  3172 else
  3173   $as_echo "$as_me: failed program was:" >&5
  3174 sed 's/^/| /' conftest.$ac_ext >&5
  3176 	ac_compiler_gnu=no
  3177 fi
  3179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3180 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3182 fi
  3183 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3184 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3185 if test $ac_compiler_gnu = yes; then
  3186   GCC=yes
  3187 else
  3188   GCC=
  3189 fi
  3190 ac_test_CFLAGS=${CFLAGS+set}
  3191 ac_save_CFLAGS=$CFLAGS
  3192 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3193 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3194 if test "${ac_cv_prog_cc_g+set}" = set; then
  3195   $as_echo_n "(cached) " >&6
  3196 else
  3197   ac_save_c_werror_flag=$ac_c_werror_flag
  3198    ac_c_werror_flag=yes
  3199    ac_cv_prog_cc_g=no
  3200    CFLAGS="-g"
  3201    cat >conftest.$ac_ext <<_ACEOF
  3202 /* confdefs.h.  */
  3203 _ACEOF
  3204 cat confdefs.h >>conftest.$ac_ext
  3205 cat >>conftest.$ac_ext <<_ACEOF
  3206 /* end confdefs.h.  */
  3208 int
  3209 main ()
  3213   return 0;
  3215 _ACEOF
  3216 rm -f conftest.$ac_objext
  3217 if { (ac_try="$ac_compile"
  3218 case "(($ac_try" in
  3219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3220   *) ac_try_echo=$ac_try;;
  3221 esac
  3222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3223 $as_echo "$ac_try_echo") >&5
  3224   (eval "$ac_compile") 2>conftest.er1
  3225   ac_status=$?
  3226   grep -v '^ *+' conftest.er1 >conftest.err
  3227   rm -f conftest.er1
  3228   cat conftest.err >&5
  3229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3230   (exit $ac_status); } && {
  3231 	 test -z "$ac_c_werror_flag" ||
  3232 	 test ! -s conftest.err
  3233        } && test -s conftest.$ac_objext; then
  3234   ac_cv_prog_cc_g=yes
  3235 else
  3236   $as_echo "$as_me: failed program was:" >&5
  3237 sed 's/^/| /' conftest.$ac_ext >&5
  3239 	CFLAGS=""
  3240       cat >conftest.$ac_ext <<_ACEOF
  3241 /* confdefs.h.  */
  3242 _ACEOF
  3243 cat confdefs.h >>conftest.$ac_ext
  3244 cat >>conftest.$ac_ext <<_ACEOF
  3245 /* end confdefs.h.  */
  3247 int
  3248 main ()
  3252   return 0;
  3254 _ACEOF
  3255 rm -f conftest.$ac_objext
  3256 if { (ac_try="$ac_compile"
  3257 case "(($ac_try" in
  3258   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3259   *) ac_try_echo=$ac_try;;
  3260 esac
  3261 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3262 $as_echo "$ac_try_echo") >&5
  3263   (eval "$ac_compile") 2>conftest.er1
  3264   ac_status=$?
  3265   grep -v '^ *+' conftest.er1 >conftest.err
  3266   rm -f conftest.er1
  3267   cat conftest.err >&5
  3268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3269   (exit $ac_status); } && {
  3270 	 test -z "$ac_c_werror_flag" ||
  3271 	 test ! -s conftest.err
  3272        } && test -s conftest.$ac_objext; then
  3274 else
  3275   $as_echo "$as_me: failed program was:" >&5
  3276 sed 's/^/| /' conftest.$ac_ext >&5
  3278 	ac_c_werror_flag=$ac_save_c_werror_flag
  3279 	 CFLAGS="-g"
  3280 	 cat >conftest.$ac_ext <<_ACEOF
  3281 /* confdefs.h.  */
  3282 _ACEOF
  3283 cat confdefs.h >>conftest.$ac_ext
  3284 cat >>conftest.$ac_ext <<_ACEOF
  3285 /* end confdefs.h.  */
  3287 int
  3288 main ()
  3292   return 0;
  3294 _ACEOF
  3295 rm -f conftest.$ac_objext
  3296 if { (ac_try="$ac_compile"
  3297 case "(($ac_try" in
  3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3299   *) ac_try_echo=$ac_try;;
  3300 esac
  3301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3302 $as_echo "$ac_try_echo") >&5
  3303   (eval "$ac_compile") 2>conftest.er1
  3304   ac_status=$?
  3305   grep -v '^ *+' conftest.er1 >conftest.err
  3306   rm -f conftest.er1
  3307   cat conftest.err >&5
  3308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3309   (exit $ac_status); } && {
  3310 	 test -z "$ac_c_werror_flag" ||
  3311 	 test ! -s conftest.err
  3312        } && test -s conftest.$ac_objext; then
  3313   ac_cv_prog_cc_g=yes
  3314 else
  3315   $as_echo "$as_me: failed program was:" >&5
  3316 sed 's/^/| /' conftest.$ac_ext >&5
  3319 fi
  3321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3322 fi
  3324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3325 fi
  3327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3328    ac_c_werror_flag=$ac_save_c_werror_flag
  3329 fi
  3330 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3331 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3332 if test "$ac_test_CFLAGS" = set; then
  3333   CFLAGS=$ac_save_CFLAGS
  3334 elif test $ac_cv_prog_cc_g = yes; then
  3335   if test "$GCC" = yes; then
  3336     CFLAGS="-g -O2"
  3337   else
  3338     CFLAGS="-g"
  3339   fi
  3340 else
  3341   if test "$GCC" = yes; then
  3342     CFLAGS="-O2"
  3343   else
  3344     CFLAGS=
  3345   fi
  3346 fi
  3347 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3348 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3349 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3350   $as_echo_n "(cached) " >&6
  3351 else
  3352   ac_cv_prog_cc_c89=no
  3353 ac_save_CC=$CC
  3354 cat >conftest.$ac_ext <<_ACEOF
  3355 /* confdefs.h.  */
  3356 _ACEOF
  3357 cat confdefs.h >>conftest.$ac_ext
  3358 cat >>conftest.$ac_ext <<_ACEOF
  3359 /* end confdefs.h.  */
  3360 #include <stdarg.h>
  3361 #include <stdio.h>
  3362 #include <sys/types.h>
  3363 #include <sys/stat.h>
  3364 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3365 struct buf { int x; };
  3366 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3367 static char *e (p, i)
  3368      char **p;
  3369      int i;
  3371   return p[i];
  3373 static char *f (char * (*g) (char **, int), char **p, ...)
  3375   char *s;
  3376   va_list v;
  3377   va_start (v,p);
  3378   s = g (p, va_arg (v,int));
  3379   va_end (v);
  3380   return s;
  3383 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3384    function prototypes and stuff, but not '\xHH' hex character constants.
  3385    These don't provoke an error unfortunately, instead are silently treated
  3386    as 'x'.  The following induces an error, until -std is added to get
  3387    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3388    array size at least.  It's necessary to write '\x00'==0 to get something
  3389    that's true only with -std.  */
  3390 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3392 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3393    inside strings and character constants.  */
  3394 #define FOO(x) 'x'
  3395 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3397 int test (int i, double x);
  3398 struct s1 {int (*f) (int a);};
  3399 struct s2 {int (*f) (double a);};
  3400 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3401 int argc;
  3402 char **argv;
  3403 int
  3404 main ()
  3406 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3408   return 0;
  3410 _ACEOF
  3411 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3412 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3413 do
  3414   CC="$ac_save_CC $ac_arg"
  3415   rm -f conftest.$ac_objext
  3416 if { (ac_try="$ac_compile"
  3417 case "(($ac_try" in
  3418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3419   *) ac_try_echo=$ac_try;;
  3420 esac
  3421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3422 $as_echo "$ac_try_echo") >&5
  3423   (eval "$ac_compile") 2>conftest.er1
  3424   ac_status=$?
  3425   grep -v '^ *+' conftest.er1 >conftest.err
  3426   rm -f conftest.er1
  3427   cat conftest.err >&5
  3428   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3429   (exit $ac_status); } && {
  3430 	 test -z "$ac_c_werror_flag" ||
  3431 	 test ! -s conftest.err
  3432        } && test -s conftest.$ac_objext; then
  3433   ac_cv_prog_cc_c89=$ac_arg
  3434 else
  3435   $as_echo "$as_me: failed program was:" >&5
  3436 sed 's/^/| /' conftest.$ac_ext >&5
  3439 fi
  3441 rm -f core conftest.err conftest.$ac_objext
  3442   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3443 done
  3444 rm -f conftest.$ac_ext
  3445 CC=$ac_save_CC
  3447 fi
  3448 # AC_CACHE_VAL
  3449 case "x$ac_cv_prog_cc_c89" in
  3450   x)
  3451     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3452 $as_echo "none needed" >&6; } ;;
  3453   xno)
  3454     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3455 $as_echo "unsupported" >&6; } ;;
  3456   *)
  3457     CC="$CC $ac_cv_prog_cc_c89"
  3458     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3459 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3460 esac
  3463 ac_ext=c
  3464 ac_cpp='$CPP $CPPFLAGS'
  3465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3469 depcc="$CC"   am_compiler_list=
  3471 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3472 $as_echo_n "checking dependency style of $depcc... " >&6; }
  3473 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3474   $as_echo_n "(cached) " >&6
  3475 else
  3476   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3477   # We make a subdir and do the tests there.  Otherwise we can end up
  3478   # making bogus files that we don't know about and never remove.  For
  3479   # instance it was reported that on HP-UX the gcc test will end up
  3480   # making a dummy file named `D' -- because `-MD' means `put the output
  3481   # in D'.
  3482   mkdir conftest.dir
  3483   # Copy depcomp to subdir because otherwise we won't find it if we're
  3484   # using a relative directory.
  3485   cp "$am_depcomp" conftest.dir
  3486   cd conftest.dir
  3487   # We will build objects and dependencies in a subdirectory because
  3488   # it helps to detect inapplicable dependency modes.  For instance
  3489   # both Tru64's cc and ICC support -MD to output dependencies as a
  3490   # side effect of compilation, but ICC will put the dependencies in
  3491   # the current directory while Tru64 will put them in the object
  3492   # directory.
  3493   mkdir sub
  3495   am_cv_CC_dependencies_compiler_type=none
  3496   if test "$am_compiler_list" = ""; then
  3497      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3498   fi
  3499   for depmode in $am_compiler_list; do
  3500     # Setup a source with many dependencies, because some compilers
  3501     # like to wrap large dependency lists on column 80 (with \), and
  3502     # we should not choose a depcomp mode which is confused by this.
  3504     # We need to recreate these files for each test, as the compiler may
  3505     # overwrite some of them when testing with obscure command lines.
  3506     # This happens at least with the AIX C compiler.
  3507     : > sub/conftest.c
  3508     for i in 1 2 3 4 5 6; do
  3509       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3510       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3511       # Solaris 8's {/usr,}/bin/sh.
  3512       touch sub/conftst$i.h
  3513     done
  3514     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3516     case $depmode in
  3517     nosideeffect)
  3518       # after this tag, mechanisms are not by side-effect, so they'll
  3519       # only be used when explicitly requested
  3520       if test "x$enable_dependency_tracking" = xyes; then
  3521 	continue
  3522       else
  3523 	break
  3524       fi
  3525       ;;
  3526     none) break ;;
  3527     esac
  3528     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3529     # mode.  It turns out that the SunPro C++ compiler does not properly
  3530     # handle `-M -o', and we need to detect this.
  3531     if depmode=$depmode \
  3532        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3533        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3534        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3535          >/dev/null 2>conftest.err &&
  3536        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3537        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3538        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3539       # icc doesn't choke on unknown options, it will just issue warnings
  3540       # or remarks (even with -Werror).  So we grep stderr for any message
  3541       # that says an option was ignored or not supported.
  3542       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3543       #   icc: Command line warning: ignoring option '-M'; no argument required
  3544       # The diagnosis changed in icc 8.0:
  3545       #   icc: Command line remark: option '-MP' not supported
  3546       if (grep 'ignoring option' conftest.err ||
  3547           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3548         am_cv_CC_dependencies_compiler_type=$depmode
  3549         break
  3550       fi
  3551     fi
  3552   done
  3554   cd ..
  3555   rm -rf conftest.dir
  3556 else
  3557   am_cv_CC_dependencies_compiler_type=none
  3558 fi
  3560 fi
  3561 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3562 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3563 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3567 if
  3568   test "x$enable_dependency_tracking" != xno \
  3569   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3570   am__fastdepCC_TRUE=
  3571   am__fastdepCC_FALSE='#'
  3572 else
  3573   am__fastdepCC_TRUE='#'
  3574   am__fastdepCC_FALSE=
  3575 fi
  3580         { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3581 $as_echo_n "checking for strerror in -lcposix... " >&6; }
  3582 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3583   $as_echo_n "(cached) " >&6
  3584 else
  3585   ac_check_lib_save_LIBS=$LIBS
  3586 LIBS="-lcposix  $LIBS"
  3587 cat >conftest.$ac_ext <<_ACEOF
  3588 /* confdefs.h.  */
  3589 _ACEOF
  3590 cat confdefs.h >>conftest.$ac_ext
  3591 cat >>conftest.$ac_ext <<_ACEOF
  3592 /* end confdefs.h.  */
  3594 /* Override any GCC internal prototype to avoid an error.
  3595    Use char because int might match the return type of a GCC
  3596    builtin and then its argument prototype would still apply.  */
  3597 #ifdef __cplusplus
  3598 extern "C"
  3599 #endif
  3600 char strerror ();
  3601 int
  3602 main ()
  3604 return strerror ();
  3606   return 0;
  3608 _ACEOF
  3609 rm -f conftest.$ac_objext conftest$ac_exeext
  3610 if { (ac_try="$ac_link"
  3611 case "(($ac_try" in
  3612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3613   *) ac_try_echo=$ac_try;;
  3614 esac
  3615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3616 $as_echo "$ac_try_echo") >&5
  3617   (eval "$ac_link") 2>conftest.er1
  3618   ac_status=$?
  3619   grep -v '^ *+' conftest.er1 >conftest.err
  3620   rm -f conftest.er1
  3621   cat conftest.err >&5
  3622   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3623   (exit $ac_status); } && {
  3624 	 test -z "$ac_c_werror_flag" ||
  3625 	 test ! -s conftest.err
  3626        } && test -s conftest$ac_exeext && {
  3627 	 test "$cross_compiling" = yes ||
  3628 	 $as_test_x conftest$ac_exeext
  3629        }; then
  3630   ac_cv_lib_cposix_strerror=yes
  3631 else
  3632   $as_echo "$as_me: failed program was:" >&5
  3633 sed 's/^/| /' conftest.$ac_ext >&5
  3635 	ac_cv_lib_cposix_strerror=no
  3636 fi
  3638 rm -rf conftest.dSYM
  3639 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3640       conftest$ac_exeext conftest.$ac_ext
  3641 LIBS=$ac_check_lib_save_LIBS
  3642 fi
  3643 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3644 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
  3645 if test $ac_cv_lib_cposix_strerror = yes; then
  3646   LIBS="$LIBS -lcposix"
  3647 fi
  3651 ac_ext=c
  3652 ac_cpp='$CPP $CPPFLAGS'
  3653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3656 if test -n "$ac_tool_prefix"; then
  3657   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3658 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3659 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3660 $as_echo_n "checking for $ac_word... " >&6; }
  3661 if test "${ac_cv_prog_CC+set}" = set; then
  3662   $as_echo_n "(cached) " >&6
  3663 else
  3664   if test -n "$CC"; then
  3665   ac_cv_prog_CC="$CC" # Let the user override the test.
  3666 else
  3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3668 for as_dir in $PATH
  3669 do
  3670   IFS=$as_save_IFS
  3671   test -z "$as_dir" && as_dir=.
  3672   for ac_exec_ext in '' $ac_executable_extensions; do
  3673   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3674     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3675     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3676     break 2
  3677   fi
  3678 done
  3679 done
  3680 IFS=$as_save_IFS
  3682 fi
  3683 fi
  3684 CC=$ac_cv_prog_CC
  3685 if test -n "$CC"; then
  3686   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3687 $as_echo "$CC" >&6; }
  3688 else
  3689   { $as_echo "$as_me:$LINENO: result: no" >&5
  3690 $as_echo "no" >&6; }
  3691 fi
  3694 fi
  3695 if test -z "$ac_cv_prog_CC"; then
  3696   ac_ct_CC=$CC
  3697   # Extract the first word of "gcc", so it can be a program name with args.
  3698 set dummy gcc; ac_word=$2
  3699 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3700 $as_echo_n "checking for $ac_word... " >&6; }
  3701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3702   $as_echo_n "(cached) " >&6
  3703 else
  3704   if test -n "$ac_ct_CC"; then
  3705   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3706 else
  3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3708 for as_dir in $PATH
  3709 do
  3710   IFS=$as_save_IFS
  3711   test -z "$as_dir" && as_dir=.
  3712   for ac_exec_ext in '' $ac_executable_extensions; do
  3713   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3714     ac_cv_prog_ac_ct_CC="gcc"
  3715     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3716     break 2
  3717   fi
  3718 done
  3719 done
  3720 IFS=$as_save_IFS
  3722 fi
  3723 fi
  3724 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3725 if test -n "$ac_ct_CC"; then
  3726   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3727 $as_echo "$ac_ct_CC" >&6; }
  3728 else
  3729   { $as_echo "$as_me:$LINENO: result: no" >&5
  3730 $as_echo "no" >&6; }
  3731 fi
  3733   if test "x$ac_ct_CC" = x; then
  3734     CC=""
  3735   else
  3736     case $cross_compiling:$ac_tool_warned in
  3737 yes:)
  3738 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3739 whose name does not start with the host triplet.  If you think this
  3740 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3741 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3742 whose name does not start with the host triplet.  If you think this
  3743 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3744 ac_tool_warned=yes ;;
  3745 esac
  3746     CC=$ac_ct_CC
  3747   fi
  3748 else
  3749   CC="$ac_cv_prog_CC"
  3750 fi
  3752 if test -z "$CC"; then
  3753           if test -n "$ac_tool_prefix"; then
  3754     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3755 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3757 $as_echo_n "checking for $ac_word... " >&6; }
  3758 if test "${ac_cv_prog_CC+set}" = set; then
  3759   $as_echo_n "(cached) " >&6
  3760 else
  3761   if test -n "$CC"; then
  3762   ac_cv_prog_CC="$CC" # Let the user override the test.
  3763 else
  3764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3765 for as_dir in $PATH
  3766 do
  3767   IFS=$as_save_IFS
  3768   test -z "$as_dir" && as_dir=.
  3769   for ac_exec_ext in '' $ac_executable_extensions; do
  3770   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3771     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3772     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3773     break 2
  3774   fi
  3775 done
  3776 done
  3777 IFS=$as_save_IFS
  3779 fi
  3780 fi
  3781 CC=$ac_cv_prog_CC
  3782 if test -n "$CC"; then
  3783   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3784 $as_echo "$CC" >&6; }
  3785 else
  3786   { $as_echo "$as_me:$LINENO: result: no" >&5
  3787 $as_echo "no" >&6; }
  3788 fi
  3791   fi
  3792 fi
  3793 if test -z "$CC"; then
  3794   # Extract the first word of "cc", so it can be a program name with args.
  3795 set dummy cc; ac_word=$2
  3796 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3797 $as_echo_n "checking for $ac_word... " >&6; }
  3798 if test "${ac_cv_prog_CC+set}" = set; then
  3799   $as_echo_n "(cached) " >&6
  3800 else
  3801   if test -n "$CC"; then
  3802   ac_cv_prog_CC="$CC" # Let the user override the test.
  3803 else
  3804   ac_prog_rejected=no
  3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3806 for as_dir in $PATH
  3807 do
  3808   IFS=$as_save_IFS
  3809   test -z "$as_dir" && as_dir=.
  3810   for ac_exec_ext in '' $ac_executable_extensions; do
  3811   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3812     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3813        ac_prog_rejected=yes
  3814        continue
  3815      fi
  3816     ac_cv_prog_CC="cc"
  3817     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3818     break 2
  3819   fi
  3820 done
  3821 done
  3822 IFS=$as_save_IFS
  3824 if test $ac_prog_rejected = yes; then
  3825   # We found a bogon in the path, so make sure we never use it.
  3826   set dummy $ac_cv_prog_CC
  3827   shift
  3828   if test $# != 0; then
  3829     # We chose a different compiler from the bogus one.
  3830     # However, it has the same basename, so the bogon will be chosen
  3831     # first if we set CC to just the basename; use the full file name.
  3832     shift
  3833     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3834   fi
  3835 fi
  3836 fi
  3837 fi
  3838 CC=$ac_cv_prog_CC
  3839 if test -n "$CC"; then
  3840   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3841 $as_echo "$CC" >&6; }
  3842 else
  3843   { $as_echo "$as_me:$LINENO: result: no" >&5
  3844 $as_echo "no" >&6; }
  3845 fi
  3848 fi
  3849 if test -z "$CC"; then
  3850   if test -n "$ac_tool_prefix"; then
  3851   for ac_prog in cl.exe
  3852   do
  3853     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3854 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3855 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3856 $as_echo_n "checking for $ac_word... " >&6; }
  3857 if test "${ac_cv_prog_CC+set}" = set; then
  3858   $as_echo_n "(cached) " >&6
  3859 else
  3860   if test -n "$CC"; then
  3861   ac_cv_prog_CC="$CC" # Let the user override the test.
  3862 else
  3863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3864 for as_dir in $PATH
  3865 do
  3866   IFS=$as_save_IFS
  3867   test -z "$as_dir" && as_dir=.
  3868   for ac_exec_ext in '' $ac_executable_extensions; do
  3869   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3870     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3871     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3872     break 2
  3873   fi
  3874 done
  3875 done
  3876 IFS=$as_save_IFS
  3878 fi
  3879 fi
  3880 CC=$ac_cv_prog_CC
  3881 if test -n "$CC"; then
  3882   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3883 $as_echo "$CC" >&6; }
  3884 else
  3885   { $as_echo "$as_me:$LINENO: result: no" >&5
  3886 $as_echo "no" >&6; }
  3887 fi
  3890     test -n "$CC" && break
  3891   done
  3892 fi
  3893 if test -z "$CC"; then
  3894   ac_ct_CC=$CC
  3895   for ac_prog in cl.exe
  3896 do
  3897   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3898 set dummy $ac_prog; ac_word=$2
  3899 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3900 $as_echo_n "checking for $ac_word... " >&6; }
  3901 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3902   $as_echo_n "(cached) " >&6
  3903 else
  3904   if test -n "$ac_ct_CC"; then
  3905   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3906 else
  3907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3908 for as_dir in $PATH
  3909 do
  3910   IFS=$as_save_IFS
  3911   test -z "$as_dir" && as_dir=.
  3912   for ac_exec_ext in '' $ac_executable_extensions; do
  3913   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3914     ac_cv_prog_ac_ct_CC="$ac_prog"
  3915     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3916     break 2
  3917   fi
  3918 done
  3919 done
  3920 IFS=$as_save_IFS
  3922 fi
  3923 fi
  3924 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3925 if test -n "$ac_ct_CC"; then
  3926   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3927 $as_echo "$ac_ct_CC" >&6; }
  3928 else
  3929   { $as_echo "$as_me:$LINENO: result: no" >&5
  3930 $as_echo "no" >&6; }
  3931 fi
  3934   test -n "$ac_ct_CC" && break
  3935 done
  3937   if test "x$ac_ct_CC" = x; then
  3938     CC=""
  3939   else
  3940     case $cross_compiling:$ac_tool_warned in
  3941 yes:)
  3942 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3943 whose name does not start with the host triplet.  If you think this
  3944 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3945 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  3946 whose name does not start with the host triplet.  If you think this
  3947 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  3948 ac_tool_warned=yes ;;
  3949 esac
  3950     CC=$ac_ct_CC
  3951   fi
  3952 fi
  3954 fi
  3957 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3958 See \`config.log' for more details." >&5
  3959 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  3960 See \`config.log' for more details." >&2;}
  3961    { (exit 1); exit 1; }; }
  3963 # Provide some information about the compiler.
  3964 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  3965 set X $ac_compile
  3966 ac_compiler=$2
  3967 { (ac_try="$ac_compiler --version >&5"
  3968 case "(($ac_try" in
  3969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3970   *) ac_try_echo=$ac_try;;
  3971 esac
  3972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3973 $as_echo "$ac_try_echo") >&5
  3974   (eval "$ac_compiler --version >&5") 2>&5
  3975   ac_status=$?
  3976   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3977   (exit $ac_status); }
  3978 { (ac_try="$ac_compiler -v >&5"
  3979 case "(($ac_try" in
  3980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3981   *) ac_try_echo=$ac_try;;
  3982 esac
  3983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3984 $as_echo "$ac_try_echo") >&5
  3985   (eval "$ac_compiler -v >&5") 2>&5
  3986   ac_status=$?
  3987   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3988   (exit $ac_status); }
  3989 { (ac_try="$ac_compiler -V >&5"
  3990 case "(($ac_try" in
  3991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3992   *) ac_try_echo=$ac_try;;
  3993 esac
  3994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3995 $as_echo "$ac_try_echo") >&5
  3996   (eval "$ac_compiler -V >&5") 2>&5
  3997   ac_status=$?
  3998   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3999   (exit $ac_status); }
  4001 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4002 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4003 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4004   $as_echo_n "(cached) " >&6
  4005 else
  4006   cat >conftest.$ac_ext <<_ACEOF
  4007 /* confdefs.h.  */
  4008 _ACEOF
  4009 cat confdefs.h >>conftest.$ac_ext
  4010 cat >>conftest.$ac_ext <<_ACEOF
  4011 /* end confdefs.h.  */
  4013 int
  4014 main ()
  4016 #ifndef __GNUC__
  4017        choke me
  4018 #endif
  4021   return 0;
  4023 _ACEOF
  4024 rm -f conftest.$ac_objext
  4025 if { (ac_try="$ac_compile"
  4026 case "(($ac_try" in
  4027   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4028   *) ac_try_echo=$ac_try;;
  4029 esac
  4030 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4031 $as_echo "$ac_try_echo") >&5
  4032   (eval "$ac_compile") 2>conftest.er1
  4033   ac_status=$?
  4034   grep -v '^ *+' conftest.er1 >conftest.err
  4035   rm -f conftest.er1
  4036   cat conftest.err >&5
  4037   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4038   (exit $ac_status); } && {
  4039 	 test -z "$ac_c_werror_flag" ||
  4040 	 test ! -s conftest.err
  4041        } && test -s conftest.$ac_objext; then
  4042   ac_compiler_gnu=yes
  4043 else
  4044   $as_echo "$as_me: failed program was:" >&5
  4045 sed 's/^/| /' conftest.$ac_ext >&5
  4047 	ac_compiler_gnu=no
  4048 fi
  4050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4051 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4053 fi
  4054 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4055 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4056 if test $ac_compiler_gnu = yes; then
  4057   GCC=yes
  4058 else
  4059   GCC=
  4060 fi
  4061 ac_test_CFLAGS=${CFLAGS+set}
  4062 ac_save_CFLAGS=$CFLAGS
  4063 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4064 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4065 if test "${ac_cv_prog_cc_g+set}" = set; then
  4066   $as_echo_n "(cached) " >&6
  4067 else
  4068   ac_save_c_werror_flag=$ac_c_werror_flag
  4069    ac_c_werror_flag=yes
  4070    ac_cv_prog_cc_g=no
  4071    CFLAGS="-g"
  4072    cat >conftest.$ac_ext <<_ACEOF
  4073 /* confdefs.h.  */
  4074 _ACEOF
  4075 cat confdefs.h >>conftest.$ac_ext
  4076 cat >>conftest.$ac_ext <<_ACEOF
  4077 /* end confdefs.h.  */
  4079 int
  4080 main ()
  4084   return 0;
  4086 _ACEOF
  4087 rm -f conftest.$ac_objext
  4088 if { (ac_try="$ac_compile"
  4089 case "(($ac_try" in
  4090   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4091   *) ac_try_echo=$ac_try;;
  4092 esac
  4093 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4094 $as_echo "$ac_try_echo") >&5
  4095   (eval "$ac_compile") 2>conftest.er1
  4096   ac_status=$?
  4097   grep -v '^ *+' conftest.er1 >conftest.err
  4098   rm -f conftest.er1
  4099   cat conftest.err >&5
  4100   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4101   (exit $ac_status); } && {
  4102 	 test -z "$ac_c_werror_flag" ||
  4103 	 test ! -s conftest.err
  4104        } && test -s conftest.$ac_objext; then
  4105   ac_cv_prog_cc_g=yes
  4106 else
  4107   $as_echo "$as_me: failed program was:" >&5
  4108 sed 's/^/| /' conftest.$ac_ext >&5
  4110 	CFLAGS=""
  4111       cat >conftest.$ac_ext <<_ACEOF
  4112 /* confdefs.h.  */
  4113 _ACEOF
  4114 cat confdefs.h >>conftest.$ac_ext
  4115 cat >>conftest.$ac_ext <<_ACEOF
  4116 /* end confdefs.h.  */
  4118 int
  4119 main ()
  4123   return 0;
  4125 _ACEOF
  4126 rm -f conftest.$ac_objext
  4127 if { (ac_try="$ac_compile"
  4128 case "(($ac_try" in
  4129   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4130   *) ac_try_echo=$ac_try;;
  4131 esac
  4132 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4133 $as_echo "$ac_try_echo") >&5
  4134   (eval "$ac_compile") 2>conftest.er1
  4135   ac_status=$?
  4136   grep -v '^ *+' conftest.er1 >conftest.err
  4137   rm -f conftest.er1
  4138   cat conftest.err >&5
  4139   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4140   (exit $ac_status); } && {
  4141 	 test -z "$ac_c_werror_flag" ||
  4142 	 test ! -s conftest.err
  4143        } && test -s conftest.$ac_objext; then
  4145 else
  4146   $as_echo "$as_me: failed program was:" >&5
  4147 sed 's/^/| /' conftest.$ac_ext >&5
  4149 	ac_c_werror_flag=$ac_save_c_werror_flag
  4150 	 CFLAGS="-g"
  4151 	 cat >conftest.$ac_ext <<_ACEOF
  4152 /* confdefs.h.  */
  4153 _ACEOF
  4154 cat confdefs.h >>conftest.$ac_ext
  4155 cat >>conftest.$ac_ext <<_ACEOF
  4156 /* end confdefs.h.  */
  4158 int
  4159 main ()
  4163   return 0;
  4165 _ACEOF
  4166 rm -f conftest.$ac_objext
  4167 if { (ac_try="$ac_compile"
  4168 case "(($ac_try" in
  4169   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4170   *) ac_try_echo=$ac_try;;
  4171 esac
  4172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4173 $as_echo "$ac_try_echo") >&5
  4174   (eval "$ac_compile") 2>conftest.er1
  4175   ac_status=$?
  4176   grep -v '^ *+' conftest.er1 >conftest.err
  4177   rm -f conftest.er1
  4178   cat conftest.err >&5
  4179   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4180   (exit $ac_status); } && {
  4181 	 test -z "$ac_c_werror_flag" ||
  4182 	 test ! -s conftest.err
  4183        } && test -s conftest.$ac_objext; then
  4184   ac_cv_prog_cc_g=yes
  4185 else
  4186   $as_echo "$as_me: failed program was:" >&5
  4187 sed 's/^/| /' conftest.$ac_ext >&5
  4190 fi
  4192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4193 fi
  4195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4196 fi
  4198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4199    ac_c_werror_flag=$ac_save_c_werror_flag
  4200 fi
  4201 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4202 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4203 if test "$ac_test_CFLAGS" = set; then
  4204   CFLAGS=$ac_save_CFLAGS
  4205 elif test $ac_cv_prog_cc_g = yes; then
  4206   if test "$GCC" = yes; then
  4207     CFLAGS="-g -O2"
  4208   else
  4209     CFLAGS="-g"
  4210   fi
  4211 else
  4212   if test "$GCC" = yes; then
  4213     CFLAGS="-O2"
  4214   else
  4215     CFLAGS=
  4216   fi
  4217 fi
  4218 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4219 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4220 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4221   $as_echo_n "(cached) " >&6
  4222 else
  4223   ac_cv_prog_cc_c89=no
  4224 ac_save_CC=$CC
  4225 cat >conftest.$ac_ext <<_ACEOF
  4226 /* confdefs.h.  */
  4227 _ACEOF
  4228 cat confdefs.h >>conftest.$ac_ext
  4229 cat >>conftest.$ac_ext <<_ACEOF
  4230 /* end confdefs.h.  */
  4231 #include <stdarg.h>
  4232 #include <stdio.h>
  4233 #include <sys/types.h>
  4234 #include <sys/stat.h>
  4235 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4236 struct buf { int x; };
  4237 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4238 static char *e (p, i)
  4239      char **p;
  4240      int i;
  4242   return p[i];
  4244 static char *f (char * (*g) (char **, int), char **p, ...)
  4246   char *s;
  4247   va_list v;
  4248   va_start (v,p);
  4249   s = g (p, va_arg (v,int));
  4250   va_end (v);
  4251   return s;
  4254 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4255    function prototypes and stuff, but not '\xHH' hex character constants.
  4256    These don't provoke an error unfortunately, instead are silently treated
  4257    as 'x'.  The following induces an error, until -std is added to get
  4258    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4259    array size at least.  It's necessary to write '\x00'==0 to get something
  4260    that's true only with -std.  */
  4261 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4263 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4264    inside strings and character constants.  */
  4265 #define FOO(x) 'x'
  4266 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4268 int test (int i, double x);
  4269 struct s1 {int (*f) (int a);};
  4270 struct s2 {int (*f) (double a);};
  4271 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4272 int argc;
  4273 char **argv;
  4274 int
  4275 main ()
  4277 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4279   return 0;
  4281 _ACEOF
  4282 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4283 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4284 do
  4285   CC="$ac_save_CC $ac_arg"
  4286   rm -f conftest.$ac_objext
  4287 if { (ac_try="$ac_compile"
  4288 case "(($ac_try" in
  4289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4290   *) ac_try_echo=$ac_try;;
  4291 esac
  4292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4293 $as_echo "$ac_try_echo") >&5
  4294   (eval "$ac_compile") 2>conftest.er1
  4295   ac_status=$?
  4296   grep -v '^ *+' conftest.er1 >conftest.err
  4297   rm -f conftest.er1
  4298   cat conftest.err >&5
  4299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4300   (exit $ac_status); } && {
  4301 	 test -z "$ac_c_werror_flag" ||
  4302 	 test ! -s conftest.err
  4303        } && test -s conftest.$ac_objext; then
  4304   ac_cv_prog_cc_c89=$ac_arg
  4305 else
  4306   $as_echo "$as_me: failed program was:" >&5
  4307 sed 's/^/| /' conftest.$ac_ext >&5
  4310 fi
  4312 rm -f core conftest.err conftest.$ac_objext
  4313   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4314 done
  4315 rm -f conftest.$ac_ext
  4316 CC=$ac_save_CC
  4318 fi
  4319 # AC_CACHE_VAL
  4320 case "x$ac_cv_prog_cc_c89" in
  4321   x)
  4322     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4323 $as_echo "none needed" >&6; } ;;
  4324   xno)
  4325     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4326 $as_echo "unsupported" >&6; } ;;
  4327   *)
  4328     CC="$CC $ac_cv_prog_cc_c89"
  4329     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4330 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4331 esac
  4334 ac_ext=c
  4335 ac_cpp='$CPP $CPPFLAGS'
  4336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4340 depcc="$CC"   am_compiler_list=
  4342 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4343 $as_echo_n "checking dependency style of $depcc... " >&6; }
  4344 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4345   $as_echo_n "(cached) " >&6
  4346 else
  4347   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4348   # We make a subdir and do the tests there.  Otherwise we can end up
  4349   # making bogus files that we don't know about and never remove.  For
  4350   # instance it was reported that on HP-UX the gcc test will end up
  4351   # making a dummy file named `D' -- because `-MD' means `put the output
  4352   # in D'.
  4353   mkdir conftest.dir
  4354   # Copy depcomp to subdir because otherwise we won't find it if we're
  4355   # using a relative directory.
  4356   cp "$am_depcomp" conftest.dir
  4357   cd conftest.dir
  4358   # We will build objects and dependencies in a subdirectory because
  4359   # it helps to detect inapplicable dependency modes.  For instance
  4360   # both Tru64's cc and ICC support -MD to output dependencies as a
  4361   # side effect of compilation, but ICC will put the dependencies in
  4362   # the current directory while Tru64 will put them in the object
  4363   # directory.
  4364   mkdir sub
  4366   am_cv_CC_dependencies_compiler_type=none
  4367   if test "$am_compiler_list" = ""; then
  4368      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4369   fi
  4370   for depmode in $am_compiler_list; do
  4371     # Setup a source with many dependencies, because some compilers
  4372     # like to wrap large dependency lists on column 80 (with \), and
  4373     # we should not choose a depcomp mode which is confused by this.
  4375     # We need to recreate these files for each test, as the compiler may
  4376     # overwrite some of them when testing with obscure command lines.
  4377     # This happens at least with the AIX C compiler.
  4378     : > sub/conftest.c
  4379     for i in 1 2 3 4 5 6; do
  4380       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4381       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4382       # Solaris 8's {/usr,}/bin/sh.
  4383       touch sub/conftst$i.h
  4384     done
  4385     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4387     case $depmode in
  4388     nosideeffect)
  4389       # after this tag, mechanisms are not by side-effect, so they'll
  4390       # only be used when explicitly requested
  4391       if test "x$enable_dependency_tracking" = xyes; then
  4392 	continue
  4393       else
  4394 	break
  4395       fi
  4396       ;;
  4397     none) break ;;
  4398     esac
  4399     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4400     # mode.  It turns out that the SunPro C++ compiler does not properly
  4401     # handle `-M -o', and we need to detect this.
  4402     if depmode=$depmode \
  4403        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4404        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4405        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4406          >/dev/null 2>conftest.err &&
  4407        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4408        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4409        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4410       # icc doesn't choke on unknown options, it will just issue warnings
  4411       # or remarks (even with -Werror).  So we grep stderr for any message
  4412       # that says an option was ignored or not supported.
  4413       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4414       #   icc: Command line warning: ignoring option '-M'; no argument required
  4415       # The diagnosis changed in icc 8.0:
  4416       #   icc: Command line remark: option '-MP' not supported
  4417       if (grep 'ignoring option' conftest.err ||
  4418           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4419         am_cv_CC_dependencies_compiler_type=$depmode
  4420         break
  4421       fi
  4422     fi
  4423   done
  4425   cd ..
  4426   rm -rf conftest.dir
  4427 else
  4428   am_cv_CC_dependencies_compiler_type=none
  4429 fi
  4431 fi
  4432 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4433 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4434 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4438 if
  4439   test "x$enable_dependency_tracking" != xno \
  4440   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4441   am__fastdepCC_TRUE=
  4442   am__fastdepCC_FALSE='#'
  4443 else
  4444   am__fastdepCC_TRUE='#'
  4445   am__fastdepCC_FALSE=
  4446 fi
  4449 ac_ext=c
  4450 ac_cpp='$CPP $CPPFLAGS'
  4451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4454 if test -n "$ac_tool_prefix"; then
  4455   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4456 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4457 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4458 $as_echo_n "checking for $ac_word... " >&6; }
  4459 if test "${ac_cv_prog_CC+set}" = set; then
  4460   $as_echo_n "(cached) " >&6
  4461 else
  4462   if test -n "$CC"; then
  4463   ac_cv_prog_CC="$CC" # Let the user override the test.
  4464 else
  4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4466 for as_dir in $PATH
  4467 do
  4468   IFS=$as_save_IFS
  4469   test -z "$as_dir" && as_dir=.
  4470   for ac_exec_ext in '' $ac_executable_extensions; do
  4471   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4472     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4473     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4474     break 2
  4475   fi
  4476 done
  4477 done
  4478 IFS=$as_save_IFS
  4480 fi
  4481 fi
  4482 CC=$ac_cv_prog_CC
  4483 if test -n "$CC"; then
  4484   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4485 $as_echo "$CC" >&6; }
  4486 else
  4487   { $as_echo "$as_me:$LINENO: result: no" >&5
  4488 $as_echo "no" >&6; }
  4489 fi
  4492 fi
  4493 if test -z "$ac_cv_prog_CC"; then
  4494   ac_ct_CC=$CC
  4495   # Extract the first word of "gcc", so it can be a program name with args.
  4496 set dummy gcc; ac_word=$2
  4497 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4498 $as_echo_n "checking for $ac_word... " >&6; }
  4499 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4500   $as_echo_n "(cached) " >&6
  4501 else
  4502   if test -n "$ac_ct_CC"; then
  4503   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4504 else
  4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4506 for as_dir in $PATH
  4507 do
  4508   IFS=$as_save_IFS
  4509   test -z "$as_dir" && as_dir=.
  4510   for ac_exec_ext in '' $ac_executable_extensions; do
  4511   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4512     ac_cv_prog_ac_ct_CC="gcc"
  4513     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4514     break 2
  4515   fi
  4516 done
  4517 done
  4518 IFS=$as_save_IFS
  4520 fi
  4521 fi
  4522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4523 if test -n "$ac_ct_CC"; then
  4524   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4525 $as_echo "$ac_ct_CC" >&6; }
  4526 else
  4527   { $as_echo "$as_me:$LINENO: result: no" >&5
  4528 $as_echo "no" >&6; }
  4529 fi
  4531   if test "x$ac_ct_CC" = x; then
  4532     CC=""
  4533   else
  4534     case $cross_compiling:$ac_tool_warned in
  4535 yes:)
  4536 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4537 whose name does not start with the host triplet.  If you think this
  4538 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4539 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4540 whose name does not start with the host triplet.  If you think this
  4541 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4542 ac_tool_warned=yes ;;
  4543 esac
  4544     CC=$ac_ct_CC
  4545   fi
  4546 else
  4547   CC="$ac_cv_prog_CC"
  4548 fi
  4550 if test -z "$CC"; then
  4551           if test -n "$ac_tool_prefix"; then
  4552     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4553 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4554 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4555 $as_echo_n "checking for $ac_word... " >&6; }
  4556 if test "${ac_cv_prog_CC+set}" = set; then
  4557   $as_echo_n "(cached) " >&6
  4558 else
  4559   if test -n "$CC"; then
  4560   ac_cv_prog_CC="$CC" # Let the user override the test.
  4561 else
  4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4563 for as_dir in $PATH
  4564 do
  4565   IFS=$as_save_IFS
  4566   test -z "$as_dir" && as_dir=.
  4567   for ac_exec_ext in '' $ac_executable_extensions; do
  4568   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4569     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4570     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4571     break 2
  4572   fi
  4573 done
  4574 done
  4575 IFS=$as_save_IFS
  4577 fi
  4578 fi
  4579 CC=$ac_cv_prog_CC
  4580 if test -n "$CC"; then
  4581   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4582 $as_echo "$CC" >&6; }
  4583 else
  4584   { $as_echo "$as_me:$LINENO: result: no" >&5
  4585 $as_echo "no" >&6; }
  4586 fi
  4589   fi
  4590 fi
  4591 if test -z "$CC"; then
  4592   # Extract the first word of "cc", so it can be a program name with args.
  4593 set dummy cc; ac_word=$2
  4594 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4595 $as_echo_n "checking for $ac_word... " >&6; }
  4596 if test "${ac_cv_prog_CC+set}" = set; then
  4597   $as_echo_n "(cached) " >&6
  4598 else
  4599   if test -n "$CC"; then
  4600   ac_cv_prog_CC="$CC" # Let the user override the test.
  4601 else
  4602   ac_prog_rejected=no
  4603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4604 for as_dir in $PATH
  4605 do
  4606   IFS=$as_save_IFS
  4607   test -z "$as_dir" && as_dir=.
  4608   for ac_exec_ext in '' $ac_executable_extensions; do
  4609   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4610     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4611        ac_prog_rejected=yes
  4612        continue
  4613      fi
  4614     ac_cv_prog_CC="cc"
  4615     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4616     break 2
  4617   fi
  4618 done
  4619 done
  4620 IFS=$as_save_IFS
  4622 if test $ac_prog_rejected = yes; then
  4623   # We found a bogon in the path, so make sure we never use it.
  4624   set dummy $ac_cv_prog_CC
  4625   shift
  4626   if test $# != 0; then
  4627     # We chose a different compiler from the bogus one.
  4628     # However, it has the same basename, so the bogon will be chosen
  4629     # first if we set CC to just the basename; use the full file name.
  4630     shift
  4631     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4632   fi
  4633 fi
  4634 fi
  4635 fi
  4636 CC=$ac_cv_prog_CC
  4637 if test -n "$CC"; then
  4638   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4639 $as_echo "$CC" >&6; }
  4640 else
  4641   { $as_echo "$as_me:$LINENO: result: no" >&5
  4642 $as_echo "no" >&6; }
  4643 fi
  4646 fi
  4647 if test -z "$CC"; then
  4648   if test -n "$ac_tool_prefix"; then
  4649   for ac_prog in cl.exe
  4650   do
  4651     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4652 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4653 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4654 $as_echo_n "checking for $ac_word... " >&6; }
  4655 if test "${ac_cv_prog_CC+set}" = set; then
  4656   $as_echo_n "(cached) " >&6
  4657 else
  4658   if test -n "$CC"; then
  4659   ac_cv_prog_CC="$CC" # Let the user override the test.
  4660 else
  4661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4662 for as_dir in $PATH
  4663 do
  4664   IFS=$as_save_IFS
  4665   test -z "$as_dir" && as_dir=.
  4666   for ac_exec_ext in '' $ac_executable_extensions; do
  4667   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4668     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4669     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4670     break 2
  4671   fi
  4672 done
  4673 done
  4674 IFS=$as_save_IFS
  4676 fi
  4677 fi
  4678 CC=$ac_cv_prog_CC
  4679 if test -n "$CC"; then
  4680   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4681 $as_echo "$CC" >&6; }
  4682 else
  4683   { $as_echo "$as_me:$LINENO: result: no" >&5
  4684 $as_echo "no" >&6; }
  4685 fi
  4688     test -n "$CC" && break
  4689   done
  4690 fi
  4691 if test -z "$CC"; then
  4692   ac_ct_CC=$CC
  4693   for ac_prog in cl.exe
  4694 do
  4695   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4696 set dummy $ac_prog; ac_word=$2
  4697 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4698 $as_echo_n "checking for $ac_word... " >&6; }
  4699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4700   $as_echo_n "(cached) " >&6
  4701 else
  4702   if test -n "$ac_ct_CC"; then
  4703   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4704 else
  4705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4706 for as_dir in $PATH
  4707 do
  4708   IFS=$as_save_IFS
  4709   test -z "$as_dir" && as_dir=.
  4710   for ac_exec_ext in '' $ac_executable_extensions; do
  4711   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4712     ac_cv_prog_ac_ct_CC="$ac_prog"
  4713     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4714     break 2
  4715   fi
  4716 done
  4717 done
  4718 IFS=$as_save_IFS
  4720 fi
  4721 fi
  4722 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4723 if test -n "$ac_ct_CC"; then
  4724   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4725 $as_echo "$ac_ct_CC" >&6; }
  4726 else
  4727   { $as_echo "$as_me:$LINENO: result: no" >&5
  4728 $as_echo "no" >&6; }
  4729 fi
  4732   test -n "$ac_ct_CC" && break
  4733 done
  4735   if test "x$ac_ct_CC" = x; then
  4736     CC=""
  4737   else
  4738     case $cross_compiling:$ac_tool_warned in
  4739 yes:)
  4740 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4741 whose name does not start with the host triplet.  If you think this
  4742 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4743 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  4744 whose name does not start with the host triplet.  If you think this
  4745 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  4746 ac_tool_warned=yes ;;
  4747 esac
  4748     CC=$ac_ct_CC
  4749   fi
  4750 fi
  4752 fi
  4755 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4756 See \`config.log' for more details." >&5
  4757 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  4758 See \`config.log' for more details." >&2;}
  4759    { (exit 1); exit 1; }; }
  4761 # Provide some information about the compiler.
  4762 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  4763 set X $ac_compile
  4764 ac_compiler=$2
  4765 { (ac_try="$ac_compiler --version >&5"
  4766 case "(($ac_try" in
  4767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4768   *) ac_try_echo=$ac_try;;
  4769 esac
  4770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4771 $as_echo "$ac_try_echo") >&5
  4772   (eval "$ac_compiler --version >&5") 2>&5
  4773   ac_status=$?
  4774   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4775   (exit $ac_status); }
  4776 { (ac_try="$ac_compiler -v >&5"
  4777 case "(($ac_try" in
  4778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4779   *) ac_try_echo=$ac_try;;
  4780 esac
  4781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4782 $as_echo "$ac_try_echo") >&5
  4783   (eval "$ac_compiler -v >&5") 2>&5
  4784   ac_status=$?
  4785   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4786   (exit $ac_status); }
  4787 { (ac_try="$ac_compiler -V >&5"
  4788 case "(($ac_try" in
  4789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4790   *) ac_try_echo=$ac_try;;
  4791 esac
  4792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4793 $as_echo "$ac_try_echo") >&5
  4794   (eval "$ac_compiler -V >&5") 2>&5
  4795   ac_status=$?
  4796   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4797   (exit $ac_status); }
  4799 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4800 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4801 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4802   $as_echo_n "(cached) " >&6
  4803 else
  4804   cat >conftest.$ac_ext <<_ACEOF
  4805 /* confdefs.h.  */
  4806 _ACEOF
  4807 cat confdefs.h >>conftest.$ac_ext
  4808 cat >>conftest.$ac_ext <<_ACEOF
  4809 /* end confdefs.h.  */
  4811 int
  4812 main ()
  4814 #ifndef __GNUC__
  4815        choke me
  4816 #endif
  4819   return 0;
  4821 _ACEOF
  4822 rm -f conftest.$ac_objext
  4823 if { (ac_try="$ac_compile"
  4824 case "(($ac_try" in
  4825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4826   *) ac_try_echo=$ac_try;;
  4827 esac
  4828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4829 $as_echo "$ac_try_echo") >&5
  4830   (eval "$ac_compile") 2>conftest.er1
  4831   ac_status=$?
  4832   grep -v '^ *+' conftest.er1 >conftest.err
  4833   rm -f conftest.er1
  4834   cat conftest.err >&5
  4835   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4836   (exit $ac_status); } && {
  4837 	 test -z "$ac_c_werror_flag" ||
  4838 	 test ! -s conftest.err
  4839        } && test -s conftest.$ac_objext; then
  4840   ac_compiler_gnu=yes
  4841 else
  4842   $as_echo "$as_me: failed program was:" >&5
  4843 sed 's/^/| /' conftest.$ac_ext >&5
  4845 	ac_compiler_gnu=no
  4846 fi
  4848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4849 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4851 fi
  4852 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4853 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4854 if test $ac_compiler_gnu = yes; then
  4855   GCC=yes
  4856 else
  4857   GCC=
  4858 fi
  4859 ac_test_CFLAGS=${CFLAGS+set}
  4860 ac_save_CFLAGS=$CFLAGS
  4861 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4862 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4863 if test "${ac_cv_prog_cc_g+set}" = set; then
  4864   $as_echo_n "(cached) " >&6
  4865 else
  4866   ac_save_c_werror_flag=$ac_c_werror_flag
  4867    ac_c_werror_flag=yes
  4868    ac_cv_prog_cc_g=no
  4869    CFLAGS="-g"
  4870    cat >conftest.$ac_ext <<_ACEOF
  4871 /* confdefs.h.  */
  4872 _ACEOF
  4873 cat confdefs.h >>conftest.$ac_ext
  4874 cat >>conftest.$ac_ext <<_ACEOF
  4875 /* end confdefs.h.  */
  4877 int
  4878 main ()
  4882   return 0;
  4884 _ACEOF
  4885 rm -f conftest.$ac_objext
  4886 if { (ac_try="$ac_compile"
  4887 case "(($ac_try" in
  4888   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4889   *) ac_try_echo=$ac_try;;
  4890 esac
  4891 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4892 $as_echo "$ac_try_echo") >&5
  4893   (eval "$ac_compile") 2>conftest.er1
  4894   ac_status=$?
  4895   grep -v '^ *+' conftest.er1 >conftest.err
  4896   rm -f conftest.er1
  4897   cat conftest.err >&5
  4898   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4899   (exit $ac_status); } && {
  4900 	 test -z "$ac_c_werror_flag" ||
  4901 	 test ! -s conftest.err
  4902        } && test -s conftest.$ac_objext; then
  4903   ac_cv_prog_cc_g=yes
  4904 else
  4905   $as_echo "$as_me: failed program was:" >&5
  4906 sed 's/^/| /' conftest.$ac_ext >&5
  4908 	CFLAGS=""
  4909       cat >conftest.$ac_ext <<_ACEOF
  4910 /* confdefs.h.  */
  4911 _ACEOF
  4912 cat confdefs.h >>conftest.$ac_ext
  4913 cat >>conftest.$ac_ext <<_ACEOF
  4914 /* end confdefs.h.  */
  4916 int
  4917 main ()
  4921   return 0;
  4923 _ACEOF
  4924 rm -f conftest.$ac_objext
  4925 if { (ac_try="$ac_compile"
  4926 case "(($ac_try" in
  4927   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4928   *) ac_try_echo=$ac_try;;
  4929 esac
  4930 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4931 $as_echo "$ac_try_echo") >&5
  4932   (eval "$ac_compile") 2>conftest.er1
  4933   ac_status=$?
  4934   grep -v '^ *+' conftest.er1 >conftest.err
  4935   rm -f conftest.er1
  4936   cat conftest.err >&5
  4937   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4938   (exit $ac_status); } && {
  4939 	 test -z "$ac_c_werror_flag" ||
  4940 	 test ! -s conftest.err
  4941        } && test -s conftest.$ac_objext; then
  4943 else
  4944   $as_echo "$as_me: failed program was:" >&5
  4945 sed 's/^/| /' conftest.$ac_ext >&5
  4947 	ac_c_werror_flag=$ac_save_c_werror_flag
  4948 	 CFLAGS="-g"
  4949 	 cat >conftest.$ac_ext <<_ACEOF
  4950 /* confdefs.h.  */
  4951 _ACEOF
  4952 cat confdefs.h >>conftest.$ac_ext
  4953 cat >>conftest.$ac_ext <<_ACEOF
  4954 /* end confdefs.h.  */
  4956 int
  4957 main ()
  4961   return 0;
  4963 _ACEOF
  4964 rm -f conftest.$ac_objext
  4965 if { (ac_try="$ac_compile"
  4966 case "(($ac_try" in
  4967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4968   *) ac_try_echo=$ac_try;;
  4969 esac
  4970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4971 $as_echo "$ac_try_echo") >&5
  4972   (eval "$ac_compile") 2>conftest.er1
  4973   ac_status=$?
  4974   grep -v '^ *+' conftest.er1 >conftest.err
  4975   rm -f conftest.er1
  4976   cat conftest.err >&5
  4977   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4978   (exit $ac_status); } && {
  4979 	 test -z "$ac_c_werror_flag" ||
  4980 	 test ! -s conftest.err
  4981        } && test -s conftest.$ac_objext; then
  4982   ac_cv_prog_cc_g=yes
  4983 else
  4984   $as_echo "$as_me: failed program was:" >&5
  4985 sed 's/^/| /' conftest.$ac_ext >&5
  4988 fi
  4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4991 fi
  4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4994 fi
  4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4997    ac_c_werror_flag=$ac_save_c_werror_flag
  4998 fi
  4999 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  5000 $as_echo "$ac_cv_prog_cc_g" >&6; }
  5001 if test "$ac_test_CFLAGS" = set; then
  5002   CFLAGS=$ac_save_CFLAGS
  5003 elif test $ac_cv_prog_cc_g = yes; then
  5004   if test "$GCC" = yes; then
  5005     CFLAGS="-g -O2"
  5006   else
  5007     CFLAGS="-g"
  5008   fi
  5009 else
  5010   if test "$GCC" = yes; then
  5011     CFLAGS="-O2"
  5012   else
  5013     CFLAGS=
  5014   fi
  5015 fi
  5016 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  5017 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  5018 if test "${ac_cv_prog_cc_c89+set}" = set; then
  5019   $as_echo_n "(cached) " >&6
  5020 else
  5021   ac_cv_prog_cc_c89=no
  5022 ac_save_CC=$CC
  5023 cat >conftest.$ac_ext <<_ACEOF
  5024 /* confdefs.h.  */
  5025 _ACEOF
  5026 cat confdefs.h >>conftest.$ac_ext
  5027 cat >>conftest.$ac_ext <<_ACEOF
  5028 /* end confdefs.h.  */
  5029 #include <stdarg.h>
  5030 #include <stdio.h>
  5031 #include <sys/types.h>
  5032 #include <sys/stat.h>
  5033 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5034 struct buf { int x; };
  5035 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5036 static char *e (p, i)
  5037      char **p;
  5038      int i;
  5040   return p[i];
  5042 static char *f (char * (*g) (char **, int), char **p, ...)
  5044   char *s;
  5045   va_list v;
  5046   va_start (v,p);
  5047   s = g (p, va_arg (v,int));
  5048   va_end (v);
  5049   return s;
  5052 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5053    function prototypes and stuff, but not '\xHH' hex character constants.
  5054    These don't provoke an error unfortunately, instead are silently treated
  5055    as 'x'.  The following induces an error, until -std is added to get
  5056    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5057    array size at least.  It's necessary to write '\x00'==0 to get something
  5058    that's true only with -std.  */
  5059 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5061 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5062    inside strings and character constants.  */
  5063 #define FOO(x) 'x'
  5064 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5066 int test (int i, double x);
  5067 struct s1 {int (*f) (int a);};
  5068 struct s2 {int (*f) (double a);};
  5069 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5070 int argc;
  5071 char **argv;
  5072 int
  5073 main ()
  5075 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5077   return 0;
  5079 _ACEOF
  5080 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5081 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5082 do
  5083   CC="$ac_save_CC $ac_arg"
  5084   rm -f conftest.$ac_objext
  5085 if { (ac_try="$ac_compile"
  5086 case "(($ac_try" in
  5087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5088   *) ac_try_echo=$ac_try;;
  5089 esac
  5090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5091 $as_echo "$ac_try_echo") >&5
  5092   (eval "$ac_compile") 2>conftest.er1
  5093   ac_status=$?
  5094   grep -v '^ *+' conftest.er1 >conftest.err
  5095   rm -f conftest.er1
  5096   cat conftest.err >&5
  5097   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5098   (exit $ac_status); } && {
  5099 	 test -z "$ac_c_werror_flag" ||
  5100 	 test ! -s conftest.err
  5101        } && test -s conftest.$ac_objext; then
  5102   ac_cv_prog_cc_c89=$ac_arg
  5103 else
  5104   $as_echo "$as_me: failed program was:" >&5
  5105 sed 's/^/| /' conftest.$ac_ext >&5
  5108 fi
  5110 rm -f core conftest.err conftest.$ac_objext
  5111   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5112 done
  5113 rm -f conftest.$ac_ext
  5114 CC=$ac_save_CC
  5116 fi
  5117 # AC_CACHE_VAL
  5118 case "x$ac_cv_prog_cc_c89" in
  5119   x)
  5120     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  5121 $as_echo "none needed" >&6; } ;;
  5122   xno)
  5123     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  5124 $as_echo "unsupported" >&6; } ;;
  5125   *)
  5126     CC="$CC $ac_cv_prog_cc_c89"
  5127     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5128 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  5129 esac
  5132 ac_ext=c
  5133 ac_cpp='$CPP $CPPFLAGS'
  5134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5138 depcc="$CC"   am_compiler_list=
  5140 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5141 $as_echo_n "checking dependency style of $depcc... " >&6; }
  5142 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5143   $as_echo_n "(cached) " >&6
  5144 else
  5145   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5146   # We make a subdir and do the tests there.  Otherwise we can end up
  5147   # making bogus files that we don't know about and never remove.  For
  5148   # instance it was reported that on HP-UX the gcc test will end up
  5149   # making a dummy file named `D' -- because `-MD' means `put the output
  5150   # in D'.
  5151   mkdir conftest.dir
  5152   # Copy depcomp to subdir because otherwise we won't find it if we're
  5153   # using a relative directory.
  5154   cp "$am_depcomp" conftest.dir
  5155   cd conftest.dir
  5156   # We will build objects and dependencies in a subdirectory because
  5157   # it helps to detect inapplicable dependency modes.  For instance
  5158   # both Tru64's cc and ICC support -MD to output dependencies as a
  5159   # side effect of compilation, but ICC will put the dependencies in
  5160   # the current directory while Tru64 will put them in the object
  5161   # directory.
  5162   mkdir sub
  5164   am_cv_CC_dependencies_compiler_type=none
  5165   if test "$am_compiler_list" = ""; then
  5166      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5167   fi
  5168   for depmode in $am_compiler_list; do
  5169     # Setup a source with many dependencies, because some compilers
  5170     # like to wrap large dependency lists on column 80 (with \), and
  5171     # we should not choose a depcomp mode which is confused by this.
  5173     # We need to recreate these files for each test, as the compiler may
  5174     # overwrite some of them when testing with obscure command lines.
  5175     # This happens at least with the AIX C compiler.
  5176     : > sub/conftest.c
  5177     for i in 1 2 3 4 5 6; do
  5178       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5179       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5180       # Solaris 8's {/usr,}/bin/sh.
  5181       touch sub/conftst$i.h
  5182     done
  5183     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5185     case $depmode in
  5186     nosideeffect)
  5187       # after this tag, mechanisms are not by side-effect, so they'll
  5188       # only be used when explicitly requested
  5189       if test "x$enable_dependency_tracking" = xyes; then
  5190 	continue
  5191       else
  5192 	break
  5193       fi
  5194       ;;
  5195     none) break ;;
  5196     esac
  5197     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5198     # mode.  It turns out that the SunPro C++ compiler does not properly
  5199     # handle `-M -o', and we need to detect this.
  5200     if depmode=$depmode \
  5201        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5202        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5203        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5204          >/dev/null 2>conftest.err &&
  5205        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5206        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5207        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5208       # icc doesn't choke on unknown options, it will just issue warnings
  5209       # or remarks (even with -Werror).  So we grep stderr for any message
  5210       # that says an option was ignored or not supported.
  5211       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5212       #   icc: Command line warning: ignoring option '-M'; no argument required
  5213       # The diagnosis changed in icc 8.0:
  5214       #   icc: Command line remark: option '-MP' not supported
  5215       if (grep 'ignoring option' conftest.err ||
  5216           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5217         am_cv_CC_dependencies_compiler_type=$depmode
  5218         break
  5219       fi
  5220     fi
  5221   done
  5223   cd ..
  5224   rm -rf conftest.dir
  5225 else
  5226   am_cv_CC_dependencies_compiler_type=none
  5227 fi
  5229 fi
  5230 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5231 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5232 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5236 if
  5237   test "x$enable_dependency_tracking" != xno \
  5238   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5239   am__fastdepCC_TRUE=
  5240   am__fastdepCC_FALSE='#'
  5241 else
  5242   am__fastdepCC_TRUE='#'
  5243   am__fastdepCC_FALSE=
  5244 fi
  5248 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5250 ac_ext=m
  5251 ac_cpp='$OBJCPP $CPPFLAGS'
  5252 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5253 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5254 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  5255 if test -n "$ac_tool_prefix"; then
  5256   for ac_prog in gcc objcc objc cc CC
  5257   do
  5258     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5259 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5260 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5261 $as_echo_n "checking for $ac_word... " >&6; }
  5262 if test "${ac_cv_prog_OBJC+set}" = set; then
  5263   $as_echo_n "(cached) " >&6
  5264 else
  5265   if test -n "$OBJC"; then
  5266   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  5267 else
  5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5269 for as_dir in $PATH
  5270 do
  5271   IFS=$as_save_IFS
  5272   test -z "$as_dir" && as_dir=.
  5273   for ac_exec_ext in '' $ac_executable_extensions; do
  5274   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5275     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  5276     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5277     break 2
  5278   fi
  5279 done
  5280 done
  5281 IFS=$as_save_IFS
  5283 fi
  5284 fi
  5285 OBJC=$ac_cv_prog_OBJC
  5286 if test -n "$OBJC"; then
  5287   { $as_echo "$as_me:$LINENO: result: $OBJC" >&5
  5288 $as_echo "$OBJC" >&6; }
  5289 else
  5290   { $as_echo "$as_me:$LINENO: result: no" >&5
  5291 $as_echo "no" >&6; }
  5292 fi
  5295     test -n "$OBJC" && break
  5296   done
  5297 fi
  5298 if test -z "$OBJC"; then
  5299   ac_ct_OBJC=$OBJC
  5300   for ac_prog in gcc objcc objc cc CC
  5301 do
  5302   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5303 set dummy $ac_prog; ac_word=$2
  5304 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5305 $as_echo_n "checking for $ac_word... " >&6; }
  5306 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  5307   $as_echo_n "(cached) " >&6
  5308 else
  5309   if test -n "$ac_ct_OBJC"; then
  5310   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  5311 else
  5312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5313 for as_dir in $PATH
  5314 do
  5315   IFS=$as_save_IFS
  5316   test -z "$as_dir" && as_dir=.
  5317   for ac_exec_ext in '' $ac_executable_extensions; do
  5318   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5319     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  5320     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5321     break 2
  5322   fi
  5323 done
  5324 done
  5325 IFS=$as_save_IFS
  5327 fi
  5328 fi
  5329 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  5330 if test -n "$ac_ct_OBJC"; then
  5331   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  5332 $as_echo "$ac_ct_OBJC" >&6; }
  5333 else
  5334   { $as_echo "$as_me:$LINENO: result: no" >&5
  5335 $as_echo "no" >&6; }
  5336 fi
  5339   test -n "$ac_ct_OBJC" && break
  5340 done
  5342   if test "x$ac_ct_OBJC" = x; then
  5343     OBJC="gcc"
  5344   else
  5345     case $cross_compiling:$ac_tool_warned in
  5346 yes:)
  5347 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5348 whose name does not start with the host triplet.  If you think this
  5349 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5350 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  5351 whose name does not start with the host triplet.  If you think this
  5352 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  5353 ac_tool_warned=yes ;;
  5354 esac
  5355     OBJC=$ac_ct_OBJC
  5356   fi
  5357 fi
  5359 # Provide some information about the compiler.
  5360 $as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  5361 set X $ac_compile
  5362 ac_compiler=$2
  5363 { (ac_try="$ac_compiler --version >&5"
  5364 case "(($ac_try" in
  5365   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5366   *) ac_try_echo=$ac_try;;
  5367 esac
  5368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5369 $as_echo "$ac_try_echo") >&5
  5370   (eval "$ac_compiler --version >&5") 2>&5
  5371   ac_status=$?
  5372   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5373   (exit $ac_status); }
  5374 { (ac_try="$ac_compiler -v >&5"
  5375 case "(($ac_try" in
  5376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5377   *) ac_try_echo=$ac_try;;
  5378 esac
  5379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5380 $as_echo "$ac_try_echo") >&5
  5381   (eval "$ac_compiler -v >&5") 2>&5
  5382   ac_status=$?
  5383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5384   (exit $ac_status); }
  5385 { (ac_try="$ac_compiler -V >&5"
  5386 case "(($ac_try" in
  5387   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5388   *) ac_try_echo=$ac_try;;
  5389 esac
  5390 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5391 $as_echo "$ac_try_echo") >&5
  5392   (eval "$ac_compiler -V >&5") 2>&5
  5393   ac_status=$?
  5394   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5395   (exit $ac_status); }
  5397 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  5398 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  5399 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  5400   $as_echo_n "(cached) " >&6
  5401 else
  5402   cat >conftest.$ac_ext <<_ACEOF
  5403 /* confdefs.h.  */
  5404 _ACEOF
  5405 cat confdefs.h >>conftest.$ac_ext
  5406 cat >>conftest.$ac_ext <<_ACEOF
  5407 /* end confdefs.h.  */
  5409 int
  5410 main ()
  5412 #ifndef __GNUC__
  5413        choke me
  5414 #endif
  5417   return 0;
  5419 _ACEOF
  5420 rm -f conftest.$ac_objext
  5421 if { (ac_try="$ac_compile"
  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_compile") 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); } && {
  5435 	 test -z "$ac_objc_werror_flag" ||
  5436 	 test ! -s conftest.err
  5437        } && test -s conftest.$ac_objext; then
  5438   ac_compiler_gnu=yes
  5439 else
  5440   $as_echo "$as_me: failed program was:" >&5
  5441 sed 's/^/| /' conftest.$ac_ext >&5
  5443 	ac_compiler_gnu=no
  5444 fi
  5446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5447 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  5449 fi
  5450 { $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  5451 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  5452 if test $ac_compiler_gnu = yes; then
  5453   GOBJC=yes
  5454 else
  5455   GOBJC=
  5456 fi
  5457 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  5458 ac_save_OBJCFLAGS=$OBJCFLAGS
  5459 { $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  5460 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  5461 if test "${ac_cv_prog_objc_g+set}" = set; then
  5462   $as_echo_n "(cached) " >&6
  5463 else
  5464   ac_save_objc_werror_flag=$ac_objc_werror_flag
  5465    ac_objc_werror_flag=yes
  5466    ac_cv_prog_objc_g=no
  5467    OBJCFLAGS="-g"
  5468    cat >conftest.$ac_ext <<_ACEOF
  5469 /* confdefs.h.  */
  5470 _ACEOF
  5471 cat confdefs.h >>conftest.$ac_ext
  5472 cat >>conftest.$ac_ext <<_ACEOF
  5473 /* end confdefs.h.  */
  5475 int
  5476 main ()
  5480   return 0;
  5482 _ACEOF
  5483 rm -f conftest.$ac_objext
  5484 if { (ac_try="$ac_compile"
  5485 case "(($ac_try" in
  5486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5487   *) ac_try_echo=$ac_try;;
  5488 esac
  5489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5490 $as_echo "$ac_try_echo") >&5
  5491   (eval "$ac_compile") 2>conftest.er1
  5492   ac_status=$?
  5493   grep -v '^ *+' conftest.er1 >conftest.err
  5494   rm -f conftest.er1
  5495   cat conftest.err >&5
  5496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5497   (exit $ac_status); } && {
  5498 	 test -z "$ac_objc_werror_flag" ||
  5499 	 test ! -s conftest.err
  5500        } && test -s conftest.$ac_objext; then
  5501   ac_cv_prog_objc_g=yes
  5502 else
  5503   $as_echo "$as_me: failed program was:" >&5
  5504 sed 's/^/| /' conftest.$ac_ext >&5
  5506 	OBJCFLAGS=""
  5507       cat >conftest.$ac_ext <<_ACEOF
  5508 /* confdefs.h.  */
  5509 _ACEOF
  5510 cat confdefs.h >>conftest.$ac_ext
  5511 cat >>conftest.$ac_ext <<_ACEOF
  5512 /* end confdefs.h.  */
  5514 int
  5515 main ()
  5519   return 0;
  5521 _ACEOF
  5522 rm -f conftest.$ac_objext
  5523 if { (ac_try="$ac_compile"
  5524 case "(($ac_try" in
  5525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5526   *) ac_try_echo=$ac_try;;
  5527 esac
  5528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5529 $as_echo "$ac_try_echo") >&5
  5530   (eval "$ac_compile") 2>conftest.er1
  5531   ac_status=$?
  5532   grep -v '^ *+' conftest.er1 >conftest.err
  5533   rm -f conftest.er1
  5534   cat conftest.err >&5
  5535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5536   (exit $ac_status); } && {
  5537 	 test -z "$ac_objc_werror_flag" ||
  5538 	 test ! -s conftest.err
  5539        } && test -s conftest.$ac_objext; then
  5541 else
  5542   $as_echo "$as_me: failed program was:" >&5
  5543 sed 's/^/| /' conftest.$ac_ext >&5
  5545 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  5546 	 OBJCFLAGS="-g"
  5547 	 cat >conftest.$ac_ext <<_ACEOF
  5548 /* confdefs.h.  */
  5549 _ACEOF
  5550 cat confdefs.h >>conftest.$ac_ext
  5551 cat >>conftest.$ac_ext <<_ACEOF
  5552 /* end confdefs.h.  */
  5554 int
  5555 main ()
  5559   return 0;
  5561 _ACEOF
  5562 rm -f conftest.$ac_objext
  5563 if { (ac_try="$ac_compile"
  5564 case "(($ac_try" in
  5565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5566   *) ac_try_echo=$ac_try;;
  5567 esac
  5568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5569 $as_echo "$ac_try_echo") >&5
  5570   (eval "$ac_compile") 2>conftest.er1
  5571   ac_status=$?
  5572   grep -v '^ *+' conftest.er1 >conftest.err
  5573   rm -f conftest.er1
  5574   cat conftest.err >&5
  5575   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5576   (exit $ac_status); } && {
  5577 	 test -z "$ac_objc_werror_flag" ||
  5578 	 test ! -s conftest.err
  5579        } && test -s conftest.$ac_objext; then
  5580   ac_cv_prog_objc_g=yes
  5581 else
  5582   $as_echo "$as_me: failed program was:" >&5
  5583 sed 's/^/| /' conftest.$ac_ext >&5
  5586 fi
  5588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5589 fi
  5591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5592 fi
  5594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5595    ac_objc_werror_flag=$ac_save_objc_werror_flag
  5596 fi
  5597 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  5598 $as_echo "$ac_cv_prog_objc_g" >&6; }
  5599 if test "$ac_test_OBJCFLAGS" = set; then
  5600   OBJCFLAGS=$ac_save_OBJCFLAGS
  5601 elif test $ac_cv_prog_objc_g = yes; then
  5602   if test "$GOBJC" = yes; then
  5603     OBJCFLAGS="-g -O2"
  5604   else
  5605     OBJCFLAGS="-g"
  5606   fi
  5607 else
  5608   if test "$GOBJC" = yes; then
  5609     OBJCFLAGS="-O2"
  5610   else
  5611     OBJCFLAGS=
  5612   fi
  5613 fi
  5614 ac_ext=c
  5615 ac_cpp='$CPP $CPPFLAGS'
  5616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5620 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  5621 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  5622 if test "${ac_cv_path_SED+set}" = set; then
  5623   $as_echo_n "(cached) " >&6
  5624 else
  5625             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  5626      for ac_i in 1 2 3 4 5 6 7; do
  5627        ac_script="$ac_script$as_nl$ac_script"
  5628      done
  5629      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  5630      $as_unset ac_script || ac_script=
  5631      if test -z "$SED"; then
  5632   ac_path_SED_found=false
  5633   # Loop through the user's path and test for each of PROGNAME-LIST
  5634   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5635 for as_dir in $PATH
  5636 do
  5637   IFS=$as_save_IFS
  5638   test -z "$as_dir" && as_dir=.
  5639   for ac_prog in sed gsed; do
  5640     for ac_exec_ext in '' $ac_executable_extensions; do
  5641       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  5642       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  5643 # Check for GNU ac_path_SED and select it if it is found.
  5644   # Check for GNU $ac_path_SED
  5645 case `"$ac_path_SED" --version 2>&1` in
  5646 *GNU*)
  5647   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  5648 *)
  5649   ac_count=0
  5650   $as_echo_n 0123456789 >"conftest.in"
  5651   while :
  5652   do
  5653     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5654     mv "conftest.tmp" "conftest.in"
  5655     cp "conftest.in" "conftest.nl"
  5656     $as_echo '' >> "conftest.nl"
  5657     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5658     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5659     ac_count=`expr $ac_count + 1`
  5660     if test $ac_count -gt ${ac_path_SED_max-0}; then
  5661       # Best one so far, save it but keep looking for a better one
  5662       ac_cv_path_SED="$ac_path_SED"
  5663       ac_path_SED_max=$ac_count
  5664     fi
  5665     # 10*(2^10) chars as input seems more than enough
  5666     test $ac_count -gt 10 && break
  5667   done
  5668   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5669 esac
  5671       $ac_path_SED_found && break 3
  5672     done
  5673   done
  5674 done
  5675 IFS=$as_save_IFS
  5676   if test -z "$ac_cv_path_SED"; then
  5677     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
  5678 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
  5679    { (exit 1); exit 1; }; }
  5680   fi
  5681 else
  5682   ac_cv_path_SED=$SED
  5683 fi
  5685 fi
  5686 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  5687 $as_echo "$ac_cv_path_SED" >&6; }
  5688  SED="$ac_cv_path_SED"
  5689   rm -f conftest.sed
  5691 # By default we simply use the C compiler to build assembly code.
  5693 test "${CCAS+set}" = set || CCAS=$CC
  5694 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  5698 ac_ext=c
  5699 ac_cpp='$CPP $CPPFLAGS'
  5700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5703 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5704 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5705 # On Suns, sometimes $CPP names a directory.
  5706 if test -n "$CPP" && test -d "$CPP"; then
  5707   CPP=
  5708 fi
  5709 if test -z "$CPP"; then
  5710   if test "${ac_cv_prog_CPP+set}" = set; then
  5711   $as_echo_n "(cached) " >&6
  5712 else
  5713       # Double quotes because CPP needs to be expanded
  5714     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5715     do
  5716       ac_preproc_ok=false
  5717 for ac_c_preproc_warn_flag in '' yes
  5718 do
  5719   # Use a header file that comes with gcc, so configuring glibc
  5720   # with a fresh cross-compiler works.
  5721   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5722   # <limits.h> exists even on freestanding compilers.
  5723   # On the NeXT, cc -E runs the code through the compiler's parser,
  5724   # not just through cpp. "Syntax error" is here to catch this case.
  5725   cat >conftest.$ac_ext <<_ACEOF
  5726 /* confdefs.h.  */
  5727 _ACEOF
  5728 cat confdefs.h >>conftest.$ac_ext
  5729 cat >>conftest.$ac_ext <<_ACEOF
  5730 /* end confdefs.h.  */
  5731 #ifdef __STDC__
  5732 # include <limits.h>
  5733 #else
  5734 # include <assert.h>
  5735 #endif
  5736 		     Syntax error
  5737 _ACEOF
  5738 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5739 case "(($ac_try" in
  5740   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5741   *) ac_try_echo=$ac_try;;
  5742 esac
  5743 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5744 $as_echo "$ac_try_echo") >&5
  5745   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5746   ac_status=$?
  5747   grep -v '^ *+' conftest.er1 >conftest.err
  5748   rm -f conftest.er1
  5749   cat conftest.err >&5
  5750   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5751   (exit $ac_status); } >/dev/null && {
  5752 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5753 	 test ! -s conftest.err
  5754        }; then
  5756 else
  5757   $as_echo "$as_me: failed program was:" >&5
  5758 sed 's/^/| /' conftest.$ac_ext >&5
  5760   # Broken: fails on valid input.
  5761 continue
  5762 fi
  5764 rm -f conftest.err conftest.$ac_ext
  5766   # OK, works on sane cases.  Now check whether nonexistent headers
  5767   # can be detected and how.
  5768   cat >conftest.$ac_ext <<_ACEOF
  5769 /* confdefs.h.  */
  5770 _ACEOF
  5771 cat confdefs.h >>conftest.$ac_ext
  5772 cat >>conftest.$ac_ext <<_ACEOF
  5773 /* end confdefs.h.  */
  5774 #include <ac_nonexistent.h>
  5775 _ACEOF
  5776 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5777 case "(($ac_try" in
  5778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5779   *) ac_try_echo=$ac_try;;
  5780 esac
  5781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5782 $as_echo "$ac_try_echo") >&5
  5783   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5784   ac_status=$?
  5785   grep -v '^ *+' conftest.er1 >conftest.err
  5786   rm -f conftest.er1
  5787   cat conftest.err >&5
  5788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5789   (exit $ac_status); } >/dev/null && {
  5790 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5791 	 test ! -s conftest.err
  5792        }; then
  5793   # Broken: success on invalid input.
  5794 continue
  5795 else
  5796   $as_echo "$as_me: failed program was:" >&5
  5797 sed 's/^/| /' conftest.$ac_ext >&5
  5799   # Passes both tests.
  5800 ac_preproc_ok=:
  5801 break
  5802 fi
  5804 rm -f conftest.err conftest.$ac_ext
  5806 done
  5807 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5808 rm -f conftest.err conftest.$ac_ext
  5809 if $ac_preproc_ok; then
  5810   break
  5811 fi
  5813     done
  5814     ac_cv_prog_CPP=$CPP
  5816 fi
  5817   CPP=$ac_cv_prog_CPP
  5818 else
  5819   ac_cv_prog_CPP=$CPP
  5820 fi
  5821 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  5822 $as_echo "$CPP" >&6; }
  5823 ac_preproc_ok=false
  5824 for ac_c_preproc_warn_flag in '' yes
  5825 do
  5826   # Use a header file that comes with gcc, so configuring glibc
  5827   # with a fresh cross-compiler works.
  5828   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5829   # <limits.h> exists even on freestanding compilers.
  5830   # On the NeXT, cc -E runs the code through the compiler's parser,
  5831   # not just through cpp. "Syntax error" is here to catch this case.
  5832   cat >conftest.$ac_ext <<_ACEOF
  5833 /* confdefs.h.  */
  5834 _ACEOF
  5835 cat confdefs.h >>conftest.$ac_ext
  5836 cat >>conftest.$ac_ext <<_ACEOF
  5837 /* end confdefs.h.  */
  5838 #ifdef __STDC__
  5839 # include <limits.h>
  5840 #else
  5841 # include <assert.h>
  5842 #endif
  5843 		     Syntax error
  5844 _ACEOF
  5845 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5846 case "(($ac_try" in
  5847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5848   *) ac_try_echo=$ac_try;;
  5849 esac
  5850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5851 $as_echo "$ac_try_echo") >&5
  5852   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5853   ac_status=$?
  5854   grep -v '^ *+' conftest.er1 >conftest.err
  5855   rm -f conftest.er1
  5856   cat conftest.err >&5
  5857   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5858   (exit $ac_status); } >/dev/null && {
  5859 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5860 	 test ! -s conftest.err
  5861        }; then
  5863 else
  5864   $as_echo "$as_me: failed program was:" >&5
  5865 sed 's/^/| /' conftest.$ac_ext >&5
  5867   # Broken: fails on valid input.
  5868 continue
  5869 fi
  5871 rm -f conftest.err conftest.$ac_ext
  5873   # OK, works on sane cases.  Now check whether nonexistent headers
  5874   # can be detected and how.
  5875   cat >conftest.$ac_ext <<_ACEOF
  5876 /* confdefs.h.  */
  5877 _ACEOF
  5878 cat confdefs.h >>conftest.$ac_ext
  5879 cat >>conftest.$ac_ext <<_ACEOF
  5880 /* end confdefs.h.  */
  5881 #include <ac_nonexistent.h>
  5882 _ACEOF
  5883 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5884 case "(($ac_try" in
  5885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5886   *) ac_try_echo=$ac_try;;
  5887 esac
  5888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5889 $as_echo "$ac_try_echo") >&5
  5890   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5891   ac_status=$?
  5892   grep -v '^ *+' conftest.er1 >conftest.err
  5893   rm -f conftest.er1
  5894   cat conftest.err >&5
  5895   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5896   (exit $ac_status); } >/dev/null && {
  5897 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5898 	 test ! -s conftest.err
  5899        }; then
  5900   # Broken: success on invalid input.
  5901 continue
  5902 else
  5903   $as_echo "$as_me: failed program was:" >&5
  5904 sed 's/^/| /' conftest.$ac_ext >&5
  5906   # Passes both tests.
  5907 ac_preproc_ok=:
  5908 break
  5909 fi
  5911 rm -f conftest.err conftest.$ac_ext
  5913 done
  5914 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5915 rm -f conftest.err conftest.$ac_ext
  5916 if $ac_preproc_ok; then
  5918 else
  5919   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5920 See \`config.log' for more details." >&5
  5921 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5922 See \`config.log' for more details." >&2;}
  5923    { (exit 1); exit 1; }; }
  5924 fi
  5926 ac_ext=c
  5927 ac_cpp='$CPP $CPPFLAGS'
  5928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5933 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  5934 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5935 if test "${ac_cv_path_GREP+set}" = set; then
  5936   $as_echo_n "(cached) " >&6
  5937 else
  5938   if test -z "$GREP"; then
  5939   ac_path_GREP_found=false
  5940   # Loop through the user's path and test for each of PROGNAME-LIST
  5941   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5942 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5943 do
  5944   IFS=$as_save_IFS
  5945   test -z "$as_dir" && as_dir=.
  5946   for ac_prog in grep ggrep; do
  5947     for ac_exec_ext in '' $ac_executable_extensions; do
  5948       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5949       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5950 # Check for GNU ac_path_GREP and select it if it is found.
  5951   # Check for GNU $ac_path_GREP
  5952 case `"$ac_path_GREP" --version 2>&1` in
  5953 *GNU*)
  5954   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5955 *)
  5956   ac_count=0
  5957   $as_echo_n 0123456789 >"conftest.in"
  5958   while :
  5959   do
  5960     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5961     mv "conftest.tmp" "conftest.in"
  5962     cp "conftest.in" "conftest.nl"
  5963     $as_echo 'GREP' >> "conftest.nl"
  5964     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5965     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5966     ac_count=`expr $ac_count + 1`
  5967     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5968       # Best one so far, save it but keep looking for a better one
  5969       ac_cv_path_GREP="$ac_path_GREP"
  5970       ac_path_GREP_max=$ac_count
  5971     fi
  5972     # 10*(2^10) chars as input seems more than enough
  5973     test $ac_count -gt 10 && break
  5974   done
  5975   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5976 esac
  5978       $ac_path_GREP_found && break 3
  5979     done
  5980   done
  5981 done
  5982 IFS=$as_save_IFS
  5983   if test -z "$ac_cv_path_GREP"; then
  5984     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5985 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5986    { (exit 1); exit 1; }; }
  5987   fi
  5988 else
  5989   ac_cv_path_GREP=$GREP
  5990 fi
  5992 fi
  5993 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  5994 $as_echo "$ac_cv_path_GREP" >&6; }
  5995  GREP="$ac_cv_path_GREP"
  5998 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  5999 $as_echo_n "checking for egrep... " >&6; }
  6000 if test "${ac_cv_path_EGREP+set}" = set; then
  6001   $as_echo_n "(cached) " >&6
  6002 else
  6003   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  6004    then ac_cv_path_EGREP="$GREP -E"
  6005    else
  6006      if test -z "$EGREP"; then
  6007   ac_path_EGREP_found=false
  6008   # Loop through the user's path and test for each of PROGNAME-LIST
  6009   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6010 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6011 do
  6012   IFS=$as_save_IFS
  6013   test -z "$as_dir" && as_dir=.
  6014   for ac_prog in egrep; do
  6015     for ac_exec_ext in '' $ac_executable_extensions; do
  6016       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  6017       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  6018 # Check for GNU ac_path_EGREP and select it if it is found.
  6019   # Check for GNU $ac_path_EGREP
  6020 case `"$ac_path_EGREP" --version 2>&1` in
  6021 *GNU*)
  6022   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  6023 *)
  6024   ac_count=0
  6025   $as_echo_n 0123456789 >"conftest.in"
  6026   while :
  6027   do
  6028     cat "conftest.in" "conftest.in" >"conftest.tmp"
  6029     mv "conftest.tmp" "conftest.in"
  6030     cp "conftest.in" "conftest.nl"
  6031     $as_echo 'EGREP' >> "conftest.nl"
  6032     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6033     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6034     ac_count=`expr $ac_count + 1`
  6035     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  6036       # Best one so far, save it but keep looking for a better one
  6037       ac_cv_path_EGREP="$ac_path_EGREP"
  6038       ac_path_EGREP_max=$ac_count
  6039     fi
  6040     # 10*(2^10) chars as input seems more than enough
  6041     test $ac_count -gt 10 && break
  6042   done
  6043   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6044 esac
  6046       $ac_path_EGREP_found && break 3
  6047     done
  6048   done
  6049 done
  6050 IFS=$as_save_IFS
  6051   if test -z "$ac_cv_path_EGREP"; then
  6052     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  6053 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  6054    { (exit 1); exit 1; }; }
  6055   fi
  6056 else
  6057   ac_cv_path_EGREP=$EGREP
  6058 fi
  6060    fi
  6061 fi
  6062 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  6063 $as_echo "$ac_cv_path_EGREP" >&6; }
  6064  EGREP="$ac_cv_path_EGREP"
  6067 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6068 $as_echo_n "checking for ANSI C header files... " >&6; }
  6069 if test "${ac_cv_header_stdc+set}" = set; then
  6070   $as_echo_n "(cached) " >&6
  6071 else
  6072   cat >conftest.$ac_ext <<_ACEOF
  6073 /* confdefs.h.  */
  6074 _ACEOF
  6075 cat confdefs.h >>conftest.$ac_ext
  6076 cat >>conftest.$ac_ext <<_ACEOF
  6077 /* end confdefs.h.  */
  6078 #include <stdlib.h>
  6079 #include <stdarg.h>
  6080 #include <string.h>
  6081 #include <float.h>
  6083 int
  6084 main ()
  6088   return 0;
  6090 _ACEOF
  6091 rm -f conftest.$ac_objext
  6092 if { (ac_try="$ac_compile"
  6093 case "(($ac_try" in
  6094   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6095   *) ac_try_echo=$ac_try;;
  6096 esac
  6097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6098 $as_echo "$ac_try_echo") >&5
  6099   (eval "$ac_compile") 2>conftest.er1
  6100   ac_status=$?
  6101   grep -v '^ *+' conftest.er1 >conftest.err
  6102   rm -f conftest.er1
  6103   cat conftest.err >&5
  6104   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6105   (exit $ac_status); } && {
  6106 	 test -z "$ac_c_werror_flag" ||
  6107 	 test ! -s conftest.err
  6108        } && test -s conftest.$ac_objext; then
  6109   ac_cv_header_stdc=yes
  6110 else
  6111   $as_echo "$as_me: failed program was:" >&5
  6112 sed 's/^/| /' conftest.$ac_ext >&5
  6114 	ac_cv_header_stdc=no
  6115 fi
  6117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6119 if test $ac_cv_header_stdc = yes; then
  6120   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6121   cat >conftest.$ac_ext <<_ACEOF
  6122 /* confdefs.h.  */
  6123 _ACEOF
  6124 cat confdefs.h >>conftest.$ac_ext
  6125 cat >>conftest.$ac_ext <<_ACEOF
  6126 /* end confdefs.h.  */
  6127 #include <string.h>
  6129 _ACEOF
  6130 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6131   $EGREP "memchr" >/dev/null 2>&1; then
  6133 else
  6134   ac_cv_header_stdc=no
  6135 fi
  6136 rm -f conftest*
  6138 fi
  6140 if test $ac_cv_header_stdc = yes; then
  6141   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6142   cat >conftest.$ac_ext <<_ACEOF
  6143 /* confdefs.h.  */
  6144 _ACEOF
  6145 cat confdefs.h >>conftest.$ac_ext
  6146 cat >>conftest.$ac_ext <<_ACEOF
  6147 /* end confdefs.h.  */
  6148 #include <stdlib.h>
  6150 _ACEOF
  6151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6152   $EGREP "free" >/dev/null 2>&1; then
  6154 else
  6155   ac_cv_header_stdc=no
  6156 fi
  6157 rm -f conftest*
  6159 fi
  6161 if test $ac_cv_header_stdc = yes; then
  6162   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6163   if test "$cross_compiling" = yes; then
  6165 else
  6166   cat >conftest.$ac_ext <<_ACEOF
  6167 /* confdefs.h.  */
  6168 _ACEOF
  6169 cat confdefs.h >>conftest.$ac_ext
  6170 cat >>conftest.$ac_ext <<_ACEOF
  6171 /* end confdefs.h.  */
  6172 #include <ctype.h>
  6173 #include <stdlib.h>
  6174 #if ((' ' & 0x0FF) == 0x020)
  6175 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6176 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6177 #else
  6178 # define ISLOWER(c) \
  6179 		   (('a' <= (c) && (c) <= 'i') \
  6180 		     || ('j' <= (c) && (c) <= 'r') \
  6181 		     || ('s' <= (c) && (c) <= 'z'))
  6182 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6183 #endif
  6185 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6186 int
  6187 main ()
  6189   int i;
  6190   for (i = 0; i < 256; i++)
  6191     if (XOR (islower (i), ISLOWER (i))
  6192 	|| toupper (i) != TOUPPER (i))
  6193       return 2;
  6194   return 0;
  6196 _ACEOF
  6197 rm -f conftest$ac_exeext
  6198 if { (ac_try="$ac_link"
  6199 case "(($ac_try" in
  6200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6201   *) ac_try_echo=$ac_try;;
  6202 esac
  6203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6204 $as_echo "$ac_try_echo") >&5
  6205   (eval "$ac_link") 2>&5
  6206   ac_status=$?
  6207   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6208   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6209   { (case "(($ac_try" in
  6210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6211   *) ac_try_echo=$ac_try;;
  6212 esac
  6213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6214 $as_echo "$ac_try_echo") >&5
  6215   (eval "$ac_try") 2>&5
  6216   ac_status=$?
  6217   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6218   (exit $ac_status); }; }; then
  6220 else
  6221   $as_echo "$as_me: program exited with status $ac_status" >&5
  6222 $as_echo "$as_me: failed program was:" >&5
  6223 sed 's/^/| /' conftest.$ac_ext >&5
  6225 ( exit $ac_status )
  6226 ac_cv_header_stdc=no
  6227 fi
  6228 rm -rf conftest.dSYM
  6229 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6230 fi
  6233 fi
  6234 fi
  6235 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6236 $as_echo "$ac_cv_header_stdc" >&6; }
  6237 if test $ac_cv_header_stdc = yes; then
  6239 cat >>confdefs.h <<\_ACEOF
  6240 #define STDC_HEADERS 1
  6241 _ACEOF
  6243 fi
  6245 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6255 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6256 		  inttypes.h stdint.h unistd.h
  6257 do
  6258 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6259 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  6260 $as_echo_n "checking for $ac_header... " >&6; }
  6261 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6262   $as_echo_n "(cached) " >&6
  6263 else
  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 $ac_includes_default
  6272 #include <$ac_header>
  6273 _ACEOF
  6274 rm -f conftest.$ac_objext
  6275 if { (ac_try="$ac_compile"
  6276 case "(($ac_try" in
  6277   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6278   *) ac_try_echo=$ac_try;;
  6279 esac
  6280 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6281 $as_echo "$ac_try_echo") >&5
  6282   (eval "$ac_compile") 2>conftest.er1
  6283   ac_status=$?
  6284   grep -v '^ *+' conftest.er1 >conftest.err
  6285   rm -f conftest.er1
  6286   cat conftest.err >&5
  6287   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6288   (exit $ac_status); } && {
  6289 	 test -z "$ac_c_werror_flag" ||
  6290 	 test ! -s conftest.err
  6291        } && test -s conftest.$ac_objext; then
  6292   eval "$as_ac_Header=yes"
  6293 else
  6294   $as_echo "$as_me: failed program was:" >&5
  6295 sed 's/^/| /' conftest.$ac_ext >&5
  6297 	eval "$as_ac_Header=no"
  6298 fi
  6300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6301 fi
  6302 ac_res=`eval 'as_val=${'$as_ac_Header'}
  6303 		 $as_echo "$as_val"'`
  6304 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6305 $as_echo "$ac_res" >&6; }
  6306 if test `eval 'as_val=${'$as_ac_Header'}
  6307 		 $as_echo "$as_val"'` = yes; then
  6308   cat >>confdefs.h <<_ACEOF
  6309 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6310 _ACEOF
  6312 fi
  6314 done
  6317 # The cast to long int works around a bug in the HP C Compiler
  6318 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6319 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6320 # This bug is HP SR number 8606223364.
  6321 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
  6322 $as_echo_n "checking size of void *... " >&6; }
  6323 if test "${ac_cv_sizeof_void_p+set}" = set; then
  6324   $as_echo_n "(cached) " >&6
  6325 else
  6326   if test "$cross_compiling" = yes; then
  6327   # Depending upon the size, compute the lo and hi bounds.
  6328 cat >conftest.$ac_ext <<_ACEOF
  6329 /* confdefs.h.  */
  6330 _ACEOF
  6331 cat confdefs.h >>conftest.$ac_ext
  6332 cat >>conftest.$ac_ext <<_ACEOF
  6333 /* end confdefs.h.  */
  6334 $ac_includes_default
  6335 int
  6336 main ()
  6338 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
  6339 test_array [0] = 0
  6342   return 0;
  6344 _ACEOF
  6345 rm -f conftest.$ac_objext
  6346 if { (ac_try="$ac_compile"
  6347 case "(($ac_try" in
  6348   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6349   *) ac_try_echo=$ac_try;;
  6350 esac
  6351 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6352 $as_echo "$ac_try_echo") >&5
  6353   (eval "$ac_compile") 2>conftest.er1
  6354   ac_status=$?
  6355   grep -v '^ *+' conftest.er1 >conftest.err
  6356   rm -f conftest.er1
  6357   cat conftest.err >&5
  6358   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6359   (exit $ac_status); } && {
  6360 	 test -z "$ac_c_werror_flag" ||
  6361 	 test ! -s conftest.err
  6362        } && test -s conftest.$ac_objext; then
  6363   ac_lo=0 ac_mid=0
  6364   while :; do
  6365     cat >conftest.$ac_ext <<_ACEOF
  6366 /* confdefs.h.  */
  6367 _ACEOF
  6368 cat confdefs.h >>conftest.$ac_ext
  6369 cat >>conftest.$ac_ext <<_ACEOF
  6370 /* end confdefs.h.  */
  6371 $ac_includes_default
  6372 int
  6373 main ()
  6375 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6376 test_array [0] = 0
  6379   return 0;
  6381 _ACEOF
  6382 rm -f conftest.$ac_objext
  6383 if { (ac_try="$ac_compile"
  6384 case "(($ac_try" in
  6385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6386   *) ac_try_echo=$ac_try;;
  6387 esac
  6388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6389 $as_echo "$ac_try_echo") >&5
  6390   (eval "$ac_compile") 2>conftest.er1
  6391   ac_status=$?
  6392   grep -v '^ *+' conftest.er1 >conftest.err
  6393   rm -f conftest.er1
  6394   cat conftest.err >&5
  6395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6396   (exit $ac_status); } && {
  6397 	 test -z "$ac_c_werror_flag" ||
  6398 	 test ! -s conftest.err
  6399        } && test -s conftest.$ac_objext; then
  6400   ac_hi=$ac_mid; break
  6401 else
  6402   $as_echo "$as_me: failed program was:" >&5
  6403 sed 's/^/| /' conftest.$ac_ext >&5
  6405 	ac_lo=`expr $ac_mid + 1`
  6406 			if test $ac_lo -le $ac_mid; then
  6407 			  ac_lo= ac_hi=
  6408 			  break
  6409 			fi
  6410 			ac_mid=`expr 2 '*' $ac_mid + 1`
  6411 fi
  6413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6414   done
  6415 else
  6416   $as_echo "$as_me: failed program was:" >&5
  6417 sed 's/^/| /' conftest.$ac_ext >&5
  6419 	cat >conftest.$ac_ext <<_ACEOF
  6420 /* confdefs.h.  */
  6421 _ACEOF
  6422 cat confdefs.h >>conftest.$ac_ext
  6423 cat >>conftest.$ac_ext <<_ACEOF
  6424 /* end confdefs.h.  */
  6425 $ac_includes_default
  6426 int
  6427 main ()
  6429 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
  6430 test_array [0] = 0
  6433   return 0;
  6435 _ACEOF
  6436 rm -f conftest.$ac_objext
  6437 if { (ac_try="$ac_compile"
  6438 case "(($ac_try" in
  6439   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6440   *) ac_try_echo=$ac_try;;
  6441 esac
  6442 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6443 $as_echo "$ac_try_echo") >&5
  6444   (eval "$ac_compile") 2>conftest.er1
  6445   ac_status=$?
  6446   grep -v '^ *+' conftest.er1 >conftest.err
  6447   rm -f conftest.er1
  6448   cat conftest.err >&5
  6449   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6450   (exit $ac_status); } && {
  6451 	 test -z "$ac_c_werror_flag" ||
  6452 	 test ! -s conftest.err
  6453        } && test -s conftest.$ac_objext; then
  6454   ac_hi=-1 ac_mid=-1
  6455   while :; do
  6456     cat >conftest.$ac_ext <<_ACEOF
  6457 /* confdefs.h.  */
  6458 _ACEOF
  6459 cat confdefs.h >>conftest.$ac_ext
  6460 cat >>conftest.$ac_ext <<_ACEOF
  6461 /* end confdefs.h.  */
  6462 $ac_includes_default
  6463 int
  6464 main ()
  6466 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
  6467 test_array [0] = 0
  6470   return 0;
  6472 _ACEOF
  6473 rm -f conftest.$ac_objext
  6474 if { (ac_try="$ac_compile"
  6475 case "(($ac_try" in
  6476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6477   *) ac_try_echo=$ac_try;;
  6478 esac
  6479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6480 $as_echo "$ac_try_echo") >&5
  6481   (eval "$ac_compile") 2>conftest.er1
  6482   ac_status=$?
  6483   grep -v '^ *+' conftest.er1 >conftest.err
  6484   rm -f conftest.er1
  6485   cat conftest.err >&5
  6486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6487   (exit $ac_status); } && {
  6488 	 test -z "$ac_c_werror_flag" ||
  6489 	 test ! -s conftest.err
  6490        } && test -s conftest.$ac_objext; then
  6491   ac_lo=$ac_mid; break
  6492 else
  6493   $as_echo "$as_me: failed program was:" >&5
  6494 sed 's/^/| /' conftest.$ac_ext >&5
  6496 	ac_hi=`expr '(' $ac_mid ')' - 1`
  6497 			if test $ac_mid -le $ac_hi; then
  6498 			  ac_lo= ac_hi=
  6499 			  break
  6500 			fi
  6501 			ac_mid=`expr 2 '*' $ac_mid`
  6502 fi
  6504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6505   done
  6506 else
  6507   $as_echo "$as_me: failed program was:" >&5
  6508 sed 's/^/| /' conftest.$ac_ext >&5
  6510 	ac_lo= ac_hi=
  6511 fi
  6513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6514 fi
  6516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6517 # Binary search between lo and hi bounds.
  6518 while test "x$ac_lo" != "x$ac_hi"; do
  6519   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6520   cat >conftest.$ac_ext <<_ACEOF
  6521 /* confdefs.h.  */
  6522 _ACEOF
  6523 cat confdefs.h >>conftest.$ac_ext
  6524 cat >>conftest.$ac_ext <<_ACEOF
  6525 /* end confdefs.h.  */
  6526 $ac_includes_default
  6527 int
  6528 main ()
  6530 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6531 test_array [0] = 0
  6534   return 0;
  6536 _ACEOF
  6537 rm -f conftest.$ac_objext
  6538 if { (ac_try="$ac_compile"
  6539 case "(($ac_try" in
  6540   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6541   *) ac_try_echo=$ac_try;;
  6542 esac
  6543 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6544 $as_echo "$ac_try_echo") >&5
  6545   (eval "$ac_compile") 2>conftest.er1
  6546   ac_status=$?
  6547   grep -v '^ *+' conftest.er1 >conftest.err
  6548   rm -f conftest.er1
  6549   cat conftest.err >&5
  6550   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6551   (exit $ac_status); } && {
  6552 	 test -z "$ac_c_werror_flag" ||
  6553 	 test ! -s conftest.err
  6554        } && test -s conftest.$ac_objext; then
  6555   ac_hi=$ac_mid
  6556 else
  6557   $as_echo "$as_me: failed program was:" >&5
  6558 sed 's/^/| /' conftest.$ac_ext >&5
  6560 	ac_lo=`expr '(' $ac_mid ')' + 1`
  6561 fi
  6563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6564 done
  6565 case $ac_lo in
  6566 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  6567 '') if test "$ac_cv_type_void_p" = yes; then
  6568      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6569 See \`config.log' for more details." >&5
  6570 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6571 See \`config.log' for more details." >&2;}
  6572    { (exit 77); exit 77; }; }
  6573    else
  6574      ac_cv_sizeof_void_p=0
  6575    fi ;;
  6576 esac
  6577 else
  6578   cat >conftest.$ac_ext <<_ACEOF
  6579 /* confdefs.h.  */
  6580 _ACEOF
  6581 cat confdefs.h >>conftest.$ac_ext
  6582 cat >>conftest.$ac_ext <<_ACEOF
  6583 /* end confdefs.h.  */
  6584 $ac_includes_default
  6585 static long int longval () { return (long int) (sizeof (void *)); }
  6586 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
  6587 #include <stdio.h>
  6588 #include <stdlib.h>
  6589 int
  6590 main ()
  6593   FILE *f = fopen ("conftest.val", "w");
  6594   if (! f)
  6595     return 1;
  6596   if (((long int) (sizeof (void *))) < 0)
  6598       long int i = longval ();
  6599       if (i != ((long int) (sizeof (void *))))
  6600 	return 1;
  6601       fprintf (f, "%ld", i);
  6603   else
  6605       unsigned long int i = ulongval ();
  6606       if (i != ((long int) (sizeof (void *))))
  6607 	return 1;
  6608       fprintf (f, "%lu", i);
  6610   /* Do not output a trailing newline, as this causes \r\n confusion
  6611      on some platforms.  */
  6612   return ferror (f) || fclose (f) != 0;
  6615   return 0;
  6617 _ACEOF
  6618 rm -f conftest$ac_exeext
  6619 if { (ac_try="$ac_link"
  6620 case "(($ac_try" in
  6621   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6622   *) ac_try_echo=$ac_try;;
  6623 esac
  6624 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6625 $as_echo "$ac_try_echo") >&5
  6626   (eval "$ac_link") 2>&5
  6627   ac_status=$?
  6628   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6629   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6630   { (case "(($ac_try" in
  6631   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6632   *) ac_try_echo=$ac_try;;
  6633 esac
  6634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6635 $as_echo "$ac_try_echo") >&5
  6636   (eval "$ac_try") 2>&5
  6637   ac_status=$?
  6638   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6639   (exit $ac_status); }; }; then
  6640   ac_cv_sizeof_void_p=`cat conftest.val`
  6641 else
  6642   $as_echo "$as_me: program exited with status $ac_status" >&5
  6643 $as_echo "$as_me: failed program was:" >&5
  6644 sed 's/^/| /' conftest.$ac_ext >&5
  6646 ( exit $ac_status )
  6647 if test "$ac_cv_type_void_p" = yes; then
  6648      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6649 See \`config.log' for more details." >&5
  6650 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6651 See \`config.log' for more details." >&2;}
  6652    { (exit 77); exit 77; }; }
  6653    else
  6654      ac_cv_sizeof_void_p=0
  6655    fi
  6656 fi
  6657 rm -rf conftest.dSYM
  6658 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6659 fi
  6660 rm -f conftest.val
  6661 fi
  6662 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  6663 $as_echo "$ac_cv_sizeof_void_p" >&6; }
  6667 cat >>confdefs.h <<_ACEOF
  6668 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  6669 _ACEOF
  6672 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6673 $as_echo_n "checking for ANSI C header files... " >&6; }
  6674 if test "${ac_cv_header_stdc+set}" = set; then
  6675   $as_echo_n "(cached) " >&6
  6676 else
  6677   cat >conftest.$ac_ext <<_ACEOF
  6678 /* confdefs.h.  */
  6679 _ACEOF
  6680 cat confdefs.h >>conftest.$ac_ext
  6681 cat >>conftest.$ac_ext <<_ACEOF
  6682 /* end confdefs.h.  */
  6683 #include <stdlib.h>
  6684 #include <stdarg.h>
  6685 #include <string.h>
  6686 #include <float.h>
  6688 int
  6689 main ()
  6693   return 0;
  6695 _ACEOF
  6696 rm -f conftest.$ac_objext
  6697 if { (ac_try="$ac_compile"
  6698 case "(($ac_try" in
  6699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6700   *) ac_try_echo=$ac_try;;
  6701 esac
  6702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6703 $as_echo "$ac_try_echo") >&5
  6704   (eval "$ac_compile") 2>conftest.er1
  6705   ac_status=$?
  6706   grep -v '^ *+' conftest.er1 >conftest.err
  6707   rm -f conftest.er1
  6708   cat conftest.err >&5
  6709   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6710   (exit $ac_status); } && {
  6711 	 test -z "$ac_c_werror_flag" ||
  6712 	 test ! -s conftest.err
  6713        } && test -s conftest.$ac_objext; then
  6714   ac_cv_header_stdc=yes
  6715 else
  6716   $as_echo "$as_me: failed program was:" >&5
  6717 sed 's/^/| /' conftest.$ac_ext >&5
  6719 	ac_cv_header_stdc=no
  6720 fi
  6722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6724 if test $ac_cv_header_stdc = yes; then
  6725   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6726   cat >conftest.$ac_ext <<_ACEOF
  6727 /* confdefs.h.  */
  6728 _ACEOF
  6729 cat confdefs.h >>conftest.$ac_ext
  6730 cat >>conftest.$ac_ext <<_ACEOF
  6731 /* end confdefs.h.  */
  6732 #include <string.h>
  6734 _ACEOF
  6735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6736   $EGREP "memchr" >/dev/null 2>&1; then
  6738 else
  6739   ac_cv_header_stdc=no
  6740 fi
  6741 rm -f conftest*
  6743 fi
  6745 if test $ac_cv_header_stdc = yes; then
  6746   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6747   cat >conftest.$ac_ext <<_ACEOF
  6748 /* confdefs.h.  */
  6749 _ACEOF
  6750 cat confdefs.h >>conftest.$ac_ext
  6751 cat >>conftest.$ac_ext <<_ACEOF
  6752 /* end confdefs.h.  */
  6753 #include <stdlib.h>
  6755 _ACEOF
  6756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6757   $EGREP "free" >/dev/null 2>&1; then
  6759 else
  6760   ac_cv_header_stdc=no
  6761 fi
  6762 rm -f conftest*
  6764 fi
  6766 if test $ac_cv_header_stdc = yes; then
  6767   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6768   if test "$cross_compiling" = yes; then
  6770 else
  6771   cat >conftest.$ac_ext <<_ACEOF
  6772 /* confdefs.h.  */
  6773 _ACEOF
  6774 cat confdefs.h >>conftest.$ac_ext
  6775 cat >>conftest.$ac_ext <<_ACEOF
  6776 /* end confdefs.h.  */
  6777 #include <ctype.h>
  6778 #include <stdlib.h>
  6779 #if ((' ' & 0x0FF) == 0x020)
  6780 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6781 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6782 #else
  6783 # define ISLOWER(c) \
  6784 		   (('a' <= (c) && (c) <= 'i') \
  6785 		     || ('j' <= (c) && (c) <= 'r') \
  6786 		     || ('s' <= (c) && (c) <= 'z'))
  6787 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6788 #endif
  6790 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6791 int
  6792 main ()
  6794   int i;
  6795   for (i = 0; i < 256; i++)
  6796     if (XOR (islower (i), ISLOWER (i))
  6797 	|| toupper (i) != TOUPPER (i))
  6798       return 2;
  6799   return 0;
  6801 _ACEOF
  6802 rm -f conftest$ac_exeext
  6803 if { (ac_try="$ac_link"
  6804 case "(($ac_try" in
  6805   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6806   *) ac_try_echo=$ac_try;;
  6807 esac
  6808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6809 $as_echo "$ac_try_echo") >&5
  6810   (eval "$ac_link") 2>&5
  6811   ac_status=$?
  6812   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6813   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6814   { (case "(($ac_try" in
  6815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6816   *) ac_try_echo=$ac_try;;
  6817 esac
  6818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6819 $as_echo "$ac_try_echo") >&5
  6820   (eval "$ac_try") 2>&5
  6821   ac_status=$?
  6822   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6823   (exit $ac_status); }; }; then
  6825 else
  6826   $as_echo "$as_me: program exited with status $ac_status" >&5
  6827 $as_echo "$as_me: failed program was:" >&5
  6828 sed 's/^/| /' conftest.$ac_ext >&5
  6830 ( exit $ac_status )
  6831 ac_cv_header_stdc=no
  6832 fi
  6833 rm -rf conftest.dSYM
  6834 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6835 fi
  6838 fi
  6839 fi
  6840 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6841 $as_echo "$ac_cv_header_stdc" >&6; }
  6842 if test $ac_cv_header_stdc = yes; then
  6844 cat >>confdefs.h <<\_ACEOF
  6845 #define STDC_HEADERS 1
  6846 _ACEOF
  6848 fi
  6850 # Make sure we can run config.sub.
  6851 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  6852   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  6853 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  6854    { (exit 1); exit 1; }; }
  6856 { $as_echo "$as_me:$LINENO: checking build system type" >&5
  6857 $as_echo_n "checking build system type... " >&6; }
  6858 if test "${ac_cv_build+set}" = set; then
  6859   $as_echo_n "(cached) " >&6
  6860 else
  6861   ac_build_alias=$build_alias
  6862 test "x$ac_build_alias" = x &&
  6863   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  6864 test "x$ac_build_alias" = x &&
  6865   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  6866 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  6867    { (exit 1); exit 1; }; }
  6868 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  6869   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  6870 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  6871    { (exit 1); exit 1; }; }
  6873 fi
  6874 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  6875 $as_echo "$ac_cv_build" >&6; }
  6876 case $ac_cv_build in
  6877 *-*-*) ;;
  6878 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  6879 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  6880    { (exit 1); exit 1; }; };;
  6881 esac
  6882 build=$ac_cv_build
  6883 ac_save_IFS=$IFS; IFS='-'
  6884 set x $ac_cv_build
  6885 shift
  6886 build_cpu=$1
  6887 build_vendor=$2
  6888 shift; shift
  6889 # Remember, the first character of IFS is used to create $*,
  6890 # except with old shells:
  6891 build_os=$*
  6892 IFS=$ac_save_IFS
  6893 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  6896 { $as_echo "$as_me:$LINENO: checking host system type" >&5
  6897 $as_echo_n "checking host system type... " >&6; }
  6898 if test "${ac_cv_host+set}" = set; then
  6899   $as_echo_n "(cached) " >&6
  6900 else
  6901   if test "x$host_alias" = x; then
  6902   ac_cv_host=$ac_cv_build
  6903 else
  6904   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  6905     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  6906 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  6907    { (exit 1); exit 1; }; }
  6908 fi
  6910 fi
  6911 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  6912 $as_echo "$ac_cv_host" >&6; }
  6913 case $ac_cv_host in
  6914 *-*-*) ;;
  6915 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  6916 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  6917    { (exit 1); exit 1; }; };;
  6918 esac
  6919 host=$ac_cv_host
  6920 ac_save_IFS=$IFS; IFS='-'
  6921 set x $ac_cv_host
  6922 shift
  6923 host_cpu=$1
  6924 host_vendor=$2
  6925 shift; shift
  6926 # Remember, the first character of IFS is used to create $*,
  6927 # except with old shells:
  6928 host_os=$*
  6929 IFS=$ac_save_IFS
  6930 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  6935 depcc="$OBJC" am_compiler_list='gcc3 gcc'
  6937 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  6938 $as_echo_n "checking dependency style of $depcc... " >&6; }
  6939 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
  6940   $as_echo_n "(cached) " >&6
  6941 else
  6942   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  6943   # We make a subdir and do the tests there.  Otherwise we can end up
  6944   # making bogus files that we don't know about and never remove.  For
  6945   # instance it was reported that on HP-UX the gcc test will end up
  6946   # making a dummy file named `D' -- because `-MD' means `put the output
  6947   # in D'.
  6948   mkdir conftest.dir
  6949   # Copy depcomp to subdir because otherwise we won't find it if we're
  6950   # using a relative directory.
  6951   cp "$am_depcomp" conftest.dir
  6952   cd conftest.dir
  6953   # We will build objects and dependencies in a subdirectory because
  6954   # it helps to detect inapplicable dependency modes.  For instance
  6955   # both Tru64's cc and ICC support -MD to output dependencies as a
  6956   # side effect of compilation, but ICC will put the dependencies in
  6957   # the current directory while Tru64 will put them in the object
  6958   # directory.
  6959   mkdir sub
  6961   am_cv_OBJC_dependencies_compiler_type=none
  6962   if test "$am_compiler_list" = ""; then
  6963      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  6964   fi
  6965   for depmode in $am_compiler_list; do
  6966     # Setup a source with many dependencies, because some compilers
  6967     # like to wrap large dependency lists on column 80 (with \), and
  6968     # we should not choose a depcomp mode which is confused by this.
  6970     # We need to recreate these files for each test, as the compiler may
  6971     # overwrite some of them when testing with obscure command lines.
  6972     # This happens at least with the AIX C compiler.
  6973     : > sub/conftest.c
  6974     for i in 1 2 3 4 5 6; do
  6975       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  6976       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  6977       # Solaris 8's {/usr,}/bin/sh.
  6978       touch sub/conftst$i.h
  6979     done
  6980     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  6982     case $depmode in
  6983     nosideeffect)
  6984       # after this tag, mechanisms are not by side-effect, so they'll
  6985       # only be used when explicitly requested
  6986       if test "x$enable_dependency_tracking" = xyes; then
  6987 	continue
  6988       else
  6989 	break
  6990       fi
  6991       ;;
  6992     none) break ;;
  6993     esac
  6994     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  6995     # mode.  It turns out that the SunPro C++ compiler does not properly
  6996     # handle `-M -o', and we need to detect this.
  6997     if depmode=$depmode \
  6998        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  6999        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  7000        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  7001          >/dev/null 2>conftest.err &&
  7002        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  7003        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  7004        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  7005       # icc doesn't choke on unknown options, it will just issue warnings
  7006       # or remarks (even with -Werror).  So we grep stderr for any message
  7007       # that says an option was ignored or not supported.
  7008       # When given -MP, icc 7.0 and 7.1 complain thusly:
  7009       #   icc: Command line warning: ignoring option '-M'; no argument required
  7010       # The diagnosis changed in icc 8.0:
  7011       #   icc: Command line remark: option '-MP' not supported
  7012       if (grep 'ignoring option' conftest.err ||
  7013           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  7014         am_cv_OBJC_dependencies_compiler_type=$depmode
  7015         break
  7016       fi
  7017     fi
  7018   done
  7020   cd ..
  7021   rm -rf conftest.dir
  7022 else
  7023   am_cv_OBJC_dependencies_compiler_type=none
  7024 fi
  7026 fi
  7027 { $as_echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
  7028 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
  7029 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
  7033 if
  7034   test "x$enable_dependency_tracking" != xno \
  7035   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
  7036   am__fastdepOBJC_TRUE=
  7037   am__fastdepOBJC_FALSE='#'
  7038 else
  7039   am__fastdepOBJC_TRUE='#'
  7040   am__fastdepOBJC_FALSE=
  7041 fi
  7045 # Extract the first word of "pod2man", so it can be a program name with args.
  7046 set dummy pod2man; ac_word=$2
  7047 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7048 $as_echo_n "checking for $ac_word... " >&6; }
  7049 if test "${ac_cv_path_POD2MAN+set}" = set; then
  7050   $as_echo_n "(cached) " >&6
  7051 else
  7052   case $POD2MAN in
  7053   [\\/]* | ?:[\\/]*)
  7054   ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
  7055   ;;
  7056   *)
  7057   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7058 for as_dir in $PATH
  7059 do
  7060   IFS=$as_save_IFS
  7061   test -z "$as_dir" && as_dir=.
  7062   for ac_exec_ext in '' $ac_executable_extensions; do
  7063   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7064     ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
  7065     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7066     break 2
  7067   fi
  7068 done
  7069 done
  7070 IFS=$as_save_IFS
  7072   ;;
  7073 esac
  7074 fi
  7075 POD2MAN=$ac_cv_path_POD2MAN
  7076 if test -n "$POD2MAN"; then
  7077   { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5
  7078 $as_echo "$POD2MAN" >&6; }
  7079 else
  7080   { $as_echo "$as_me:$LINENO: result: no" >&5
  7081 $as_echo "no" >&6; }
  7082 fi
  7085 # Extract the first word of "pod2html", so it can be a program name with args.
  7086 set dummy pod2html; ac_word=$2
  7087 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7088 $as_echo_n "checking for $ac_word... " >&6; }
  7089 if test "${ac_cv_path_POD2HTML+set}" = set; then
  7090   $as_echo_n "(cached) " >&6
  7091 else
  7092   case $POD2HTML in
  7093   [\\/]* | ?:[\\/]*)
  7094   ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
  7095   ;;
  7096   *)
  7097   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7098 for as_dir in $PATH
  7099 do
  7100   IFS=$as_save_IFS
  7101   test -z "$as_dir" && as_dir=.
  7102   for ac_exec_ext in '' $ac_executable_extensions; do
  7103   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7104     ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
  7105     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7106     break 2
  7107   fi
  7108 done
  7109 done
  7110 IFS=$as_save_IFS
  7112   ;;
  7113 esac
  7114 fi
  7115 POD2HTML=$ac_cv_path_POD2HTML
  7116 if test -n "$POD2HTML"; then
  7117   { $as_echo "$as_me:$LINENO: result: $POD2HTML" >&5
  7118 $as_echo "$POD2HTML" >&6; }
  7119 else
  7120   { $as_echo "$as_me:$LINENO: result: no" >&5
  7121 $as_echo "no" >&6; }
  7122 fi
  7127 # Check whether --enable-strict-warn was given.
  7128 if test "${enable_strict_warn+set}" = set; then
  7129   enableval=$enable_strict_warn; CFLAGS="$CFLAGS -Werror -Wall -Wno-unused"
  7130 fi
  7132 # Check whether --enable-translator was given.
  7133 if test "${enable_translator+set}" = set; then
  7134   enableval=$enable_translator; true
  7135 else
  7136   enable_translator=yes
  7137 fi
  7139 # Check whether --enable-optimized was given.
  7140 if test "${enable_optimized+set}" = set; then
  7141   enableval=$enable_optimized; true
  7142 else
  7143   enable_optimized=yes
  7144 fi
  7146 # Check whether --enable-profiled was given.
  7147 if test "${enable_profiled+set}" = set; then
  7148   enableval=$enable_profiled; if test "$enableval" == "yes"; then
  7149       enable_profiled=yes;
  7150     fi
  7151 fi
  7153 # Check whether --enable-trace was given.
  7154 if test "${enable_trace+set}" = set; then
  7155   enableval=$enable_trace; if test "$enableval" == "yes"; then
  7157 cat >>confdefs.h <<\_ACEOF
  7158 #define ENABLE_TRACE_IO 1
  7159 _ACEOF
  7161     fi
  7162 fi
  7164 # Check whether --enable-watch was given.
  7165 if test "${enable_watch+set}" = set; then
  7166   enableval=$enable_watch; if test "$enableval" == "yes"; then
  7168 cat >>confdefs.h <<\_ACEOF
  7169 #define ENABLE_WATCH 1
  7170 _ACEOF
  7172    fi
  7173 fi
  7175 # Check whether --enable-sh4stats was given.
  7176 if test "${enable_sh4stats+set}" = set; then
  7177   enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
  7179 cat >>confdefs.h <<\_ACEOF
  7180 #define ENABLE_SH4STATS 1
  7181 _ACEOF
  7183     fi
  7184 fi
  7187 # Check whether --with-osmesa was given.
  7188 if test "${with_osmesa+set}" = set; then
  7189   withval=$with_osmesa;
  7190 else
  7191   with_osmesa=no
  7192 fi
  7195 # Check whether --with-gtk was given.
  7196 if test "${with_gtk+set}" = set; then
  7197   withval=$with_gtk; with_gtk=yes
  7198 else
  7199   with_gtk=x11
  7200 fi
  7203 # Check whether --with-esd was given.
  7204 if test "${with_esd+set}" = set; then
  7205   withval=$with_esd;
  7206 fi
  7209 # Check whether --with-pulse was given.
  7210 if test "${with_pulse+set}" = set; then
  7211   withval=$with_pulse;
  7212 fi
  7215 CFLAGS="-g -fexceptions"
  7216 OBJCFLAGS="-g -fexceptions"
  7218 cat >>confdefs.h <<\_ACEOF
  7219 #define HAVE_EXCEPTIONS 1
  7220 _ACEOF
  7224 _GCC_VERSION=`$CC --version | $SED -ne '/(GCC)/p'`
  7225 _ICC_VERSION=`$CC --version | $SED -ne '/(ICC)/p'`
  7226 { $as_echo "$as_me:$LINENO: checking CC version" >&5
  7227 $as_echo_n "checking CC version... " >&6; }
  7228 if test -n "$_GCC_VERSION"; then
  7229    { $as_echo "$as_me:$LINENO: result: GCC" >&5
  7230 $as_echo "GCC" >&6; }
  7231      CCOPT="-O2 -msse2 -mfpmath=sse"
  7232                 CFLAGS="$CFLAGS -fno-strict-aliasing"
  7233 elif test -n "$_ICC_VERSION"; then
  7234    { $as_echo "$as_me:$LINENO: result: ICC" >&5
  7235 $as_echo "ICC" >&6; }
  7236      CCOPT="$CFLAGS -fast"
  7237 else
  7238    { $as_echo "$as_me:$LINENO: result: Unknown" >&5
  7239 $as_echo "Unknown" >&6; }
  7240      CCOPT="$CFLAGS -O2"
  7241 fi
  7244 { $as_echo "$as_me:$LINENO: checking OBJC version" >&5
  7245 $as_echo_n "checking OBJC version... " >&6; }
  7246 if test -n "$OBJC"; then
  7247   _GOBJC_VERSION=`$OBJC --version | $SED -ne '/(GCC)/p'`
  7248   if test -n "$_GOBJC_VERSION"; then
  7249     { $as_echo "$as_me:$LINENO: result: GCC" >&5
  7250 $as_echo "GCC" >&6; }
  7251       OBJCOPT="-O2 -msse2 -mfpmath=sse"
  7252                   OBJCFLAGS="$OBJCFLAGS -fno-strict-aliasing"
  7253   else
  7254     { $as_echo "$as_me:$LINENO: result: Unknown" >&5
  7255 $as_echo "Unknown" >&6; }
  7256       OBJCOPT="-O2"
  7257   fi
  7258 else
  7259   { $as_echo "$as_me:$LINENO: result: None" >&5
  7260 $as_echo "None" >&6; }
  7262 fi
  7265 if test "x$enable_optimized" = "xyes"; then
  7266    CFLAGS="$CFLAGS $CCOPT"
  7267    OBJCFLAGS="$OBJCFLAGS $CCOPT"
  7268    if test "x$enable_profiled" != "xyes"; then
  7269               CFLAGS="$CFLAGS -fomit-frame-pointer"
  7270    fi
  7271 else
  7272    CFLAGS="$CFLAGS -g3"
  7273    OBJCFLAGS="$OBJCFLAGS -g3"
  7274 fi
  7276 if test "x$enable_profiled" = "xyes"; then
  7277    CFLAGS="$CFLAGS -pg"
  7278    LDFLAGS="$LDFLAGS -pg";
  7279    OBJCFLAGS="$OBJCFLAGS -pg";
  7280 fi
  7283 { $as_echo "$as_me:$LINENO: checking support for fastcall calling conventions" >&5
  7284 $as_echo_n "checking support for fastcall calling conventions... " >&6; };
  7285 if test "$cross_compiling" = yes; then
  7286   { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  7287 See \`config.log' for more details." >&5
  7288 $as_echo "$as_me: error: cannot run test program while cross compiling
  7289 See \`config.log' for more details." >&2;}
  7290    { (exit 1); exit 1; }; }
  7291 else
  7292   cat >conftest.$ac_ext <<_ACEOF
  7294   /* confdefs.h.  */
  7295 _ACEOF
  7296 cat confdefs.h >>conftest.$ac_ext
  7297 cat >>conftest.$ac_ext <<_ACEOF
  7298 /* end confdefs.h.  */
  7300 int __attribute__((regparm(3))) foo(int a, int b) { return a+b; }
  7302 int main(int argc, char *argv[])
  7304    return foo( 1, 2 ) == 3 ? 0 : 1;
  7306 _ACEOF
  7307 rm -f conftest$ac_exeext
  7308 if { (ac_try="$ac_link"
  7309 case "(($ac_try" in
  7310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7311   *) ac_try_echo=$ac_try;;
  7312 esac
  7313 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7314 $as_echo "$ac_try_echo") >&5
  7315   (eval "$ac_link") 2>&5
  7316   ac_status=$?
  7317   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7318   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7319   { (case "(($ac_try" in
  7320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7321   *) ac_try_echo=$ac_try;;
  7322 esac
  7323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7324 $as_echo "$ac_try_echo") >&5
  7325   (eval "$ac_try") 2>&5
  7326   ac_status=$?
  7327   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7328   (exit $ac_status); }; }; then
  7330    { $as_echo "$as_me:$LINENO: result: yes" >&5
  7331 $as_echo "yes" >&6; }
  7334 cat >>confdefs.h <<\_ACEOF
  7335 #define HAVE_FASTCALL 1
  7336 _ACEOF
  7339 else
  7340   $as_echo "$as_me: program exited with status $ac_status" >&5
  7341 $as_echo "$as_me: failed program was:" >&5
  7342 sed 's/^/| /' conftest.$ac_ext >&5
  7344 ( exit $ac_status )
  7346    { $as_echo "$as_me:$LINENO: result: no" >&5
  7347 $as_echo "no" >&6; }
  7349 fi
  7350 rm -rf conftest.dSYM
  7351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7352 fi
  7357 { $as_echo "$as_me:$LINENO: checking if we have a working __builtin_frame_address()" >&5
  7358 $as_echo_n "checking if we have a working __builtin_frame_address()... " >&6; };
  7359 if test "$cross_compiling" = yes; then
  7360   { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  7361 See \`config.log' for more details." >&5
  7362 $as_echo "$as_me: error: cannot run test program while cross compiling
  7363 See \`config.log' for more details." >&2;}
  7364    { (exit 1); exit 1; }; }
  7365 else
  7366   cat >conftest.$ac_ext <<_ACEOF
  7368   /* confdefs.h.  */
  7369 _ACEOF
  7370 cat confdefs.h >>conftest.$ac_ext
  7371 cat >>conftest.$ac_ext <<_ACEOF
  7372 /* end confdefs.h.  */
  7374 void * __attribute__((noinline)) first_arg( void *x, void *y ) { return x; }
  7375 int __attribute__((noinline)) foo( int arg, void *exc )
  7377     if( arg < 2 ) {
  7378         *(((void **)__builtin_frame_address(0))+1) = exc;
  7380     return 0;
  7383 int main(int argc, char *argv[])
  7385    goto *first_arg(&&start, &&except);
  7387 start:
  7388    return foo( argc, &&except ) + 1;
  7390 except:
  7391    return 0;
  7393 _ACEOF
  7394 rm -f conftest$ac_exeext
  7395 if { (ac_try="$ac_link"
  7396 case "(($ac_try" in
  7397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7398   *) ac_try_echo=$ac_try;;
  7399 esac
  7400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7401 $as_echo "$ac_try_echo") >&5
  7402   (eval "$ac_link") 2>&5
  7403   ac_status=$?
  7404   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7405   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7406   { (case "(($ac_try" in
  7407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7408   *) ac_try_echo=$ac_try;;
  7409 esac
  7410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7411 $as_echo "$ac_try_echo") >&5
  7412   (eval "$ac_try") 2>&5
  7413   ac_status=$?
  7414   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7415   (exit $ac_status); }; }; then
  7417    { $as_echo "$as_me:$LINENO: result: yes" >&5
  7418 $as_echo "yes" >&6; }
  7421 cat >>confdefs.h <<\_ACEOF
  7422 #define HAVE_FRAME_ADDRESS 1
  7423 _ACEOF
  7426 else
  7427   $as_echo "$as_me: program exited with status $ac_status" >&5
  7428 $as_echo "$as_me: failed program was:" >&5
  7429 sed 's/^/| /' conftest.$ac_ext >&5
  7431 ( exit $ac_status )
  7433    { $as_echo "$as_me:$LINENO: result: no" >&5
  7434 $as_echo "no" >&6; }
  7435     { $as_echo "$as_me:$LINENO: WARNING: Memory exceptions will be slow" >&5
  7436 $as_echo "$as_me: WARNING: Memory exceptions will be slow" >&2;}
  7437 fi
  7438 rm -rf conftest.dSYM
  7439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7440 fi
  7447 ac_ext=m
  7448 ac_cpp='$OBJCPP $CPPFLAGS'
  7449 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7450 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7451 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7455 ac_ext=m
  7456 ac_cpp='$OBJCPP $CPPFLAGS'
  7457 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7458 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7459 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7460 { $as_echo "$as_me:$LINENO: checking how to run the Objective C preprocessor" >&5
  7461 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
  7462 if test -z "$OBJCPP"; then
  7463   if test "${ac_cv_prog_OBJCPP+set}" = set; then
  7464   $as_echo_n "(cached) " >&6
  7465 else
  7466       # Double quotes because OBJCPP needs to be expanded
  7467     for OBJCPP in "$OBJC -E" "/lib/cpp"
  7468     do
  7469       ac_preproc_ok=false
  7470 for ac_objc_preproc_warn_flag in '' yes
  7471 do
  7472   # Use a header file that comes with gcc, so configuring glibc
  7473   # with a fresh cross-compiler works.
  7474   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7475   # <limits.h> exists even on freestanding compilers.
  7476   # On the NeXT, cc -E runs the code through the compiler's parser,
  7477   # not just through cpp. "Syntax error" is here to catch this case.
  7478   cat >conftest.$ac_ext <<_ACEOF
  7479 /* confdefs.h.  */
  7480 _ACEOF
  7481 cat confdefs.h >>conftest.$ac_ext
  7482 cat >>conftest.$ac_ext <<_ACEOF
  7483 /* end confdefs.h.  */
  7484 #ifdef __STDC__
  7485 # include <limits.h>
  7486 #else
  7487 # include <assert.h>
  7488 #endif
  7489 		     Syntax error
  7490 _ACEOF
  7491 if { (ac_try="$ac_cpp conftest.$ac_ext"
  7492 case "(($ac_try" in
  7493   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7494   *) ac_try_echo=$ac_try;;
  7495 esac
  7496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7497 $as_echo "$ac_try_echo") >&5
  7498   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7499   ac_status=$?
  7500   grep -v '^ *+' conftest.er1 >conftest.err
  7501   rm -f conftest.er1
  7502   cat conftest.err >&5
  7503   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7504   (exit $ac_status); } >/dev/null && {
  7505 	 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
  7506 	 test ! -s conftest.err
  7507        }; then
  7509 else
  7510   $as_echo "$as_me: failed program was:" >&5
  7511 sed 's/^/| /' conftest.$ac_ext >&5
  7513   # Broken: fails on valid input.
  7514 continue
  7515 fi
  7517 rm -f conftest.err conftest.$ac_ext
  7519   # OK, works on sane cases.  Now check whether nonexistent headers
  7520   # can be detected and how.
  7521   cat >conftest.$ac_ext <<_ACEOF
  7522 /* confdefs.h.  */
  7523 _ACEOF
  7524 cat confdefs.h >>conftest.$ac_ext
  7525 cat >>conftest.$ac_ext <<_ACEOF
  7526 /* end confdefs.h.  */
  7527 #include <ac_nonexistent.h>
  7528 _ACEOF
  7529 if { (ac_try="$ac_cpp conftest.$ac_ext"
  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_cpp conftest.$ac_ext") 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); } >/dev/null && {
  7543 	 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
  7544 	 test ! -s conftest.err
  7545        }; then
  7546   # Broken: success on invalid input.
  7547 continue
  7548 else
  7549   $as_echo "$as_me: failed program was:" >&5
  7550 sed 's/^/| /' conftest.$ac_ext >&5
  7552   # Passes both tests.
  7553 ac_preproc_ok=:
  7554 break
  7555 fi
  7557 rm -f conftest.err conftest.$ac_ext
  7559 done
  7560 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7561 rm -f conftest.err conftest.$ac_ext
  7562 if $ac_preproc_ok; then
  7563   break
  7564 fi
  7566     done
  7567     ac_cv_prog_OBJCPP=$OBJCPP
  7569 fi
  7570   OBJCPP=$ac_cv_prog_OBJCPP
  7571 else
  7572   ac_cv_prog_OBJCPP=$OBJCPP
  7573 fi
  7574 { $as_echo "$as_me:$LINENO: result: $OBJCPP" >&5
  7575 $as_echo "$OBJCPP" >&6; }
  7576 ac_preproc_ok=false
  7577 for ac_objc_preproc_warn_flag in '' yes
  7578 do
  7579   # Use a header file that comes with gcc, so configuring glibc
  7580   # with a fresh cross-compiler works.
  7581   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7582   # <limits.h> exists even on freestanding compilers.
  7583   # On the NeXT, cc -E runs the code through the compiler's parser,
  7584   # not just through cpp. "Syntax error" is here to catch this case.
  7585   cat >conftest.$ac_ext <<_ACEOF
  7586 /* confdefs.h.  */
  7587 _ACEOF
  7588 cat confdefs.h >>conftest.$ac_ext
  7589 cat >>conftest.$ac_ext <<_ACEOF
  7590 /* end confdefs.h.  */
  7591 #ifdef __STDC__
  7592 # include <limits.h>
  7593 #else
  7594 # include <assert.h>
  7595 #endif
  7596 		     Syntax error
  7597 _ACEOF
  7598 if { (ac_try="$ac_cpp conftest.$ac_ext"
  7599 case "(($ac_try" in
  7600   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7601   *) ac_try_echo=$ac_try;;
  7602 esac
  7603 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7604 $as_echo "$ac_try_echo") >&5
  7605   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7606   ac_status=$?
  7607   grep -v '^ *+' conftest.er1 >conftest.err
  7608   rm -f conftest.er1
  7609   cat conftest.err >&5
  7610   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7611   (exit $ac_status); } >/dev/null && {
  7612 	 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
  7613 	 test ! -s conftest.err
  7614        }; then
  7616 else
  7617   $as_echo "$as_me: failed program was:" >&5
  7618 sed 's/^/| /' conftest.$ac_ext >&5
  7620   # Broken: fails on valid input.
  7621 continue
  7622 fi
  7624 rm -f conftest.err conftest.$ac_ext
  7626   # OK, works on sane cases.  Now check whether nonexistent headers
  7627   # can be detected and how.
  7628   cat >conftest.$ac_ext <<_ACEOF
  7629 /* confdefs.h.  */
  7630 _ACEOF
  7631 cat confdefs.h >>conftest.$ac_ext
  7632 cat >>conftest.$ac_ext <<_ACEOF
  7633 /* end confdefs.h.  */
  7634 #include <ac_nonexistent.h>
  7635 _ACEOF
  7636 if { (ac_try="$ac_cpp conftest.$ac_ext"
  7637 case "(($ac_try" in
  7638   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7639   *) ac_try_echo=$ac_try;;
  7640 esac
  7641 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7642 $as_echo "$ac_try_echo") >&5
  7643   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7644   ac_status=$?
  7645   grep -v '^ *+' conftest.er1 >conftest.err
  7646   rm -f conftest.er1
  7647   cat conftest.err >&5
  7648   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7649   (exit $ac_status); } >/dev/null && {
  7650 	 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
  7651 	 test ! -s conftest.err
  7652        }; then
  7653   # Broken: success on invalid input.
  7654 continue
  7655 else
  7656   $as_echo "$as_me: failed program was:" >&5
  7657 sed 's/^/| /' conftest.$ac_ext >&5
  7659   # Passes both tests.
  7660 ac_preproc_ok=:
  7661 break
  7662 fi
  7664 rm -f conftest.err conftest.$ac_ext
  7666 done
  7667 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7668 rm -f conftest.err conftest.$ac_ext
  7669 if $ac_preproc_ok; then
  7671 else
  7672   { { $as_echo "$as_me:$LINENO: error: Objective C preprocessor \"$OBJCPP\" fails sanity check
  7673 See \`config.log' for more details." >&5
  7674 $as_echo "$as_me: error: Objective C preprocessor \"$OBJCPP\" fails sanity check
  7675 See \`config.log' for more details." >&2;}
  7676    { (exit 1); exit 1; }; }
  7677 fi
  7679 ac_ext=m
  7680 ac_cpp='$OBJCPP $CPPFLAGS'
  7681 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7682 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7683 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7686 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  7687   { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  7688 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
  7689 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  7690   $as_echo_n "(cached) " >&6
  7691 fi
  7692 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  7693 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  7694 else
  7695   # Is the header compilable?
  7696 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
  7697 $as_echo_n "checking Cocoa/Cocoa.h usability... " >&6; }
  7698 cat >conftest.$ac_ext <<_ACEOF
  7699 /* confdefs.h.  */
  7700 _ACEOF
  7701 cat confdefs.h >>conftest.$ac_ext
  7702 cat >>conftest.$ac_ext <<_ACEOF
  7703 /* end confdefs.h.  */
  7704 $ac_includes_default
  7705 #include <Cocoa/Cocoa.h>
  7706 _ACEOF
  7707 rm -f conftest.$ac_objext
  7708 if { (ac_try="$ac_compile"
  7709 case "(($ac_try" in
  7710   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7711   *) ac_try_echo=$ac_try;;
  7712 esac
  7713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7714 $as_echo "$ac_try_echo") >&5
  7715   (eval "$ac_compile") 2>conftest.er1
  7716   ac_status=$?
  7717   grep -v '^ *+' conftest.er1 >conftest.err
  7718   rm -f conftest.er1
  7719   cat conftest.err >&5
  7720   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7721   (exit $ac_status); } && {
  7722 	 test -z "$ac_objc_werror_flag" ||
  7723 	 test ! -s conftest.err
  7724        } && test -s conftest.$ac_objext; then
  7725   ac_header_compiler=yes
  7726 else
  7727   $as_echo "$as_me: failed program was:" >&5
  7728 sed 's/^/| /' conftest.$ac_ext >&5
  7730 	ac_header_compiler=no
  7731 fi
  7733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7734 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  7735 $as_echo "$ac_header_compiler" >&6; }
  7737 # Is the header present?
  7738 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
  7739 $as_echo_n "checking Cocoa/Cocoa.h presence... " >&6; }
  7740 cat >conftest.$ac_ext <<_ACEOF
  7741 /* confdefs.h.  */
  7742 _ACEOF
  7743 cat confdefs.h >>conftest.$ac_ext
  7744 cat >>conftest.$ac_ext <<_ACEOF
  7745 /* end confdefs.h.  */
  7746 #include <Cocoa/Cocoa.h>
  7747 _ACEOF
  7748 if { (ac_try="$ac_cpp conftest.$ac_ext"
  7749 case "(($ac_try" in
  7750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7751   *) ac_try_echo=$ac_try;;
  7752 esac
  7753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7754 $as_echo "$ac_try_echo") >&5
  7755   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  7756   ac_status=$?
  7757   grep -v '^ *+' conftest.er1 >conftest.err
  7758   rm -f conftest.er1
  7759   cat conftest.err >&5
  7760   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7761   (exit $ac_status); } >/dev/null && {
  7762 	 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
  7763 	 test ! -s conftest.err
  7764        }; then
  7765   ac_header_preproc=yes
  7766 else
  7767   $as_echo "$as_me: failed program was:" >&5
  7768 sed 's/^/| /' conftest.$ac_ext >&5
  7770   ac_header_preproc=no
  7771 fi
  7773 rm -f conftest.err conftest.$ac_ext
  7774 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  7775 $as_echo "$ac_header_preproc" >&6; }
  7777 # So?  What about this header?
  7778 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in
  7779   yes:no: )
  7780     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  7781 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  7782     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
  7783 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
  7784     ac_header_preproc=yes
  7785     ;;
  7786   no:yes:* )
  7787     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
  7788 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
  7789     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&5
  7790 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h:     check for missing prerequisite headers?" >&2;}
  7791     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
  7792 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
  7793     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&5
  7794 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  7795     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&5
  7796 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}
  7797     { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&5
  7798 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
  7800     ;;
  7801 esac
  7802 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  7803 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
  7804 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  7805   $as_echo_n "(cached) " >&6
  7806 else
  7807   ac_cv_header_Cocoa_Cocoa_h=$ac_header_preproc
  7808 fi
  7809 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  7810 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  7812 fi
  7813 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
  7815       HAVE_COCOA='yes'
  7816       APPLE_BUILD='yes'
  7817       LIBS="$LIBS -framework AppKit"
  7818       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"
  7819       CPPFLAGS="$CPPFLAGS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
  7820       LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
  7822 cat >>confdefs.h <<\_ACEOF
  7823 #define HAVE_COCOA 1
  7824 _ACEOF
  7827 cat >>confdefs.h <<\_ACEOF
  7828 #define APPLE_BUILD 1
  7829 _ACEOF
  7831       if test "x$with_gtk" = "xx11"; then
  7832         with_gtk=no
  7833       fi
  7835 fi
  7841 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
  7842   GUI_COCOA_TRUE=
  7843   GUI_COCOA_FALSE='#'
  7844 else
  7845   GUI_COCOA_TRUE='#'
  7846   GUI_COCOA_FALSE=
  7847 fi
  7849 if test "x$HAVE_COCOA" = 'xyes' -a "x$with_gtk" = "xno"; then
  7851 cat >>confdefs.h <<\_ACEOF
  7852 #define OSX_BUNDLE 1
  7853 _ACEOF
  7855 fi
  7857 ac_ext=c
  7858 ac_cpp='$CPP $CPPFLAGS'
  7859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7866 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  7867 	if test -n "$ac_tool_prefix"; then
  7868   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  7869 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  7870 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7871 $as_echo_n "checking for $ac_word... " >&6; }
  7872 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  7873   $as_echo_n "(cached) " >&6
  7874 else
  7875   case $PKG_CONFIG in
  7876   [\\/]* | ?:[\\/]*)
  7877   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  7878   ;;
  7879   *)
  7880   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7881 for as_dir in $PATH
  7882 do
  7883   IFS=$as_save_IFS
  7884   test -z "$as_dir" && as_dir=.
  7885   for ac_exec_ext in '' $ac_executable_extensions; do
  7886   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7887     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  7888     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7889     break 2
  7890   fi
  7891 done
  7892 done
  7893 IFS=$as_save_IFS
  7895   ;;
  7896 esac
  7897 fi
  7898 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  7899 if test -n "$PKG_CONFIG"; then
  7900   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  7901 $as_echo "$PKG_CONFIG" >&6; }
  7902 else
  7903   { $as_echo "$as_me:$LINENO: result: no" >&5
  7904 $as_echo "no" >&6; }
  7905 fi
  7908 fi
  7909 if test -z "$ac_cv_path_PKG_CONFIG"; then
  7910   ac_pt_PKG_CONFIG=$PKG_CONFIG
  7911   # Extract the first word of "pkg-config", so it can be a program name with args.
  7912 set dummy pkg-config; ac_word=$2
  7913 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7914 $as_echo_n "checking for $ac_word... " >&6; }
  7915 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  7916   $as_echo_n "(cached) " >&6
  7917 else
  7918   case $ac_pt_PKG_CONFIG in
  7919   [\\/]* | ?:[\\/]*)
  7920   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  7921   ;;
  7922   *)
  7923   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7924 for as_dir in $PATH
  7925 do
  7926   IFS=$as_save_IFS
  7927   test -z "$as_dir" && as_dir=.
  7928   for ac_exec_ext in '' $ac_executable_extensions; do
  7929   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7930     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  7931     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7932     break 2
  7933   fi
  7934 done
  7935 done
  7936 IFS=$as_save_IFS
  7938   ;;
  7939 esac
  7940 fi
  7941 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  7942 if test -n "$ac_pt_PKG_CONFIG"; then
  7943   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  7944 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  7945 else
  7946   { $as_echo "$as_me:$LINENO: result: no" >&5
  7947 $as_echo "no" >&6; }
  7948 fi
  7950   if test "x$ac_pt_PKG_CONFIG" = x; then
  7951     PKG_CONFIG=""
  7952   else
  7953     case $cross_compiling:$ac_tool_warned in
  7954 yes:)
  7955 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  7956 whose name does not start with the host triplet.  If you think this
  7957 configuration is useful to you, please write to autoconf@gnu.org." >&5
  7958 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  7959 whose name does not start with the host triplet.  If you think this
  7960 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  7961 ac_tool_warned=yes ;;
  7962 esac
  7963     PKG_CONFIG=$ac_pt_PKG_CONFIG
  7964   fi
  7965 else
  7966   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  7967 fi
  7969 fi
  7970 if test -n "$PKG_CONFIG"; then
  7971 	_pkg_min_version=0.9.0
  7972 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  7973 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  7974 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  7975 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
  7976 $as_echo "yes" >&6; }
  7977 	else
  7978 		{ $as_echo "$as_me:$LINENO: result: no" >&5
  7979 $as_echo "no" >&6; }
  7980 		PKG_CONFIG=""
  7981 	fi
  7983 fi
  7985 pkg_failed=no
  7986 { $as_echo "$as_me:$LINENO: checking for LIBPNG" >&5
  7987 $as_echo_n "checking for LIBPNG... " >&6; }
  7989 if test -n "$LIBPNG_CFLAGS"; then
  7990     pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
  7991  elif test -n "$PKG_CONFIG"; then
  7992     if test -n "$PKG_CONFIG" && \
  7993     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  7994   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  7995   ac_status=$?
  7996   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7997   (exit $ac_status); }; then
  7998   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
  7999 else
  8000   pkg_failed=yes
  8001 fi
  8002  else
  8003     pkg_failed=untried
  8004 fi
  8005 if test -n "$LIBPNG_LIBS"; then
  8006     pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
  8007  elif test -n "$PKG_CONFIG"; then
  8008     if test -n "$PKG_CONFIG" && \
  8009     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  8010   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  8011   ac_status=$?
  8012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8013   (exit $ac_status); }; then
  8014   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
  8015 else
  8016   pkg_failed=yes
  8017 fi
  8018  else
  8019     pkg_failed=untried
  8020 fi
  8024 if test $pkg_failed = yes; then
  8026 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8027         _pkg_short_errors_supported=yes
  8028 else
  8029         _pkg_short_errors_supported=no
  8030 fi
  8031         if test $_pkg_short_errors_supported = yes; then
  8032 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng " 2>&1`
  8033         else
  8034 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng " 2>&1`
  8035         fi
  8036 	# Put the nasty error message in config.log where it belongs
  8037 	echo "$LIBPNG_PKG_ERRORS" >&5
  8039 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
  8041 $LIBPNG_PKG_ERRORS
  8043 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8044 installed software in a non-standard prefix.
  8046 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8047 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8048 See the pkg-config man page for more details.
  8049 " >&5
  8050 $as_echo "$as_me: error: Package requirements (libpng ) were not met:
  8052 $LIBPNG_PKG_ERRORS
  8054 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8055 installed software in a non-standard prefix.
  8057 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8058 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8059 See the pkg-config man page for more details.
  8060 " >&2;}
  8061    { (exit 1); exit 1; }; }
  8062 elif test $pkg_failed = untried; then
  8063 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  8064 is in your PATH or set the PKG_CONFIG environment variable to the full
  8065 path to pkg-config.
  8067 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8068 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8069 See the pkg-config man page for more details.
  8071 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8072 See \`config.log' for more details." >&5
  8073 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  8074 is in your PATH or set the PKG_CONFIG environment variable to the full
  8075 path to pkg-config.
  8077 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8078 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8079 See the pkg-config man page for more details.
  8081 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8082 See \`config.log' for more details." >&2;}
  8083    { (exit 1); exit 1; }; }
  8084 else
  8085 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
  8086 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
  8087         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8088 $as_echo "yes" >&6; }
  8090 fi
  8093 { $as_echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
  8094 $as_echo_n "checking for uncompress in -lz... " >&6; }
  8095 if test "${ac_cv_lib_z_uncompress+set}" = set; then
  8096   $as_echo_n "(cached) " >&6
  8097 else
  8098   ac_check_lib_save_LIBS=$LIBS
  8099 LIBS="-lz  $LIBS"
  8100 cat >conftest.$ac_ext <<_ACEOF
  8101 /* confdefs.h.  */
  8102 _ACEOF
  8103 cat confdefs.h >>conftest.$ac_ext
  8104 cat >>conftest.$ac_ext <<_ACEOF
  8105 /* end confdefs.h.  */
  8107 /* Override any GCC internal prototype to avoid an error.
  8108    Use char because int might match the return type of a GCC
  8109    builtin and then its argument prototype would still apply.  */
  8110 #ifdef __cplusplus
  8111 extern "C"
  8112 #endif
  8113 char uncompress ();
  8114 int
  8115 main ()
  8117 return uncompress ();
  8119   return 0;
  8121 _ACEOF
  8122 rm -f conftest.$ac_objext conftest$ac_exeext
  8123 if { (ac_try="$ac_link"
  8124 case "(($ac_try" in
  8125   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8126   *) ac_try_echo=$ac_try;;
  8127 esac
  8128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8129 $as_echo "$ac_try_echo") >&5
  8130   (eval "$ac_link") 2>conftest.er1
  8131   ac_status=$?
  8132   grep -v '^ *+' conftest.er1 >conftest.err
  8133   rm -f conftest.er1
  8134   cat conftest.err >&5
  8135   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8136   (exit $ac_status); } && {
  8137 	 test -z "$ac_c_werror_flag" ||
  8138 	 test ! -s conftest.err
  8139        } && test -s conftest$ac_exeext && {
  8140 	 test "$cross_compiling" = yes ||
  8141 	 $as_test_x conftest$ac_exeext
  8142        }; then
  8143   ac_cv_lib_z_uncompress=yes
  8144 else
  8145   $as_echo "$as_me: failed program was:" >&5
  8146 sed 's/^/| /' conftest.$ac_ext >&5
  8148 	ac_cv_lib_z_uncompress=no
  8149 fi
  8151 rm -rf conftest.dSYM
  8152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8153       conftest$ac_exeext conftest.$ac_ext
  8154 LIBS=$ac_check_lib_save_LIBS
  8155 fi
  8156 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
  8157 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
  8158 if test $ac_cv_lib_z_uncompress = yes; then
  8159   cat >>confdefs.h <<_ACEOF
  8160 #define HAVE_LIBZ 1
  8161 _ACEOF
  8163   LIBS="-lz $LIBS"
  8165 else
  8167     echo "Zlib (libz.so) could not be found, but is required."
  8168     exit 1
  8169 fi
  8172 if test "x$with_gtk" = "xno"; then
  8174 pkg_failed=no
  8175 { $as_echo "$as_me:$LINENO: checking for GLIB" >&5
  8176 $as_echo_n "checking for GLIB... " >&6; }
  8178 if test -n "$GLIB_CFLAGS"; then
  8179     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
  8180  elif test -n "$PKG_CONFIG"; then
  8181     if test -n "$PKG_CONFIG" && \
  8182     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
  8183   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  8184   ac_status=$?
  8185   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8186   (exit $ac_status); }; then
  8187   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
  8188 else
  8189   pkg_failed=yes
  8190 fi
  8191  else
  8192     pkg_failed=untried
  8193 fi
  8194 if test -n "$GLIB_LIBS"; then
  8195     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
  8196  elif test -n "$PKG_CONFIG"; then
  8197     if test -n "$PKG_CONFIG" && \
  8198     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
  8199   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  8200   ac_status=$?
  8201   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8202   (exit $ac_status); }; then
  8203   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
  8204 else
  8205   pkg_failed=yes
  8206 fi
  8207  else
  8208     pkg_failed=untried
  8209 fi
  8213 if test $pkg_failed = yes; then
  8215 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8216         _pkg_short_errors_supported=yes
  8217 else
  8218         _pkg_short_errors_supported=no
  8219 fi
  8220         if test $_pkg_short_errors_supported = yes; then
  8221 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
  8222         else
  8223 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
  8224         fi
  8225 	# Put the nasty error message in config.log where it belongs
  8226 	echo "$GLIB_PKG_ERRORS" >&5
  8228 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
  8230 $GLIB_PKG_ERRORS
  8232 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8233 installed software in a non-standard prefix.
  8235 Alternatively, you may set the environment variables GLIB_CFLAGS
  8236 and GLIB_LIBS to avoid the need to call pkg-config.
  8237 See the pkg-config man page for more details.
  8238 " >&5
  8239 $as_echo "$as_me: error: Package requirements (glib-2.0) were not met:
  8241 $GLIB_PKG_ERRORS
  8243 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8244 installed software in a non-standard prefix.
  8246 Alternatively, you may set the environment variables GLIB_CFLAGS
  8247 and GLIB_LIBS to avoid the need to call pkg-config.
  8248 See the pkg-config man page for more details.
  8249 " >&2;}
  8250    { (exit 1); exit 1; }; }
  8251 elif test $pkg_failed = untried; then
  8252 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  8253 is in your PATH or set the PKG_CONFIG environment variable to the full
  8254 path to pkg-config.
  8256 Alternatively, you may set the environment variables GLIB_CFLAGS
  8257 and GLIB_LIBS to avoid the need to call pkg-config.
  8258 See the pkg-config man page for more details.
  8260 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8261 See \`config.log' for more details." >&5
  8262 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  8263 is in your PATH or set the PKG_CONFIG environment variable to the full
  8264 path to pkg-config.
  8266 Alternatively, you may set the environment variables GLIB_CFLAGS
  8267 and GLIB_LIBS to avoid the need to call pkg-config.
  8268 See the pkg-config man page for more details.
  8270 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8271 See \`config.log' for more details." >&2;}
  8272    { (exit 1); exit 1; }; }
  8273 else
  8274 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
  8275 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
  8276         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8277 $as_echo "yes" >&6; }
  8279 fi
  8280 else
  8282 pkg_failed=no
  8283 { $as_echo "$as_me:$LINENO: checking for GTK" >&5
  8284 $as_echo_n "checking for GTK... " >&6; }
  8286 if test -n "$GTK_CFLAGS"; then
  8287     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
  8288  elif test -n "$PKG_CONFIG"; then
  8289     if test -n "$PKG_CONFIG" && \
  8290     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  8291   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  8292   ac_status=$?
  8293   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8294   (exit $ac_status); }; then
  8295   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
  8296 else
  8297   pkg_failed=yes
  8298 fi
  8299  else
  8300     pkg_failed=untried
  8301 fi
  8302 if test -n "$GTK_LIBS"; then
  8303     pkg_cv_GTK_LIBS="$GTK_LIBS"
  8304  elif test -n "$PKG_CONFIG"; then
  8305     if test -n "$PKG_CONFIG" && \
  8306     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  8307   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  8308   ac_status=$?
  8309   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8310   (exit $ac_status); }; then
  8311   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
  8312 else
  8313   pkg_failed=yes
  8314 fi
  8315  else
  8316     pkg_failed=untried
  8317 fi
  8321 if test $pkg_failed = yes; then
  8323 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8324         _pkg_short_errors_supported=yes
  8325 else
  8326         _pkg_short_errors_supported=no
  8327 fi
  8328         if test $_pkg_short_errors_supported = yes; then
  8329 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
  8330         else
  8331 	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
  8332         fi
  8333 	# Put the nasty error message in config.log where it belongs
  8334 	echo "$GTK_PKG_ERRORS" >&5
  8336 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
  8338 $GTK_PKG_ERRORS
  8340 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8341 installed software in a non-standard prefix.
  8343 Alternatively, you may set the environment variables GTK_CFLAGS
  8344 and GTK_LIBS to avoid the need to call pkg-config.
  8345 See the pkg-config man page for more details.
  8346 " >&5
  8347 $as_echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
  8349 $GTK_PKG_ERRORS
  8351 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8352 installed software in a non-standard prefix.
  8354 Alternatively, you may set the environment variables GTK_CFLAGS
  8355 and GTK_LIBS to avoid the need to call pkg-config.
  8356 See the pkg-config man page for more details.
  8357 " >&2;}
  8358    { (exit 1); exit 1; }; }
  8359 elif test $pkg_failed = untried; then
  8360 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  8361 is in your PATH or set the PKG_CONFIG environment variable to the full
  8362 path to pkg-config.
  8364 Alternatively, you may set the environment variables GTK_CFLAGS
  8365 and GTK_LIBS to avoid the need to call pkg-config.
  8366 See the pkg-config man page for more details.
  8368 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8369 See \`config.log' for more details." >&5
  8370 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  8371 is in your PATH or set the PKG_CONFIG environment variable to the full
  8372 path to pkg-config.
  8374 Alternatively, you may set the environment variables GTK_CFLAGS
  8375 and GTK_LIBS to avoid the need to call pkg-config.
  8376 See the pkg-config man page for more details.
  8378 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8379 See \`config.log' for more details." >&2;}
  8380    { (exit 1); exit 1; }; }
  8381 else
  8382 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
  8383 	GTK_LIBS=$pkg_cv_GTK_LIBS
  8384         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8385 $as_echo "yes" >&6; }
  8387        HAVE_GTK='yes'
  8389 cat >>confdefs.h <<\_ACEOF
  8390 #define HAVE_GTK 1
  8391 _ACEOF
  8394 fi
  8396       LIBS="$LIBS $GTK_LIBS"
  8397    { $as_echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
  8398 $as_echo_n "checking for gdk_x11_display_get_xdisplay... " >&6; }
  8399 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
  8400   $as_echo_n "(cached) " >&6
  8401 else
  8402   cat >conftest.$ac_ext <<_ACEOF
  8403 /* confdefs.h.  */
  8404 _ACEOF
  8405 cat confdefs.h >>conftest.$ac_ext
  8406 cat >>conftest.$ac_ext <<_ACEOF
  8407 /* end confdefs.h.  */
  8408 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
  8409    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8410 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
  8412 /* System header to define __stub macros and hopefully few prototypes,
  8413     which can conflict with char gdk_x11_display_get_xdisplay (); below.
  8414     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8415     <limits.h> exists even on freestanding compilers.  */
  8417 #ifdef __STDC__
  8418 # include <limits.h>
  8419 #else
  8420 # include <assert.h>
  8421 #endif
  8423 #undef gdk_x11_display_get_xdisplay
  8425 /* Override any GCC internal prototype to avoid an error.
  8426    Use char because int might match the return type of a GCC
  8427    builtin and then its argument prototype would still apply.  */
  8428 #ifdef __cplusplus
  8429 extern "C"
  8430 #endif
  8431 char gdk_x11_display_get_xdisplay ();
  8432 /* The GNU C library defines this for functions which it implements
  8433     to always fail with ENOSYS.  Some functions are actually named
  8434     something starting with __ and the normal name is an alias.  */
  8435 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
  8436 choke me
  8437 #endif
  8439 int
  8440 main ()
  8442 return gdk_x11_display_get_xdisplay ();
  8444   return 0;
  8446 _ACEOF
  8447 rm -f conftest.$ac_objext conftest$ac_exeext
  8448 if { (ac_try="$ac_link"
  8449 case "(($ac_try" in
  8450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8451   *) ac_try_echo=$ac_try;;
  8452 esac
  8453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8454 $as_echo "$ac_try_echo") >&5
  8455   (eval "$ac_link") 2>conftest.er1
  8456   ac_status=$?
  8457   grep -v '^ *+' conftest.er1 >conftest.err
  8458   rm -f conftest.er1
  8459   cat conftest.err >&5
  8460   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8461   (exit $ac_status); } && {
  8462 	 test -z "$ac_c_werror_flag" ||
  8463 	 test ! -s conftest.err
  8464        } && test -s conftest$ac_exeext && {
  8465 	 test "$cross_compiling" = yes ||
  8466 	 $as_test_x conftest$ac_exeext
  8467        }; then
  8468   ac_cv_func_gdk_x11_display_get_xdisplay=yes
  8469 else
  8470   $as_echo "$as_me: failed program was:" >&5
  8471 sed 's/^/| /' conftest.$ac_ext >&5
  8473 	ac_cv_func_gdk_x11_display_get_xdisplay=no
  8474 fi
  8476 rm -rf conftest.dSYM
  8477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8478       conftest$ac_exeext conftest.$ac_ext
  8479 fi
  8480 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
  8481 $as_echo "$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
  8482 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
  8484       HAVE_GTK_X11='yes'
  8486 cat >>confdefs.h <<\_ACEOF
  8487 #define HAVE_GTK_X11 1
  8488 _ACEOF
  8490 fi
  8492    { $as_echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
  8493 $as_echo_n "checking for gdk_quartz_window_get_nsview... " >&6; }
  8494 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
  8495   $as_echo_n "(cached) " >&6
  8496 else
  8497   cat >conftest.$ac_ext <<_ACEOF
  8498 /* confdefs.h.  */
  8499 _ACEOF
  8500 cat confdefs.h >>conftest.$ac_ext
  8501 cat >>conftest.$ac_ext <<_ACEOF
  8502 /* end confdefs.h.  */
  8503 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
  8504    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8505 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
  8507 /* System header to define __stub macros and hopefully few prototypes,
  8508     which can conflict with char gdk_quartz_window_get_nsview (); below.
  8509     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8510     <limits.h> exists even on freestanding compilers.  */
  8512 #ifdef __STDC__
  8513 # include <limits.h>
  8514 #else
  8515 # include <assert.h>
  8516 #endif
  8518 #undef gdk_quartz_window_get_nsview
  8520 /* Override any GCC internal prototype to avoid an error.
  8521    Use char because int might match the return type of a GCC
  8522    builtin and then its argument prototype would still apply.  */
  8523 #ifdef __cplusplus
  8524 extern "C"
  8525 #endif
  8526 char gdk_quartz_window_get_nsview ();
  8527 /* The GNU C library defines this for functions which it implements
  8528     to always fail with ENOSYS.  Some functions are actually named
  8529     something starting with __ and the normal name is an alias.  */
  8530 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
  8531 choke me
  8532 #endif
  8534 int
  8535 main ()
  8537 return gdk_quartz_window_get_nsview ();
  8539   return 0;
  8541 _ACEOF
  8542 rm -f conftest.$ac_objext conftest$ac_exeext
  8543 if { (ac_try="$ac_link"
  8544 case "(($ac_try" in
  8545   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8546   *) ac_try_echo=$ac_try;;
  8547 esac
  8548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8549 $as_echo "$ac_try_echo") >&5
  8550   (eval "$ac_link") 2>conftest.er1
  8551   ac_status=$?
  8552   grep -v '^ *+' conftest.er1 >conftest.err
  8553   rm -f conftest.er1
  8554   cat conftest.err >&5
  8555   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8556   (exit $ac_status); } && {
  8557 	 test -z "$ac_c_werror_flag" ||
  8558 	 test ! -s conftest.err
  8559        } && test -s conftest$ac_exeext && {
  8560 	 test "$cross_compiling" = yes ||
  8561 	 $as_test_x conftest$ac_exeext
  8562        }; then
  8563   ac_cv_func_gdk_quartz_window_get_nsview=yes
  8564 else
  8565   $as_echo "$as_me: failed program was:" >&5
  8566 sed 's/^/| /' conftest.$ac_ext >&5
  8568 	ac_cv_func_gdk_quartz_window_get_nsview=no
  8569 fi
  8571 rm -rf conftest.dSYM
  8572 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8573       conftest$ac_exeext conftest.$ac_ext
  8574 fi
  8575 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
  8576 $as_echo "$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
  8577 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
  8579       HAVE_GTK_OSX='yes'
  8581 cat >>confdefs.h <<\_ACEOF
  8582 #define HAVE_GTK_OSX 1
  8583 _ACEOF
  8585 fi
  8587 fi
  8591 if test "$HAVE_GTK" = 'yes'; then
  8592   GUI_GTK_TRUE=
  8593   GUI_GTK_FALSE='#'
  8594 else
  8595   GUI_GTK_TRUE='#'
  8596   GUI_GTK_FALSE=
  8597 fi
  8600 if test "x$with_osmesa" != xno; then
  8604 { $as_echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
  8605 $as_echo_n "checking for OSMesaCreateContext in -lOSMesa... " >&6; }
  8606 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
  8607   $as_echo_n "(cached) " >&6
  8608 else
  8609   ac_check_lib_save_LIBS=$LIBS
  8610 LIBS="-lOSMesa  $LIBS"
  8611 cat >conftest.$ac_ext <<_ACEOF
  8612 /* confdefs.h.  */
  8613 _ACEOF
  8614 cat confdefs.h >>conftest.$ac_ext
  8615 cat >>conftest.$ac_ext <<_ACEOF
  8616 /* end confdefs.h.  */
  8618 /* Override any GCC internal prototype to avoid an error.
  8619    Use char because int might match the return type of a GCC
  8620    builtin and then its argument prototype would still apply.  */
  8621 #ifdef __cplusplus
  8622 extern "C"
  8623 #endif
  8624 char OSMesaCreateContext ();
  8625 int
  8626 main ()
  8628 return OSMesaCreateContext ();
  8630   return 0;
  8632 _ACEOF
  8633 rm -f conftest.$ac_objext conftest$ac_exeext
  8634 if { (ac_try="$ac_link"
  8635 case "(($ac_try" in
  8636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8637   *) ac_try_echo=$ac_try;;
  8638 esac
  8639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8640 $as_echo "$ac_try_echo") >&5
  8641   (eval "$ac_link") 2>conftest.er1
  8642   ac_status=$?
  8643   grep -v '^ *+' conftest.er1 >conftest.err
  8644   rm -f conftest.er1
  8645   cat conftest.err >&5
  8646   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8647   (exit $ac_status); } && {
  8648 	 test -z "$ac_c_werror_flag" ||
  8649 	 test ! -s conftest.err
  8650        } && test -s conftest$ac_exeext && {
  8651 	 test "$cross_compiling" = yes ||
  8652 	 $as_test_x conftest$ac_exeext
  8653        }; then
  8654   ac_cv_lib_OSMesa_OSMesaCreateContext=yes
  8655 else
  8656   $as_echo "$as_me: failed program was:" >&5
  8657 sed 's/^/| /' conftest.$ac_ext >&5
  8659 	ac_cv_lib_OSMesa_OSMesaCreateContext=no
  8660 fi
  8662 rm -rf conftest.dSYM
  8663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8664       conftest$ac_exeext conftest.$ac_ext
  8665 LIBS=$ac_check_lib_save_LIBS
  8666 fi
  8667 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
  8668 $as_echo "$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
  8669 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
  8670   cat >>confdefs.h <<_ACEOF
  8671 #define HAVE_LIBOSMESA 1
  8672 _ACEOF
  8674   LIBS="-lOSMesa $LIBS"
  8676 else
  8677   { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
  8678 See \`config.log' for more details." >&5
  8679 $as_echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
  8680 See \`config.log' for more details." >&2;}
  8681    { (exit 1); exit 1; }; }
  8682 fi
  8684   if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  8685   { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  8686 $as_echo_n "checking for GL/osmesa.h... " >&6; }
  8687 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  8688   $as_echo_n "(cached) " >&6
  8689 fi
  8690 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  8691 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
  8692 else
  8693   # Is the header compilable?
  8694 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
  8695 $as_echo_n "checking GL/osmesa.h usability... " >&6; }
  8696 cat >conftest.$ac_ext <<_ACEOF
  8697 /* confdefs.h.  */
  8698 _ACEOF
  8699 cat confdefs.h >>conftest.$ac_ext
  8700 cat >>conftest.$ac_ext <<_ACEOF
  8701 /* end confdefs.h.  */
  8702 $ac_includes_default
  8703 #include <GL/osmesa.h>
  8704 _ACEOF
  8705 rm -f conftest.$ac_objext
  8706 if { (ac_try="$ac_compile"
  8707 case "(($ac_try" in
  8708   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8709   *) ac_try_echo=$ac_try;;
  8710 esac
  8711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8712 $as_echo "$ac_try_echo") >&5
  8713   (eval "$ac_compile") 2>conftest.er1
  8714   ac_status=$?
  8715   grep -v '^ *+' conftest.er1 >conftest.err
  8716   rm -f conftest.er1
  8717   cat conftest.err >&5
  8718   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8719   (exit $ac_status); } && {
  8720 	 test -z "$ac_c_werror_flag" ||
  8721 	 test ! -s conftest.err
  8722        } && test -s conftest.$ac_objext; then
  8723   ac_header_compiler=yes
  8724 else
  8725   $as_echo "$as_me: failed program was:" >&5
  8726 sed 's/^/| /' conftest.$ac_ext >&5
  8728 	ac_header_compiler=no
  8729 fi
  8731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8732 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8733 $as_echo "$ac_header_compiler" >&6; }
  8735 # Is the header present?
  8736 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
  8737 $as_echo_n "checking GL/osmesa.h presence... " >&6; }
  8738 cat >conftest.$ac_ext <<_ACEOF
  8739 /* confdefs.h.  */
  8740 _ACEOF
  8741 cat confdefs.h >>conftest.$ac_ext
  8742 cat >>conftest.$ac_ext <<_ACEOF
  8743 /* end confdefs.h.  */
  8744 #include <GL/osmesa.h>
  8745 _ACEOF
  8746 if { (ac_try="$ac_cpp conftest.$ac_ext"
  8747 case "(($ac_try" in
  8748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8749   *) ac_try_echo=$ac_try;;
  8750 esac
  8751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8752 $as_echo "$ac_try_echo") >&5
  8753   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8754   ac_status=$?
  8755   grep -v '^ *+' conftest.er1 >conftest.err
  8756   rm -f conftest.er1
  8757   cat conftest.err >&5
  8758   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8759   (exit $ac_status); } >/dev/null && {
  8760 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8761 	 test ! -s conftest.err
  8762        }; then
  8763   ac_header_preproc=yes
  8764 else
  8765   $as_echo "$as_me: failed program was:" >&5
  8766 sed 's/^/| /' conftest.$ac_ext >&5
  8768   ac_header_preproc=no
  8769 fi
  8771 rm -f conftest.err conftest.$ac_ext
  8772 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8773 $as_echo "$ac_header_preproc" >&6; }
  8775 # So?  What about this header?
  8776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8777   yes:no: )
  8778     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8779 $as_echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8780     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
  8781 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
  8782     ac_header_preproc=yes
  8783     ;;
  8784   no:yes:* )
  8785     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
  8786 $as_echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
  8787     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&5
  8788 $as_echo "$as_me: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&2;}
  8789     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
  8790 $as_echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
  8791     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&5
  8792 $as_echo "$as_me: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  8793     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
  8794 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
  8795     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
  8796 $as_echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
  8798     ;;
  8799 esac
  8800 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  8801 $as_echo_n "checking for GL/osmesa.h... " >&6; }
  8802 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  8803   $as_echo_n "(cached) " >&6
  8804 else
  8805   ac_cv_header_GL_osmesa_h=$ac_header_preproc
  8806 fi
  8807 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  8808 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
  8810 fi
  8811 if test $ac_cv_header_GL_osmesa_h = yes; then
  8813 else
  8814   { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
  8815 See \`config.log' for more details." >&5
  8816 $as_echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
  8817 See \`config.log' for more details." >&2;}
  8818    { (exit 1); exit 1; }; }
  8819 fi
  8822   HAVE_OSMESA='yes'
  8823   VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
  8825 cat >>confdefs.h <<\_ACEOF
  8826 #define HAVE_OSMESA 1
  8827 _ACEOF
  8829 else
  8832    if test "x$APPLE_BUILD" != 'xyes'; then
  8834 { $as_echo "$as_me:$LINENO: checking for glVertex3f in -lGL" >&5
  8835 $as_echo_n "checking for glVertex3f in -lGL... " >&6; }
  8836 if test "${ac_cv_lib_GL_glVertex3f+set}" = set; then
  8837   $as_echo_n "(cached) " >&6
  8838 else
  8839   ac_check_lib_save_LIBS=$LIBS
  8840 LIBS="-lGL  $LIBS"
  8841 cat >conftest.$ac_ext <<_ACEOF
  8842 /* confdefs.h.  */
  8843 _ACEOF
  8844 cat confdefs.h >>conftest.$ac_ext
  8845 cat >>conftest.$ac_ext <<_ACEOF
  8846 /* end confdefs.h.  */
  8848 /* Override any GCC internal prototype to avoid an error.
  8849    Use char because int might match the return type of a GCC
  8850    builtin and then its argument prototype would still apply.  */
  8851 #ifdef __cplusplus
  8852 extern "C"
  8853 #endif
  8854 char glVertex3f ();
  8855 int
  8856 main ()
  8858 return glVertex3f ();
  8860   return 0;
  8862 _ACEOF
  8863 rm -f conftest.$ac_objext conftest$ac_exeext
  8864 if { (ac_try="$ac_link"
  8865 case "(($ac_try" in
  8866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8867   *) ac_try_echo=$ac_try;;
  8868 esac
  8869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8870 $as_echo "$ac_try_echo") >&5
  8871   (eval "$ac_link") 2>conftest.er1
  8872   ac_status=$?
  8873   grep -v '^ *+' conftest.er1 >conftest.err
  8874   rm -f conftest.er1
  8875   cat conftest.err >&5
  8876   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8877   (exit $ac_status); } && {
  8878 	 test -z "$ac_c_werror_flag" ||
  8879 	 test ! -s conftest.err
  8880        } && test -s conftest$ac_exeext && {
  8881 	 test "$cross_compiling" = yes ||
  8882 	 $as_test_x conftest$ac_exeext
  8883        }; then
  8884   ac_cv_lib_GL_glVertex3f=yes
  8885 else
  8886   $as_echo "$as_me: failed program was:" >&5
  8887 sed 's/^/| /' conftest.$ac_ext >&5
  8889 	ac_cv_lib_GL_glVertex3f=no
  8890 fi
  8892 rm -rf conftest.dSYM
  8893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8894       conftest$ac_exeext conftest.$ac_ext
  8895 LIBS=$ac_check_lib_save_LIBS
  8896 fi
  8897 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glVertex3f" >&5
  8898 $as_echo "$ac_cv_lib_GL_glVertex3f" >&6; }
  8899 if test $ac_cv_lib_GL_glVertex3f = yes; then
  8900   cat >>confdefs.h <<_ACEOF
  8901 #define HAVE_LIBGL 1
  8902 _ACEOF
  8904   LIBS="-lGL $LIBS"
  8906 else
  8908           { { $as_echo "$as_me:$LINENO: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
  8909 See \`config.log' for more details." >&5
  8910 $as_echo "$as_me: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
  8911 See \`config.log' for more details." >&2;}
  8912    { (exit 1); exit 1; }; }
  8913 fi
  8915       if test "${ac_cv_header_GL_gl_h+set}" = set; then
  8916   { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  8917 $as_echo_n "checking for GL/gl.h... " >&6; }
  8918 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  8919   $as_echo_n "(cached) " >&6
  8920 fi
  8921 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  8922 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
  8923 else
  8924   # Is the header compilable?
  8925 { $as_echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
  8926 $as_echo_n "checking GL/gl.h usability... " >&6; }
  8927 cat >conftest.$ac_ext <<_ACEOF
  8928 /* confdefs.h.  */
  8929 _ACEOF
  8930 cat confdefs.h >>conftest.$ac_ext
  8931 cat >>conftest.$ac_ext <<_ACEOF
  8932 /* end confdefs.h.  */
  8933 $ac_includes_default
  8934 #include <GL/gl.h>
  8935 _ACEOF
  8936 rm -f conftest.$ac_objext
  8937 if { (ac_try="$ac_compile"
  8938 case "(($ac_try" in
  8939   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8940   *) ac_try_echo=$ac_try;;
  8941 esac
  8942 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8943 $as_echo "$ac_try_echo") >&5
  8944   (eval "$ac_compile") 2>conftest.er1
  8945   ac_status=$?
  8946   grep -v '^ *+' conftest.er1 >conftest.err
  8947   rm -f conftest.er1
  8948   cat conftest.err >&5
  8949   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8950   (exit $ac_status); } && {
  8951 	 test -z "$ac_c_werror_flag" ||
  8952 	 test ! -s conftest.err
  8953        } && test -s conftest.$ac_objext; then
  8954   ac_header_compiler=yes
  8955 else
  8956   $as_echo "$as_me: failed program was:" >&5
  8957 sed 's/^/| /' conftest.$ac_ext >&5
  8959 	ac_header_compiler=no
  8960 fi
  8962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8963 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8964 $as_echo "$ac_header_compiler" >&6; }
  8966 # Is the header present?
  8967 { $as_echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
  8968 $as_echo_n "checking GL/gl.h presence... " >&6; }
  8969 cat >conftest.$ac_ext <<_ACEOF
  8970 /* confdefs.h.  */
  8971 _ACEOF
  8972 cat confdefs.h >>conftest.$ac_ext
  8973 cat >>conftest.$ac_ext <<_ACEOF
  8974 /* end confdefs.h.  */
  8975 #include <GL/gl.h>
  8976 _ACEOF
  8977 if { (ac_try="$ac_cpp conftest.$ac_ext"
  8978 case "(($ac_try" in
  8979   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8980   *) ac_try_echo=$ac_try;;
  8981 esac
  8982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8983 $as_echo "$ac_try_echo") >&5
  8984   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8985   ac_status=$?
  8986   grep -v '^ *+' conftest.er1 >conftest.err
  8987   rm -f conftest.er1
  8988   cat conftest.err >&5
  8989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8990   (exit $ac_status); } >/dev/null && {
  8991 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8992 	 test ! -s conftest.err
  8993        }; then
  8994   ac_header_preproc=yes
  8995 else
  8996   $as_echo "$as_me: failed program was:" >&5
  8997 sed 's/^/| /' conftest.$ac_ext >&5
  8999   ac_header_preproc=no
  9000 fi
  9002 rm -f conftest.err conftest.$ac_ext
  9003 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9004 $as_echo "$ac_header_preproc" >&6; }
  9006 # So?  What about this header?
  9007 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9008   yes:no: )
  9009     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9010 $as_echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9011     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
  9012 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
  9013     ac_header_preproc=yes
  9014     ;;
  9015   no:yes:* )
  9016     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
  9017 $as_echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
  9018     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&5
  9019 $as_echo "$as_me: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&2;}
  9020     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
  9021 $as_echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
  9022     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&5
  9023 $as_echo "$as_me: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9024     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
  9025 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
  9026     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
  9027 $as_echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
  9029     ;;
  9030 esac
  9031 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  9032 $as_echo_n "checking for GL/gl.h... " >&6; }
  9033 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  9034   $as_echo_n "(cached) " >&6
  9035 else
  9036   ac_cv_header_GL_gl_h=$ac_header_preproc
  9037 fi
  9038 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  9039 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
  9041 fi
  9042 if test $ac_cv_header_GL_gl_h = yes; then
  9044 else
  9046           { { $as_echo "$as_me:$LINENO: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
  9047 See \`config.log' for more details." >&5
  9048 $as_echo "$as_me: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
  9049 See \`config.log' for more details." >&2;}
  9050    { (exit 1); exit 1; }; }
  9051 fi
  9054    else
  9055       { $as_echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
  9056 $as_echo_n "checking for NSOpenGLGetVersion... " >&6; }
  9057 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
  9058   $as_echo_n "(cached) " >&6
  9059 else
  9060   cat >conftest.$ac_ext <<_ACEOF
  9061 /* confdefs.h.  */
  9062 _ACEOF
  9063 cat confdefs.h >>conftest.$ac_ext
  9064 cat >>conftest.$ac_ext <<_ACEOF
  9065 /* end confdefs.h.  */
  9066 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
  9067    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9068 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
  9070 /* System header to define __stub macros and hopefully few prototypes,
  9071     which can conflict with char NSOpenGLGetVersion (); below.
  9072     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9073     <limits.h> exists even on freestanding compilers.  */
  9075 #ifdef __STDC__
  9076 # include <limits.h>
  9077 #else
  9078 # include <assert.h>
  9079 #endif
  9081 #undef NSOpenGLGetVersion
  9083 /* Override any GCC internal prototype to avoid an error.
  9084    Use char because int might match the return type of a GCC
  9085    builtin and then its argument prototype would still apply.  */
  9086 #ifdef __cplusplus
  9087 extern "C"
  9088 #endif
  9089 char NSOpenGLGetVersion ();
  9090 /* The GNU C library defines this for functions which it implements
  9091     to always fail with ENOSYS.  Some functions are actually named
  9092     something starting with __ and the normal name is an alias.  */
  9093 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
  9094 choke me
  9095 #endif
  9097 int
  9098 main ()
  9100 return NSOpenGLGetVersion ();
  9102   return 0;
  9104 _ACEOF
  9105 rm -f conftest.$ac_objext conftest$ac_exeext
  9106 if { (ac_try="$ac_link"
  9107 case "(($ac_try" in
  9108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9109   *) ac_try_echo=$ac_try;;
  9110 esac
  9111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9112 $as_echo "$ac_try_echo") >&5
  9113   (eval "$ac_link") 2>conftest.er1
  9114   ac_status=$?
  9115   grep -v '^ *+' conftest.er1 >conftest.err
  9116   rm -f conftest.er1
  9117   cat conftest.err >&5
  9118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9119   (exit $ac_status); } && {
  9120 	 test -z "$ac_c_werror_flag" ||
  9121 	 test ! -s conftest.err
  9122        } && test -s conftest$ac_exeext && {
  9123 	 test "$cross_compiling" = yes ||
  9124 	 $as_test_x conftest$ac_exeext
  9125        }; then
  9126   ac_cv_func_NSOpenGLGetVersion=yes
  9127 else
  9128   $as_echo "$as_me: failed program was:" >&5
  9129 sed 's/^/| /' conftest.$ac_ext >&5
  9131 	ac_cv_func_NSOpenGLGetVersion=no
  9132 fi
  9134 rm -rf conftest.dSYM
  9135 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9136       conftest$ac_exeext conftest.$ac_ext
  9137 fi
  9138 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
  9139 $as_echo "$ac_cv_func_NSOpenGLGetVersion" >&6; }
  9140 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
  9142          HAVE_NSGL='yes'
  9143          VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
  9145 cat >>confdefs.h <<\_ACEOF
  9146 #define HAVE_NSGL 1
  9147 _ACEOF
  9149 fi
  9151    fi
  9153    if test "x$HAVE_GTK_X11" = "xyes"; then
  9154       if test "x$APPLE_BUILD" = "xyes"; then
  9155          LIBS="$LIBS -L/usr/X11/lib -lGL"
  9156       fi
  9157       { $as_echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
  9158 $as_echo_n "checking for glXQueryVersion... " >&6; }
  9159 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
  9160   $as_echo_n "(cached) " >&6
  9161 else
  9162   cat >conftest.$ac_ext <<_ACEOF
  9163 /* confdefs.h.  */
  9164 _ACEOF
  9165 cat confdefs.h >>conftest.$ac_ext
  9166 cat >>conftest.$ac_ext <<_ACEOF
  9167 /* end confdefs.h.  */
  9168 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
  9169    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9170 #define glXQueryVersion innocuous_glXQueryVersion
  9172 /* System header to define __stub macros and hopefully few prototypes,
  9173     which can conflict with char glXQueryVersion (); below.
  9174     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9175     <limits.h> exists even on freestanding compilers.  */
  9177 #ifdef __STDC__
  9178 # include <limits.h>
  9179 #else
  9180 # include <assert.h>
  9181 #endif
  9183 #undef glXQueryVersion
  9185 /* Override any GCC internal prototype to avoid an error.
  9186    Use char because int might match the return type of a GCC
  9187    builtin and then its argument prototype would still apply.  */
  9188 #ifdef __cplusplus
  9189 extern "C"
  9190 #endif
  9191 char glXQueryVersion ();
  9192 /* The GNU C library defines this for functions which it implements
  9193     to always fail with ENOSYS.  Some functions are actually named
  9194     something starting with __ and the normal name is an alias.  */
  9195 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
  9196 choke me
  9197 #endif
  9199 int
  9200 main ()
  9202 return glXQueryVersion ();
  9204   return 0;
  9206 _ACEOF
  9207 rm -f conftest.$ac_objext conftest$ac_exeext
  9208 if { (ac_try="$ac_link"
  9209 case "(($ac_try" in
  9210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9211   *) ac_try_echo=$ac_try;;
  9212 esac
  9213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9214 $as_echo "$ac_try_echo") >&5
  9215   (eval "$ac_link") 2>conftest.er1
  9216   ac_status=$?
  9217   grep -v '^ *+' conftest.er1 >conftest.err
  9218   rm -f conftest.er1
  9219   cat conftest.err >&5
  9220   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9221   (exit $ac_status); } && {
  9222 	 test -z "$ac_c_werror_flag" ||
  9223 	 test ! -s conftest.err
  9224        } && test -s conftest$ac_exeext && {
  9225 	 test "$cross_compiling" = yes ||
  9226 	 $as_test_x conftest$ac_exeext
  9227        }; then
  9228   ac_cv_func_glXQueryVersion=yes
  9229 else
  9230   $as_echo "$as_me: failed program was:" >&5
  9231 sed 's/^/| /' conftest.$ac_ext >&5
  9233 	ac_cv_func_glXQueryVersion=no
  9234 fi
  9236 rm -rf conftest.dSYM
  9237 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9238       conftest$ac_exeext conftest.$ac_ext
  9239 fi
  9240 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
  9241 $as_echo "$ac_cv_func_glXQueryVersion" >&6; }
  9242 if test $ac_cv_func_glXQueryVersion = yes; then
  9244          HAVE_GLX='yes'
  9245          VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
  9247 cat >>confdefs.h <<\_ACEOF
  9248 #define HAVE_GLX 1
  9249 _ACEOF
  9251 fi
  9253    fi
  9256 fi
  9263 if test "x$HAVE_OSMESA" = "xyes"; then
  9264   VIDEO_OSMESA_TRUE=
  9265   VIDEO_OSMESA_FALSE='#'
  9266 else
  9267   VIDEO_OSMESA_TRUE='#'
  9268   VIDEO_OSMESA_FALSE=
  9269 fi
  9273 if test "x$HAVE_GLX" = "xyes"; then
  9274   VIDEO_GLX_TRUE=
  9275   VIDEO_GLX_FALSE='#'
  9276 else
  9277   VIDEO_GLX_TRUE='#'
  9278   VIDEO_GLX_FALSE=
  9279 fi
  9283 if test "x$HAVE_NSGL" = "xyes"; then
  9284   VIDEO_NSGL_TRUE=
  9285   VIDEO_NSGL_FALSE='#'
  9286 else
  9287   VIDEO_NSGL_TRUE='#'
  9288   VIDEO_NSGL_FALSE=
  9289 fi
  9292 { $as_echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
  9293 $as_echo_n "checking for glGenFramebuffersEXT... " >&6; }
  9294 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
  9295   $as_echo_n "(cached) " >&6
  9296 else
  9297   cat >conftest.$ac_ext <<_ACEOF
  9298 /* confdefs.h.  */
  9299 _ACEOF
  9300 cat confdefs.h >>conftest.$ac_ext
  9301 cat >>conftest.$ac_ext <<_ACEOF
  9302 /* end confdefs.h.  */
  9303 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
  9304    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9305 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
  9307 /* System header to define __stub macros and hopefully few prototypes,
  9308     which can conflict with char glGenFramebuffersEXT (); below.
  9309     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9310     <limits.h> exists even on freestanding compilers.  */
  9312 #ifdef __STDC__
  9313 # include <limits.h>
  9314 #else
  9315 # include <assert.h>
  9316 #endif
  9318 #undef glGenFramebuffersEXT
  9320 /* Override any GCC internal prototype to avoid an error.
  9321    Use char because int might match the return type of a GCC
  9322    builtin and then its argument prototype would still apply.  */
  9323 #ifdef __cplusplus
  9324 extern "C"
  9325 #endif
  9326 char glGenFramebuffersEXT ();
  9327 /* The GNU C library defines this for functions which it implements
  9328     to always fail with ENOSYS.  Some functions are actually named
  9329     something starting with __ and the normal name is an alias.  */
  9330 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
  9331 choke me
  9332 #endif
  9334 int
  9335 main ()
  9337 return glGenFramebuffersEXT ();
  9339   return 0;
  9341 _ACEOF
  9342 rm -f conftest.$ac_objext conftest$ac_exeext
  9343 if { (ac_try="$ac_link"
  9344 case "(($ac_try" in
  9345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9346   *) ac_try_echo=$ac_try;;
  9347 esac
  9348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9349 $as_echo "$ac_try_echo") >&5
  9350   (eval "$ac_link") 2>conftest.er1
  9351   ac_status=$?
  9352   grep -v '^ *+' conftest.er1 >conftest.err
  9353   rm -f conftest.er1
  9354   cat conftest.err >&5
  9355   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9356   (exit $ac_status); } && {
  9357 	 test -z "$ac_c_werror_flag" ||
  9358 	 test ! -s conftest.err
  9359        } && test -s conftest$ac_exeext && {
  9360 	 test "$cross_compiling" = yes ||
  9361 	 $as_test_x conftest$ac_exeext
  9362        }; then
  9363   ac_cv_func_glGenFramebuffersEXT=yes
  9364 else
  9365   $as_echo "$as_me: failed program was:" >&5
  9366 sed 's/^/| /' conftest.$ac_ext >&5
  9368 	ac_cv_func_glGenFramebuffersEXT=no
  9369 fi
  9371 rm -rf conftest.dSYM
  9372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9373       conftest$ac_exeext conftest.$ac_ext
  9374 fi
  9375 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
  9376 $as_echo "$ac_cv_func_glGenFramebuffersEXT" >&6; }
  9377 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
  9379 cat >>confdefs.h <<\_ACEOF
  9380 #define HAVE_OPENGL_FBO 1
  9381 _ACEOF
  9383 fi
  9385 { $as_echo "$as_me:$LINENO: checking for glCreateShader" >&5
  9386 $as_echo_n "checking for glCreateShader... " >&6; }
  9387 if test "${ac_cv_func_glCreateShader+set}" = set; then
  9388   $as_echo_n "(cached) " >&6
  9389 else
  9390   cat >conftest.$ac_ext <<_ACEOF
  9391 /* confdefs.h.  */
  9392 _ACEOF
  9393 cat confdefs.h >>conftest.$ac_ext
  9394 cat >>conftest.$ac_ext <<_ACEOF
  9395 /* end confdefs.h.  */
  9396 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
  9397    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9398 #define glCreateShader innocuous_glCreateShader
  9400 /* System header to define __stub macros and hopefully few prototypes,
  9401     which can conflict with char glCreateShader (); below.
  9402     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9403     <limits.h> exists even on freestanding compilers.  */
  9405 #ifdef __STDC__
  9406 # include <limits.h>
  9407 #else
  9408 # include <assert.h>
  9409 #endif
  9411 #undef glCreateShader
  9413 /* Override any GCC internal prototype to avoid an error.
  9414    Use char because int might match the return type of a GCC
  9415    builtin and then its argument prototype would still apply.  */
  9416 #ifdef __cplusplus
  9417 extern "C"
  9418 #endif
  9419 char glCreateShader ();
  9420 /* The GNU C library defines this for functions which it implements
  9421     to always fail with ENOSYS.  Some functions are actually named
  9422     something starting with __ and the normal name is an alias.  */
  9423 #if defined __stub_glCreateShader || defined __stub___glCreateShader
  9424 choke me
  9425 #endif
  9427 int
  9428 main ()
  9430 return glCreateShader ();
  9432   return 0;
  9434 _ACEOF
  9435 rm -f conftest.$ac_objext conftest$ac_exeext
  9436 if { (ac_try="$ac_link"
  9437 case "(($ac_try" in
  9438   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9439   *) ac_try_echo=$ac_try;;
  9440 esac
  9441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9442 $as_echo "$ac_try_echo") >&5
  9443   (eval "$ac_link") 2>conftest.er1
  9444   ac_status=$?
  9445   grep -v '^ *+' conftest.er1 >conftest.err
  9446   rm -f conftest.er1
  9447   cat conftest.err >&5
  9448   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9449   (exit $ac_status); } && {
  9450 	 test -z "$ac_c_werror_flag" ||
  9451 	 test ! -s conftest.err
  9452        } && test -s conftest$ac_exeext && {
  9453 	 test "$cross_compiling" = yes ||
  9454 	 $as_test_x conftest$ac_exeext
  9455        }; then
  9456   ac_cv_func_glCreateShader=yes
  9457 else
  9458   $as_echo "$as_me: failed program was:" >&5
  9459 sed 's/^/| /' conftest.$ac_ext >&5
  9461 	ac_cv_func_glCreateShader=no
  9462 fi
  9464 rm -rf conftest.dSYM
  9465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9466       conftest$ac_exeext conftest.$ac_ext
  9467 fi
  9468 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
  9469 $as_echo "$ac_cv_func_glCreateShader" >&6; }
  9470 if test $ac_cv_func_glCreateShader = yes; then
  9472 cat >>confdefs.h <<\_ACEOF
  9473 #define HAVE_OPENGL_SHADER 1
  9474 _ACEOF
  9476 fi
  9478 { $as_echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
  9479 $as_echo_n "checking for glCreateShaderObjectARB... " >&6; }
  9480 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
  9481   $as_echo_n "(cached) " >&6
  9482 else
  9483   cat >conftest.$ac_ext <<_ACEOF
  9484 /* confdefs.h.  */
  9485 _ACEOF
  9486 cat confdefs.h >>conftest.$ac_ext
  9487 cat >>conftest.$ac_ext <<_ACEOF
  9488 /* end confdefs.h.  */
  9489 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
  9490    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9491 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
  9493 /* System header to define __stub macros and hopefully few prototypes,
  9494     which can conflict with char glCreateShaderObjectARB (); below.
  9495     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9496     <limits.h> exists even on freestanding compilers.  */
  9498 #ifdef __STDC__
  9499 # include <limits.h>
  9500 #else
  9501 # include <assert.h>
  9502 #endif
  9504 #undef glCreateShaderObjectARB
  9506 /* Override any GCC internal prototype to avoid an error.
  9507    Use char because int might match the return type of a GCC
  9508    builtin and then its argument prototype would still apply.  */
  9509 #ifdef __cplusplus
  9510 extern "C"
  9511 #endif
  9512 char glCreateShaderObjectARB ();
  9513 /* The GNU C library defines this for functions which it implements
  9514     to always fail with ENOSYS.  Some functions are actually named
  9515     something starting with __ and the normal name is an alias.  */
  9516 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
  9517 choke me
  9518 #endif
  9520 int
  9521 main ()
  9523 return glCreateShaderObjectARB ();
  9525   return 0;
  9527 _ACEOF
  9528 rm -f conftest.$ac_objext conftest$ac_exeext
  9529 if { (ac_try="$ac_link"
  9530 case "(($ac_try" in
  9531   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9532   *) ac_try_echo=$ac_try;;
  9533 esac
  9534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9535 $as_echo "$ac_try_echo") >&5
  9536   (eval "$ac_link") 2>conftest.er1
  9537   ac_status=$?
  9538   grep -v '^ *+' conftest.er1 >conftest.err
  9539   rm -f conftest.er1
  9540   cat conftest.err >&5
  9541   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9542   (exit $ac_status); } && {
  9543 	 test -z "$ac_c_werror_flag" ||
  9544 	 test ! -s conftest.err
  9545        } && test -s conftest$ac_exeext && {
  9546 	 test "$cross_compiling" = yes ||
  9547 	 $as_test_x conftest$ac_exeext
  9548        }; then
  9549   ac_cv_func_glCreateShaderObjectARB=yes
  9550 else
  9551   $as_echo "$as_me: failed program was:" >&5
  9552 sed 's/^/| /' conftest.$ac_ext >&5
  9554 	ac_cv_func_glCreateShaderObjectARB=no
  9555 fi
  9557 rm -rf conftest.dSYM
  9558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9559       conftest$ac_exeext conftest.$ac_ext
  9560 fi
  9561 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
  9562 $as_echo "$ac_cv_func_glCreateShaderObjectARB" >&6; }
  9563 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
  9565 cat >>confdefs.h <<\_ACEOF
  9566 #define HAVE_OPENGL_SHADER_ARB 1
  9567 _ACEOF
  9569 fi
  9571 { $as_echo "$as_me:$LINENO: checking for glClampColorARB" >&5
  9572 $as_echo_n "checking for glClampColorARB... " >&6; }
  9573 if test "${ac_cv_func_glClampColorARB+set}" = set; then
  9574   $as_echo_n "(cached) " >&6
  9575 else
  9576   cat >conftest.$ac_ext <<_ACEOF
  9577 /* confdefs.h.  */
  9578 _ACEOF
  9579 cat confdefs.h >>conftest.$ac_ext
  9580 cat >>conftest.$ac_ext <<_ACEOF
  9581 /* end confdefs.h.  */
  9582 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
  9583    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9584 #define glClampColorARB innocuous_glClampColorARB
  9586 /* System header to define __stub macros and hopefully few prototypes,
  9587     which can conflict with char glClampColorARB (); below.
  9588     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9589     <limits.h> exists even on freestanding compilers.  */
  9591 #ifdef __STDC__
  9592 # include <limits.h>
  9593 #else
  9594 # include <assert.h>
  9595 #endif
  9597 #undef glClampColorARB
  9599 /* Override any GCC internal prototype to avoid an error.
  9600    Use char because int might match the return type of a GCC
  9601    builtin and then its argument prototype would still apply.  */
  9602 #ifdef __cplusplus
  9603 extern "C"
  9604 #endif
  9605 char glClampColorARB ();
  9606 /* The GNU C library defines this for functions which it implements
  9607     to always fail with ENOSYS.  Some functions are actually named
  9608     something starting with __ and the normal name is an alias.  */
  9609 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
  9610 choke me
  9611 #endif
  9613 int
  9614 main ()
  9616 return glClampColorARB ();
  9618   return 0;
  9620 _ACEOF
  9621 rm -f conftest.$ac_objext conftest$ac_exeext
  9622 if { (ac_try="$ac_link"
  9623 case "(($ac_try" in
  9624   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9625   *) ac_try_echo=$ac_try;;
  9626 esac
  9627 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9628 $as_echo "$ac_try_echo") >&5
  9629   (eval "$ac_link") 2>conftest.er1
  9630   ac_status=$?
  9631   grep -v '^ *+' conftest.er1 >conftest.err
  9632   rm -f conftest.er1
  9633   cat conftest.err >&5
  9634   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9635   (exit $ac_status); } && {
  9636 	 test -z "$ac_c_werror_flag" ||
  9637 	 test ! -s conftest.err
  9638        } && test -s conftest$ac_exeext && {
  9639 	 test "$cross_compiling" = yes ||
  9640 	 $as_test_x conftest$ac_exeext
  9641        }; then
  9642   ac_cv_func_glClampColorARB=yes
  9643 else
  9644   $as_echo "$as_me: failed program was:" >&5
  9645 sed 's/^/| /' conftest.$ac_ext >&5
  9647 	ac_cv_func_glClampColorARB=no
  9648 fi
  9650 rm -rf conftest.dSYM
  9651 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9652       conftest$ac_exeext conftest.$ac_ext
  9653 fi
  9654 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
  9655 $as_echo "$ac_cv_func_glClampColorARB" >&6; }
  9656 if test $ac_cv_func_glClampColorARB = yes; then
  9658 cat >>confdefs.h <<\_ACEOF
  9659 #define HAVE_OPENGL_CLAMP_COLOR 1
  9660 _ACEOF
  9662 fi
  9667 if test "x$enable_translator" != "xno"; then
  9668     case $host_cpu in
  9669         i386|i486|i586|i686|x86_64)
  9670 	    SH4_TRANSLATOR="x86"
  9672 cat >>confdefs.h <<_ACEOF
  9673 #define SH4_TRANSLATOR TARGET_X86
  9674 _ACEOF
  9675 ;;
  9676     esac
  9677 fi
  9680 if test "$SH4_TRANSLATOR" = "x86"; then
  9681   BUILD_SH4X86_TRUE=
  9682   BUILD_SH4X86_FALSE='#'
  9683 else
  9684   BUILD_SH4X86_TRUE='#'
  9685   BUILD_SH4X86_FALSE=
  9686 fi
  9689 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  9690   { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
  9691 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
  9692 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  9693   $as_echo_n "(cached) " >&6
  9694 fi
  9695 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
  9696 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
  9697 else
  9698   # Is the header compilable?
  9699 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
  9700 $as_echo_n "checking CoreAudio/CoreAudio.h usability... " >&6; }
  9701 cat >conftest.$ac_ext <<_ACEOF
  9702 /* confdefs.h.  */
  9703 _ACEOF
  9704 cat confdefs.h >>conftest.$ac_ext
  9705 cat >>conftest.$ac_ext <<_ACEOF
  9706 /* end confdefs.h.  */
  9707 $ac_includes_default
  9708 #include <CoreAudio/CoreAudio.h>
  9709 _ACEOF
  9710 rm -f conftest.$ac_objext
  9711 if { (ac_try="$ac_compile"
  9712 case "(($ac_try" in
  9713   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9714   *) ac_try_echo=$ac_try;;
  9715 esac
  9716 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9717 $as_echo "$ac_try_echo") >&5
  9718   (eval "$ac_compile") 2>conftest.er1
  9719   ac_status=$?
  9720   grep -v '^ *+' conftest.er1 >conftest.err
  9721   rm -f conftest.er1
  9722   cat conftest.err >&5
  9723   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9724   (exit $ac_status); } && {
  9725 	 test -z "$ac_c_werror_flag" ||
  9726 	 test ! -s conftest.err
  9727        } && test -s conftest.$ac_objext; then
  9728   ac_header_compiler=yes
  9729 else
  9730   $as_echo "$as_me: failed program was:" >&5
  9731 sed 's/^/| /' conftest.$ac_ext >&5
  9733 	ac_header_compiler=no
  9734 fi
  9736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9737 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9738 $as_echo "$ac_header_compiler" >&6; }
  9740 # Is the header present?
  9741 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
  9742 $as_echo_n "checking CoreAudio/CoreAudio.h presence... " >&6; }
  9743 cat >conftest.$ac_ext <<_ACEOF
  9744 /* confdefs.h.  */
  9745 _ACEOF
  9746 cat confdefs.h >>conftest.$ac_ext
  9747 cat >>conftest.$ac_ext <<_ACEOF
  9748 /* end confdefs.h.  */
  9749 #include <CoreAudio/CoreAudio.h>
  9750 _ACEOF
  9751 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9752 case "(($ac_try" in
  9753   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9754   *) ac_try_echo=$ac_try;;
  9755 esac
  9756 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9757 $as_echo "$ac_try_echo") >&5
  9758   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9759   ac_status=$?
  9760   grep -v '^ *+' conftest.er1 >conftest.err
  9761   rm -f conftest.er1
  9762   cat conftest.err >&5
  9763   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9764   (exit $ac_status); } >/dev/null && {
  9765 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9766 	 test ! -s conftest.err
  9767        }; then
  9768   ac_header_preproc=yes
  9769 else
  9770   $as_echo "$as_me: failed program was:" >&5
  9771 sed 's/^/| /' conftest.$ac_ext >&5
  9773   ac_header_preproc=no
  9774 fi
  9776 rm -f conftest.err conftest.$ac_ext
  9777 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9778 $as_echo "$ac_header_preproc" >&6; }
  9780 # So?  What about this header?
  9781 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9782   yes:no: )
  9783     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9784 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9785     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
  9786 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
  9787     ac_header_preproc=yes
  9788     ;;
  9789   no:yes:* )
  9790     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
  9791 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
  9792     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
  9793 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
  9794     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
  9795 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
  9796     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
  9797 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9798     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
  9799 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
  9800     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
  9801 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
  9803     ;;
  9804 esac
  9805 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
  9806 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
  9807 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  9808   $as_echo_n "(cached) " >&6
  9809 else
  9810   ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
  9811 fi
  9812 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
  9813 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
  9815 fi
  9816 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
  9818      HAVE_CORE_AUDIO=yes
  9819      LIBS="$LIBS -framework CoreAudio"
  9820      AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
  9822 cat >>confdefs.h <<\_ACEOF
  9823 #define HAVE_CORE_AUDIO 1
  9824 _ACEOF
  9826 else
  9827   true
  9828 fi
  9833 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
  9834   AUDIO_OSX_TRUE=
  9835   AUDIO_OSX_FALSE='#'
  9836 else
  9837   AUDIO_OSX_TRUE='#'
  9838   AUDIO_OSX_FALSE=
  9839 fi
  9842 if test "x$with_pulse" != "xno"; then
  9844 pkg_failed=no
  9845 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
  9846 $as_echo_n "checking for PULSE... " >&6; }
  9848 if test -n "$PULSE_CFLAGS"; then
  9849     pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
  9850  elif test -n "$PKG_CONFIG"; then
  9851     if test -n "$PKG_CONFIG" && \
  9852     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
  9853   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
  9854   ac_status=$?
  9855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9856   (exit $ac_status); }; then
  9857   pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
  9858 else
  9859   pkg_failed=yes
  9860 fi
  9861  else
  9862     pkg_failed=untried
  9863 fi
  9864 if test -n "$PULSE_LIBS"; then
  9865     pkg_cv_PULSE_LIBS="$PULSE_LIBS"
  9866  elif test -n "$PKG_CONFIG"; then
  9867     if test -n "$PKG_CONFIG" && \
  9868     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
  9869   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
  9870   ac_status=$?
  9871   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9872   (exit $ac_status); }; then
  9873   pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
  9874 else
  9875   pkg_failed=yes
  9876 fi
  9877  else
  9878     pkg_failed=untried
  9879 fi
  9883 if test $pkg_failed = yes; then
  9885 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  9886         _pkg_short_errors_supported=yes
  9887 else
  9888         _pkg_short_errors_supported=no
  9889 fi
  9890         if test $_pkg_short_errors_supported = yes; then
  9891 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse-simple" 2>&1`
  9892         else
  9893 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse-simple" 2>&1`
  9894         fi
  9895 	# Put the nasty error message in config.log where it belongs
  9896 	echo "$PULSE_PKG_ERRORS" >&5
  9898 	{ $as_echo "$as_me:$LINENO: result: no" >&5
  9899 $as_echo "no" >&6; }
  9901        if test "x$with_pulse" = "xyes"; then
  9902           { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
  9903 See \`config.log' for more details." >&5
  9904 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
  9905 See \`config.log' for more details." >&2;}
  9906    { (exit 1); exit 1; }; }
  9907        fi
  9909 elif test $pkg_failed = untried; then
  9911        if test "x$with_pulse" = "xyes"; then
  9912           { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
  9913 See \`config.log' for more details." >&5
  9914 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
  9915 See \`config.log' for more details." >&2;}
  9916    { (exit 1); exit 1; }; }
  9917        fi
  9919 else
  9920 	PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
  9921 	PULSE_LIBS=$pkg_cv_PULSE_LIBS
  9922         { $as_echo "$as_me:$LINENO: result: yes" >&5
  9923 $as_echo "yes" >&6; }
  9925        HAVE_PULSE='yes'
  9926        AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
  9928 cat >>confdefs.h <<\_ACEOF
  9929 #define HAVE_PULSE 1
  9930 _ACEOF
  9933 fi
  9934 fi
  9937 if test "$HAVE_PULSE" = 'yes' ; then
  9938   AUDIO_PULSE_TRUE=
  9939   AUDIO_PULSE_FALSE='#'
  9940 else
  9941   AUDIO_PULSE_TRUE='#'
  9942   AUDIO_PULSE_FALSE=
  9943 fi
  9946 if test "x$with_esd" != "xno"; then
  9948 pkg_failed=no
  9949 { $as_echo "$as_me:$LINENO: checking for ESOUND" >&5
  9950 $as_echo_n "checking for ESOUND... " >&6; }
  9952 if test -n "$ESOUND_CFLAGS"; then
  9953     pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
  9954  elif test -n "$PKG_CONFIG"; then
  9955     if test -n "$PKG_CONFIG" && \
  9956     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  9957   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  9958   ac_status=$?
  9959   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9960   (exit $ac_status); }; then
  9961   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
  9962 else
  9963   pkg_failed=yes
  9964 fi
  9965  else
  9966     pkg_failed=untried
  9967 fi
  9968 if test -n "$ESOUND_LIBS"; then
  9969     pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
  9970  elif test -n "$PKG_CONFIG"; then
  9971     if test -n "$PKG_CONFIG" && \
  9972     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
  9973   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
  9974   ac_status=$?
  9975   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9976   (exit $ac_status); }; then
  9977   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
  9978 else
  9979   pkg_failed=yes
  9980 fi
  9981  else
  9982     pkg_failed=untried
  9983 fi
  9987 if test $pkg_failed = yes; then
  9989 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  9990         _pkg_short_errors_supported=yes
  9991 else
  9992         _pkg_short_errors_supported=no
  9993 fi
  9994         if test $_pkg_short_errors_supported = yes; then
  9995 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "esound" 2>&1`
  9996         else
  9997 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --print-errors "esound" 2>&1`
  9998         fi
  9999 	# Put the nasty error message in config.log where it belongs
 10000 	echo "$ESOUND_PKG_ERRORS" >&5
 10002 	{ $as_echo "$as_me:$LINENO: result: no" >&5
 10003 $as_echo "no" >&6; }
 10005        if test "x$with_esd" = "xyes"; then
 10006           { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
 10007 See \`config.log' for more details." >&5
 10008 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
 10009 See \`config.log' for more details." >&2;}
 10010    { (exit 1); exit 1; }; }
 10011        fi
 10013 elif test $pkg_failed = untried; then
 10015        if test "x$with_esd" = "xyes"; then
 10016           { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
 10017 See \`config.log' for more details." >&5
 10018 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
 10019 See \`config.log' for more details." >&2;}
 10020    { (exit 1); exit 1; }; }
 10021        fi
 10023 else
 10024 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
 10025 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
 10026         { $as_echo "$as_me:$LINENO: result: yes" >&5
 10027 $as_echo "yes" >&6; }
 10029        HAVE_ESOUND='yes'
 10030        AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
 10032 cat >>confdefs.h <<\_ACEOF
 10033 #define HAVE_ESOUND 1
 10034 _ACEOF
 10037 fi
 10038 fi
 10041 if test "$HAVE_ESOUND" = 'yes' ; then
 10042   AUDIO_ESOUND_TRUE=
 10043   AUDIO_ESOUND_FALSE='#'
 10044 else
 10045   AUDIO_ESOUND_TRUE='#'
 10046   AUDIO_ESOUND_FALSE=
 10047 fi
 10051 pkg_failed=no
 10052 { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
 10053 $as_echo_n "checking for ALSA... " >&6; }
 10055 if test -n "$ALSA_CFLAGS"; then
 10056     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
 10057  elif test -n "$PKG_CONFIG"; then
 10058     if test -n "$PKG_CONFIG" && \
 10059     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
 10060   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 10061   ac_status=$?
 10062   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10063   (exit $ac_status); }; then
 10064   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
 10065 else
 10066   pkg_failed=yes
 10067 fi
 10068  else
 10069     pkg_failed=untried
 10070 fi
 10071 if test -n "$ALSA_LIBS"; then
 10072     pkg_cv_ALSA_LIBS="$ALSA_LIBS"
 10073  elif test -n "$PKG_CONFIG"; then
 10074     if test -n "$PKG_CONFIG" && \
 10075     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
 10076   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 10077   ac_status=$?
 10078   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10079   (exit $ac_status); }; then
 10080   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
 10081 else
 10082   pkg_failed=yes
 10083 fi
 10084  else
 10085     pkg_failed=untried
 10086 fi
 10090 if test $pkg_failed = yes; then
 10092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10093         _pkg_short_errors_supported=yes
 10094 else
 10095         _pkg_short_errors_supported=no
 10096 fi
 10097         if test $_pkg_short_errors_supported = yes; then
 10098 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
 10099         else
 10100 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
 10101         fi
 10102 	# Put the nasty error message in config.log where it belongs
 10103 	echo "$ALSA_PKG_ERRORS" >&5
 10105 	{ $as_echo "$as_me:$LINENO: result: no" >&5
 10106 $as_echo "no" >&6; }
 10107                 true
 10108 elif test $pkg_failed = untried; then
 10109 	true
 10110 else
 10111 	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
 10112 	ALSA_LIBS=$pkg_cv_ALSA_LIBS
 10113         { $as_echo "$as_me:$LINENO: result: yes" >&5
 10114 $as_echo "yes" >&6; }
 10116      HAVE_ALSA='yes'
 10117      AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
 10119 cat >>confdefs.h <<\_ACEOF
 10120 #define HAVE_ALSA 1
 10121 _ACEOF
 10123 fi
 10126 if test "$HAVE_ALSA" = 'yes' ; then
 10127   AUDIO_ALSA_TRUE=
 10128   AUDIO_ALSA_FALSE='#'
 10129 else
 10130   AUDIO_ALSA_TRUE='#'
 10131   AUDIO_ALSA_FALSE=
 10132 fi
 10136 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 10137   { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
 10138 $as_echo_n "checking for linux/cdrom.h... " >&6; }
 10139 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 10140   $as_echo_n "(cached) " >&6
 10141 fi
 10142 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
 10143 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
 10144 else
 10145   # Is the header compilable?
 10146 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
 10147 $as_echo_n "checking linux/cdrom.h usability... " >&6; }
 10148 cat >conftest.$ac_ext <<_ACEOF
 10149 /* confdefs.h.  */
 10150 _ACEOF
 10151 cat confdefs.h >>conftest.$ac_ext
 10152 cat >>conftest.$ac_ext <<_ACEOF
 10153 /* end confdefs.h.  */
 10154 $ac_includes_default
 10155 #include <linux/cdrom.h>
 10156 _ACEOF
 10157 rm -f conftest.$ac_objext
 10158 if { (ac_try="$ac_compile"
 10159 case "(($ac_try" in
 10160   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10161   *) ac_try_echo=$ac_try;;
 10162 esac
 10163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10164 $as_echo "$ac_try_echo") >&5
 10165   (eval "$ac_compile") 2>conftest.er1
 10166   ac_status=$?
 10167   grep -v '^ *+' conftest.er1 >conftest.err
 10168   rm -f conftest.er1
 10169   cat conftest.err >&5
 10170   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10171   (exit $ac_status); } && {
 10172 	 test -z "$ac_c_werror_flag" ||
 10173 	 test ! -s conftest.err
 10174        } && test -s conftest.$ac_objext; then
 10175   ac_header_compiler=yes
 10176 else
 10177   $as_echo "$as_me: failed program was:" >&5
 10178 sed 's/^/| /' conftest.$ac_ext >&5
 10180 	ac_header_compiler=no
 10181 fi
 10183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10184 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10185 $as_echo "$ac_header_compiler" >&6; }
 10187 # Is the header present?
 10188 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
 10189 $as_echo_n "checking linux/cdrom.h presence... " >&6; }
 10190 cat >conftest.$ac_ext <<_ACEOF
 10191 /* confdefs.h.  */
 10192 _ACEOF
 10193 cat confdefs.h >>conftest.$ac_ext
 10194 cat >>conftest.$ac_ext <<_ACEOF
 10195 /* end confdefs.h.  */
 10196 #include <linux/cdrom.h>
 10197 _ACEOF
 10198 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10199 case "(($ac_try" in
 10200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10201   *) ac_try_echo=$ac_try;;
 10202 esac
 10203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10204 $as_echo "$ac_try_echo") >&5
 10205   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10206   ac_status=$?
 10207   grep -v '^ *+' conftest.er1 >conftest.err
 10208   rm -f conftest.er1
 10209   cat conftest.err >&5
 10210   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10211   (exit $ac_status); } >/dev/null && {
 10212 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10213 	 test ! -s conftest.err
 10214        }; then
 10215   ac_header_preproc=yes
 10216 else
 10217   $as_echo "$as_me: failed program was:" >&5
 10218 sed 's/^/| /' conftest.$ac_ext >&5
 10220   ac_header_preproc=no
 10221 fi
 10223 rm -f conftest.err conftest.$ac_ext
 10224 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10225 $as_echo "$ac_header_preproc" >&6; }
 10227 # So?  What about this header?
 10228 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10229   yes:no: )
 10230     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10231 $as_echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10232     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
 10233 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
 10234     ac_header_preproc=yes
 10235     ;;
 10236   no:yes:* )
 10237     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
 10238 $as_echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
 10239     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
 10240 $as_echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
 10241     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
 10242 $as_echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
 10243     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
 10244 $as_echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10245     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
 10246 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
 10247     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
 10248 $as_echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
 10250     ;;
 10251 esac
 10252 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
 10253 $as_echo_n "checking for linux/cdrom.h... " >&6; }
 10254 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 10255   $as_echo_n "(cached) " >&6
 10256 else
 10257   ac_cv_header_linux_cdrom_h=$ac_header_preproc
 10258 fi
 10259 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
 10260 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
 10262 fi
 10263 if test $ac_cv_header_linux_cdrom_h = yes; then
 10264   CDROM_DRIVER=linux
 10265 else
 10266   true
 10267 fi
 10270 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 10271   { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
 10272 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
 10273 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 10274   $as_echo_n "(cached) " >&6
 10275 fi
 10276 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
 10277 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
 10278 else
 10279   # Is the header compilable?
 10280 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
 10281 $as_echo_n "checking IOKit/IOKitLib.h usability... " >&6; }
 10282 cat >conftest.$ac_ext <<_ACEOF
 10283 /* confdefs.h.  */
 10284 _ACEOF
 10285 cat confdefs.h >>conftest.$ac_ext
 10286 cat >>conftest.$ac_ext <<_ACEOF
 10287 /* end confdefs.h.  */
 10288 $ac_includes_default
 10289 #include <IOKit/IOKitLib.h>
 10290 _ACEOF
 10291 rm -f conftest.$ac_objext
 10292 if { (ac_try="$ac_compile"
 10293 case "(($ac_try" in
 10294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10295   *) ac_try_echo=$ac_try;;
 10296 esac
 10297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10298 $as_echo "$ac_try_echo") >&5
 10299   (eval "$ac_compile") 2>conftest.er1
 10300   ac_status=$?
 10301   grep -v '^ *+' conftest.er1 >conftest.err
 10302   rm -f conftest.er1
 10303   cat conftest.err >&5
 10304   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10305   (exit $ac_status); } && {
 10306 	 test -z "$ac_c_werror_flag" ||
 10307 	 test ! -s conftest.err
 10308        } && test -s conftest.$ac_objext; then
 10309   ac_header_compiler=yes
 10310 else
 10311   $as_echo "$as_me: failed program was:" >&5
 10312 sed 's/^/| /' conftest.$ac_ext >&5
 10314 	ac_header_compiler=no
 10315 fi
 10317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10318 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10319 $as_echo "$ac_header_compiler" >&6; }
 10321 # Is the header present?
 10322 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
 10323 $as_echo_n "checking IOKit/IOKitLib.h presence... " >&6; }
 10324 cat >conftest.$ac_ext <<_ACEOF
 10325 /* confdefs.h.  */
 10326 _ACEOF
 10327 cat confdefs.h >>conftest.$ac_ext
 10328 cat >>conftest.$ac_ext <<_ACEOF
 10329 /* end confdefs.h.  */
 10330 #include <IOKit/IOKitLib.h>
 10331 _ACEOF
 10332 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10333 case "(($ac_try" in
 10334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10335   *) ac_try_echo=$ac_try;;
 10336 esac
 10337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10338 $as_echo "$ac_try_echo") >&5
 10339   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10340   ac_status=$?
 10341   grep -v '^ *+' conftest.er1 >conftest.err
 10342   rm -f conftest.er1
 10343   cat conftest.err >&5
 10344   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10345   (exit $ac_status); } >/dev/null && {
 10346 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10347 	 test ! -s conftest.err
 10348        }; then
 10349   ac_header_preproc=yes
 10350 else
 10351   $as_echo "$as_me: failed program was:" >&5
 10352 sed 's/^/| /' conftest.$ac_ext >&5
 10354   ac_header_preproc=no
 10355 fi
 10357 rm -f conftest.err conftest.$ac_ext
 10358 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10359 $as_echo "$ac_header_preproc" >&6; }
 10361 # So?  What about this header?
 10362 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10363   yes:no: )
 10364     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10365 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10366     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
 10367 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
 10368     ac_header_preproc=yes
 10369     ;;
 10370   no:yes:* )
 10371     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
 10372 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
 10373     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&5
 10374 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&2;}
 10375     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
 10376 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
 10377     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&5
 10378 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10379     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
 10380 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
 10381     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
 10382 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
 10384     ;;
 10385 esac
 10386 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
 10387 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
 10388 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 10389   $as_echo_n "(cached) " >&6
 10390 else
 10391   ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
 10392 fi
 10393 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
 10394 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
 10396 fi
 10397 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
 10399      CDROM_DRIVER=osx
 10400      LIBS="$LIBS -framework IOKit"
 10401 else
 10402   true
 10403 fi
 10408 if test "x$CDROM_DRIVER" = "xlinux"; then
 10409   CDROM_LINUX_TRUE=
 10410   CDROM_LINUX_FALSE='#'
 10411 else
 10412   CDROM_LINUX_TRUE='#'
 10413   CDROM_LINUX_FALSE=
 10414 fi
 10418 if test "x$CDROM_DRIVER" = "xosx"; then
 10419   CDROM_OSX_TRUE=
 10420   CDROM_OSX_FALSE='#'
 10421 else
 10422   CDROM_OSX_TRUE='#'
 10423   CDROM_OSX_FALSE=
 10424 fi
 10428 if test "x$CDROM_DRIVER" = "x"; then
 10429   CDROM_NONE_TRUE=
 10430   CDROM_NONE_FALSE='#'
 10431 else
 10432   CDROM_NONE_TRUE='#'
 10433   CDROM_NONE_FALSE=
 10434 fi
 10437 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 10438   { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
 10439 $as_echo_n "checking for linux/joystick.h... " >&6; }
 10440 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 10441   $as_echo_n "(cached) " >&6
 10442 fi
 10443 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
 10444 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
 10445 else
 10446   # Is the header compilable?
 10447 { $as_echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
 10448 $as_echo_n "checking linux/joystick.h usability... " >&6; }
 10449 cat >conftest.$ac_ext <<_ACEOF
 10450 /* confdefs.h.  */
 10451 _ACEOF
 10452 cat confdefs.h >>conftest.$ac_ext
 10453 cat >>conftest.$ac_ext <<_ACEOF
 10454 /* end confdefs.h.  */
 10455 $ac_includes_default
 10456 #include <linux/joystick.h>
 10457 _ACEOF
 10458 rm -f conftest.$ac_objext
 10459 if { (ac_try="$ac_compile"
 10460 case "(($ac_try" in
 10461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10462   *) ac_try_echo=$ac_try;;
 10463 esac
 10464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10465 $as_echo "$ac_try_echo") >&5
 10466   (eval "$ac_compile") 2>conftest.er1
 10467   ac_status=$?
 10468   grep -v '^ *+' conftest.er1 >conftest.err
 10469   rm -f conftest.er1
 10470   cat conftest.err >&5
 10471   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10472   (exit $ac_status); } && {
 10473 	 test -z "$ac_c_werror_flag" ||
 10474 	 test ! -s conftest.err
 10475        } && test -s conftest.$ac_objext; then
 10476   ac_header_compiler=yes
 10477 else
 10478   $as_echo "$as_me: failed program was:" >&5
 10479 sed 's/^/| /' conftest.$ac_ext >&5
 10481 	ac_header_compiler=no
 10482 fi
 10484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10485 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10486 $as_echo "$ac_header_compiler" >&6; }
 10488 # Is the header present?
 10489 { $as_echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
 10490 $as_echo_n "checking linux/joystick.h presence... " >&6; }
 10491 cat >conftest.$ac_ext <<_ACEOF
 10492 /* confdefs.h.  */
 10493 _ACEOF
 10494 cat confdefs.h >>conftest.$ac_ext
 10495 cat >>conftest.$ac_ext <<_ACEOF
 10496 /* end confdefs.h.  */
 10497 #include <linux/joystick.h>
 10498 _ACEOF
 10499 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10500 case "(($ac_try" in
 10501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10502   *) ac_try_echo=$ac_try;;
 10503 esac
 10504 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10505 $as_echo "$ac_try_echo") >&5
 10506   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10507   ac_status=$?
 10508   grep -v '^ *+' conftest.er1 >conftest.err
 10509   rm -f conftest.er1
 10510   cat conftest.err >&5
 10511   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10512   (exit $ac_status); } >/dev/null && {
 10513 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10514 	 test ! -s conftest.err
 10515        }; then
 10516   ac_header_preproc=yes
 10517 else
 10518   $as_echo "$as_me: failed program was:" >&5
 10519 sed 's/^/| /' conftest.$ac_ext >&5
 10521   ac_header_preproc=no
 10522 fi
 10524 rm -f conftest.err conftest.$ac_ext
 10525 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10526 $as_echo "$ac_header_preproc" >&6; }
 10528 # So?  What about this header?
 10529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10530   yes:no: )
 10531     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10532 $as_echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10533     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
 10534 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
 10535     ac_header_preproc=yes
 10536     ;;
 10537   no:yes:* )
 10538     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
 10539 $as_echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
 10540     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&5
 10541 $as_echo "$as_me: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&2;}
 10542     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
 10543 $as_echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
 10544     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&5
 10545 $as_echo "$as_me: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10546     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
 10547 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
 10548     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
 10549 $as_echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
 10551     ;;
 10552 esac
 10553 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
 10554 $as_echo_n "checking for linux/joystick.h... " >&6; }
 10555 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 10556   $as_echo_n "(cached) " >&6
 10557 else
 10558   ac_cv_header_linux_joystick_h=$ac_header_preproc
 10559 fi
 10560 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
 10561 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
 10563 fi
 10564 if test $ac_cv_header_linux_joystick_h = yes; then
 10566     HAVE_LINUX_JOYSTICK_H=yes
 10568 cat >>confdefs.h <<\_ACEOF
 10569 #define HAVE_LINUX_JOYSTICK 1
 10570 _ACEOF
 10572 else
 10573    echo "Linux Joystick support not found, building without it."
 10574 fi
 10579 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
 10580   JOY_LINUX_TRUE=
 10581   JOY_LINUX_FALSE='#'
 10582 else
 10583   JOY_LINUX_TRUE='#'
 10584   JOY_LINUX_FALSE=
 10585 fi
 10588 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
 10589 set dummy sh-elf-gcc; ac_word=$2
 10590 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10591 $as_echo_n "checking for $ac_word... " >&6; }
 10592 if test "${ac_cv_path_SHCC+set}" = set; then
 10593   $as_echo_n "(cached) " >&6
 10594 else
 10595   case $SHCC in
 10596   [\\/]* | ?:[\\/]*)
 10597   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
 10598   ;;
 10599   *)
 10600   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10601 for as_dir in $PATH
 10602 do
 10603   IFS=$as_save_IFS
 10604   test -z "$as_dir" && as_dir=.
 10605   for ac_exec_ext in '' $ac_executable_extensions; do
 10606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10607     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
 10608     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10609     break 2
 10610   fi
 10611 done
 10612 done
 10613 IFS=$as_save_IFS
 10615   ;;
 10616 esac
 10617 fi
 10618 SHCC=$ac_cv_path_SHCC
 10619 if test -n "$SHCC"; then
 10620   { $as_echo "$as_me:$LINENO: result: $SHCC" >&5
 10621 $as_echo "$SHCC" >&6; }
 10622 else
 10623   { $as_echo "$as_me:$LINENO: result: no" >&5
 10624 $as_echo "no" >&6; }
 10625 fi
 10628 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
 10629 set dummy sh-elf-ld; ac_word=$2
 10630 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10631 $as_echo_n "checking for $ac_word... " >&6; }
 10632 if test "${ac_cv_path_SHLD+set}" = set; then
 10633   $as_echo_n "(cached) " >&6
 10634 else
 10635   case $SHLD in
 10636   [\\/]* | ?:[\\/]*)
 10637   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
 10638   ;;
 10639   *)
 10640   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10641 for as_dir in $PATH
 10642 do
 10643   IFS=$as_save_IFS
 10644   test -z "$as_dir" && as_dir=.
 10645   for ac_exec_ext in '' $ac_executable_extensions; do
 10646   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10647     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
 10648     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10649     break 2
 10650   fi
 10651 done
 10652 done
 10653 IFS=$as_save_IFS
 10655   ;;
 10656 esac
 10657 fi
 10658 SHLD=$ac_cv_path_SHLD
 10659 if test -n "$SHLD"; then
 10660   { $as_echo "$as_me:$LINENO: result: $SHLD" >&5
 10661 $as_echo "$SHLD" >&6; }
 10662 else
 10663   { $as_echo "$as_me:$LINENO: result: no" >&5
 10664 $as_echo "no" >&6; }
 10665 fi
 10668 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
 10669 set dummy sh-elf-objcopy; ac_word=$2
 10670 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10671 $as_echo_n "checking for $ac_word... " >&6; }
 10672 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
 10673   $as_echo_n "(cached) " >&6
 10674 else
 10675   case $SHOBJCOPY in
 10676   [\\/]* | ?:[\\/]*)
 10677   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
 10678   ;;
 10679   *)
 10680   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10681 for as_dir in $PATH
 10682 do
 10683   IFS=$as_save_IFS
 10684   test -z "$as_dir" && as_dir=.
 10685   for ac_exec_ext in '' $ac_executable_extensions; do
 10686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10687     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
 10688     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10689     break 2
 10690   fi
 10691 done
 10692 done
 10693 IFS=$as_save_IFS
 10695   ;;
 10696 esac
 10697 fi
 10698 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
 10699 if test -n "$SHOBJCOPY"; then
 10700   { $as_echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
 10701 $as_echo "$SHOBJCOPY" >&6; }
 10702 else
 10703   { $as_echo "$as_me:$LINENO: result: no" >&5
 10704 $as_echo "no" >&6; }
 10705 fi
 10708 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
 10709 set dummy arm-elf-gcc; ac_word=$2
 10710 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10711 $as_echo_n "checking for $ac_word... " >&6; }
 10712 if test "${ac_cv_path_ARMCC+set}" = set; then
 10713   $as_echo_n "(cached) " >&6
 10714 else
 10715   case $ARMCC in
 10716   [\\/]* | ?:[\\/]*)
 10717   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
 10718   ;;
 10719   *)
 10720   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10721 for as_dir in $PATH
 10722 do
 10723   IFS=$as_save_IFS
 10724   test -z "$as_dir" && as_dir=.
 10725   for ac_exec_ext in '' $ac_executable_extensions; do
 10726   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10727     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
 10728     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10729     break 2
 10730   fi
 10731 done
 10732 done
 10733 IFS=$as_save_IFS
 10735   ;;
 10736 esac
 10737 fi
 10738 ARMCC=$ac_cv_path_ARMCC
 10739 if test -n "$ARMCC"; then
 10740   { $as_echo "$as_me:$LINENO: result: $ARMCC" >&5
 10741 $as_echo "$ARMCC" >&6; }
 10742 else
 10743   { $as_echo "$as_me:$LINENO: result: no" >&5
 10744 $as_echo "no" >&6; }
 10745 fi
 10748 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
 10749 set dummy arm-elf-ld; ac_word=$2
 10750 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10751 $as_echo_n "checking for $ac_word... " >&6; }
 10752 if test "${ac_cv_path_ARMLD+set}" = set; then
 10753   $as_echo_n "(cached) " >&6
 10754 else
 10755   case $ARMLD in
 10756   [\\/]* | ?:[\\/]*)
 10757   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
 10758   ;;
 10759   *)
 10760   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10761 for as_dir in $PATH
 10762 do
 10763   IFS=$as_save_IFS
 10764   test -z "$as_dir" && as_dir=.
 10765   for ac_exec_ext in '' $ac_executable_extensions; do
 10766   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10767     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
 10768     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10769     break 2
 10770   fi
 10771 done
 10772 done
 10773 IFS=$as_save_IFS
 10775   ;;
 10776 esac
 10777 fi
 10778 ARMLD=$ac_cv_path_ARMLD
 10779 if test -n "$ARMLD"; then
 10780   { $as_echo "$as_me:$LINENO: result: $ARMLD" >&5
 10781 $as_echo "$ARMLD" >&6; }
 10782 else
 10783   { $as_echo "$as_me:$LINENO: result: no" >&5
 10784 $as_echo "no" >&6; }
 10785 fi
 10788 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
 10789 set dummy arm-elf-objcopy; ac_word=$2
 10790 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10791 $as_echo_n "checking for $ac_word... " >&6; }
 10792 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
 10793   $as_echo_n "(cached) " >&6
 10794 else
 10795   case $ARMOBJCOPY in
 10796   [\\/]* | ?:[\\/]*)
 10797   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
 10798   ;;
 10799   *)
 10800   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10801 for as_dir in $PATH
 10802 do
 10803   IFS=$as_save_IFS
 10804   test -z "$as_dir" && as_dir=.
 10805   for ac_exec_ext in '' $ac_executable_extensions; do
 10806   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10807     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
 10808     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10809     break 2
 10810   fi
 10811 done
 10812 done
 10813 IFS=$as_save_IFS
 10815   ;;
 10816 esac
 10817 fi
 10818 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
 10819 if test -n "$ARMOBJCOPY"; then
 10820   { $as_echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
 10821 $as_echo "$ARMOBJCOPY" >&6; }
 10822 else
 10823   { $as_echo "$as_me:$LINENO: result: no" >&5
 10824 $as_echo "no" >&6; }
 10825 fi
 10829 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
 10830   BUILD_SH="no"
 10831   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
 10832 else
 10833   BUILD_SH="yes"
 10834 fi
 10835 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
 10836   BUILD_ARM="no"
 10837   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
 10838 else
 10839   BUILD_ARM="yes"
 10840 fi
 10843 if test "$BUILD_SH" = "yes"; then
 10844   BUILD_SYSTEST_TRUE=
 10845   BUILD_SYSTEST_FALSE='#'
 10846 else
 10847   BUILD_SYSTEST_TRUE='#'
 10848   BUILD_SYSTEST_FALSE=
 10849 fi
 10853 if test "$BUILD_ARM" = "yes"; then
 10854   BUILD_ARMTEST_TRUE=
 10855   BUILD_ARMTEST_FALSE='#'
 10856 else
 10857   BUILD_ARMTEST_TRUE='#'
 10858   BUILD_ARMTEST_FALSE=
 10859 fi
 10863 GETTEXT_PACKAGE=lxdream
 10866 cat >>confdefs.h <<_ACEOF
 10867 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 10868 _ACEOF
 10871 ALL_LINGUAS="de es it pt_BR"
 10874 for ac_header in locale.h
 10875 do
 10876 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 10877 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 10878   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 10879 $as_echo_n "checking for $ac_header... " >&6; }
 10880 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 10881   $as_echo_n "(cached) " >&6
 10882 fi
 10883 ac_res=`eval 'as_val=${'$as_ac_Header'}
 10884 		 $as_echo "$as_val"'`
 10885 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 10886 $as_echo "$ac_res" >&6; }
 10887 else
 10888   # Is the header compilable?
 10889 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 10890 $as_echo_n "checking $ac_header usability... " >&6; }
 10891 cat >conftest.$ac_ext <<_ACEOF
 10892 /* confdefs.h.  */
 10893 _ACEOF
 10894 cat confdefs.h >>conftest.$ac_ext
 10895 cat >>conftest.$ac_ext <<_ACEOF
 10896 /* end confdefs.h.  */
 10897 $ac_includes_default
 10898 #include <$ac_header>
 10899 _ACEOF
 10900 rm -f conftest.$ac_objext
 10901 if { (ac_try="$ac_compile"
 10902 case "(($ac_try" in
 10903   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10904   *) ac_try_echo=$ac_try;;
 10905 esac
 10906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10907 $as_echo "$ac_try_echo") >&5
 10908   (eval "$ac_compile") 2>conftest.er1
 10909   ac_status=$?
 10910   grep -v '^ *+' conftest.er1 >conftest.err
 10911   rm -f conftest.er1
 10912   cat conftest.err >&5
 10913   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10914   (exit $ac_status); } && {
 10915 	 test -z "$ac_c_werror_flag" ||
 10916 	 test ! -s conftest.err
 10917        } && test -s conftest.$ac_objext; then
 10918   ac_header_compiler=yes
 10919 else
 10920   $as_echo "$as_me: failed program was:" >&5
 10921 sed 's/^/| /' conftest.$ac_ext >&5
 10923 	ac_header_compiler=no
 10924 fi
 10926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10927 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10928 $as_echo "$ac_header_compiler" >&6; }
 10930 # Is the header present?
 10931 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 10932 $as_echo_n "checking $ac_header presence... " >&6; }
 10933 cat >conftest.$ac_ext <<_ACEOF
 10934 /* confdefs.h.  */
 10935 _ACEOF
 10936 cat confdefs.h >>conftest.$ac_ext
 10937 cat >>conftest.$ac_ext <<_ACEOF
 10938 /* end confdefs.h.  */
 10939 #include <$ac_header>
 10940 _ACEOF
 10941 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10942 case "(($ac_try" in
 10943   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10944   *) ac_try_echo=$ac_try;;
 10945 esac
 10946 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10947 $as_echo "$ac_try_echo") >&5
 10948   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10949   ac_status=$?
 10950   grep -v '^ *+' conftest.er1 >conftest.err
 10951   rm -f conftest.er1
 10952   cat conftest.err >&5
 10953   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10954   (exit $ac_status); } >/dev/null && {
 10955 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10956 	 test ! -s conftest.err
 10957        }; then
 10958   ac_header_preproc=yes
 10959 else
 10960   $as_echo "$as_me: failed program was:" >&5
 10961 sed 's/^/| /' conftest.$ac_ext >&5
 10963   ac_header_preproc=no
 10964 fi
 10966 rm -f conftest.err conftest.$ac_ext
 10967 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10968 $as_echo "$ac_header_preproc" >&6; }
 10970 # So?  What about this header?
 10971 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10972   yes:no: )
 10973     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 10974 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10975     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 10976 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 10977     ac_header_preproc=yes
 10978     ;;
 10979   no:yes:* )
 10980     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 10981 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 10982     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 10983 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 10984     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 10985 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 10986     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 10987 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 10988     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 10989 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 10990     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 10991 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 10993     ;;
 10994 esac
 10995 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 10996 $as_echo_n "checking for $ac_header... " >&6; }
 10997 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 10998   $as_echo_n "(cached) " >&6
 10999 else
 11000   eval "$as_ac_Header=\$ac_header_preproc"
 11001 fi
 11002 ac_res=`eval 'as_val=${'$as_ac_Header'}
 11003 		 $as_echo "$as_val"'`
 11004 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 11005 $as_echo "$ac_res" >&6; }
 11007 fi
 11008 if test `eval 'as_val=${'$as_ac_Header'}
 11009 		 $as_echo "$as_val"'` = yes; then
 11010   cat >>confdefs.h <<_ACEOF
 11011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 11012 _ACEOF
 11014 fi
 11016 done
 11018     if test $ac_cv_header_locale_h = yes; then
 11019     { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 11020 $as_echo_n "checking for LC_MESSAGES... " >&6; }
 11021 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 11022   $as_echo_n "(cached) " >&6
 11023 else
 11024   cat >conftest.$ac_ext <<_ACEOF
 11025 /* confdefs.h.  */
 11026 _ACEOF
 11027 cat confdefs.h >>conftest.$ac_ext
 11028 cat >>conftest.$ac_ext <<_ACEOF
 11029 /* end confdefs.h.  */
 11030 #include <locale.h>
 11031 int
 11032 main ()
 11034 return LC_MESSAGES
 11036   return 0;
 11038 _ACEOF
 11039 rm -f conftest.$ac_objext conftest$ac_exeext
 11040 if { (ac_try="$ac_link"
 11041 case "(($ac_try" in
 11042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11043   *) ac_try_echo=$ac_try;;
 11044 esac
 11045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11046 $as_echo "$ac_try_echo") >&5
 11047   (eval "$ac_link") 2>conftest.er1
 11048   ac_status=$?
 11049   grep -v '^ *+' conftest.er1 >conftest.err
 11050   rm -f conftest.er1
 11051   cat conftest.err >&5
 11052   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11053   (exit $ac_status); } && {
 11054 	 test -z "$ac_c_werror_flag" ||
 11055 	 test ! -s conftest.err
 11056        } && test -s conftest$ac_exeext && {
 11057 	 test "$cross_compiling" = yes ||
 11058 	 $as_test_x conftest$ac_exeext
 11059        }; then
 11060   am_cv_val_LC_MESSAGES=yes
 11061 else
 11062   $as_echo "$as_me: failed program was:" >&5
 11063 sed 's/^/| /' conftest.$ac_ext >&5
 11065 	am_cv_val_LC_MESSAGES=no
 11066 fi
 11068 rm -rf conftest.dSYM
 11069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11070       conftest$ac_exeext conftest.$ac_ext
 11071 fi
 11072 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 11073 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 11074     if test $am_cv_val_LC_MESSAGES = yes; then
 11076 cat >>confdefs.h <<\_ACEOF
 11077 #define HAVE_LC_MESSAGES 1
 11078 _ACEOF
 11080     fi
 11081   fi
 11082      USE_NLS=yes
 11085     gt_cv_have_gettext=no
 11087     CATOBJEXT=NONE
 11088     XGETTEXT=:
 11089     INTLLIBS=
 11091     if test "${ac_cv_header_libintl_h+set}" = set; then
 11092   { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 11093 $as_echo_n "checking for libintl.h... " >&6; }
 11094 if test "${ac_cv_header_libintl_h+set}" = set; then
 11095   $as_echo_n "(cached) " >&6
 11096 fi
 11097 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 11098 $as_echo "$ac_cv_header_libintl_h" >&6; }
 11099 else
 11100   # Is the header compilable?
 11101 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 11102 $as_echo_n "checking libintl.h usability... " >&6; }
 11103 cat >conftest.$ac_ext <<_ACEOF
 11104 /* confdefs.h.  */
 11105 _ACEOF
 11106 cat confdefs.h >>conftest.$ac_ext
 11107 cat >>conftest.$ac_ext <<_ACEOF
 11108 /* end confdefs.h.  */
 11109 $ac_includes_default
 11110 #include <libintl.h>
 11111 _ACEOF
 11112 rm -f conftest.$ac_objext
 11113 if { (ac_try="$ac_compile"
 11114 case "(($ac_try" in
 11115   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11116   *) ac_try_echo=$ac_try;;
 11117 esac
 11118 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11119 $as_echo "$ac_try_echo") >&5
 11120   (eval "$ac_compile") 2>conftest.er1
 11121   ac_status=$?
 11122   grep -v '^ *+' conftest.er1 >conftest.err
 11123   rm -f conftest.er1
 11124   cat conftest.err >&5
 11125   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11126   (exit $ac_status); } && {
 11127 	 test -z "$ac_c_werror_flag" ||
 11128 	 test ! -s conftest.err
 11129        } && test -s conftest.$ac_objext; then
 11130   ac_header_compiler=yes
 11131 else
 11132   $as_echo "$as_me: failed program was:" >&5
 11133 sed 's/^/| /' conftest.$ac_ext >&5
 11135 	ac_header_compiler=no
 11136 fi
 11138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11139 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 11140 $as_echo "$ac_header_compiler" >&6; }
 11142 # Is the header present?
 11143 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 11144 $as_echo_n "checking libintl.h presence... " >&6; }
 11145 cat >conftest.$ac_ext <<_ACEOF
 11146 /* confdefs.h.  */
 11147 _ACEOF
 11148 cat confdefs.h >>conftest.$ac_ext
 11149 cat >>conftest.$ac_ext <<_ACEOF
 11150 /* end confdefs.h.  */
 11151 #include <libintl.h>
 11152 _ACEOF
 11153 if { (ac_try="$ac_cpp conftest.$ac_ext"
 11154 case "(($ac_try" in
 11155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11156   *) ac_try_echo=$ac_try;;
 11157 esac
 11158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11159 $as_echo "$ac_try_echo") >&5
 11160   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 11161   ac_status=$?
 11162   grep -v '^ *+' conftest.er1 >conftest.err
 11163   rm -f conftest.er1
 11164   cat conftest.err >&5
 11165   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11166   (exit $ac_status); } >/dev/null && {
 11167 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 11168 	 test ! -s conftest.err
 11169        }; then
 11170   ac_header_preproc=yes
 11171 else
 11172   $as_echo "$as_me: failed program was:" >&5
 11173 sed 's/^/| /' conftest.$ac_ext >&5
 11175   ac_header_preproc=no
 11176 fi
 11178 rm -f conftest.err conftest.$ac_ext
 11179 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 11180 $as_echo "$ac_header_preproc" >&6; }
 11182 # So?  What about this header?
 11183 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 11184   yes:no: )
 11185     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 11186 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 11187     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 11188 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 11189     ac_header_preproc=yes
 11190     ;;
 11191   no:yes:* )
 11192     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 11193 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 11194     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 11195 $as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 11196     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 11197 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 11198     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 11199 $as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 11200     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 11201 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 11202     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 11203 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 11205     ;;
 11206 esac
 11207 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 11208 $as_echo_n "checking for libintl.h... " >&6; }
 11209 if test "${ac_cv_header_libintl_h+set}" = set; then
 11210   $as_echo_n "(cached) " >&6
 11211 else
 11212   ac_cv_header_libintl_h=$ac_header_preproc
 11213 fi
 11214 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 11215 $as_echo "$ac_cv_header_libintl_h" >&6; }
 11217 fi
 11218 if test $ac_cv_header_libintl_h = yes; then
 11219   gt_cv_func_dgettext_libintl="no"
 11220       libintl_extra_libs=""
 11223       # First check in libc
 11225       { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 11226 $as_echo_n "checking for ngettext in libc... " >&6; }
 11227 if test "${gt_cv_func_ngettext_libc+set}" = set; then
 11228   $as_echo_n "(cached) " >&6
 11229 else
 11230   cat >conftest.$ac_ext <<_ACEOF
 11231 /* confdefs.h.  */
 11232 _ACEOF
 11233 cat confdefs.h >>conftest.$ac_ext
 11234 cat >>conftest.$ac_ext <<_ACEOF
 11235 /* end confdefs.h.  */
 11237 #include <libintl.h>
 11239 int
 11240 main ()
 11242 return !ngettext ("","", 1)
 11244   return 0;
 11246 _ACEOF
 11247 rm -f conftest.$ac_objext conftest$ac_exeext
 11248 if { (ac_try="$ac_link"
 11249 case "(($ac_try" in
 11250   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11251   *) ac_try_echo=$ac_try;;
 11252 esac
 11253 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11254 $as_echo "$ac_try_echo") >&5
 11255   (eval "$ac_link") 2>conftest.er1
 11256   ac_status=$?
 11257   grep -v '^ *+' conftest.er1 >conftest.err
 11258   rm -f conftest.er1
 11259   cat conftest.err >&5
 11260   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11261   (exit $ac_status); } && {
 11262 	 test -z "$ac_c_werror_flag" ||
 11263 	 test ! -s conftest.err
 11264        } && test -s conftest$ac_exeext && {
 11265 	 test "$cross_compiling" = yes ||
 11266 	 $as_test_x conftest$ac_exeext
 11267        }; then
 11268   gt_cv_func_ngettext_libc=yes
 11269 else
 11270   $as_echo "$as_me: failed program was:" >&5
 11271 sed 's/^/| /' conftest.$ac_ext >&5
 11273 	gt_cv_func_ngettext_libc=no
 11274 fi
 11276 rm -rf conftest.dSYM
 11277 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11278       conftest$ac_exeext conftest.$ac_ext
 11280 fi
 11281 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 11282 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
 11284       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 11285 	      { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 11286 $as_echo_n "checking for dgettext in libc... " >&6; }
 11287 if test "${gt_cv_func_dgettext_libc+set}" = set; then
 11288   $as_echo_n "(cached) " >&6
 11289 else
 11290   cat >conftest.$ac_ext <<_ACEOF
 11291 /* confdefs.h.  */
 11292 _ACEOF
 11293 cat confdefs.h >>conftest.$ac_ext
 11294 cat >>conftest.$ac_ext <<_ACEOF
 11295 /* end confdefs.h.  */
 11297 #include <libintl.h>
 11299 int
 11300 main ()
 11302 return !dgettext ("","")
 11304   return 0;
 11306 _ACEOF
 11307 rm -f conftest.$ac_objext conftest$ac_exeext
 11308 if { (ac_try="$ac_link"
 11309 case "(($ac_try" in
 11310   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11311   *) ac_try_echo=$ac_try;;
 11312 esac
 11313 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11314 $as_echo "$ac_try_echo") >&5
 11315   (eval "$ac_link") 2>conftest.er1
 11316   ac_status=$?
 11317   grep -v '^ *+' conftest.er1 >conftest.err
 11318   rm -f conftest.er1
 11319   cat conftest.err >&5
 11320   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11321   (exit $ac_status); } && {
 11322 	 test -z "$ac_c_werror_flag" ||
 11323 	 test ! -s conftest.err
 11324        } && test -s conftest$ac_exeext && {
 11325 	 test "$cross_compiling" = yes ||
 11326 	 $as_test_x conftest$ac_exeext
 11327        }; then
 11328   gt_cv_func_dgettext_libc=yes
 11329 else
 11330   $as_echo "$as_me: failed program was:" >&5
 11331 sed 's/^/| /' conftest.$ac_ext >&5
 11333 	gt_cv_func_dgettext_libc=no
 11334 fi
 11336 rm -rf conftest.dSYM
 11337 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11338       conftest$ac_exeext conftest.$ac_ext
 11340 fi
 11341 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 11342 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
 11343       fi
 11345       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 11347 for ac_func in bind_textdomain_codeset
 11348 do
 11349 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 11350 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 11351 $as_echo_n "checking for $ac_func... " >&6; }
 11352 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 11353   $as_echo_n "(cached) " >&6
 11354 else
 11355   cat >conftest.$ac_ext <<_ACEOF
 11356 /* confdefs.h.  */
 11357 _ACEOF
 11358 cat confdefs.h >>conftest.$ac_ext
 11359 cat >>conftest.$ac_ext <<_ACEOF
 11360 /* end confdefs.h.  */
 11361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 11362    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11363 #define $ac_func innocuous_$ac_func
 11365 /* System header to define __stub macros and hopefully few prototypes,
 11366     which can conflict with char $ac_func (); below.
 11367     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11368     <limits.h> exists even on freestanding compilers.  */
 11370 #ifdef __STDC__
 11371 # include <limits.h>
 11372 #else
 11373 # include <assert.h>
 11374 #endif
 11376 #undef $ac_func
 11378 /* Override any GCC internal prototype to avoid an error.
 11379    Use char because int might match the return type of a GCC
 11380    builtin and then its argument prototype would still apply.  */
 11381 #ifdef __cplusplus
 11382 extern "C"
 11383 #endif
 11384 char $ac_func ();
 11385 /* The GNU C library defines this for functions which it implements
 11386     to always fail with ENOSYS.  Some functions are actually named
 11387     something starting with __ and the normal name is an alias.  */
 11388 #if defined __stub_$ac_func || defined __stub___$ac_func
 11389 choke me
 11390 #endif
 11392 int
 11393 main ()
 11395 return $ac_func ();
 11397   return 0;
 11399 _ACEOF
 11400 rm -f conftest.$ac_objext conftest$ac_exeext
 11401 if { (ac_try="$ac_link"
 11402 case "(($ac_try" in
 11403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11404   *) ac_try_echo=$ac_try;;
 11405 esac
 11406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11407 $as_echo "$ac_try_echo") >&5
 11408   (eval "$ac_link") 2>conftest.er1
 11409   ac_status=$?
 11410   grep -v '^ *+' conftest.er1 >conftest.err
 11411   rm -f conftest.er1
 11412   cat conftest.err >&5
 11413   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11414   (exit $ac_status); } && {
 11415 	 test -z "$ac_c_werror_flag" ||
 11416 	 test ! -s conftest.err
 11417        } && test -s conftest$ac_exeext && {
 11418 	 test "$cross_compiling" = yes ||
 11419 	 $as_test_x conftest$ac_exeext
 11420        }; then
 11421   eval "$as_ac_var=yes"
 11422 else
 11423   $as_echo "$as_me: failed program was:" >&5
 11424 sed 's/^/| /' conftest.$ac_ext >&5
 11426 	eval "$as_ac_var=no"
 11427 fi
 11429 rm -rf conftest.dSYM
 11430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11431       conftest$ac_exeext conftest.$ac_ext
 11432 fi
 11433 ac_res=`eval 'as_val=${'$as_ac_var'}
 11434 		 $as_echo "$as_val"'`
 11435 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 11436 $as_echo "$ac_res" >&6; }
 11437 if test `eval 'as_val=${'$as_ac_var'}
 11438 		 $as_echo "$as_val"'` = yes; then
 11439   cat >>confdefs.h <<_ACEOF
 11440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 11441 _ACEOF
 11443 fi
 11444 done
 11446       fi
 11449       # If we don't have everything we want, check in libintl
 11451       if test "$gt_cv_func_dgettext_libc" != "yes" \
 11452 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
 11453          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 11455         { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 11456 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 11457 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 11458   $as_echo_n "(cached) " >&6
 11459 else
 11460   ac_check_lib_save_LIBS=$LIBS
 11461 LIBS="-lintl  $LIBS"
 11462 cat >conftest.$ac_ext <<_ACEOF
 11463 /* confdefs.h.  */
 11464 _ACEOF
 11465 cat confdefs.h >>conftest.$ac_ext
 11466 cat >>conftest.$ac_ext <<_ACEOF
 11467 /* end confdefs.h.  */
 11469 /* Override any GCC internal prototype to avoid an error.
 11470    Use char because int might match the return type of a GCC
 11471    builtin and then its argument prototype would still apply.  */
 11472 #ifdef __cplusplus
 11473 extern "C"
 11474 #endif
 11475 char bindtextdomain ();
 11476 int
 11477 main ()
 11479 return bindtextdomain ();
 11481   return 0;
 11483 _ACEOF
 11484 rm -f conftest.$ac_objext conftest$ac_exeext
 11485 if { (ac_try="$ac_link"
 11486 case "(($ac_try" in
 11487   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11488   *) ac_try_echo=$ac_try;;
 11489 esac
 11490 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11491 $as_echo "$ac_try_echo") >&5
 11492   (eval "$ac_link") 2>conftest.er1
 11493   ac_status=$?
 11494   grep -v '^ *+' conftest.er1 >conftest.err
 11495   rm -f conftest.er1
 11496   cat conftest.err >&5
 11497   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11498   (exit $ac_status); } && {
 11499 	 test -z "$ac_c_werror_flag" ||
 11500 	 test ! -s conftest.err
 11501        } && test -s conftest$ac_exeext && {
 11502 	 test "$cross_compiling" = yes ||
 11503 	 $as_test_x conftest$ac_exeext
 11504        }; then
 11505   ac_cv_lib_intl_bindtextdomain=yes
 11506 else
 11507   $as_echo "$as_me: failed program was:" >&5
 11508 sed 's/^/| /' conftest.$ac_ext >&5
 11510 	ac_cv_lib_intl_bindtextdomain=no
 11511 fi
 11513 rm -rf conftest.dSYM
 11514 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11515       conftest$ac_exeext conftest.$ac_ext
 11516 LIBS=$ac_check_lib_save_LIBS
 11517 fi
 11518 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 11519 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 11520 if test $ac_cv_lib_intl_bindtextdomain = yes; then
 11521   { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 11522 $as_echo_n "checking for ngettext in -lintl... " >&6; }
 11523 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 11524   $as_echo_n "(cached) " >&6
 11525 else
 11526   ac_check_lib_save_LIBS=$LIBS
 11527 LIBS="-lintl  $LIBS"
 11528 cat >conftest.$ac_ext <<_ACEOF
 11529 /* confdefs.h.  */
 11530 _ACEOF
 11531 cat confdefs.h >>conftest.$ac_ext
 11532 cat >>conftest.$ac_ext <<_ACEOF
 11533 /* end confdefs.h.  */
 11535 /* Override any GCC internal prototype to avoid an error.
 11536    Use char because int might match the return type of a GCC
 11537    builtin and then its argument prototype would still apply.  */
 11538 #ifdef __cplusplus
 11539 extern "C"
 11540 #endif
 11541 char ngettext ();
 11542 int
 11543 main ()
 11545 return ngettext ();
 11547   return 0;
 11549 _ACEOF
 11550 rm -f conftest.$ac_objext conftest$ac_exeext
 11551 if { (ac_try="$ac_link"
 11552 case "(($ac_try" in
 11553   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11554   *) ac_try_echo=$ac_try;;
 11555 esac
 11556 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11557 $as_echo "$ac_try_echo") >&5
 11558   (eval "$ac_link") 2>conftest.er1
 11559   ac_status=$?
 11560   grep -v '^ *+' conftest.er1 >conftest.err
 11561   rm -f conftest.er1
 11562   cat conftest.err >&5
 11563   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11564   (exit $ac_status); } && {
 11565 	 test -z "$ac_c_werror_flag" ||
 11566 	 test ! -s conftest.err
 11567        } && test -s conftest$ac_exeext && {
 11568 	 test "$cross_compiling" = yes ||
 11569 	 $as_test_x conftest$ac_exeext
 11570        }; then
 11571   ac_cv_lib_intl_ngettext=yes
 11572 else
 11573   $as_echo "$as_me: failed program was:" >&5
 11574 sed 's/^/| /' conftest.$ac_ext >&5
 11576 	ac_cv_lib_intl_ngettext=no
 11577 fi
 11579 rm -rf conftest.dSYM
 11580 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11581       conftest$ac_exeext conftest.$ac_ext
 11582 LIBS=$ac_check_lib_save_LIBS
 11583 fi
 11584 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 11585 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 11586 if test $ac_cv_lib_intl_ngettext = yes; then
 11587   { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 11588 $as_echo_n "checking for dgettext in -lintl... " >&6; }
 11589 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 11590   $as_echo_n "(cached) " >&6
 11591 else
 11592   ac_check_lib_save_LIBS=$LIBS
 11593 LIBS="-lintl  $LIBS"
 11594 cat >conftest.$ac_ext <<_ACEOF
 11595 /* confdefs.h.  */
 11596 _ACEOF
 11597 cat confdefs.h >>conftest.$ac_ext
 11598 cat >>conftest.$ac_ext <<_ACEOF
 11599 /* end confdefs.h.  */
 11601 /* Override any GCC internal prototype to avoid an error.
 11602    Use char because int might match the return type of a GCC
 11603    builtin and then its argument prototype would still apply.  */
 11604 #ifdef __cplusplus
 11605 extern "C"
 11606 #endif
 11607 char dgettext ();
 11608 int
 11609 main ()
 11611 return dgettext ();
 11613   return 0;
 11615 _ACEOF
 11616 rm -f conftest.$ac_objext conftest$ac_exeext
 11617 if { (ac_try="$ac_link"
 11618 case "(($ac_try" in
 11619   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11620   *) ac_try_echo=$ac_try;;
 11621 esac
 11622 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11623 $as_echo "$ac_try_echo") >&5
 11624   (eval "$ac_link") 2>conftest.er1
 11625   ac_status=$?
 11626   grep -v '^ *+' conftest.er1 >conftest.err
 11627   rm -f conftest.er1
 11628   cat conftest.err >&5
 11629   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11630   (exit $ac_status); } && {
 11631 	 test -z "$ac_c_werror_flag" ||
 11632 	 test ! -s conftest.err
 11633        } && test -s conftest$ac_exeext && {
 11634 	 test "$cross_compiling" = yes ||
 11635 	 $as_test_x conftest$ac_exeext
 11636        }; then
 11637   ac_cv_lib_intl_dgettext=yes
 11638 else
 11639   $as_echo "$as_me: failed program was:" >&5
 11640 sed 's/^/| /' conftest.$ac_ext >&5
 11642 	ac_cv_lib_intl_dgettext=no
 11643 fi
 11645 rm -rf conftest.dSYM
 11646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11647       conftest$ac_exeext conftest.$ac_ext
 11648 LIBS=$ac_check_lib_save_LIBS
 11649 fi
 11650 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 11651 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 11652 if test $ac_cv_lib_intl_dgettext = yes; then
 11653   gt_cv_func_dgettext_libintl=yes
 11654 fi
 11656 fi
 11658 fi
 11661 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 11662 	  { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 11663 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 11664 	  { $as_echo "$as_me:$LINENO: result: " >&5
 11665 $as_echo "" >&6; }
 11666   	  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 11667 $as_echo_n "checking for ngettext in -lintl... " >&6; }
 11668 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 11669   $as_echo_n "(cached) " >&6
 11670 else
 11671   ac_check_lib_save_LIBS=$LIBS
 11672 LIBS="-lintl -liconv $LIBS"
 11673 cat >conftest.$ac_ext <<_ACEOF
 11674 /* confdefs.h.  */
 11675 _ACEOF
 11676 cat confdefs.h >>conftest.$ac_ext
 11677 cat >>conftest.$ac_ext <<_ACEOF
 11678 /* end confdefs.h.  */
 11680 /* Override any GCC internal prototype to avoid an error.
 11681    Use char because int might match the return type of a GCC
 11682    builtin and then its argument prototype would still apply.  */
 11683 #ifdef __cplusplus
 11684 extern "C"
 11685 #endif
 11686 char ngettext ();
 11687 int
 11688 main ()
 11690 return ngettext ();
 11692   return 0;
 11694 _ACEOF
 11695 rm -f conftest.$ac_objext conftest$ac_exeext
 11696 if { (ac_try="$ac_link"
 11697 case "(($ac_try" in
 11698   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11699   *) ac_try_echo=$ac_try;;
 11700 esac
 11701 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11702 $as_echo "$ac_try_echo") >&5
 11703   (eval "$ac_link") 2>conftest.er1
 11704   ac_status=$?
 11705   grep -v '^ *+' conftest.er1 >conftest.err
 11706   rm -f conftest.er1
 11707   cat conftest.err >&5
 11708   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11709   (exit $ac_status); } && {
 11710 	 test -z "$ac_c_werror_flag" ||
 11711 	 test ! -s conftest.err
 11712        } && test -s conftest$ac_exeext && {
 11713 	 test "$cross_compiling" = yes ||
 11714 	 $as_test_x conftest$ac_exeext
 11715        }; then
 11716   ac_cv_lib_intl_ngettext=yes
 11717 else
 11718   $as_echo "$as_me: failed program was:" >&5
 11719 sed 's/^/| /' conftest.$ac_ext >&5
 11721 	ac_cv_lib_intl_ngettext=no
 11722 fi
 11724 rm -rf conftest.dSYM
 11725 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11726       conftest$ac_exeext conftest.$ac_ext
 11727 LIBS=$ac_check_lib_save_LIBS
 11728 fi
 11729 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 11730 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 11731 if test $ac_cv_lib_intl_ngettext = yes; then
 11732   { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 11733 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
 11734 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 11735   $as_echo_n "(cached) " >&6
 11736 else
 11737   ac_check_lib_save_LIBS=$LIBS
 11738 LIBS="-lintl -liconv $LIBS"
 11739 cat >conftest.$ac_ext <<_ACEOF
 11740 /* confdefs.h.  */
 11741 _ACEOF
 11742 cat confdefs.h >>conftest.$ac_ext
 11743 cat >>conftest.$ac_ext <<_ACEOF
 11744 /* end confdefs.h.  */
 11746 /* Override any GCC internal prototype to avoid an error.
 11747    Use char because int might match the return type of a GCC
 11748    builtin and then its argument prototype would still apply.  */
 11749 #ifdef __cplusplus
 11750 extern "C"
 11751 #endif
 11752 char dcgettext ();
 11753 int
 11754 main ()
 11756 return dcgettext ();
 11758   return 0;
 11760 _ACEOF
 11761 rm -f conftest.$ac_objext conftest$ac_exeext
 11762 if { (ac_try="$ac_link"
 11763 case "(($ac_try" in
 11764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11765   *) ac_try_echo=$ac_try;;
 11766 esac
 11767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11768 $as_echo "$ac_try_echo") >&5
 11769   (eval "$ac_link") 2>conftest.er1
 11770   ac_status=$?
 11771   grep -v '^ *+' conftest.er1 >conftest.err
 11772   rm -f conftest.er1
 11773   cat conftest.err >&5
 11774   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11775   (exit $ac_status); } && {
 11776 	 test -z "$ac_c_werror_flag" ||
 11777 	 test ! -s conftest.err
 11778        } && test -s conftest$ac_exeext && {
 11779 	 test "$cross_compiling" = yes ||
 11780 	 $as_test_x conftest$ac_exeext
 11781        }; then
 11782   ac_cv_lib_intl_dcgettext=yes
 11783 else
 11784   $as_echo "$as_me: failed program was:" >&5
 11785 sed 's/^/| /' conftest.$ac_ext >&5
 11787 	ac_cv_lib_intl_dcgettext=no
 11788 fi
 11790 rm -rf conftest.dSYM
 11791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11792       conftest$ac_exeext conftest.$ac_ext
 11793 LIBS=$ac_check_lib_save_LIBS
 11794 fi
 11795 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 11796 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 11797 if test $ac_cv_lib_intl_dcgettext = yes; then
 11798   gt_cv_func_dgettext_libintl=yes
 11799 			libintl_extra_libs=-liconv
 11800 else
 11802 fi
 11804 else
 11806 fi
 11808         fi
 11811         # If we found libintl, then check in it for bind_textdomain_codeset();
 11812         # we'll prefer libc if neither have bind_textdomain_codeset(),
 11813         # and both have dgettext and ngettext
 11815         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 11816           glib_save_LIBS="$LIBS"
 11817           LIBS="$LIBS -lintl $libintl_extra_libs"
 11818           unset ac_cv_func_bind_textdomain_codeset
 11820 for ac_func in bind_textdomain_codeset
 11821 do
 11822 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 11823 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 11824 $as_echo_n "checking for $ac_func... " >&6; }
 11825 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 11826   $as_echo_n "(cached) " >&6
 11827 else
 11828   cat >conftest.$ac_ext <<_ACEOF
 11829 /* confdefs.h.  */
 11830 _ACEOF
 11831 cat confdefs.h >>conftest.$ac_ext
 11832 cat >>conftest.$ac_ext <<_ACEOF
 11833 /* end confdefs.h.  */
 11834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 11835    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11836 #define $ac_func innocuous_$ac_func
 11838 /* System header to define __stub macros and hopefully few prototypes,
 11839     which can conflict with char $ac_func (); below.
 11840     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11841     <limits.h> exists even on freestanding compilers.  */
 11843 #ifdef __STDC__
 11844 # include <limits.h>
 11845 #else
 11846 # include <assert.h>
 11847 #endif
 11849 #undef $ac_func
 11851 /* Override any GCC internal prototype to avoid an error.
 11852    Use char because int might match the return type of a GCC
 11853    builtin and then its argument prototype would still apply.  */
 11854 #ifdef __cplusplus
 11855 extern "C"
 11856 #endif
 11857 char $ac_func ();
 11858 /* The GNU C library defines this for functions which it implements
 11859     to always fail with ENOSYS.  Some functions are actually named
 11860     something starting with __ and the normal name is an alias.  */
 11861 #if defined __stub_$ac_func || defined __stub___$ac_func
 11862 choke me
 11863 #endif
 11865 int
 11866 main ()
 11868 return $ac_func ();
 11870   return 0;
 11872 _ACEOF
 11873 rm -f conftest.$ac_objext conftest$ac_exeext
 11874 if { (ac_try="$ac_link"
 11875 case "(($ac_try" in
 11876   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11877   *) ac_try_echo=$ac_try;;
 11878 esac
 11879 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11880 $as_echo "$ac_try_echo") >&5
 11881   (eval "$ac_link") 2>conftest.er1
 11882   ac_status=$?
 11883   grep -v '^ *+' conftest.er1 >conftest.err
 11884   rm -f conftest.er1
 11885   cat conftest.err >&5
 11886   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11887   (exit $ac_status); } && {
 11888 	 test -z "$ac_c_werror_flag" ||
 11889 	 test ! -s conftest.err
 11890        } && test -s conftest$ac_exeext && {
 11891 	 test "$cross_compiling" = yes ||
 11892 	 $as_test_x conftest$ac_exeext
 11893        }; then
 11894   eval "$as_ac_var=yes"
 11895 else
 11896   $as_echo "$as_me: failed program was:" >&5
 11897 sed 's/^/| /' conftest.$ac_ext >&5
 11899 	eval "$as_ac_var=no"
 11900 fi
 11902 rm -rf conftest.dSYM
 11903 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11904       conftest$ac_exeext conftest.$ac_ext
 11905 fi
 11906 ac_res=`eval 'as_val=${'$as_ac_var'}
 11907 		 $as_echo "$as_val"'`
 11908 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 11909 $as_echo "$ac_res" >&6; }
 11910 if test `eval 'as_val=${'$as_ac_var'}
 11911 		 $as_echo "$as_val"'` = yes; then
 11912   cat >>confdefs.h <<_ACEOF
 11913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 11914 _ACEOF
 11916 fi
 11917 done
 11919           LIBS="$glib_save_LIBS"
 11921           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 11922             gt_cv_func_dgettext_libc=no
 11923           else
 11924             if test "$gt_cv_func_dgettext_libc" = "yes" \
 11925 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
 11926               gt_cv_func_dgettext_libintl=no
 11927             fi
 11928           fi
 11929         fi
 11930       fi
 11932       if test "$gt_cv_func_dgettext_libc" = "yes" \
 11933 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
 11934         gt_cv_have_gettext=yes
 11935       fi
 11937       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 11938         INTLLIBS="-lintl $libintl_extra_libs"
 11939       fi
 11941       if test "$gt_cv_have_gettext" = "yes"; then
 11943 cat >>confdefs.h <<\_ACEOF
 11944 #define HAVE_GETTEXT 1
 11945 _ACEOF
 11947 	# Extract the first word of "msgfmt", so it can be a program name with args.
 11948 set dummy msgfmt; ac_word=$2
 11949 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 11950 $as_echo_n "checking for $ac_word... " >&6; }
 11951 if test "${ac_cv_path_MSGFMT+set}" = set; then
 11952   $as_echo_n "(cached) " >&6
 11953 else
 11954   case "$MSGFMT" in
 11955   /*)
 11956   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 11957   ;;
 11958   *)
 11959   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 11960   for ac_dir in $PATH; do
 11961     test -z "$ac_dir" && ac_dir=.
 11962     if test -f $ac_dir/$ac_word; then
 11963       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 11964 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 11965 	break
 11966       fi
 11967     fi
 11968   done
 11969   IFS="$ac_save_ifs"
 11970   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 11971   ;;
 11972 esac
 11973 fi
 11974 MSGFMT="$ac_cv_path_MSGFMT"
 11975 if test "$MSGFMT" != "no"; then
 11976   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 11977 $as_echo "$MSGFMT" >&6; }
 11978 else
 11979   { $as_echo "$as_me:$LINENO: result: no" >&5
 11980 $as_echo "no" >&6; }
 11981 fi
 11982 	if test "$MSGFMT" != "no"; then
 11983           glib_save_LIBS="$LIBS"
 11984           LIBS="$LIBS $INTLLIBS"
 11986 for ac_func in dcgettext
 11987 do
 11988 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 11989 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 11990 $as_echo_n "checking for $ac_func... " >&6; }
 11991 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 11992   $as_echo_n "(cached) " >&6
 11993 else
 11994   cat >conftest.$ac_ext <<_ACEOF
 11995 /* confdefs.h.  */
 11996 _ACEOF
 11997 cat confdefs.h >>conftest.$ac_ext
 11998 cat >>conftest.$ac_ext <<_ACEOF
 11999 /* end confdefs.h.  */
 12000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 12001    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12002 #define $ac_func innocuous_$ac_func
 12004 /* System header to define __stub macros and hopefully few prototypes,
 12005     which can conflict with char $ac_func (); below.
 12006     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12007     <limits.h> exists even on freestanding compilers.  */
 12009 #ifdef __STDC__
 12010 # include <limits.h>
 12011 #else
 12012 # include <assert.h>
 12013 #endif
 12015 #undef $ac_func
 12017 /* Override any GCC internal prototype to avoid an error.
 12018    Use char because int might match the return type of a GCC
 12019    builtin and then its argument prototype would still apply.  */
 12020 #ifdef __cplusplus
 12021 extern "C"
 12022 #endif
 12023 char $ac_func ();
 12024 /* The GNU C library defines this for functions which it implements
 12025     to always fail with ENOSYS.  Some functions are actually named
 12026     something starting with __ and the normal name is an alias.  */
 12027 #if defined __stub_$ac_func || defined __stub___$ac_func
 12028 choke me
 12029 #endif
 12031 int
 12032 main ()
 12034 return $ac_func ();
 12036   return 0;
 12038 _ACEOF
 12039 rm -f conftest.$ac_objext conftest$ac_exeext
 12040 if { (ac_try="$ac_link"
 12041 case "(($ac_try" in
 12042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12043   *) ac_try_echo=$ac_try;;
 12044 esac
 12045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12046 $as_echo "$ac_try_echo") >&5
 12047   (eval "$ac_link") 2>conftest.er1
 12048   ac_status=$?
 12049   grep -v '^ *+' conftest.er1 >conftest.err
 12050   rm -f conftest.er1
 12051   cat conftest.err >&5
 12052   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12053   (exit $ac_status); } && {
 12054 	 test -z "$ac_c_werror_flag" ||
 12055 	 test ! -s conftest.err
 12056        } && test -s conftest$ac_exeext && {
 12057 	 test "$cross_compiling" = yes ||
 12058 	 $as_test_x conftest$ac_exeext
 12059        }; then
 12060   eval "$as_ac_var=yes"
 12061 else
 12062   $as_echo "$as_me: failed program was:" >&5
 12063 sed 's/^/| /' conftest.$ac_ext >&5
 12065 	eval "$as_ac_var=no"
 12066 fi
 12068 rm -rf conftest.dSYM
 12069 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12070       conftest$ac_exeext conftest.$ac_ext
 12071 fi
 12072 ac_res=`eval 'as_val=${'$as_ac_var'}
 12073 		 $as_echo "$as_val"'`
 12074 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 12075 $as_echo "$ac_res" >&6; }
 12076 if test `eval 'as_val=${'$as_ac_var'}
 12077 		 $as_echo "$as_val"'` = yes; then
 12078   cat >>confdefs.h <<_ACEOF
 12079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 12080 _ACEOF
 12082 fi
 12083 done
 12085 	  MSGFMT_OPTS=
 12086 	  { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 12087 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
 12088 	  cat >conftest.foo <<_ACEOF
 12090 msgid ""
 12091 msgstr ""
 12092 "Content-Type: text/plain; charset=UTF-8\n"
 12093 "Project-Id-Version: test 1.0\n"
 12094 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
 12095 "Last-Translator: test <foo@bar.xx>\n"
 12096 "Language-Team: C <LL@li.org>\n"
 12097 "MIME-Version: 1.0\n"
 12098 "Content-Transfer-Encoding: 8bit\n"
 12100 _ACEOF
 12101 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 12102   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 12103   ac_status=$?
 12104   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12105   (exit $ac_status); }; then
 12106   MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 12107 $as_echo "yes" >&6; }
 12108 else { $as_echo "$as_me:$LINENO: result: no" >&5
 12109 $as_echo "no" >&6; }
 12110 echo "$as_me: failed input was:" >&5
 12111 sed 's/^/| /' conftest.foo >&5
 12112 fi
 12114 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 12115 set dummy gmsgfmt; ac_word=$2
 12116 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 12117 $as_echo_n "checking for $ac_word... " >&6; }
 12118 if test "${ac_cv_path_GMSGFMT+set}" = set; then
 12119   $as_echo_n "(cached) " >&6
 12120 else
 12121   case $GMSGFMT in
 12122   [\\/]* | ?:[\\/]*)
 12123   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 12124   ;;
 12125   *)
 12126   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 12127 for as_dir in $PATH
 12128 do
 12129   IFS=$as_save_IFS
 12130   test -z "$as_dir" && as_dir=.
 12131   for ac_exec_ext in '' $ac_executable_extensions; do
 12132   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 12133     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 12134     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 12135     break 2
 12136   fi
 12137 done
 12138 done
 12139 IFS=$as_save_IFS
 12141   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 12142   ;;
 12143 esac
 12144 fi
 12145 GMSGFMT=$ac_cv_path_GMSGFMT
 12146 if test -n "$GMSGFMT"; then
 12147   { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 12148 $as_echo "$GMSGFMT" >&6; }
 12149 else
 12150   { $as_echo "$as_me:$LINENO: result: no" >&5
 12151 $as_echo "no" >&6; }
 12152 fi
 12155 	  # Extract the first word of "xgettext", so it can be a program name with args.
 12156 set dummy xgettext; ac_word=$2
 12157 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 12158 $as_echo_n "checking for $ac_word... " >&6; }
 12159 if test "${ac_cv_path_XGETTEXT+set}" = set; then
 12160   $as_echo_n "(cached) " >&6
 12161 else
 12162   case "$XGETTEXT" in
 12163   /*)
 12164   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 12165   ;;
 12166   *)
 12167   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 12168   for ac_dir in $PATH; do
 12169     test -z "$ac_dir" && ac_dir=.
 12170     if test -f $ac_dir/$ac_word; then
 12171       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 12172 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 12173 	break
 12174       fi
 12175     fi
 12176   done
 12177   IFS="$ac_save_ifs"
 12178   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 12179   ;;
 12180 esac
 12181 fi
 12182 XGETTEXT="$ac_cv_path_XGETTEXT"
 12183 if test "$XGETTEXT" != ":"; then
 12184   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 12185 $as_echo "$XGETTEXT" >&6; }
 12186 else
 12187   { $as_echo "$as_me:$LINENO: result: no" >&5
 12188 $as_echo "no" >&6; }
 12189 fi
 12191 	  cat >conftest.$ac_ext <<_ACEOF
 12192 /* confdefs.h.  */
 12193 _ACEOF
 12194 cat confdefs.h >>conftest.$ac_ext
 12195 cat >>conftest.$ac_ext <<_ACEOF
 12196 /* end confdefs.h.  */
 12198 int
 12199 main ()
 12201 extern int _nl_msg_cat_cntr;
 12202 			 return _nl_msg_cat_cntr
 12204   return 0;
 12206 _ACEOF
 12207 rm -f conftest.$ac_objext conftest$ac_exeext
 12208 if { (ac_try="$ac_link"
 12209 case "(($ac_try" in
 12210   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12211   *) ac_try_echo=$ac_try;;
 12212 esac
 12213 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12214 $as_echo "$ac_try_echo") >&5
 12215   (eval "$ac_link") 2>conftest.er1
 12216   ac_status=$?
 12217   grep -v '^ *+' conftest.er1 >conftest.err
 12218   rm -f conftest.er1
 12219   cat conftest.err >&5
 12220   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12221   (exit $ac_status); } && {
 12222 	 test -z "$ac_c_werror_flag" ||
 12223 	 test ! -s conftest.err
 12224        } && test -s conftest$ac_exeext && {
 12225 	 test "$cross_compiling" = yes ||
 12226 	 $as_test_x conftest$ac_exeext
 12227        }; then
 12228   CATOBJEXT=.gmo
 12229              DATADIRNAME=share
 12230 else
 12231   $as_echo "$as_me: failed program was:" >&5
 12232 sed 's/^/| /' conftest.$ac_ext >&5
 12234 	case $host in
 12235 	    *-*-solaris*)
 12236 	    	                	    	                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 12237 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
 12238 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 12239   $as_echo_n "(cached) " >&6
 12240 else
 12241   cat >conftest.$ac_ext <<_ACEOF
 12242 /* confdefs.h.  */
 12243 _ACEOF
 12244 cat confdefs.h >>conftest.$ac_ext
 12245 cat >>conftest.$ac_ext <<_ACEOF
 12246 /* end confdefs.h.  */
 12247 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 12248    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12249 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 12251 /* System header to define __stub macros and hopefully few prototypes,
 12252     which can conflict with char bind_textdomain_codeset (); below.
 12253     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12254     <limits.h> exists even on freestanding compilers.  */
 12256 #ifdef __STDC__
 12257 # include <limits.h>
 12258 #else
 12259 # include <assert.h>
 12260 #endif
 12262 #undef bind_textdomain_codeset
 12264 /* Override any GCC internal prototype to avoid an error.
 12265    Use char because int might match the return type of a GCC
 12266    builtin and then its argument prototype would still apply.  */
 12267 #ifdef __cplusplus
 12268 extern "C"
 12269 #endif
 12270 char bind_textdomain_codeset ();
 12271 /* The GNU C library defines this for functions which it implements
 12272     to always fail with ENOSYS.  Some functions are actually named
 12273     something starting with __ and the normal name is an alias.  */
 12274 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 12275 choke me
 12276 #endif
 12278 int
 12279 main ()
 12281 return bind_textdomain_codeset ();
 12283   return 0;
 12285 _ACEOF
 12286 rm -f conftest.$ac_objext conftest$ac_exeext
 12287 if { (ac_try="$ac_link"
 12288 case "(($ac_try" in
 12289   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12290   *) ac_try_echo=$ac_try;;
 12291 esac
 12292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12293 $as_echo "$ac_try_echo") >&5
 12294   (eval "$ac_link") 2>conftest.er1
 12295   ac_status=$?
 12296   grep -v '^ *+' conftest.er1 >conftest.err
 12297   rm -f conftest.er1
 12298   cat conftest.err >&5
 12299   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12300   (exit $ac_status); } && {
 12301 	 test -z "$ac_c_werror_flag" ||
 12302 	 test ! -s conftest.err
 12303        } && test -s conftest$ac_exeext && {
 12304 	 test "$cross_compiling" = yes ||
 12305 	 $as_test_x conftest$ac_exeext
 12306        }; then
 12307   ac_cv_func_bind_textdomain_codeset=yes
 12308 else
 12309   $as_echo "$as_me: failed program was:" >&5
 12310 sed 's/^/| /' conftest.$ac_ext >&5
 12312 	ac_cv_func_bind_textdomain_codeset=no
 12313 fi
 12315 rm -rf conftest.dSYM
 12316 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12317       conftest$ac_exeext conftest.$ac_ext
 12318 fi
 12319 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 12320 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 12321 if test $ac_cv_func_bind_textdomain_codeset = yes; then
 12322   CATOBJEXT=.gmo
 12323                DATADIRNAME=share
 12324 else
 12325   CATOBJEXT=.mo
 12326                DATADIRNAME=lib
 12327 fi
 12329 	    ;;
 12330 	    *)
 12331 	    CATOBJEXT=.mo
 12332             DATADIRNAME=lib
 12333 	    ;;
 12334 	    esac
 12335 fi
 12337 rm -rf conftest.dSYM
 12338 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12339       conftest$ac_exeext conftest.$ac_ext
 12340           LIBS="$glib_save_LIBS"
 12341 	  INSTOBJEXT=.mo
 12342 	else
 12343 	  gt_cv_have_gettext=no
 12344 	fi
 12345       fi
 12347 fi
 12351     if test "$gt_cv_have_gettext" = "yes" ; then
 12353 cat >>confdefs.h <<\_ACEOF
 12354 #define ENABLE_NLS 1
 12355 _ACEOF
 12357     fi
 12359         if test "$XGETTEXT" != ":"; then
 12360                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 12361         : ;
 12362       else
 12363         { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 12364 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 12365         XGETTEXT=":"
 12366       fi
 12367     fi
 12369     # We need to process the po/ directory.
 12370     POSUB=po
 12372     ac_config_commands="$ac_config_commands default-1"
 12375                 for lang in $ALL_LINGUAS; do
 12376       GMOFILES="$GMOFILES $lang.gmo"
 12377       POFILES="$POFILES $lang.po"
 12378     done
 12392    if test "$gt_cv_have_gettext" = "yes"; then
 12393      if test "x$ALL_LINGUAS" = "x"; then
 12394        LINGUAS=
 12395      else
 12396        { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 12397 $as_echo_n "checking for catalogs to be installed... " >&6; }
 12398        NEW_LINGUAS=
 12399        for presentlang in $ALL_LINGUAS; do
 12400          useit=no
 12401          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 12402            desiredlanguages="$LINGUAS"
 12403          else
 12404            desiredlanguages="$ALL_LINGUAS"
 12405          fi
 12406          for desiredlang in $desiredlanguages; do
 12407  	   # Use the presentlang catalog if desiredlang is
 12408            #   a. equal to presentlang, or
 12409            #   b. a variant of presentlang (because in this case,
 12410            #      presentlang can be used as a fallback for messages
 12411            #      which are not translated in the desiredlang catalog).
 12412            case "$desiredlang" in
 12413              "$presentlang"*) useit=yes;;
 12414            esac
 12415          done
 12416          if test $useit = yes; then
 12417            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 12418          fi
 12419        done
 12420        LINGUAS=$NEW_LINGUAS
 12421        { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 12422 $as_echo "$LINGUAS" >&6; }
 12423      fi
 12425           if test -n "$LINGUAS"; then
 12426        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 12427      fi
 12428    fi
 12430             MKINSTALLDIRS=
 12431    if test -n "$ac_aux_dir"; then
 12432      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 12433    fi
 12434    if test -z "$MKINSTALLDIRS"; then
 12435      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 12436    fi
 12439          test -d po || mkdir po
 12440    if test "x$srcdir" != "x."; then
 12441      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 12442        posrcprefix="$srcdir/"
 12443      else
 12444        posrcprefix="../$srcdir/"
 12445      fi
 12446    else
 12447      posrcprefix="../"
 12448    fi
 12449    rm -f po/POTFILES
 12450    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 12451 	< $srcdir/po/POTFILES.in > po/POTFILES
 12454 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile Info.plist"
 12456 cat >confcache <<\_ACEOF
 12457 # This file is a shell script that caches the results of configure
 12458 # tests run on this system so they can be shared between configure
 12459 # scripts and configure runs, see configure's option --config-cache.
 12460 # It is not useful on other systems.  If it contains results you don't
 12461 # want to keep, you may remove or edit it.
 12463 # config.status only pays attention to the cache file if you give it
 12464 # the --recheck option to rerun configure.
 12466 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 12467 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 12468 # following values.
 12470 _ACEOF
 12472 # The following way of writing the cache mishandles newlines in values,
 12473 # but we know of no workaround that is simple, portable, and efficient.
 12474 # So, we kill variables containing newlines.
 12475 # Ultrix sh set writes to stderr and can't be redirected directly,
 12476 # and sets the high bit in the cache file unless we assign to the vars.
 12478   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 12479     eval ac_val=\$$ac_var
 12480     case $ac_val in #(
 12481     *${as_nl}*)
 12482       case $ac_var in #(
 12483       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 12484 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 12485       esac
 12486       case $ac_var in #(
 12487       _ | IFS | as_nl) ;; #(
 12488       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 12489       *) $as_unset $ac_var ;;
 12490       esac ;;
 12491     esac
 12492   done
 12494   (set) 2>&1 |
 12495     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 12496     *${as_nl}ac_space=\ *)
 12497       # `set' does not quote correctly, so add quotes (double-quote
 12498       # substitution turns \\\\ into \\, and sed turns \\ into \).
 12499       sed -n \
 12500 	"s/'/'\\\\''/g;
 12501 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 12502       ;; #(
 12503     *)
 12504       # `set' quotes correctly as required by POSIX, so do not add quotes.
 12505       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 12506       ;;
 12507     esac |
 12508     sort
 12509 ) |
 12510   sed '
 12511      /^ac_cv_env_/b end
 12512      t clear
 12513      :clear
 12514      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 12515      t end
 12516      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 12517      :end' >>confcache
 12518 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 12519   if test -w "$cache_file"; then
 12520     test "x$cache_file" != "x/dev/null" &&
 12521       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 12522 $as_echo "$as_me: updating cache $cache_file" >&6;}
 12523     cat confcache >$cache_file
 12524   else
 12525     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 12526 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 12527   fi
 12528 fi
 12529 rm -f confcache
 12531 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 12532 # Let make expand exec_prefix.
 12533 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 12535 DEFS=-DHAVE_CONFIG_H
 12537 ac_libobjs=
 12538 ac_ltlibobjs=
 12539 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 12540   # 1. Remove the extension, and $U if already installed.
 12541   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 12542   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 12543   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 12544   #    will be set to the directory where LIBOBJS objects are built.
 12545   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 12546   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 12547 done
 12548 LIBOBJS=$ac_libobjs
 12550 LTLIBOBJS=$ac_ltlibobjs
 12553 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 12554   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 12555 Usually this means the macro was only invoked conditionally." >&5
 12556 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
 12557 Usually this means the macro was only invoked conditionally." >&2;}
 12558    { (exit 1); exit 1; }; }
 12559 fi
 12560 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 12561   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 12562 Usually this means the macro was only invoked conditionally." >&5
 12563 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
 12564 Usually this means the macro was only invoked conditionally." >&2;}
 12565    { (exit 1); exit 1; }; }
 12566 fi
 12567 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 12568   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 12569 Usually this means the macro was only invoked conditionally." >&5
 12570 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 12571 Usually this means the macro was only invoked conditionally." >&2;}
 12572    { (exit 1); exit 1; }; }
 12573 fi
 12574 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 12575   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 12576 Usually this means the macro was only invoked conditionally." >&5
 12577 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 12578 Usually this means the macro was only invoked conditionally." >&2;}
 12579    { (exit 1); exit 1; }; }
 12580 fi
 12581 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 12582   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 12583 Usually this means the macro was only invoked conditionally." >&5
 12584 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 12585 Usually this means the macro was only invoked conditionally." >&2;}
 12586    { (exit 1); exit 1; }; }
 12587 fi
 12588 if test -z "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
 12589   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
 12590 Usually this means the macro was only invoked conditionally." >&5
 12591 $as_echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
 12592 Usually this means the macro was only invoked conditionally." >&2;}
 12593    { (exit 1); exit 1; }; }
 12594 fi
 12595 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
 12596   { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
 12597 Usually this means the macro was only invoked conditionally." >&5
 12598 $as_echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
 12599 Usually this means the macro was only invoked conditionally." >&2;}
 12600    { (exit 1); exit 1; }; }
 12601 fi
 12602 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
 12603   { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
 12604 Usually this means the macro was only invoked conditionally." >&5
 12605 $as_echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
 12606 Usually this means the macro was only invoked conditionally." >&2;}
 12607    { (exit 1); exit 1; }; }
 12608 fi
 12609 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
 12610   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
 12611 Usually this means the macro was only invoked conditionally." >&5
 12612 $as_echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
 12613 Usually this means the macro was only invoked conditionally." >&2;}
 12614    { (exit 1); exit 1; }; }
 12615 fi
 12616 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
 12617   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
 12618 Usually this means the macro was only invoked conditionally." >&5
 12619 $as_echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
 12620 Usually this means the macro was only invoked conditionally." >&2;}
 12621    { (exit 1); exit 1; }; }
 12622 fi
 12623 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
 12624   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
 12625 Usually this means the macro was only invoked conditionally." >&5
 12626 $as_echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
 12627 Usually this means the macro was only invoked conditionally." >&2;}
 12628    { (exit 1); exit 1; }; }
 12629 fi
 12630 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
 12631   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
 12632 Usually this means the macro was only invoked conditionally." >&5
 12633 $as_echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
 12634 Usually this means the macro was only invoked conditionally." >&2;}
 12635    { (exit 1); exit 1; }; }
 12636 fi
 12637 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
 12638   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
 12639 Usually this means the macro was only invoked conditionally." >&5
 12640 $as_echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
 12641 Usually this means the macro was only invoked conditionally." >&2;}
 12642    { (exit 1); exit 1; }; }
 12643 fi
 12644 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
 12645   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
 12646 Usually this means the macro was only invoked conditionally." >&5
 12647 $as_echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
 12648 Usually this means the macro was only invoked conditionally." >&2;}
 12649    { (exit 1); exit 1; }; }
 12650 fi
 12651 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
 12652   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
 12653 Usually this means the macro was only invoked conditionally." >&5
 12654 $as_echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
 12655 Usually this means the macro was only invoked conditionally." >&2;}
 12656    { (exit 1); exit 1; }; }
 12657 fi
 12658 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
 12659   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
 12660 Usually this means the macro was only invoked conditionally." >&5
 12661 $as_echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
 12662 Usually this means the macro was only invoked conditionally." >&2;}
 12663    { (exit 1); exit 1; }; }
 12664 fi
 12665 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
 12666   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
 12667 Usually this means the macro was only invoked conditionally." >&5
 12668 $as_echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
 12669 Usually this means the macro was only invoked conditionally." >&2;}
 12670    { (exit 1); exit 1; }; }
 12671 fi
 12672 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
 12673   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
 12674 Usually this means the macro was only invoked conditionally." >&5
 12675 $as_echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
 12676 Usually this means the macro was only invoked conditionally." >&2;}
 12677    { (exit 1); exit 1; }; }
 12678 fi
 12679 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
 12680   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
 12681 Usually this means the macro was only invoked conditionally." >&5
 12682 $as_echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
 12683 Usually this means the macro was only invoked conditionally." >&2;}
 12684    { (exit 1); exit 1; }; }
 12685 fi
 12686 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
 12687   { { $as_echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
 12688 Usually this means the macro was only invoked conditionally." >&5
 12689 $as_echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
 12690 Usually this means the macro was only invoked conditionally." >&2;}
 12691    { (exit 1); exit 1; }; }
 12692 fi
 12693 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
 12694   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
 12695 Usually this means the macro was only invoked conditionally." >&5
 12696 $as_echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
 12697 Usually this means the macro was only invoked conditionally." >&2;}
 12698    { (exit 1); exit 1; }; }
 12699 fi
 12700 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
 12701   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
 12702 Usually this means the macro was only invoked conditionally." >&5
 12703 $as_echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
 12704 Usually this means the macro was only invoked conditionally." >&2;}
 12705    { (exit 1); exit 1; }; }
 12706 fi
 12708 : ${CONFIG_STATUS=./config.status}
 12709 ac_write_fail=0
 12710 ac_clean_files_save=$ac_clean_files
 12711 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 12712 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 12713 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 12714 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12715 #! $SHELL
 12716 # Generated by $as_me.
 12717 # Run this file to recreate the current configuration.
 12718 # Compiler output produced by configure, useful for debugging
 12719 # configure, is in config.log if it exists.
 12721 debug=false
 12722 ac_cs_recheck=false
 12723 ac_cs_silent=false
 12724 SHELL=\${CONFIG_SHELL-$SHELL}
 12725 _ACEOF
 12727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12728 ## --------------------- ##
 12729 ## M4sh Initialization.  ##
 12730 ## --------------------- ##
 12732 # Be more Bourne compatible
 12733 DUALCASE=1; export DUALCASE # for MKS sh
 12734 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 12735   emulate sh
 12736   NULLCMD=:
 12737   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 12738   # is contrary to our usage.  Disable this feature.
 12739   alias -g '${1+"$@"}'='"$@"'
 12740   setopt NO_GLOB_SUBST
 12741 else
 12742   case `(set -o) 2>/dev/null` in
 12743   *posix*) set -o posix ;;
 12744 esac
 12746 fi
 12751 # PATH needs CR
 12752 # Avoid depending upon Character Ranges.
 12753 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 12754 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 12755 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 12756 as_cr_digits='0123456789'
 12757 as_cr_alnum=$as_cr_Letters$as_cr_digits
 12759 as_nl='
 12761 export as_nl
 12762 # Printing a long string crashes Solaris 7 /usr/bin/printf.
 12763 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 12764 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 12765 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 12766 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 12767   as_echo='printf %s\n'
 12768   as_echo_n='printf %s'
 12769 else
 12770   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 12771     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 12772     as_echo_n='/usr/ucb/echo -n'
 12773   else
 12774     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 12775     as_echo_n_body='eval
 12776       arg=$1;
 12777       case $arg in
 12778       *"$as_nl"*)
 12779 	expr "X$arg" : "X\\(.*\\)$as_nl";
 12780 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 12781       esac;
 12782       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 12784     export as_echo_n_body
 12785     as_echo_n='sh -c $as_echo_n_body as_echo'
 12786   fi
 12787   export as_echo_body
 12788   as_echo='sh -c $as_echo_body as_echo'
 12789 fi
 12791 # The user is always right.
 12792 if test "${PATH_SEPARATOR+set}" != set; then
 12793   PATH_SEPARATOR=:
 12794   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 12795     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 12796       PATH_SEPARATOR=';'
 12798 fi
 12800 # Support unset when possible.
 12801 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 12802   as_unset=unset
 12803 else
 12804   as_unset=false
 12805 fi
 12808 # IFS
 12809 # We need space, tab and new line, in precisely that order.  Quoting is
 12810 # there to prevent editors from complaining about space-tab.
 12811 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 12812 # splitting by setting IFS to empty value.)
 12813 IFS=" ""	$as_nl"
 12815 # Find who we are.  Look in the path if we contain no directory separator.
 12816 case $0 in
 12817   *[\\/]* ) as_myself=$0 ;;
 12818   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 12819 for as_dir in $PATH
 12820 do
 12821   IFS=$as_save_IFS
 12822   test -z "$as_dir" && as_dir=.
 12823   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 12824 done
 12825 IFS=$as_save_IFS
 12827      ;;
 12828 esac
 12829 # We did not find ourselves, most probably we were run as `sh COMMAND'
 12830 # in which case we are not to be found in the path.
 12831 if test "x$as_myself" = x; then
 12832   as_myself=$0
 12833 fi
 12834 if test ! -f "$as_myself"; then
 12835   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 12836   { (exit 1); exit 1; }
 12837 fi
 12839 # Work around bugs in pre-3.0 UWIN ksh.
 12840 for as_var in ENV MAIL MAILPATH
 12841 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 12842 done
 12843 PS1='$ '
 12844 PS2='> '
 12845 PS4='+ '
 12847 # NLS nuisances.
 12848 LC_ALL=C
 12849 export LC_ALL
 12850 LANGUAGE=C
 12851 export LANGUAGE
 12853 # Required to use basename.
 12854 if expr a : '\(a\)' >/dev/null 2>&1 &&
 12855    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 12856   as_expr=expr
 12857 else
 12858   as_expr=false
 12859 fi
 12861 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 12862   as_basename=basename
 12863 else
 12864   as_basename=false
 12865 fi
 12868 # Name of the executable.
 12869 as_me=`$as_basename -- "$0" ||
 12870 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 12871 	 X"$0" : 'X\(//\)$' \| \
 12872 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 12873 $as_echo X/"$0" |
 12874     sed '/^.*\/\([^/][^/]*\)\/*$/{
 12875 	    s//\1/
 12878 	  /^X\/\(\/\/\)$/{
 12879 	    s//\1/
 12882 	  /^X\/\(\/\).*/{
 12883 	    s//\1/
 12886 	  s/.*/./; q'`
 12888 # CDPATH.
 12889 $as_unset CDPATH
 12893   as_lineno_1=$LINENO
 12894   as_lineno_2=$LINENO
 12895   test "x$as_lineno_1" != "x$as_lineno_2" &&
 12896   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 12898   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 12899   # uniformly replaced by the line number.  The first 'sed' inserts a
 12900   # line-number line after each line using $LINENO; the second 'sed'
 12901   # does the real work.  The second script uses 'N' to pair each
 12902   # line-number line with the line containing $LINENO, and appends
 12903   # trailing '-' during substitution so that $LINENO is not a special
 12904   # case at line end.
 12905   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 12906   # scripts with optimization help from Paolo Bonzini.  Blame Lee
 12907   # E. McMahon (1931-1989) for sed's syntax.  :-)
 12908   sed -n '
 12910     /[$]LINENO/=
 12911   ' <$as_myself |
 12912     sed '
 12913       s/[$]LINENO.*/&-/
 12914       t lineno
 12916       :lineno
 12918       :loop
 12919       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 12920       t loop
 12921       s/-\n.*//
 12922     ' >$as_me.lineno &&
 12923   chmod +x "$as_me.lineno" ||
 12924     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 12925    { (exit 1); exit 1; }; }
 12927   # Don't try to exec as it changes $[0], causing all sort of problems
 12928   # (the dirname of $[0] is not the place where we might find the
 12929   # original and so on.  Autoconf is especially sensitive to this).
 12930   . "./$as_me.lineno"
 12931   # Exit status is that of the last command.
 12932   exit
 12936 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 12937   as_dirname=dirname
 12938 else
 12939   as_dirname=false
 12940 fi
 12942 ECHO_C= ECHO_N= ECHO_T=
 12943 case `echo -n x` in
 12944 -n*)
 12945   case `echo 'x\c'` in
 12946   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 12947   *)   ECHO_C='\c';;
 12948   esac;;
 12949 *)
 12950   ECHO_N='-n';;
 12951 esac
 12952 if expr a : '\(a\)' >/dev/null 2>&1 &&
 12953    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 12954   as_expr=expr
 12955 else
 12956   as_expr=false
 12957 fi
 12959 rm -f conf$$ conf$$.exe conf$$.file
 12960 if test -d conf$$.dir; then
 12961   rm -f conf$$.dir/conf$$.file
 12962 else
 12963   rm -f conf$$.dir
 12964   mkdir conf$$.dir 2>/dev/null
 12965 fi
 12966 if (echo >conf$$.file) 2>/dev/null; then
 12967   if ln -s conf$$.file conf$$ 2>/dev/null; then
 12968     as_ln_s='ln -s'
 12969     # ... but there are two gotchas:
 12970     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 12971     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 12972     # In both cases, we have to default to `cp -p'.
 12973     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 12974       as_ln_s='cp -p'
 12975   elif ln conf$$.file conf$$ 2>/dev/null; then
 12976     as_ln_s=ln
 12977   else
 12978     as_ln_s='cp -p'
 12979   fi
 12980 else
 12981   as_ln_s='cp -p'
 12982 fi
 12983 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 12984 rmdir conf$$.dir 2>/dev/null
 12986 if mkdir -p . 2>/dev/null; then
 12987   as_mkdir_p=:
 12988 else
 12989   test -d ./-p && rmdir ./-p
 12990   as_mkdir_p=false
 12991 fi
 12993 if test -x / >/dev/null 2>&1; then
 12994   as_test_x='test -x'
 12995 else
 12996   if ls -dL / >/dev/null 2>&1; then
 12997     as_ls_L_option=L
 12998   else
 12999     as_ls_L_option=
 13000   fi
 13001   as_test_x='
 13002     eval sh -c '\''
 13003       if test -d "$1"; then
 13004 	test -d "$1/.";
 13005       else
 13006 	case $1 in
 13007 	-*)set "./$1";;
 13008 	esac;
 13009 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 13010 	???[sx]*):;;*)false;;esac;fi
 13011     '\'' sh
 13013 fi
 13014 as_executable_p=$as_test_x
 13016 # Sed expression to map a string onto a valid CPP name.
 13017 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 13019 # Sed expression to map a string onto a valid variable name.
 13020 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 13023 exec 6>&1
 13025 # Save the log message, to keep $[0] and so on meaningful, and to
 13026 # report actual input values of CONFIG_FILES etc. instead of their
 13027 # values after options handling.
 13028 ac_log="
 13029 This file was extended by $as_me, which was
 13030 generated by GNU Autoconf 2.62.  Invocation command line was
 13032   CONFIG_FILES    = $CONFIG_FILES
 13033   CONFIG_HEADERS  = $CONFIG_HEADERS
 13034   CONFIG_LINKS    = $CONFIG_LINKS
 13035   CONFIG_COMMANDS = $CONFIG_COMMANDS
 13036   $ $0 $@
 13038 on `(hostname || uname -n) 2>/dev/null | sed 1q`
 13041 _ACEOF
 13043 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13044 # Files that config.status was made for.
 13045 config_files="$ac_config_files"
 13046 config_headers="$ac_config_headers"
 13047 config_commands="$ac_config_commands"
 13049 _ACEOF
 13051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13052 ac_cs_usage="\
 13053 \`$as_me' instantiates files from templates according to the
 13054 current configuration.
 13056 Usage: $0 [OPTIONS] [FILE]...
 13058   -h, --help       print this help, then exit
 13059   -V, --version    print version number and configuration settings, then exit
 13060   -q, --quiet      do not print progress messages
 13061   -d, --debug      don't remove temporary files
 13062       --recheck    update $as_me by reconfiguring in the same conditions
 13063   --file=FILE[:TEMPLATE]
 13064                    instantiate the configuration file FILE
 13065   --header=FILE[:TEMPLATE]
 13066                    instantiate the configuration header FILE
 13068 Configuration files:
 13069 $config_files
 13071 Configuration headers:
 13072 $config_headers
 13074 Configuration commands:
 13075 $config_commands
 13077 Report bugs to <bug-autoconf@gnu.org>."
 13079 _ACEOF
 13080 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13081 ac_cs_version="\\
 13082 config.status
 13083 configured by $0, generated by GNU Autoconf 2.62,
 13084   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 13086 Copyright (C) 2008 Free Software Foundation, Inc.
 13087 This config.status script is free software; the Free Software Foundation
 13088 gives unlimited permission to copy, distribute and modify it."
 13090 ac_pwd='$ac_pwd'
 13091 srcdir='$srcdir'
 13092 INSTALL='$INSTALL'
 13093 AWK='$AWK'
 13094 test -n "\$AWK" || AWK=awk
 13095 _ACEOF
 13097 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13098 # The default lists apply if the user does not specify any file.
 13099 ac_need_defaults=:
 13100 while test $# != 0
 13101 do
 13102   case $1 in
 13103   --*=*)
 13104     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 13105     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 13106     ac_shift=:
 13107     ;;
 13108   *)
 13109     ac_option=$1
 13110     ac_optarg=$2
 13111     ac_shift=shift
 13112     ;;
 13113   esac
 13115   case $ac_option in
 13116   # Handling of the options.
 13117   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 13118     ac_cs_recheck=: ;;
 13119   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 13120     $as_echo "$ac_cs_version"; exit ;;
 13121   --debug | --debu | --deb | --de | --d | -d )
 13122     debug=: ;;
 13123   --file | --fil | --fi | --f )
 13124     $ac_shift
 13125     case $ac_optarg in
 13126     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 13127     esac
 13128     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 13129     ac_need_defaults=false;;
 13130   --header | --heade | --head | --hea )
 13131     $ac_shift
 13132     case $ac_optarg in
 13133     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 13134     esac
 13135     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 13136     ac_need_defaults=false;;
 13137   --he | --h)
 13138     # Conflict between --help and --header
 13139     { $as_echo "$as_me: error: ambiguous option: $1
 13140 Try \`$0 --help' for more information." >&2
 13141    { (exit 1); exit 1; }; };;
 13142   --help | --hel | -h )
 13143     $as_echo "$ac_cs_usage"; exit ;;
 13144   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 13145   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 13146     ac_cs_silent=: ;;
 13148   # This is an error.
 13149   -*) { $as_echo "$as_me: error: unrecognized option: $1
 13150 Try \`$0 --help' for more information." >&2
 13151    { (exit 1); exit 1; }; } ;;
 13153   *) ac_config_targets="$ac_config_targets $1"
 13154      ac_need_defaults=false ;;
 13156   esac
 13157   shift
 13158 done
 13160 ac_configure_extra_args=
 13162 if $ac_cs_silent; then
 13163   exec 6>/dev/null
 13164   ac_configure_extra_args="$ac_configure_extra_args --silent"
 13165 fi
 13167 _ACEOF
 13168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13169 if \$ac_cs_recheck; then
 13170   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 13171   shift
 13172   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 13173   CONFIG_SHELL='$SHELL'
 13174   export CONFIG_SHELL
 13175   exec "\$@"
 13176 fi
 13178 _ACEOF
 13179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13180 exec 5>>config.log
 13182   echo
 13183   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 13184 ## Running $as_me. ##
 13185 _ASBOX
 13186   $as_echo "$ac_log"
 13187 } >&5
 13189 _ACEOF
 13190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13192 # INIT-COMMANDS
 13194 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 13197 _ACEOF
 13199 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13201 # Handling of arguments.
 13202 for ac_config_target in $ac_config_targets
 13203 do
 13204   case $ac_config_target in
 13205     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 13206     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 13207     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 13208     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 13209     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 13210     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 13211     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 13212     "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;
 13214   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 13215 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 13216    { (exit 1); exit 1; }; };;
 13217   esac
 13218 done
 13221 # If the user did not use the arguments to specify the items to instantiate,
 13222 # then the envvar interface is used.  Set only those that are not.
 13223 # We use the long form for the default assignment because of an extremely
 13224 # bizarre bug on SunOS 4.1.3.
 13225 if $ac_need_defaults; then
 13226   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 13227   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 13228   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 13229 fi
 13231 # Have a temporary directory for convenience.  Make it in the build tree
 13232 # simply because there is no reason against having it here, and in addition,
 13233 # creating and moving files from /tmp can sometimes cause problems.
 13234 # Hook for its removal unless debugging.
 13235 # Note that there is a small window in which the directory will not be cleaned:
 13236 # after its creation but before its name has been assigned to `$tmp'.
 13237 $debug ||
 13239   tmp=
 13240   trap 'exit_status=$?
 13241   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 13242 ' 0
 13243   trap '{ (exit 1); exit 1; }' 1 2 13 15
 13245 # Create a (secure) tmp directory for tmp files.
 13248   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 13249   test -n "$tmp" && test -d "$tmp"
 13250 }  ||
 13252   tmp=./conf$$-$RANDOM
 13253   (umask 077 && mkdir "$tmp")
 13254 } ||
 13256    $as_echo "$as_me: cannot create a temporary directory in ." >&2
 13257    { (exit 1); exit 1; }
 13260 # Set up the scripts for CONFIG_FILES section.
 13261 # No need to generate them if there are no CONFIG_FILES.
 13262 # This happens for instance with `./config.status config.h'.
 13263 if test -n "$CONFIG_FILES"; then
 13266 ac_cr='
 13268 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 13269 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 13270   ac_cs_awk_cr='\\r'
 13271 else
 13272   ac_cs_awk_cr=$ac_cr
 13273 fi
 13275 echo 'BEGIN {' >"$tmp/subs1.awk" &&
 13276 _ACEOF
 13280   echo "cat >conf$$subs.awk <<_ACEOF" &&
 13281   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 13282   echo "_ACEOF"
 13283 } >conf$$subs.sh ||
 13284   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 13285 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 13286    { (exit 1); exit 1; }; }
 13287 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 13288 ac_delim='%!_!# '
 13289 for ac_last_try in false false false false false :; do
 13290   . ./conf$$subs.sh ||
 13291     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 13292 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 13293    { (exit 1); exit 1; }; }
 13295   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 13296     break
 13297   elif $ac_last_try; then
 13298     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 13299 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 13300    { (exit 1); exit 1; }; }
 13301   else
 13302     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 13303   fi
 13304 done
 13305 rm -f conf$$subs.sh
 13307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13308 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 13309 _ACEOF
 13310 sed -n '
 13312 s/^/S["/; s/!.*/"]=/
 13315 s/^[^!]*!//
 13316 :repl
 13317 t repl
 13318 s/'"$ac_delim"'$//
 13319 t delim
 13320 :nl
 13322 s/\(.\{148\}\).*/\1/
 13323 t more1
 13324 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 13327 b repl
 13328 :more1
 13329 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 13332 s/.\{148\}//
 13333 t nl
 13334 :delim
 13336 s/\(.\{148\}\).*/\1/
 13337 t more2
 13338 s/["\\]/\\&/g; s/^/"/; s/$/"/
 13341 :more2
 13342 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 13345 s/.\{148\}//
 13346 t delim
 13347 ' <conf$$subs.awk | sed '
 13348 /^[^""]/{
 13350   s/\n//
 13352 ' >>$CONFIG_STATUS || ac_write_fail=1
 13353 rm -f conf$$subs.awk
 13354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13355 _ACAWK
 13356 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 13357   for (key in S) S_is_set[key] = 1
 13358   FS = ""
 13362   line = $ 0
 13363   nfields = split(line, field, "@")
 13364   substed = 0
 13365   len = length(field[1])
 13366   for (i = 2; i < nfields; i++) {
 13367     key = field[i]
 13368     keylen = length(key)
 13369     if (S_is_set[key]) {
 13370       value = S[key]
 13371       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 13372       len += length(value) + length(field[++i])
 13373       substed = 1
 13374     } else
 13375       len += 1 + keylen
 13378   print line
 13381 _ACAWK
 13382 _ACEOF
 13383 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13384 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 13385   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 13386 else
 13387   cat
 13388 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 13389   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 13390 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
 13391    { (exit 1); exit 1; }; }
 13392 _ACEOF
 13394 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 13395 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 13396 # trailing colons and then remove the whole line if VPATH becomes empty
 13397 # (actually we leave an empty line to preserve line numbers).
 13398 if test "x$srcdir" = x.; then
 13399   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 13400 s/:*\$(srcdir):*/:/
 13401 s/:*\${srcdir}:*/:/
 13402 s/:*@srcdir@:*/:/
 13403 s/^\([^=]*=[	 ]*\):*/\1/
 13404 s/:*$//
 13405 s/^[^=]*=[	 ]*$//
 13406 }'
 13407 fi
 13409 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13410 fi # test -n "$CONFIG_FILES"
 13412 # Set up the scripts for CONFIG_HEADERS section.
 13413 # No need to generate them if there are no CONFIG_HEADERS.
 13414 # This happens for instance with `./config.status Makefile'.
 13415 if test -n "$CONFIG_HEADERS"; then
 13416 cat >"$tmp/defines.awk" <<\_ACAWK ||
 13417 BEGIN {
 13418 _ACEOF
 13420 # Transform confdefs.h into an awk script `defines.awk', embedded as
 13421 # here-document in config.status, that substitutes the proper values into
 13422 # config.h.in to produce config.h.
 13424 # Create a delimiter string that does not exist in confdefs.h, to ease
 13425 # handling of long lines.
 13426 ac_delim='%!_!# '
 13427 for ac_last_try in false false :; do
 13428   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 13429   if test -z "$ac_t"; then
 13430     break
 13431   elif $ac_last_try; then
 13432     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 13433 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 13434    { (exit 1); exit 1; }; }
 13435   else
 13436     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 13437   fi
 13438 done
 13440 # For the awk script, D is an array of macro values keyed by name,
 13441 # likewise P contains macro parameters if any.  Preserve backslash
 13442 # newline sequences.
 13444 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 13445 sed -n '
 13446 s/.\{148\}/&'"$ac_delim"'/g
 13447 t rset
 13448 :rset
 13449 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 13450 t def
 13452 :def
 13453 s/\\$//
 13454 t bsnl
 13455 s/["\\]/\\&/g
 13456 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 13457 D["\1"]=" \3"/p
 13458 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 13460 :bsnl
 13461 s/["\\]/\\&/g
 13462 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 13463 D["\1"]=" \3\\\\\\n"\\/p
 13464 t cont
 13465 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 13466 t cont
 13468 :cont
 13470 s/.\{148\}/&'"$ac_delim"'/g
 13471 t clear
 13472 :clear
 13473 s/\\$//
 13474 t bsnlc
 13475 s/["\\]/\\&/g; s/^/"/; s/$/"/p
 13477 :bsnlc
 13478 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 13479 b cont
 13480 ' <confdefs.h | sed '
 13481 s/'"$ac_delim"'/"\\\
 13482 "/g' >>$CONFIG_STATUS || ac_write_fail=1
 13484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13485   for (key in D) D_is_set[key] = 1
 13486   FS = ""
 13488 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 13489   line = \$ 0
 13490   split(line, arg, " ")
 13491   if (arg[1] == "#") {
 13492     defundef = arg[2]
 13493     mac1 = arg[3]
 13494   } else {
 13495     defundef = substr(arg[1], 2)
 13496     mac1 = arg[2]
 13498   split(mac1, mac2, "(") #)
 13499   macro = mac2[1]
 13500   if (D_is_set[macro]) {
 13501     # Preserve the white space surrounding the "#".
 13502     prefix = substr(line, 1, index(line, defundef) - 1)
 13503     print prefix "define", macro P[macro] D[macro]
 13504     next
 13505   } else {
 13506     # Replace #undef with comments.  This is necessary, for example,
 13507     # in the case of _POSIX_SOURCE, which is predefined and required
 13508     # on some systems where configure will not decide to define it.
 13509     if (defundef == "undef") {
 13510       print "/*", line, "*/"
 13511       next
 13515 { print }
 13516 _ACAWK
 13517 _ACEOF
 13518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13519   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 13520 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 13521    { (exit 1); exit 1; }; }
 13522 fi # test -n "$CONFIG_HEADERS"
 13525 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 13526 shift
 13527 for ac_tag
 13528 do
 13529   case $ac_tag in
 13530   :[FHLC]) ac_mode=$ac_tag; continue;;
 13531   esac
 13532   case $ac_mode$ac_tag in
 13533   :[FHL]*:*);;
 13534   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 13535 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 13536    { (exit 1); exit 1; }; };;
 13537   :[FH]-) ac_tag=-:-;;
 13538   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 13539   esac
 13540   ac_save_IFS=$IFS
 13541   IFS=:
 13542   set x $ac_tag
 13543   IFS=$ac_save_IFS
 13544   shift
 13545   ac_file=$1
 13546   shift
 13548   case $ac_mode in
 13549   :L) ac_source=$1;;
 13550   :[FH])
 13551     ac_file_inputs=
 13552     for ac_f
 13553     do
 13554       case $ac_f in
 13555       -) ac_f="$tmp/stdin";;
 13556       *) # Look for the file first in the build tree, then in the source tree
 13557 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 13558 	 # because $ac_f cannot contain `:'.
 13559 	 test -f "$ac_f" ||
 13560 	   case $ac_f in
 13561 	   [\\/$]*) false;;
 13562 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 13563 	   esac ||
 13564 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 13565 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 13566    { (exit 1); exit 1; }; };;
 13567       esac
 13568       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 13569       ac_file_inputs="$ac_file_inputs '$ac_f'"
 13570     done
 13572     # Let's still pretend it is `configure' which instantiates (i.e., don't
 13573     # use $as_me), people would be surprised to read:
 13574     #    /* config.h.  Generated by config.status.  */
 13575     configure_input='Generated from '`
 13576 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 13577 	`' by configure.'
 13578     if test x"$ac_file" != x-; then
 13579       configure_input="$ac_file.  $configure_input"
 13580       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 13581 $as_echo "$as_me: creating $ac_file" >&6;}
 13582     fi
 13583     # Neutralize special characters interpreted by sed in replacement strings.
 13584     case $configure_input in #(
 13585     *\&* | *\|* | *\\* )
 13586        ac_sed_conf_input=`$as_echo "$configure_input" |
 13587        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 13588     *) ac_sed_conf_input=$configure_input;;
 13589     esac
 13591     case $ac_tag in
 13592     *:-:* | *:-) cat >"$tmp/stdin" \
 13593       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13594 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13595    { (exit 1); exit 1; }; } ;;
 13596     esac
 13597     ;;
 13598   esac
 13600   ac_dir=`$as_dirname -- "$ac_file" ||
 13601 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13602 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 13603 	 X"$ac_file" : 'X\(//\)$' \| \
 13604 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 13605 $as_echo X"$ac_file" |
 13606     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13607 	    s//\1/
 13610 	  /^X\(\/\/\)[^/].*/{
 13611 	    s//\1/
 13614 	  /^X\(\/\/\)$/{
 13615 	    s//\1/
 13618 	  /^X\(\/\).*/{
 13619 	    s//\1/
 13622 	  s/.*/./; q'`
 13623   { as_dir="$ac_dir"
 13624   case $as_dir in #(
 13625   -*) as_dir=./$as_dir;;
 13626   esac
 13627   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 13628     as_dirs=
 13629     while :; do
 13630       case $as_dir in #(
 13631       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 13632       *) as_qdir=$as_dir;;
 13633       esac
 13634       as_dirs="'$as_qdir' $as_dirs"
 13635       as_dir=`$as_dirname -- "$as_dir" ||
 13636 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13637 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 13638 	 X"$as_dir" : 'X\(//\)$' \| \
 13639 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 13640 $as_echo X"$as_dir" |
 13641     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13642 	    s//\1/
 13645 	  /^X\(\/\/\)[^/].*/{
 13646 	    s//\1/
 13649 	  /^X\(\/\/\)$/{
 13650 	    s//\1/
 13653 	  /^X\(\/\).*/{
 13654 	    s//\1/
 13657 	  s/.*/./; q'`
 13658       test -d "$as_dir" && break
 13659     done
 13660     test -z "$as_dirs" || eval "mkdir $as_dirs"
 13661   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 13662 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 13663    { (exit 1); exit 1; }; }; }
 13664   ac_builddir=.
 13666 case "$ac_dir" in
 13667 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 13668 *)
 13669   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 13670   # A ".." for each directory in $ac_dir_suffix.
 13671   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 13672   case $ac_top_builddir_sub in
 13673   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 13674   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 13675   esac ;;
 13676 esac
 13677 ac_abs_top_builddir=$ac_pwd
 13678 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 13679 # for backward compatibility:
 13680 ac_top_builddir=$ac_top_build_prefix
 13682 case $srcdir in
 13683   .)  # We are building in place.
 13684     ac_srcdir=.
 13685     ac_top_srcdir=$ac_top_builddir_sub
 13686     ac_abs_top_srcdir=$ac_pwd ;;
 13687   [\\/]* | ?:[\\/]* )  # Absolute name.
 13688     ac_srcdir=$srcdir$ac_dir_suffix;
 13689     ac_top_srcdir=$srcdir
 13690     ac_abs_top_srcdir=$srcdir ;;
 13691   *) # Relative name.
 13692     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 13693     ac_top_srcdir=$ac_top_build_prefix$srcdir
 13694     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 13695 esac
 13696 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 13699   case $ac_mode in
 13700   :F)
 13702   # CONFIG_FILE
 13705   case $INSTALL in
 13706   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 13707   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 13708   esac
 13709 _ACEOF
 13711 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13712 # If the template does not know about datarootdir, expand it.
 13713 # FIXME: This hack should be removed a few years after 2.60.
 13714 ac_datarootdir_hack=; ac_datarootdir_seen=
 13716 ac_sed_dataroot='
 13717 /datarootdir/ {
 13721 /@datadir@/p
 13722 /@docdir@/p
 13723 /@infodir@/p
 13724 /@localedir@/p
 13725 /@mandir@/p
 13727 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 13728 *datarootdir*) ac_datarootdir_seen=yes;;
 13729 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 13730   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 13731 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 13732 _ACEOF
 13733 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13734   ac_datarootdir_hack='
 13735   s&@datadir@&$datadir&g
 13736   s&@docdir@&$docdir&g
 13737   s&@infodir@&$infodir&g
 13738   s&@localedir@&$localedir&g
 13739   s&@mandir@&$mandir&g
 13740     s&\\\${datarootdir}&$datarootdir&g' ;;
 13741 esac
 13742 _ACEOF
 13744 # Neutralize VPATH when `$srcdir' = `.'.
 13745 # Shell code in configure.ac might set extrasub.
 13746 # FIXME: do we really want to maintain this feature?
 13747 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13748 ac_sed_extra="$ac_vpsub
 13749 $extrasub
 13750 _ACEOF
 13751 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13752 :t
 13753 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 13754 s|@configure_input@|$ac_sed_conf_input|;t t
 13755 s&@top_builddir@&$ac_top_builddir_sub&;t t
 13756 s&@top_build_prefix@&$ac_top_build_prefix&;t t
 13757 s&@srcdir@&$ac_srcdir&;t t
 13758 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 13759 s&@top_srcdir@&$ac_top_srcdir&;t t
 13760 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 13761 s&@builddir@&$ac_builddir&;t t
 13762 s&@abs_builddir@&$ac_abs_builddir&;t t
 13763 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 13764 s&@INSTALL@&$ac_INSTALL&;t t
 13765 $ac_datarootdir_hack
 13767 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 13768   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13769 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13770    { (exit 1); exit 1; }; }
 13772 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 13773   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 13774   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 13775   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 13776 which seems to be undefined.  Please make sure it is defined." >&5
 13777 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 13778 which seems to be undefined.  Please make sure it is defined." >&2;}
 13780   rm -f "$tmp/stdin"
 13781   case $ac_file in
 13782   -) cat "$tmp/out" && rm -f "$tmp/out";;
 13783   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 13784   esac \
 13785   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13786 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13787    { (exit 1); exit 1; }; }
 13788  ;;
 13789   :H)
 13791   # CONFIG_HEADER
 13793   if test x"$ac_file" != x-; then
 13795       $as_echo "/* $configure_input  */" \
 13796       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 13797     } >"$tmp/config.h" \
 13798       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13799 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13800    { (exit 1); exit 1; }; }
 13801     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 13802       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 13803 $as_echo "$as_me: $ac_file is unchanged" >&6;}
 13804     else
 13805       rm -f "$ac_file"
 13806       mv "$tmp/config.h" "$ac_file" \
 13807 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13808 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13809    { (exit 1); exit 1; }; }
 13810     fi
 13811   else
 13812     $as_echo "/* $configure_input  */" \
 13813       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 13814       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 13815 $as_echo "$as_me: error: could not create -" >&2;}
 13816    { (exit 1); exit 1; }; }
 13817   fi
 13818 # Compute "$ac_file"'s index in $config_headers.
 13819 _am_stamp_count=1
 13820 for _am_header in $config_headers :; do
 13821   case $_am_header in
 13822     "$ac_file" | "$ac_file":* )
 13823       break ;;
 13824     * )
 13825       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 13826   esac
 13827 done
 13828 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
 13829 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13830 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 13831 	 X"$ac_file" : 'X\(//\)$' \| \
 13832 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 13833 $as_echo X"$ac_file" |
 13834     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13835 	    s//\1/
 13838 	  /^X\(\/\/\)[^/].*/{
 13839 	    s//\1/
 13842 	  /^X\(\/\/\)$/{
 13843 	    s//\1/
 13846 	  /^X\(\/\).*/{
 13847 	    s//\1/
 13850 	  s/.*/./; q'`/stamp-h$_am_stamp_count
 13851  ;;
 13853   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 13854 $as_echo "$as_me: executing $ac_file commands" >&6;}
 13855  ;;
 13856   esac
 13859   case $ac_file$ac_mode in
 13860     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 13861   # Strip MF so we end up with the name of the file.
 13862   mf=`echo "$mf" | sed -e 's/:.*$//'`
 13863   # Check whether this is an Automake generated Makefile or not.
 13864   # We used to match only the files named `Makefile.in', but
 13865   # some people rename them; so instead we look at the file content.
 13866   # Grep'ing the first line is not enough: some people post-process
 13867   # each Makefile.in and add a new line on top of each file to say so.
 13868   # So let's grep whole file.
 13869   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 13870     dirpart=`$as_dirname -- "$mf" ||
 13871 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13872 	 X"$mf" : 'X\(//\)[^/]' \| \
 13873 	 X"$mf" : 'X\(//\)$' \| \
 13874 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 13875 $as_echo X"$mf" |
 13876     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13877 	    s//\1/
 13880 	  /^X\(\/\/\)[^/].*/{
 13881 	    s//\1/
 13884 	  /^X\(\/\/\)$/{
 13885 	    s//\1/
 13888 	  /^X\(\/\).*/{
 13889 	    s//\1/
 13892 	  s/.*/./; q'`
 13893   else
 13894     continue
 13895   fi
 13896   # Extract the definition of DEPDIR, am__include, and am__quote
 13897   # from the Makefile without running `make'.
 13898   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 13899   test -z "$DEPDIR" && continue
 13900   am__include=`sed -n 's/^am__include = //p' < "$mf"`
 13901   test -z "am__include" && continue
 13902   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 13903   # When using ansi2knr, U may be empty or an underscore; expand it
 13904   U=`sed -n 's/^U = //p' < "$mf"`
 13905   # Find all dependency output files, they are included files with
 13906   # $(DEPDIR) in their names.  We invoke sed twice because it is the
 13907   # simplest approach to changing $(DEPDIR) to its actual value in the
 13908   # expansion.
 13909   for file in `sed -n "
 13910     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 13911        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 13912     # Make sure the directory exists.
 13913     test -f "$dirpart/$file" && continue
 13914     fdir=`$as_dirname -- "$file" ||
 13915 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13916 	 X"$file" : 'X\(//\)[^/]' \| \
 13917 	 X"$file" : 'X\(//\)$' \| \
 13918 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 13919 $as_echo X"$file" |
 13920     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13921 	    s//\1/
 13924 	  /^X\(\/\/\)[^/].*/{
 13925 	    s//\1/
 13928 	  /^X\(\/\/\)$/{
 13929 	    s//\1/
 13932 	  /^X\(\/\).*/{
 13933 	    s//\1/
 13936 	  s/.*/./; q'`
 13937     { as_dir=$dirpart/$fdir
 13938   case $as_dir in #(
 13939   -*) as_dir=./$as_dir;;
 13940   esac
 13941   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 13942     as_dirs=
 13943     while :; do
 13944       case $as_dir in #(
 13945       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 13946       *) as_qdir=$as_dir;;
 13947       esac
 13948       as_dirs="'$as_qdir' $as_dirs"
 13949       as_dir=`$as_dirname -- "$as_dir" ||
 13950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13951 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 13952 	 X"$as_dir" : 'X\(//\)$' \| \
 13953 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 13954 $as_echo X"$as_dir" |
 13955     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13956 	    s//\1/
 13959 	  /^X\(\/\/\)[^/].*/{
 13960 	    s//\1/
 13963 	  /^X\(\/\/\)$/{
 13964 	    s//\1/
 13967 	  /^X\(\/\).*/{
 13968 	    s//\1/
 13971 	  s/.*/./; q'`
 13972       test -d "$as_dir" && break
 13973     done
 13974     test -z "$as_dirs" || eval "mkdir $as_dirs"
 13975   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 13976 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 13977    { (exit 1); exit 1; }; }; }
 13978     # echo "creating $dirpart/$file"
 13979     echo '# dummy' > "$dirpart/$file"
 13980   done
 13981 done
 13982  ;;
 13983     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 13984         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 13985       esac ;;
 13987   esac
 13988 done # for ac_tag
 13991 { (exit 0); exit 0; }
 13992 _ACEOF
 13993 chmod +x $CONFIG_STATUS
 13994 ac_clean_files=$ac_clean_files_save
 13996 test $ac_write_fail = 0 ||
 13997   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 13998 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 13999    { (exit 1); exit 1; }; }
 14002 # configure is writing to config.log, and then calls config.status.
 14003 # config.status does its own redirection, appending to config.log.
 14004 # Unfortunately, on DOS this fails, as config.log is still kept open
 14005 # by configure, so config.status won't be able to write to it; its
 14006 # output is simply discarded.  So we exec the FD to /dev/null,
 14007 # effectively closing config.log, so it can be properly (re)opened and
 14008 # appended to by config.status.  When coming back to configure, we
 14009 # need to make the FD available again.
 14010 if test "$no_create" != yes; then
 14011   ac_cs_success=:
 14012   ac_config_status_args=
 14013   test "$silent" = yes &&
 14014     ac_config_status_args="$ac_config_status_args --quiet"
 14015   exec 5>/dev/null
 14016   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 14017   exec 5>>config.log
 14018   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 14019   # would make configure fail if this is the last instruction.
 14020   $ac_cs_success || { (exit 1); exit 1; }
 14021 fi
 14022 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 14023   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 14024 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 14025 fi
 14027 { as_dir=test/sh4
 14028   case $as_dir in #(
 14029   -*) as_dir=./$as_dir;;
 14030   esac
 14031   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 14032     as_dirs=
 14033     while :; do
 14034       case $as_dir in #(
 14035       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 14036       *) as_qdir=$as_dir;;
 14037       esac
 14038       as_dirs="'$as_qdir' $as_dirs"
 14039       as_dir=`$as_dirname -- "$as_dir" ||
 14040 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14041 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 14042 	 X"$as_dir" : 'X\(//\)$' \| \
 14043 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 14044 $as_echo X"$as_dir" |
 14045     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14046 	    s//\1/
 14049 	  /^X\(\/\/\)[^/].*/{
 14050 	    s//\1/
 14053 	  /^X\(\/\/\)$/{
 14054 	    s//\1/
 14057 	  /^X\(\/\).*/{
 14058 	    s//\1/
 14061 	  s/.*/./; q'`
 14062       test -d "$as_dir" && break
 14063     done
 14064     test -z "$as_dirs" || eval "mkdir $as_dirs"
 14065   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 14066 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 14067    { (exit 1); exit 1; }; }; }
 14070 echo
 14071 echo "Configuration complete"
 14072 echo
 14074 if test "x$HAVE_GTK" = x; then
 14075   if test "x$HAVE_COCOA" = x; then
 14076      echo "  User interface: none"
 14077   else
 14078      echo "  User interface: Cocoa"
 14079   fi
 14080 else
 14081   echo "  User interface: GTK"
 14082 fi
 14084 if test "x$SH4_TRANSLATOR" = "x"; then
 14085   echo "  SH4 translator: None (emulation core only)"
 14086 else
 14087   echo "  SH4 translator: $SH4_TRANSLATOR"
 14088 fi
 14090 if test "x$VIDEO_DRIVERS" = "x"; then
 14091    echo "  Video drivers: none (no supported GL found)"
 14092 else
 14093    echo "  Video drivers: $VIDEO_DRIVERS"
 14094 fi
 14096 if test "x$AUDIO_DRIVERS" = "x"; then
 14097    echo "  Audio drivers: none (no supported output devices found)"
 14098 else
 14099    echo "  Audio drivers: $AUDIO_DRIVERS"
 14100 fi
 14102 if test "x$CDROM_DRIVER" = "x"; then
 14103    echo "  CD-ROM driver: none (no supported cd-rom devices found)"
 14104 else
 14105    echo "  CD-ROM driver: $CDROM_DRIVER"
 14106 fi
.