Search
lxdream.org :: lxdream/configure
lxdream 0.9.1
released Jun 29
Download Now
filename configure
changeset 977:8514fb4bc101
prev966:0f0320cb3650
next984:a01567058a47
author nkeynes
date Mon Feb 02 01:40:13 2009 +0000 (15 years ago)
permissions -rwxr-xr-x
last change Fix Objective-C checking to be a little more circumspec (to whit, not aborting if no
OBJC compiler is found) - slightly tricky becuase AC_CHECK_HEADER was requiring
preprocessor checks, which ran before we checked if there was in fact an OBJC compiler
in the first place... Fix there was to change the AC_CHECK_HEADER invocation to use the
new (compiler-only) style.
view annotate diff log raw
     1 #! /bin/sh
     2 # Guess values for system-dependent variables and create Makefiles.
     3 # Generated by GNU Autoconf 2.62.
     4 #
     5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7 # This configure script is free software; the Free Software Foundation
     8 # gives unlimited permission to copy, distribute and modify it.
     9 ## --------------------- ##
    10 ## M4sh Initialization.  ##
    11 ## --------------------- ##
    13 # Be more Bourne compatible
    14 DUALCASE=1; export DUALCASE # for MKS sh
    15 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    16   emulate sh
    17   NULLCMD=:
    18   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    19   # is contrary to our usage.  Disable this feature.
    20   alias -g '${1+"$@"}'='"$@"'
    21   setopt NO_GLOB_SUBST
    22 else
    23   case `(set -o) 2>/dev/null` in
    24   *posix*) set -o posix ;;
    25 esac
    27 fi
    32 # PATH needs CR
    33 # Avoid depending upon Character Ranges.
    34 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    35 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    36 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    37 as_cr_digits='0123456789'
    38 as_cr_alnum=$as_cr_Letters$as_cr_digits
    40 as_nl='
    41 '
    42 export as_nl
    43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    44 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    48   as_echo='printf %s\n'
    49   as_echo_n='printf %s'
    50 else
    51   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    52     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    53     as_echo_n='/usr/ucb/echo -n'
    54   else
    55     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    56     as_echo_n_body='eval
    57       arg=$1;
    58       case $arg in
    59       *"$as_nl"*)
    60 	expr "X$arg" : "X\\(.*\\)$as_nl";
    61 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    62       esac;
    63       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    64     '
    65     export as_echo_n_body
    66     as_echo_n='sh -c $as_echo_n_body as_echo'
    67   fi
    68   export as_echo_body
    69   as_echo='sh -c $as_echo_body as_echo'
    70 fi
    72 # The user is always right.
    73 if test "${PATH_SEPARATOR+set}" != set; then
    74   PATH_SEPARATOR=:
    75   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    76     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    77       PATH_SEPARATOR=';'
    78   }
    79 fi
    81 # Support unset when possible.
    82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    83   as_unset=unset
    84 else
    85   as_unset=false
    86 fi
    89 # IFS
    90 # We need space, tab and new line, in precisely that order.  Quoting is
    91 # there to prevent editors from complaining about space-tab.
    92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
    93 # splitting by setting IFS to empty value.)
    94 IFS=" ""	$as_nl"
    96 # Find who we are.  Look in the path if we contain no directory separator.
    97 case $0 in
    98   *[\\/]* ) as_myself=$0 ;;
    99   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   100 for as_dir in $PATH
   101 do
   102   IFS=$as_save_IFS
   103   test -z "$as_dir" && as_dir=.
   104   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
   105 done
   106 IFS=$as_save_IFS
   108      ;;
   109 esac
   110 # We did not find ourselves, most probably we were run as `sh COMMAND'
   111 # in which case we are not to be found in the path.
   112 if test "x$as_myself" = x; then
   113   as_myself=$0
   114 fi
   115 if test ! -f "$as_myself"; then
   116   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
   117   { (exit 1); exit 1; }
   118 fi
   120 # Work around bugs in pre-3.0 UWIN ksh.
   121 for as_var in ENV MAIL MAILPATH
   122 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   123 done
   124 PS1='$ '
   125 PS2='> '
   126 PS4='+ '
   128 # NLS nuisances.
   129 LC_ALL=C
   130 export LC_ALL
   131 LANGUAGE=C
   132 export LANGUAGE
   134 # Required to use basename.
   135 if expr a : '\(a\)' >/dev/null 2>&1 &&
   136    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   137   as_expr=expr
   138 else
   139   as_expr=false
   140 fi
   142 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
   143   as_basename=basename
   144 else
   145   as_basename=false
   146 fi
   149 # Name of the executable.
   150 as_me=`$as_basename -- "$0" ||
   151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
   152 	 X"$0" : 'X\(//\)$' \| \
   153 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
   154 $as_echo X/"$0" |
   155     sed '/^.*\/\([^/][^/]*\)\/*$/{
   156 	    s//\1/
   157 	    q
   158 	  }
   159 	  /^X\/\(\/\/\)$/{
   160 	    s//\1/
   161 	    q
   162 	  }
   163 	  /^X\/\(\/\).*/{
   164 	    s//\1/
   165 	    q
   166 	  }
   167 	  s/.*/./; q'`
   169 # CDPATH.
   170 $as_unset CDPATH
   173 if test "x$CONFIG_SHELL" = x; then
   174   if (eval ":") 2>/dev/null; then
   175   as_have_required=yes
   176 else
   177   as_have_required=no
   178 fi
   180   if test $as_have_required = yes &&	 (eval ":
   181 (as_func_return () {
   182   (exit \$1)
   183 }
   184 as_func_success () {
   185   as_func_return 0
   186 }
   187 as_func_failure () {
   188   as_func_return 1
   189 }
   190 as_func_ret_success () {
   191   return 0
   192 }
   193 as_func_ret_failure () {
   194   return 1
   195 }
   197 exitcode=0
   198 if as_func_success; then
   199   :
   200 else
   201   exitcode=1
   202   echo as_func_success failed.
   203 fi
   205 if as_func_failure; then
   206   exitcode=1
   207   echo as_func_failure succeeded.
   208 fi
   210 if as_func_ret_success; then
   211   :
   212 else
   213   exitcode=1
   214   echo as_func_ret_success failed.
   215 fi
   217 if as_func_ret_failure; then
   218   exitcode=1
   219   echo as_func_ret_failure succeeded.
   220 fi
   222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   223   :
   224 else
   225   exitcode=1
   226   echo positional parameters were not saved.
   227 fi
   229 test \$exitcode = 0) || { (exit 1); exit 1; }
   231 (
   232   as_lineno_1=\$LINENO
   233   as_lineno_2=\$LINENO
   234   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
   235   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
   236 ") 2> /dev/null; then
   237   :
   238 else
   239   as_candidate_shells=
   240     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
   241 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
   242 do
   243   IFS=$as_save_IFS
   244   test -z "$as_dir" && as_dir=.
   245   case $as_dir in
   246 	 /*)
   247 	   for as_base in sh bash ksh sh5; do
   248 	     as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
   249 	   done;;
   250        esac
   251 done
   252 IFS=$as_save_IFS
   255       for as_shell in $as_candidate_shells $SHELL; do
   256 	 # Try only shells that exist, to save several forks.
   257 	 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
   258 		{ ("$as_shell") 2> /dev/null <<\_ASEOF
   259 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   260   emulate sh
   261   NULLCMD=:
   262   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   263   # is contrary to our usage.  Disable this feature.
   264   alias -g '${1+"$@"}'='"$@"'
   265   setopt NO_GLOB_SUBST
   266 else
   267   case `(set -o) 2>/dev/null` in
   268   *posix*) set -o posix ;;
   269 esac
   271 fi
   274 :
   275 _ASEOF
   276 }; then
   277   CONFIG_SHELL=$as_shell
   278 	       as_have_required=yes
   279 	       if { "$as_shell" 2> /dev/null <<\_ASEOF
   280 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
   281   emulate sh
   282   NULLCMD=:
   283   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
   284   # is contrary to our usage.  Disable this feature.
   285   alias -g '${1+"$@"}'='"$@"'
   286   setopt NO_GLOB_SUBST
   287 else
   288   case `(set -o) 2>/dev/null` in
   289   *posix*) set -o posix ;;
   290 esac
   292 fi
   295 :
   296 (as_func_return () {
   297   (exit $1)
   298 }
   299 as_func_success () {
   300   as_func_return 0
   301 }
   302 as_func_failure () {
   303   as_func_return 1
   304 }
   305 as_func_ret_success () {
   306   return 0
   307 }
   308 as_func_ret_failure () {
   309   return 1
   310 }
   312 exitcode=0
   313 if as_func_success; then
   314   :
   315 else
   316   exitcode=1
   317   echo as_func_success failed.
   318 fi
   320 if as_func_failure; then
   321   exitcode=1
   322   echo as_func_failure succeeded.
   323 fi
   325 if as_func_ret_success; then
   326   :
   327 else
   328   exitcode=1
   329   echo as_func_ret_success failed.
   330 fi
   332 if as_func_ret_failure; then
   333   exitcode=1
   334   echo as_func_ret_failure succeeded.
   335 fi
   337 if ( set x; as_func_ret_success y && test x = "$1" ); then
   338   :
   339 else
   340   exitcode=1
   341   echo positional parameters were not saved.
   342 fi
   344 test $exitcode = 0) || { (exit 1); exit 1; }
   346 (
   347   as_lineno_1=$LINENO
   348   as_lineno_2=$LINENO
   349   test "x$as_lineno_1" != "x$as_lineno_2" &&
   350   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
   352 _ASEOF
   353 }; then
   354   break
   355 fi
   357 fi
   359       done
   361       if test "x$CONFIG_SHELL" != x; then
   362   for as_var in BASH_ENV ENV
   363 	do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
   364 	done
   365 	export CONFIG_SHELL
   366 	exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
   367 fi
   370     if test $as_have_required = no; then
   371   echo This script requires a shell more modern than all the
   372       echo shells that I found on your system.  Please install a
   373       echo modern shell, or manually run the script under such a
   374       echo shell if you do have one.
   375       { (exit 1); exit 1; }
   376 fi
   379 fi
   381 fi
   385 (eval "as_func_return () {
   386   (exit \$1)
   387 }
   388 as_func_success () {
   389   as_func_return 0
   390 }
   391 as_func_failure () {
   392   as_func_return 1
   393 }
   394 as_func_ret_success () {
   395   return 0
   396 }
   397 as_func_ret_failure () {
   398   return 1
   399 }
   401 exitcode=0
   402 if as_func_success; then
   403   :
   404 else
   405   exitcode=1
   406   echo as_func_success failed.
   407 fi
   409 if as_func_failure; then
   410   exitcode=1
   411   echo as_func_failure succeeded.
   412 fi
   414 if as_func_ret_success; then
   415   :
   416 else
   417   exitcode=1
   418   echo as_func_ret_success failed.
   419 fi
   421 if as_func_ret_failure; then
   422   exitcode=1
   423   echo as_func_ret_failure succeeded.
   424 fi
   426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
   427   :
   428 else
   429   exitcode=1
   430   echo positional parameters were not saved.
   431 fi
   433 test \$exitcode = 0") || {
   434   echo No shell found that supports shell functions.
   435   echo Please tell bug-autoconf@gnu.org about your system,
   436   echo including any error possibly output before this message.
   437   echo This can help us improve future autoconf versions.
   438   echo Configuration will now proceed without shell functions.
   439 }
   443   as_lineno_1=$LINENO
   444   as_lineno_2=$LINENO
   445   test "x$as_lineno_1" != "x$as_lineno_2" &&
   446   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
   448   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
   449   # uniformly replaced by the line number.  The first 'sed' inserts a
   450   # line-number line after each line using $LINENO; the second 'sed'
   451   # does the real work.  The second script uses 'N' to pair each
   452   # line-number line with the line containing $LINENO, and appends
   453   # trailing '-' during substitution so that $LINENO is not a special
   454   # case at line end.
   455   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
   456   # scripts with optimization help from Paolo Bonzini.  Blame Lee
   457   # E. McMahon (1931-1989) for sed's syntax.  :-)
   458   sed -n '
   459     p
   460     /[$]LINENO/=
   461   ' <$as_myself |
   462     sed '
   463       s/[$]LINENO.*/&-/
   464       t lineno
   465       b
   466       :lineno
   467       N
   468       :loop
   469       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
   470       t loop
   471       s/-\n.*//
   472     ' >$as_me.lineno &&
   473   chmod +x "$as_me.lineno" ||
   474     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
   475    { (exit 1); exit 1; }; }
   477   # Don't try to exec as it changes $[0], causing all sort of problems
   478   # (the dirname of $[0] is not the place where we might find the
   479   # original and so on.  Autoconf is especially sensitive to this).
   480   . "./$as_me.lineno"
   481   # Exit status is that of the last command.
   482   exit
   483 }
   486 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
   487   as_dirname=dirname
   488 else
   489   as_dirname=false
   490 fi
   492 ECHO_C= ECHO_N= ECHO_T=
   493 case `echo -n x` in
   494 -n*)
   495   case `echo 'x\c'` in
   496   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
   497   *)   ECHO_C='\c';;
   498   esac;;
   499 *)
   500   ECHO_N='-n';;
   501 esac
   502 if expr a : '\(a\)' >/dev/null 2>&1 &&
   503    test "X`expr 00001 : '.*\(...\)'`" = X001; then
   504   as_expr=expr
   505 else
   506   as_expr=false
   507 fi
   509 rm -f conf$$ conf$$.exe conf$$.file
   510 if test -d conf$$.dir; then
   511   rm -f conf$$.dir/conf$$.file
   512 else
   513   rm -f conf$$.dir
   514   mkdir conf$$.dir 2>/dev/null
   515 fi
   516 if (echo >conf$$.file) 2>/dev/null; then
   517   if ln -s conf$$.file conf$$ 2>/dev/null; then
   518     as_ln_s='ln -s'
   519     # ... but there are two gotchas:
   520     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
   521     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
   522     # In both cases, we have to default to `cp -p'.
   523     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
   524       as_ln_s='cp -p'
   525   elif ln conf$$.file conf$$ 2>/dev/null; then
   526     as_ln_s=ln
   527   else
   528     as_ln_s='cp -p'
   529   fi
   530 else
   531   as_ln_s='cp -p'
   532 fi
   533 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
   534 rmdir conf$$.dir 2>/dev/null
   536 if mkdir -p . 2>/dev/null; then
   537   as_mkdir_p=:
   538 else
   539   test -d ./-p && rmdir ./-p
   540   as_mkdir_p=false
   541 fi
   543 if test -x / >/dev/null 2>&1; then
   544   as_test_x='test -x'
   545 else
   546   if ls -dL / >/dev/null 2>&1; then
   547     as_ls_L_option=L
   548   else
   549     as_ls_L_option=
   550   fi
   551   as_test_x='
   552     eval sh -c '\''
   553       if test -d "$1"; then
   554 	test -d "$1/.";
   555       else
   556 	case $1 in
   557 	-*)set "./$1";;
   558 	esac;
   559 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
   560 	???[sx]*):;;*)false;;esac;fi
   561     '\'' sh
   562   '
   563 fi
   564 as_executable_p=$as_test_x
   566 # Sed expression to map a string onto a valid CPP name.
   567 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
   569 # Sed expression to map a string onto a valid variable name.
   570 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
   574 exec 7<&0 </dev/null 6>&1
   576 # Name of the host.
   577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
   578 # so uname gets run too.
   579 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
   581 #
   582 # Initializations.
   583 #
   584 ac_default_prefix=/usr/local
   585 ac_clean_files=
   586 ac_config_libobj_dir=.
   587 LIBOBJS=
   588 cross_compiling=no
   589 subdirs=
   590 MFLAGS=
   591 MAKEFLAGS=
   592 SHELL=${CONFIG_SHELL-/bin/sh}
   594 # Identity of this package.
   595 PACKAGE_NAME=
   596 PACKAGE_TARNAME=
   597 PACKAGE_VERSION=
   598 PACKAGE_STRING=
   599 PACKAGE_BUGREPORT=
   601 ac_unique_file="configure.in"
   602 # Factoring default headers for most tests.
   603 ac_includes_default="\
   604 #include <stdio.h>
   605 #ifdef HAVE_SYS_TYPES_H
   606 # include <sys/types.h>
   607 #endif
   608 #ifdef HAVE_SYS_STAT_H
   609 # include <sys/stat.h>
   610 #endif
   611 #ifdef STDC_HEADERS
   612 # include <stdlib.h>
   613 # include <stddef.h>
   614 #else
   615 # ifdef HAVE_STDLIB_H
   616 #  include <stdlib.h>
   617 # endif
   618 #endif
   619 #ifdef HAVE_STRING_H
   620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
   621 #  include <memory.h>
   622 # endif
   623 # include <string.h>
   624 #endif
   625 #ifdef HAVE_STRINGS_H
   626 # include <strings.h>
   627 #endif
   628 #ifdef HAVE_INTTYPES_H
   629 # include <inttypes.h>
   630 #endif
   631 #ifdef HAVE_STDINT_H
   632 # include <stdint.h>
   633 #endif
   634 #ifdef HAVE_UNISTD_H
   635 # include <unistd.h>
   636 #endif"
   638 ac_subst_vars='SHELL
   639 PATH_SEPARATOR
   640 PACKAGE_NAME
   641 PACKAGE_TARNAME
   642 PACKAGE_VERSION
   643 PACKAGE_STRING
   644 PACKAGE_BUGREPORT
   645 exec_prefix
   646 prefix
   647 program_transform_name
   648 bindir
   649 sbindir
   650 libexecdir
   651 datarootdir
   652 datadir
   653 sysconfdir
   654 sharedstatedir
   655 localstatedir
   656 includedir
   657 oldincludedir
   658 docdir
   659 infodir
   660 htmldir
   661 dvidir
   662 pdfdir
   663 psdir
   664 libdir
   665 localedir
   666 mandir
   667 DEFS
   668 ECHO_C
   669 ECHO_N
   670 ECHO_T
   671 LIBS
   672 build_alias
   673 host_alias
   674 target_alias
   675 INSTALL_PROGRAM
   676 INSTALL_SCRIPT
   677 INSTALL_DATA
   678 CYGPATH_W
   679 PACKAGE
   680 VERSION
   681 ACLOCAL
   682 AUTOCONF
   683 AUTOMAKE
   684 AUTOHEADER
   685 MAKEINFO
   686 install_sh
   687 STRIP
   688 INSTALL_STRIP_PROGRAM
   689 mkdir_p
   690 AWK
   691 SET_MAKE
   692 am__leading_dot
   693 AMTAR
   694 am__tar
   695 am__untar
   696 MAINTAINER_MODE_TRUE
   697 MAINTAINER_MODE_FALSE
   698 MAINT
   699 CC
   700 CFLAGS
   701 LDFLAGS
   702 CPPFLAGS
   703 ac_ct_CC
   704 EXEEXT
   705 OBJEXT
   706 DEPDIR
   707 am__include
   708 am__quote
   709 AMDEP_TRUE
   710 AMDEP_FALSE
   711 AMDEPBACKSLASH
   712 CCDEPMODE
   713 am__fastdepCC_TRUE
   714 am__fastdepCC_FALSE
   715 OBJC
   716 OBJCFLAGS
   717 ac_ct_OBJC
   718 SED
   719 CCAS
   720 CCASFLAGS
   721 CPP
   722 GREP
   723 EGREP
   724 build
   725 build_cpu
   726 build_vendor
   727 build_os
   728 host
   729 host_cpu
   730 host_vendor
   731 host_os
   732 OBJCDEPMODE
   733 am__fastdepOBJC_TRUE
   734 am__fastdepOBJC_FALSE
   735 POD2MAN
   736 POD2HTML
   737 GUI_COCOA_TRUE
   738 GUI_COCOA_FALSE
   739 PKG_CONFIG
   740 LIBPNG_CFLAGS
   741 LIBPNG_LIBS
   742 GLIB_CFLAGS
   743 GLIB_LIBS
   744 GTK_CFLAGS
   745 GTK_LIBS
   746 GUI_GTK_TRUE
   747 GUI_GTK_FALSE
   748 VIDEO_OSMESA_TRUE
   749 VIDEO_OSMESA_FALSE
   750 VIDEO_GLX_TRUE
   751 VIDEO_GLX_FALSE
   752 VIDEO_NSGL_TRUE
   753 VIDEO_NSGL_FALSE
   754 BUILD_SH4X86_TRUE
   755 BUILD_SH4X86_FALSE
   756 AUDIO_OSX_TRUE
   757 AUDIO_OSX_FALSE
   758 PULSE_CFLAGS
   759 PULSE_LIBS
   760 AUDIO_PULSE_TRUE
   761 AUDIO_PULSE_FALSE
   762 ESOUND_CFLAGS
   763 ESOUND_LIBS
   764 AUDIO_ESOUND_TRUE
   765 AUDIO_ESOUND_FALSE
   766 ALSA_CFLAGS
   767 ALSA_LIBS
   768 AUDIO_ALSA_TRUE
   769 AUDIO_ALSA_FALSE
   770 CDROM_LINUX_TRUE
   771 CDROM_LINUX_FALSE
   772 CDROM_OSX_TRUE
   773 CDROM_OSX_FALSE
   774 CDROM_NONE_TRUE
   775 CDROM_NONE_FALSE
   776 JOY_LINUX_TRUE
   777 JOY_LINUX_FALSE
   778 SHCC
   779 SHLD
   780 SHOBJCOPY
   781 ARMCC
   782 ARMLD
   783 ARMOBJCOPY
   784 BUILD_SYSTEST_TRUE
   785 BUILD_SYSTEST_FALSE
   786 BUILD_ARMTEST_TRUE
   787 BUILD_ARMTEST_FALSE
   788 GETTEXT_PACKAGE
   789 USE_NLS
   790 MSGFMT
   791 MSGFMT_OPTS
   792 GMSGFMT
   793 XGETTEXT
   794 CATALOGS
   795 CATOBJEXT
   796 DATADIRNAME
   797 GMOFILES
   798 INSTOBJEXT
   799 INTLLIBS
   800 PO_IN_DATADIR_TRUE
   801 PO_IN_DATADIR_FALSE
   802 POFILES
   803 POSUB
   804 MKINSTALLDIRS
   805 LIBOBJS
   806 LTLIBOBJS'
   807 ac_subst_files=''
   808 ac_user_opts='
   809 enable_option_checking
   810 enable_maintainer_mode
   811 enable_dependency_tracking
   812 enable_strict_warn
   813 enable_translator
   814 enable_optimized
   815 enable_profiled
   816 enable_trace
   817 enable_watch
   818 enable_sh4stats
   819 with_osmesa
   820 with_gtk
   821 with_esd
   822 with_pulse
   823 '
   824       ac_precious_vars='build_alias
   825 host_alias
   826 target_alias
   827 CC
   828 CFLAGS
   829 LDFLAGS
   830 LIBS
   831 CPPFLAGS
   832 OBJC
   833 OBJCFLAGS
   834 CCAS
   835 CCASFLAGS
   836 CPP
   837 PKG_CONFIG
   838 LIBPNG_CFLAGS
   839 LIBPNG_LIBS
   840 GLIB_CFLAGS
   841 GLIB_LIBS
   842 GTK_CFLAGS
   843 GTK_LIBS
   844 PULSE_CFLAGS
   845 PULSE_LIBS
   846 ESOUND_CFLAGS
   847 ESOUND_LIBS
   848 ALSA_CFLAGS
   849 ALSA_LIBS'
   852 # Initialize some variables set by options.
   853 ac_init_help=
   854 ac_init_version=false
   855 ac_unrecognized_opts=
   856 ac_unrecognized_sep=
   857 # The variables have the same names as the options, with
   858 # dashes changed to underlines.
   859 cache_file=/dev/null
   860 exec_prefix=NONE
   861 no_create=
   862 no_recursion=
   863 prefix=NONE
   864 program_prefix=NONE
   865 program_suffix=NONE
   866 program_transform_name=s,x,x,
   867 silent=
   868 site=
   869 srcdir=
   870 verbose=
   871 x_includes=NONE
   872 x_libraries=NONE
   874 # Installation directory options.
   875 # These are left unexpanded so users can "make install exec_prefix=/foo"
   876 # and all the variables that are supposed to be based on exec_prefix
   877 # by default will actually change.
   878 # Use braces instead of parens because sh, perl, etc. also accept them.
   879 # (The list follows the same order as the GNU Coding Standards.)
   880 bindir='${exec_prefix}/bin'
   881 sbindir='${exec_prefix}/sbin'
   882 libexecdir='${exec_prefix}/libexec'
   883 datarootdir='${prefix}/share'
   884 datadir='${datarootdir}'
   885 sysconfdir='${prefix}/etc'
   886 sharedstatedir='${prefix}/com'
   887 localstatedir='${prefix}/var'
   888 includedir='${prefix}/include'
   889 oldincludedir='/usr/include'
   890 docdir='${datarootdir}/doc/${PACKAGE}'
   891 infodir='${datarootdir}/info'
   892 htmldir='${docdir}'
   893 dvidir='${docdir}'
   894 pdfdir='${docdir}'
   895 psdir='${docdir}'
   896 libdir='${exec_prefix}/lib'
   897 localedir='${datarootdir}/locale'
   898 mandir='${datarootdir}/man'
   900 ac_prev=
   901 ac_dashdash=
   902 for ac_option
   903 do
   904   # If the previous option needs an argument, assign it.
   905   if test -n "$ac_prev"; then
   906     eval $ac_prev=\$ac_option
   907     ac_prev=
   908     continue
   909   fi
   911   case $ac_option in
   912   *=*)	ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
   913   *)	ac_optarg=yes ;;
   914   esac
   916   # Accept the important Cygnus configure options, so we can diagnose typos.
   918   case $ac_dashdash$ac_option in
   919   --)
   920     ac_dashdash=yes ;;
   922   -bindir | --bindir | --bindi | --bind | --bin | --bi)
   923     ac_prev=bindir ;;
   924   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
   925     bindir=$ac_optarg ;;
   927   -build | --build | --buil | --bui | --bu)
   928     ac_prev=build_alias ;;
   929   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
   930     build_alias=$ac_optarg ;;
   932   -cache-file | --cache-file | --cache-fil | --cache-fi \
   933   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
   934     ac_prev=cache_file ;;
   935   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
   936   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
   937     cache_file=$ac_optarg ;;
   939   --config-cache | -C)
   940     cache_file=config.cache ;;
   942   -datadir | --datadir | --datadi | --datad)
   943     ac_prev=datadir ;;
   944   -datadir=* | --datadir=* | --datadi=* | --datad=*)
   945     datadir=$ac_optarg ;;
   947   -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
   948   | --dataroo | --dataro | --datar)
   949     ac_prev=datarootdir ;;
   950   -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
   951   | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
   952     datarootdir=$ac_optarg ;;
   954   -disable-* | --disable-*)
   955     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
   956     # Reject names that are not valid shell variable names.
   957     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   958       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   959    { (exit 1); exit 1; }; }
   960     ac_useropt_orig=$ac_useropt
   961     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   962     case $ac_user_opts in
   963       *"
   964 "enable_$ac_useropt"
   965 "*) ;;
   966       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
   967 	 ac_unrecognized_sep=', ';;
   968     esac
   969     eval enable_$ac_useropt=no ;;
   971   -docdir | --docdir | --docdi | --doc | --do)
   972     ac_prev=docdir ;;
   973   -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
   974     docdir=$ac_optarg ;;
   976   -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
   977     ac_prev=dvidir ;;
   978   -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
   979     dvidir=$ac_optarg ;;
   981   -enable-* | --enable-*)
   982     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
   983     # Reject names that are not valid shell variable names.
   984     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
   985       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
   986    { (exit 1); exit 1; }; }
   987     ac_useropt_orig=$ac_useropt
   988     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
   989     case $ac_user_opts in
   990       *"
   991 "enable_$ac_useropt"
   992 "*) ;;
   993       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
   994 	 ac_unrecognized_sep=', ';;
   995     esac
   996     eval enable_$ac_useropt=\$ac_optarg ;;
   998   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
   999   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1000   | --exec | --exe | --ex)
  1001     ac_prev=exec_prefix ;;
  1002   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1003   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1004   | --exec=* | --exe=* | --ex=*)
  1005     exec_prefix=$ac_optarg ;;
  1007   -gas | --gas | --ga | --g)
  1008     # Obsolete; use --with-gas.
  1009     with_gas=yes ;;
  1011   -help | --help | --hel | --he | -h)
  1012     ac_init_help=long ;;
  1013   -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1014     ac_init_help=recursive ;;
  1015   -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1016     ac_init_help=short ;;
  1018   -host | --host | --hos | --ho)
  1019     ac_prev=host_alias ;;
  1020   -host=* | --host=* | --hos=* | --ho=*)
  1021     host_alias=$ac_optarg ;;
  1023   -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1024     ac_prev=htmldir ;;
  1025   -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1026   | --ht=*)
  1027     htmldir=$ac_optarg ;;
  1029   -includedir | --includedir | --includedi | --included | --include \
  1030   | --includ | --inclu | --incl | --inc)
  1031     ac_prev=includedir ;;
  1032   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1033   | --includ=* | --inclu=* | --incl=* | --inc=*)
  1034     includedir=$ac_optarg ;;
  1036   -infodir | --infodir | --infodi | --infod | --info | --inf)
  1037     ac_prev=infodir ;;
  1038   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1039     infodir=$ac_optarg ;;
  1041   -libdir | --libdir | --libdi | --libd)
  1042     ac_prev=libdir ;;
  1043   -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1044     libdir=$ac_optarg ;;
  1046   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1047   | --libexe | --libex | --libe)
  1048     ac_prev=libexecdir ;;
  1049   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1050   | --libexe=* | --libex=* | --libe=*)
  1051     libexecdir=$ac_optarg ;;
  1053   -localedir | --localedir | --localedi | --localed | --locale)
  1054     ac_prev=localedir ;;
  1055   -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1056     localedir=$ac_optarg ;;
  1058   -localstatedir | --localstatedir | --localstatedi | --localstated \
  1059   | --localstate | --localstat | --localsta | --localst | --locals)
  1060     ac_prev=localstatedir ;;
  1061   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1062   | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1063     localstatedir=$ac_optarg ;;
  1065   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1066     ac_prev=mandir ;;
  1067   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1068     mandir=$ac_optarg ;;
  1070   -nfp | --nfp | --nf)
  1071     # Obsolete; use --without-fp.
  1072     with_fp=no ;;
  1074   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1075   | --no-cr | --no-c | -n)
  1076     no_create=yes ;;
  1078   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1079   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1080     no_recursion=yes ;;
  1082   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1083   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1084   | --oldin | --oldi | --old | --ol | --o)
  1085     ac_prev=oldincludedir ;;
  1086   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1087   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1088   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1089     oldincludedir=$ac_optarg ;;
  1091   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1092     ac_prev=prefix ;;
  1093   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1094     prefix=$ac_optarg ;;
  1096   -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1097   | --program-pre | --program-pr | --program-p)
  1098     ac_prev=program_prefix ;;
  1099   -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1100   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1101     program_prefix=$ac_optarg ;;
  1103   -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1104   | --program-suf | --program-su | --program-s)
  1105     ac_prev=program_suffix ;;
  1106   -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1107   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1108     program_suffix=$ac_optarg ;;
  1110   -program-transform-name | --program-transform-name \
  1111   | --program-transform-nam | --program-transform-na \
  1112   | --program-transform-n | --program-transform- \
  1113   | --program-transform | --program-transfor \
  1114   | --program-transfo | --program-transf \
  1115   | --program-trans | --program-tran \
  1116   | --progr-tra | --program-tr | --program-t)
  1117     ac_prev=program_transform_name ;;
  1118   -program-transform-name=* | --program-transform-name=* \
  1119   | --program-transform-nam=* | --program-transform-na=* \
  1120   | --program-transform-n=* | --program-transform-=* \
  1121   | --program-transform=* | --program-transfor=* \
  1122   | --program-transfo=* | --program-transf=* \
  1123   | --program-trans=* | --program-tran=* \
  1124   | --progr-tra=* | --program-tr=* | --program-t=*)
  1125     program_transform_name=$ac_optarg ;;
  1127   -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1128     ac_prev=pdfdir ;;
  1129   -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1130     pdfdir=$ac_optarg ;;
  1132   -psdir | --psdir | --psdi | --psd | --ps)
  1133     ac_prev=psdir ;;
  1134   -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1135     psdir=$ac_optarg ;;
  1137   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1138   | -silent | --silent | --silen | --sile | --sil)
  1139     silent=yes ;;
  1141   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1142     ac_prev=sbindir ;;
  1143   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1144   | --sbi=* | --sb=*)
  1145     sbindir=$ac_optarg ;;
  1147   -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1148   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1149   | --sharedst | --shareds | --shared | --share | --shar \
  1150   | --sha | --sh)
  1151     ac_prev=sharedstatedir ;;
  1152   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1153   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1154   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1155   | --sha=* | --sh=*)
  1156     sharedstatedir=$ac_optarg ;;
  1158   -site | --site | --sit)
  1159     ac_prev=site ;;
  1160   -site=* | --site=* | --sit=*)
  1161     site=$ac_optarg ;;
  1163   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1164     ac_prev=srcdir ;;
  1165   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1166     srcdir=$ac_optarg ;;
  1168   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1169   | --syscon | --sysco | --sysc | --sys | --sy)
  1170     ac_prev=sysconfdir ;;
  1171   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1172   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1173     sysconfdir=$ac_optarg ;;
  1175   -target | --target | --targe | --targ | --tar | --ta | --t)
  1176     ac_prev=target_alias ;;
  1177   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1178     target_alias=$ac_optarg ;;
  1180   -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1181     verbose=yes ;;
  1183   -version | --version | --versio | --versi | --vers | -V)
  1184     ac_init_version=: ;;
  1186   -with-* | --with-*)
  1187     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1188     # Reject names that are not valid shell variable names.
  1189     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1190       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1191    { (exit 1); exit 1; }; }
  1192     ac_useropt_orig=$ac_useropt
  1193     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1194     case $ac_user_opts in
  1195       *"
  1196 "with_$ac_useropt"
  1197 "*) ;;
  1198       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1199 	 ac_unrecognized_sep=', ';;
  1200     esac
  1201     eval with_$ac_useropt=\$ac_optarg ;;
  1203   -without-* | --without-*)
  1204     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1205     # Reject names that are not valid shell variable names.
  1206     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1207       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1208    { (exit 1); exit 1; }; }
  1209     ac_useropt_orig=$ac_useropt
  1210     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1211     case $ac_user_opts in
  1212       *"
  1213 "with_$ac_useropt"
  1214 "*) ;;
  1215       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1216 	 ac_unrecognized_sep=', ';;
  1217     esac
  1218     eval with_$ac_useropt=no ;;
  1220   --x)
  1221     # Obsolete; use --with-x.
  1222     with_x=yes ;;
  1224   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1225   | --x-incl | --x-inc | --x-in | --x-i)
  1226     ac_prev=x_includes ;;
  1227   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1228   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1229     x_includes=$ac_optarg ;;
  1231   -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1232   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1233     ac_prev=x_libraries ;;
  1234   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1235   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1236     x_libraries=$ac_optarg ;;
  1238   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1239 Try \`$0 --help' for more information." >&2
  1240    { (exit 1); exit 1; }; }
  1241     ;;
  1243   *=*)
  1244     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1245     # Reject names that are not valid shell variable names.
  1246     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1247       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1248    { (exit 1); exit 1; }; }
  1249     eval $ac_envvar=\$ac_optarg
  1250     export $ac_envvar ;;
  1252   *)
  1253     # FIXME: should be removed in autoconf 3.0.
  1254     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1255     expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1256       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1257     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1258     ;;
  1260   esac
  1261 done
  1263 if test -n "$ac_prev"; then
  1264   ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1265   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1266    { (exit 1); exit 1; }; }
  1267 fi
  1269 if test -n "$ac_unrecognized_opts"; then
  1270   case $enable_option_checking in
  1271     no) ;;
  1272     fatal) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
  1273    { (exit 1); exit 1; }; } ;;
  1274     *)     $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1275   esac
  1276 fi
  1278 # Check all directory arguments for consistency.
  1279 for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1280 		datadir sysconfdir sharedstatedir localstatedir includedir \
  1281 		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1282 		libdir localedir mandir
  1283 do
  1284   eval ac_val=\$$ac_var
  1285   # Remove trailing slashes.
  1286   case $ac_val in
  1287     */ )
  1288       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1289       eval $ac_var=\$ac_val;;
  1290   esac
  1291   # Be sure to have absolute directory names.
  1292   case $ac_val in
  1293     [\\/$]* | ?:[\\/]* )  continue;;
  1294     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1295   esac
  1296   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1297    { (exit 1); exit 1; }; }
  1298 done
  1300 # There might be people who depend on the old broken behavior: `$host'
  1301 # used to hold the argument of --host etc.
  1302 # FIXME: To remove some day.
  1303 build=$build_alias
  1304 host=$host_alias
  1305 target=$target_alias
  1307 # FIXME: To remove some day.
  1308 if test "x$host_alias" != x; then
  1309   if test "x$build_alias" = x; then
  1310     cross_compiling=maybe
  1311     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1312     If a cross compiler is detected then cross compile mode will be used." >&2
  1313   elif test "x$build_alias" != "x$host_alias"; then
  1314     cross_compiling=yes
  1315   fi
  1316 fi
  1318 ac_tool_prefix=
  1319 test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1321 test "$silent" = yes && exec 6>/dev/null
  1324 ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1325 ac_ls_di=`ls -di .` &&
  1326 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1327   { $as_echo "$as_me: error: Working directory cannot be determined" >&2
  1328    { (exit 1); exit 1; }; }
  1329 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1330   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1331    { (exit 1); exit 1; }; }
  1334 # Find the source files, if location was not specified.
  1335 if test -z "$srcdir"; then
  1336   ac_srcdir_defaulted=yes
  1337   # Try the directory containing this script, then the parent directory.
  1338   ac_confdir=`$as_dirname -- "$as_myself" ||
  1339 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1340 	 X"$as_myself" : 'X\(//\)[^/]' \| \
  1341 	 X"$as_myself" : 'X\(//\)$' \| \
  1342 	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1343 $as_echo X"$as_myself" |
  1344     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1345 	    s//\1/
  1348 	  /^X\(\/\/\)[^/].*/{
  1349 	    s//\1/
  1352 	  /^X\(\/\/\)$/{
  1353 	    s//\1/
  1356 	  /^X\(\/\).*/{
  1357 	    s//\1/
  1360 	  s/.*/./; q'`
  1361   srcdir=$ac_confdir
  1362   if test ! -r "$srcdir/$ac_unique_file"; then
  1363     srcdir=..
  1364   fi
  1365 else
  1366   ac_srcdir_defaulted=no
  1367 fi
  1368 if test ! -r "$srcdir/$ac_unique_file"; then
  1369   test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1370   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1371    { (exit 1); exit 1; }; }
  1372 fi
  1373 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1374 ac_abs_confdir=`(
  1375 	cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1376    { (exit 1); exit 1; }; }
  1377 	pwd)`
  1378 # When building in place, set srcdir=.
  1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
  1380   srcdir=.
  1381 fi
  1382 # Remove unnecessary trailing slashes from srcdir.
  1383 # Double slashes in file names in object file debugging info
  1384 # mess up M-x gdb in Emacs.
  1385 case $srcdir in
  1386 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1387 esac
  1388 for ac_var in $ac_precious_vars; do
  1389   eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1390   eval ac_env_${ac_var}_value=\$${ac_var}
  1391   eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1392   eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1393 done
  1396 # Report the --help message.
  1398 if test "$ac_init_help" = "long"; then
  1399   # Omit some internal or obsolete options to make the list less imposing.
  1400   # This message is too long to be a string in the A/UX 3.1 sh.
  1401   cat <<_ACEOF
  1402 \`configure' configures this package to adapt to many kinds of systems.
  1404 Usage: $0 [OPTION]... [VAR=VALUE]...
  1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1407 VAR=VALUE.  See below for descriptions of some of the useful variables.
  1409 Defaults for the options are specified in brackets.
  1411 Configuration:
  1412   -h, --help              display this help and exit
  1413       --help=short        display options specific to this package
  1414       --help=recursive    display the short help of all the included packages
  1415   -V, --version           display version information and exit
  1416   -q, --quiet, --silent   do not print \`checking...' messages
  1417       --cache-file=FILE   cache test results in FILE [disabled]
  1418   -C, --config-cache      alias for \`--cache-file=config.cache'
  1419   -n, --no-create         do not create output files
  1420       --srcdir=DIR        find the sources in DIR [configure dir or \`..']
  1422 Installation directories:
  1423   --prefix=PREFIX         install architecture-independent files in PREFIX
  1424                           [$ac_default_prefix]
  1425   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
  1426                           [PREFIX]
  1428 By default, \`make install' will install all the files in
  1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
  1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1431 for instance \`--prefix=\$HOME'.
  1433 For better control, use the options below.
  1435 Fine tuning of the installation directories:
  1436   --bindir=DIR            user executables [EPREFIX/bin]
  1437   --sbindir=DIR           system admin executables [EPREFIX/sbin]
  1438   --libexecdir=DIR        program executables [EPREFIX/libexec]
  1439   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
  1440   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
  1441   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
  1442   --libdir=DIR            object code libraries [EPREFIX/lib]
  1443   --includedir=DIR        C header files [PREFIX/include]
  1444   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
  1445   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
  1446   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
  1447   --infodir=DIR           info documentation [DATAROOTDIR/info]
  1448   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
  1449   --mandir=DIR            man documentation [DATAROOTDIR/man]
  1450   --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
  1451   --htmldir=DIR           html documentation [DOCDIR]
  1452   --dvidir=DIR            dvi documentation [DOCDIR]
  1453   --pdfdir=DIR            pdf documentation [DOCDIR]
  1454   --psdir=DIR             ps documentation [DOCDIR]
  1455 _ACEOF
  1457   cat <<\_ACEOF
  1459 Program names:
  1460   --program-prefix=PREFIX            prepend PREFIX to installed program names
  1461   --program-suffix=SUFFIX            append SUFFIX to installed program names
  1462   --program-transform-name=PROGRAM   run sed PROGRAM on installed program names
  1464 System types:
  1465   --build=BUILD     configure for building on BUILD [guessed]
  1466   --host=HOST       cross-compile to build programs to run on HOST [BUILD]
  1467 _ACEOF
  1468 fi
  1470 if test -n "$ac_init_help"; then
  1472   cat <<\_ACEOF
  1474 Optional Features:
  1475   --disable-option-checking  ignore unrecognized --enable/--with options
  1476   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
  1477   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
  1478   --enable-maintainer-mode  enable make rules and dependencies not useful
  1479 			  (and sometimes confusing) to the casual installer
  1480   --disable-dependency-tracking  speeds up one-time build
  1481   --enable-dependency-tracking   do not reject slow dependency extractors
  1482   --enable-strict-warn    Enable strict compilation warnings
  1483   --disable-translator    Disable the SH4 translator (Enabled by default)
  1484   --disable-optimized     Disable compile-time optimizations (Enabled by
  1485                           default)
  1486   --enable-profiled       Enable profiling build
  1487   --enable-trace          Enable generation of IO traces (warning: hurts
  1488                           performance)
  1489   --enable-watch          Enable watchpoints in the debugger (warning: hurts
  1490                           performance)
  1491   --enable-sh4stats       Enable statistics on executed sh4 instructions
  1493 Optional Packages:
  1494   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
  1495   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
  1496   --with-osmesa           Build with the osmesa GL library (software
  1497                           rendering)
  1498   --with-gtk              Build with the GTK UI. Default on X11 systems
  1499   --with-esd              Build with support for the ESounD audio system
  1500   --with-pulse            Build with support for the PulseAudio audio system
  1502 Some influential environment variables:
  1503   CC          C compiler command
  1504   CFLAGS      C compiler flags
  1505   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
  1506               nonstandard directory <lib dir>
  1507   LIBS        libraries to pass to the linker, e.g. -l<library>
  1508   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1509               you have headers in a nonstandard directory <include dir>
  1510   OBJC        Objective C compiler command
  1511   OBJCFLAGS   Objective C compiler flags
  1512   CCAS        assembler compiler command (defaults to CC)
  1513   CCASFLAGS   assembler compiler flags (defaults to CFLAGS)
  1514   CPP         C preprocessor
  1515   PKG_CONFIG  path to pkg-config utility
  1516   LIBPNG_CFLAGS
  1517               C compiler flags for LIBPNG, overriding pkg-config
  1518   LIBPNG_LIBS linker flags for LIBPNG, overriding pkg-config
  1519   GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config
  1520   GLIB_LIBS   linker flags for GLIB, overriding pkg-config
  1521   GTK_CFLAGS  C compiler flags for GTK, overriding pkg-config
  1522   GTK_LIBS    linker flags for GTK, overriding pkg-config
  1523   PULSE_CFLAGS
  1524               C compiler flags for PULSE, overriding pkg-config
  1525   PULSE_LIBS  linker flags for PULSE, overriding pkg-config
  1526   ESOUND_CFLAGS
  1527               C compiler flags for ESOUND, overriding pkg-config
  1528   ESOUND_LIBS linker flags for ESOUND, overriding pkg-config
  1529   ALSA_CFLAGS C compiler flags for ALSA, overriding pkg-config
  1530   ALSA_LIBS   linker flags for ALSA, overriding pkg-config
  1532 Use these variables to override the choices made by `configure' or to help
  1533 it to find libraries and programs with nonstandard names/locations.
  1535 _ACEOF
  1536 ac_status=$?
  1537 fi
  1539 if test "$ac_init_help" = "recursive"; then
  1540   # If there are subdirs, report their specific --help.
  1541   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1542     test -d "$ac_dir" ||
  1543       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1544       continue
  1545     ac_builddir=.
  1547 case "$ac_dir" in
  1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1549 *)
  1550   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1551   # A ".." for each directory in $ac_dir_suffix.
  1552   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1553   case $ac_top_builddir_sub in
  1554   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1555   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1556   esac ;;
  1557 esac
  1558 ac_abs_top_builddir=$ac_pwd
  1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1560 # for backward compatibility:
  1561 ac_top_builddir=$ac_top_build_prefix
  1563 case $srcdir in
  1564   .)  # We are building in place.
  1565     ac_srcdir=.
  1566     ac_top_srcdir=$ac_top_builddir_sub
  1567     ac_abs_top_srcdir=$ac_pwd ;;
  1568   [\\/]* | ?:[\\/]* )  # Absolute name.
  1569     ac_srcdir=$srcdir$ac_dir_suffix;
  1570     ac_top_srcdir=$srcdir
  1571     ac_abs_top_srcdir=$srcdir ;;
  1572   *) # Relative name.
  1573     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1574     ac_top_srcdir=$ac_top_build_prefix$srcdir
  1575     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1576 esac
  1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1579     cd "$ac_dir" || { ac_status=$?; continue; }
  1580     # Check for guested configure.
  1581     if test -f "$ac_srcdir/configure.gnu"; then
  1582       echo &&
  1583       $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1584     elif test -f "$ac_srcdir/configure"; then
  1585       echo &&
  1586       $SHELL "$ac_srcdir/configure" --help=recursive
  1587     else
  1588       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1589     fi || ac_status=$?
  1590     cd "$ac_pwd" || { ac_status=$?; break; }
  1591   done
  1592 fi
  1594 test -n "$ac_init_help" && exit $ac_status
  1595 if $ac_init_version; then
  1596   cat <<\_ACEOF
  1597 configure
  1598 generated by GNU Autoconf 2.62
  1600 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1601 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1602 This configure script is free software; the Free Software Foundation
  1603 gives unlimited permission to copy, distribute and modify it.
  1604 _ACEOF
  1605   exit
  1606 fi
  1607 cat >config.log <<_ACEOF
  1608 This file contains any messages produced by compilers while
  1609 running configure, to aid debugging if configure makes a mistake.
  1611 It was created by $as_me, which was
  1612 generated by GNU Autoconf 2.62.  Invocation command line was
  1614   $ $0 $@
  1616 _ACEOF
  1617 exec 5>>config.log
  1619 cat <<_ASUNAME
  1620 ## --------- ##
  1621 ## Platform. ##
  1622 ## --------- ##
  1624 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1625 uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1626 uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1627 uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1628 uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1630 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1631 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
  1633 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
  1634 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
  1635 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1636 /usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
  1637 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
  1638 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
  1639 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
  1641 _ASUNAME
  1643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1644 for as_dir in $PATH
  1645 do
  1646   IFS=$as_save_IFS
  1647   test -z "$as_dir" && as_dir=.
  1648   $as_echo "PATH: $as_dir"
  1649 done
  1650 IFS=$as_save_IFS
  1652 } >&5
  1654 cat >&5 <<_ACEOF
  1657 ## ----------- ##
  1658 ## Core tests. ##
  1659 ## ----------- ##
  1661 _ACEOF
  1664 # Keep a trace of the command line.
  1665 # Strip out --no-create and --no-recursion so they do not pile up.
  1666 # Strip out --silent because we don't want to record it for future runs.
  1667 # Also quote any args containing shell meta-characters.
  1668 # Make two passes to allow for proper duplicate-argument suppression.
  1669 ac_configure_args=
  1670 ac_configure_args0=
  1671 ac_configure_args1=
  1672 ac_must_keep_next=false
  1673 for ac_pass in 1 2
  1674 do
  1675   for ac_arg
  1676   do
  1677     case $ac_arg in
  1678     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1679     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1680     | -silent | --silent | --silen | --sile | --sil)
  1681       continue ;;
  1682     *\'*)
  1683       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1684     esac
  1685     case $ac_pass in
  1686     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1687     2)
  1688       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1689       if test $ac_must_keep_next = true; then
  1690 	ac_must_keep_next=false # Got value, back to normal.
  1691       else
  1692 	case $ac_arg in
  1693 	  *=* | --config-cache | -C | -disable-* | --disable-* \
  1694 	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1695 	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1696 	  | -with-* | --with-* | -without-* | --without-* | --x)
  1697 	    case "$ac_configure_args0 " in
  1698 	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1699 	    esac
  1700 	    ;;
  1701 	  -* ) ac_must_keep_next=true ;;
  1702 	esac
  1703       fi
  1704       ac_configure_args="$ac_configure_args '$ac_arg'"
  1705       ;;
  1706     esac
  1707   done
  1708 done
  1709 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1710 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1712 # When interrupted or exit'd, cleanup temporary files, and complete
  1713 # config.log.  We remove comments because anyway the quotes in there
  1714 # would cause problems or look ugly.
  1715 # WARNING: Use '\'' to represent an apostrophe within the trap.
  1716 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1717 trap 'exit_status=$?
  1718   # Save into config.log some information that might help in debugging.
  1720     echo
  1722     cat <<\_ASBOX
  1723 ## ---------------- ##
  1724 ## Cache variables. ##
  1725 ## ---------------- ##
  1726 _ASBOX
  1727     echo
  1728     # The following way of writing the cache mishandles newlines in values,
  1730   for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1731     eval ac_val=\$$ac_var
  1732     case $ac_val in #(
  1733     *${as_nl}*)
  1734       case $ac_var in #(
  1735       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
  1736 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
  1737       esac
  1738       case $ac_var in #(
  1739       _ | IFS | as_nl) ;; #(
  1740       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1741       *) $as_unset $ac_var ;;
  1742       esac ;;
  1743     esac
  1744   done
  1745   (set) 2>&1 |
  1746     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1747     *${as_nl}ac_space=\ *)
  1748       sed -n \
  1749 	"s/'\''/'\''\\\\'\'''\''/g;
  1750 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1751       ;; #(
  1752     *)
  1753       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1754       ;;
  1755     esac |
  1756     sort
  1758     echo
  1760     cat <<\_ASBOX
  1761 ## ----------------- ##
  1762 ## Output variables. ##
  1763 ## ----------------- ##
  1764 _ASBOX
  1765     echo
  1766     for ac_var in $ac_subst_vars
  1767     do
  1768       eval ac_val=\$$ac_var
  1769       case $ac_val in
  1770       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1771       esac
  1772       $as_echo "$ac_var='\''$ac_val'\''"
  1773     done | sort
  1774     echo
  1776     if test -n "$ac_subst_files"; then
  1777       cat <<\_ASBOX
  1778 ## ------------------- ##
  1779 ## File substitutions. ##
  1780 ## ------------------- ##
  1781 _ASBOX
  1782       echo
  1783       for ac_var in $ac_subst_files
  1784       do
  1785 	eval ac_val=\$$ac_var
  1786 	case $ac_val in
  1787 	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1788 	esac
  1789 	$as_echo "$ac_var='\''$ac_val'\''"
  1790       done | sort
  1791       echo
  1792     fi
  1794     if test -s confdefs.h; then
  1795       cat <<\_ASBOX
  1796 ## ----------- ##
  1797 ## confdefs.h. ##
  1798 ## ----------- ##
  1799 _ASBOX
  1800       echo
  1801       cat confdefs.h
  1802       echo
  1803     fi
  1804     test "$ac_signal" != 0 &&
  1805       $as_echo "$as_me: caught signal $ac_signal"
  1806     $as_echo "$as_me: exit $exit_status"
  1807   } >&5
  1808   rm -f core *.core core.conftest.* &&
  1809     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1810     exit $exit_status
  1811 ' 0
  1812 for ac_signal in 1 2 13 15; do
  1813   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1814 done
  1815 ac_signal=0
  1817 # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1818 rm -f -r conftest* confdefs.h
  1820 # Predefined preprocessor variables.
  1822 cat >>confdefs.h <<_ACEOF
  1823 #define PACKAGE_NAME "$PACKAGE_NAME"
  1824 _ACEOF
  1827 cat >>confdefs.h <<_ACEOF
  1828 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1829 _ACEOF
  1832 cat >>confdefs.h <<_ACEOF
  1833 #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1834 _ACEOF
  1837 cat >>confdefs.h <<_ACEOF
  1838 #define PACKAGE_STRING "$PACKAGE_STRING"
  1839 _ACEOF
  1842 cat >>confdefs.h <<_ACEOF
  1843 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1844 _ACEOF
  1847 # Let the site file select an alternate cache file if it wants to.
  1848 # Prefer an explicitly selected file to automatically selected ones.
  1849 ac_site_file1=NONE
  1850 ac_site_file2=NONE
  1851 if test -n "$CONFIG_SITE"; then
  1852   ac_site_file1=$CONFIG_SITE
  1853 elif test "x$prefix" != xNONE; then
  1854   ac_site_file1=$prefix/share/config.site
  1855   ac_site_file2=$prefix/etc/config.site
  1856 else
  1857   ac_site_file1=$ac_default_prefix/share/config.site
  1858   ac_site_file2=$ac_default_prefix/etc/config.site
  1859 fi
  1860 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1861 do
  1862   test "x$ac_site_file" = xNONE && continue
  1863   if test -r "$ac_site_file"; then
  1864     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1865 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1866     sed 's/^/| /' "$ac_site_file" >&5
  1867     . "$ac_site_file"
  1868   fi
  1869 done
  1871 if test -r "$cache_file"; then
  1872   # Some versions of bash will fail to source /dev/null (special
  1873   # files actually), so we avoid doing that.
  1874   if test -f "$cache_file"; then
  1875     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1876 $as_echo "$as_me: loading cache $cache_file" >&6;}
  1877     case $cache_file in
  1878       [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1879       *)                      . "./$cache_file";;
  1880     esac
  1881   fi
  1882 else
  1883   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1884 $as_echo "$as_me: creating cache $cache_file" >&6;}
  1885   >$cache_file
  1886 fi
  1888 # Check that the precious variables saved in the cache have kept the same
  1889 # value.
  1890 ac_cache_corrupted=false
  1891 for ac_var in $ac_precious_vars; do
  1892   eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1893   eval ac_new_set=\$ac_env_${ac_var}_set
  1894   eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1895   eval ac_new_val=\$ac_env_${ac_var}_value
  1896   case $ac_old_set,$ac_new_set in
  1897     set,)
  1898       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1899 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1900       ac_cache_corrupted=: ;;
  1901     ,set)
  1902       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1903 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1904       ac_cache_corrupted=: ;;
  1905     ,);;
  1906     *)
  1907       if test "x$ac_old_val" != "x$ac_new_val"; then
  1908 	# differences in whitespace do not lead to failure.
  1909 	ac_old_val_w=`echo x $ac_old_val`
  1910 	ac_new_val_w=`echo x $ac_new_val`
  1911 	if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1912 	  { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1913 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1914 	  ac_cache_corrupted=:
  1915 	else
  1916 	  { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1917 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1918 	  eval $ac_var=\$ac_old_val
  1919 	fi
  1920 	{ $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
  1921 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
  1922 	{ $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
  1923 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
  1924       fi;;
  1925   esac
  1926   # Pass precious variables to config.status.
  1927   if test "$ac_new_set" = set; then
  1928     case $ac_new_val in
  1929     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1930     *) ac_arg=$ac_var=$ac_new_val ;;
  1931     esac
  1932     case " $ac_configure_args " in
  1933       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
  1934       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1935     esac
  1936   fi
  1937 done
  1938 if $ac_cache_corrupted; then
  1939   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1940 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1941   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1942 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1943    { (exit 1); exit 1; }; }
  1944 fi
  1962 ac_ext=c
  1963 ac_cpp='$CPP $CPPFLAGS'
  1964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1969 am__api_version="1.9"
  1970 ac_aux_dir=
  1971 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1972   if test -f "$ac_dir/install-sh"; then
  1973     ac_aux_dir=$ac_dir
  1974     ac_install_sh="$ac_aux_dir/install-sh -c"
  1975     break
  1976   elif test -f "$ac_dir/install.sh"; then
  1977     ac_aux_dir=$ac_dir
  1978     ac_install_sh="$ac_aux_dir/install.sh -c"
  1979     break
  1980   elif test -f "$ac_dir/shtool"; then
  1981     ac_aux_dir=$ac_dir
  1982     ac_install_sh="$ac_aux_dir/shtool install -c"
  1983     break
  1984   fi
  1985 done
  1986 if test -z "$ac_aux_dir"; then
  1987   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1988 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1989    { (exit 1); exit 1; }; }
  1990 fi
  1992 # These three variables are undocumented and unsupported,
  1993 # and are intended to be withdrawn in a future Autoconf release.
  1994 # They can cause serious problems if a builder's source tree is in a directory
  1995 # whose full name contains unusual characters.
  1996 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
  1997 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
  1998 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
  2001 # Find a good install program.  We prefer a C program (faster),
  2002 # so one script is as good as another.  But avoid the broken or
  2003 # incompatible versions:
  2004 # SysV /etc/install, /usr/sbin/install
  2005 # SunOS /usr/etc/install
  2006 # IRIX /sbin/install
  2007 # AIX /bin/install
  2008 # AmigaOS /C/install, which installs bootblocks on floppy discs
  2009 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2010 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2011 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2012 # OS/2's system install, which has a completely different semantic
  2013 # ./install, which can be erroneously created by make from ./install.sh.
  2014 # Reject install programs that cannot install multiple files.
  2015 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2016 $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2017 if test -z "$INSTALL"; then
  2018 if test "${ac_cv_path_install+set}" = set; then
  2019   $as_echo_n "(cached) " >&6
  2020 else
  2021   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2022 for as_dir in $PATH
  2023 do
  2024   IFS=$as_save_IFS
  2025   test -z "$as_dir" && as_dir=.
  2026   # Account for people who put trailing slashes in PATH elements.
  2027 case $as_dir/ in
  2028   ./ | .// | /cC/* | \
  2029   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2030   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2031   /usr/ucb/* ) ;;
  2032   *)
  2033     # OSF1 and SCO ODT 3.0 have their own names for install.
  2034     # Don't use installbsd from OSF since it installs stuff as root
  2035     # by default.
  2036     for ac_prog in ginstall scoinst install; do
  2037       for ac_exec_ext in '' $ac_executable_extensions; do
  2038 	if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2039 	  if test $ac_prog = install &&
  2040 	    grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2041 	    # AIX install.  It has an incompatible calling convention.
  2043 	  elif test $ac_prog = install &&
  2044 	    grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2045 	    # program-specific install script used by HP pwplus--don't use.
  2047 	  else
  2048 	    rm -rf conftest.one conftest.two conftest.dir
  2049 	    echo one > conftest.one
  2050 	    echo two > conftest.two
  2051 	    mkdir conftest.dir
  2052 	    if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2053 	      test -s conftest.one && test -s conftest.two &&
  2054 	      test -s conftest.dir/conftest.one &&
  2055 	      test -s conftest.dir/conftest.two
  2056 	    then
  2057 	      ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2058 	      break 3
  2059 	    fi
  2060 	  fi
  2061 	fi
  2062       done
  2063     done
  2064     ;;
  2065 esac
  2067 done
  2068 IFS=$as_save_IFS
  2070 rm -rf conftest.one conftest.two conftest.dir
  2072 fi
  2073   if test "${ac_cv_path_install+set}" = set; then
  2074     INSTALL=$ac_cv_path_install
  2075   else
  2076     # As a last resort, use the slow shell script.  Don't cache a
  2077     # value for INSTALL within a source directory, because that will
  2078     # break other packages using the cache if that directory is
  2079     # removed, or if the value is a relative name.
  2080     INSTALL=$ac_install_sh
  2081   fi
  2082 fi
  2083 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2084 $as_echo "$INSTALL" >&6; }
  2086 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2087 # It thinks the first close brace ends the variable substitution.
  2088 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2090 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2092 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2094 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2095 $as_echo_n "checking whether build environment is sane... " >&6; }
  2096 # Just in case
  2097 sleep 1
  2098 echo timestamp > conftest.file
  2099 # Do `set' in a subshell so we don't clobber the current shell's
  2100 # arguments.  Must try -L first in case configure is actually a
  2101 # symlink; some systems play weird games with the mod time of symlinks
  2102 # (eg FreeBSD returns the mod time of the symlink's containing
  2103 # directory).
  2104 if (
  2105    set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
  2106    if test "$*" = "X"; then
  2107       # -L didn't work.
  2108       set X `ls -t $srcdir/configure conftest.file`
  2109    fi
  2110    rm -f conftest.file
  2111    if test "$*" != "X $srcdir/configure conftest.file" \
  2112       && test "$*" != "X conftest.file $srcdir/configure"; then
  2114       # If neither matched, then we have a broken ls.  This can happen
  2115       # if, for instance, CONFIG_SHELL is bash and it inherits a
  2116       # broken ls alias from the environment.  This has actually
  2117       # happened.  Such a system could not be considered "sane".
  2118       { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail.  Make sure there is not a broken
  2119 alias in your environment" >&5
  2120 $as_echo "$as_me: error: ls -t appears to fail.  Make sure there is not a broken
  2121 alias in your environment" >&2;}
  2122    { (exit 1); exit 1; }; }
  2123    fi
  2125    test "$2" = conftest.file
  2127 then
  2128    # Ok.
  2130 else
  2131    { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2132 Check your system clock" >&5
  2133 $as_echo "$as_me: error: newly created file is older than distributed files!
  2134 Check your system clock" >&2;}
  2135    { (exit 1); exit 1; }; }
  2136 fi
  2137 { $as_echo "$as_me:$LINENO: result: yes" >&5
  2138 $as_echo "yes" >&6; }
  2139 test "$program_prefix" != NONE &&
  2140   program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2141 # Use a double $ so make ignores it.
  2142 test "$program_suffix" != NONE &&
  2143   program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2144 # Double any \ or $.
  2145 # By default was `s,x,x', remove it if useless.
  2146 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2147 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2149 # expand $ac_aux_dir to an absolute path
  2150 am_aux_dir=`cd $ac_aux_dir && pwd`
  2152 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
  2153 # Use eval to expand $SHELL
  2154 if eval "$MISSING --run true"; then
  2155   am_missing_run="$MISSING --run "
  2156 else
  2157   am_missing_run=
  2158   { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2159 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2160 fi
  2162 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
  2163   # We used to keeping the `.' as first argument, in order to
  2164   # allow $(mkdir_p) to be used without argument.  As in
  2165   #   $(mkdir_p) $(somedir)
  2166   # where $(somedir) is conditionally defined.  However this is wrong
  2167   # for two reasons:
  2168   #  1. if the package is installed by a user who cannot write `.'
  2169   #     make install will fail,
  2170   #  2. the above comment should most certainly read
  2171   #     $(mkdir_p) $(DESTDIR)$(somedir)
  2172   #     so it does not work when $(somedir) is undefined and
  2173   #     $(DESTDIR) is not.
  2174   #  To support the latter case, we have to write
  2175   #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
  2176   #  so the `.' trick is pointless.
  2177   mkdir_p='mkdir -p --'
  2178 else
  2179   # On NextStep and OpenStep, the `mkdir' command does not
  2180   # recognize any option.  It will interpret all options as
  2181   # directories to create, and then abort because `.' already
  2182   # exists.
  2183   for d in ./-p ./--version;
  2184   do
  2185     test -d $d && rmdir $d
  2186   done
  2187   # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
  2188   if test -f "$ac_aux_dir/mkinstalldirs"; then
  2189     mkdir_p='$(mkinstalldirs)'
  2190   else
  2191     mkdir_p='$(install_sh) -d'
  2192   fi
  2193 fi
  2195 for ac_prog in gawk mawk nawk awk
  2196 do
  2197   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2198 set dummy $ac_prog; ac_word=$2
  2199 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2200 $as_echo_n "checking for $ac_word... " >&6; }
  2201 if test "${ac_cv_prog_AWK+set}" = set; then
  2202   $as_echo_n "(cached) " >&6
  2203 else
  2204   if test -n "$AWK"; then
  2205   ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2206 else
  2207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2208 for as_dir in $PATH
  2209 do
  2210   IFS=$as_save_IFS
  2211   test -z "$as_dir" && as_dir=.
  2212   for ac_exec_ext in '' $ac_executable_extensions; do
  2213   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2214     ac_cv_prog_AWK="$ac_prog"
  2215     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2216     break 2
  2217   fi
  2218 done
  2219 done
  2220 IFS=$as_save_IFS
  2222 fi
  2223 fi
  2224 AWK=$ac_cv_prog_AWK
  2225 if test -n "$AWK"; then
  2226   { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2227 $as_echo "$AWK" >&6; }
  2228 else
  2229   { $as_echo "$as_me:$LINENO: result: no" >&5
  2230 $as_echo "no" >&6; }
  2231 fi
  2234   test -n "$AWK" && break
  2235 done
  2237 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2238 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2239 set x ${MAKE-make}
  2240 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2241 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2242   $as_echo_n "(cached) " >&6
  2243 else
  2244   cat >conftest.make <<\_ACEOF
  2245 SHELL = /bin/sh
  2246 all:
  2247 	@echo '@@@%%%=$(MAKE)=@@@%%%'
  2248 _ACEOF
  2249 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2250 case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2251   *@@@%%%=?*=@@@%%%*)
  2252     eval ac_cv_prog_make_${ac_make}_set=yes;;
  2253   *)
  2254     eval ac_cv_prog_make_${ac_make}_set=no;;
  2255 esac
  2256 rm -f conftest.make
  2257 fi
  2258 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2259   { $as_echo "$as_me:$LINENO: result: yes" >&5
  2260 $as_echo "yes" >&6; }
  2261   SET_MAKE=
  2262 else
  2263   { $as_echo "$as_me:$LINENO: result: no" >&5
  2264 $as_echo "no" >&6; }
  2265   SET_MAKE="MAKE=${MAKE-make}"
  2266 fi
  2268 rm -rf .tst 2>/dev/null
  2269 mkdir .tst 2>/dev/null
  2270 if test -d .tst; then
  2271   am__leading_dot=.
  2272 else
  2273   am__leading_dot=_
  2274 fi
  2275 rmdir .tst 2>/dev/null
  2277 # test to see if srcdir already configured
  2278 if test "`cd $srcdir && pwd`" != "`pwd`" &&
  2279    test -f $srcdir/config.status; then
  2280   { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2281 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2282    { (exit 1); exit 1; }; }
  2283 fi
  2285 # test whether we have cygpath
  2286 if test -z "$CYGPATH_W"; then
  2287   if (cygpath --version) >/dev/null 2>/dev/null; then
  2288     CYGPATH_W='cygpath -w'
  2289   else
  2290     CYGPATH_W=echo
  2291   fi
  2292 fi
  2295 # Define the identity of the package.
  2296  PACKAGE=lxdream
  2297  VERSION=0.9
  2300 cat >>confdefs.h <<_ACEOF
  2301 #define PACKAGE "$PACKAGE"
  2302 _ACEOF
  2305 cat >>confdefs.h <<_ACEOF
  2306 #define VERSION "$VERSION"
  2307 _ACEOF
  2309 # Some tools Automake needs.
  2311 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2314 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2317 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2320 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2323 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2325 install_sh=${install_sh-"$am_aux_dir/install-sh"}
  2327 # Installed binaries are usually stripped using `strip' when the user
  2328 # run `make install-strip'.  However `strip' might not be the right
  2329 # tool to use in cross-compilation environments, therefore Automake
  2330 # will honor the `STRIP' environment variable to overrule this program.
  2331 if test "$cross_compiling" != no; then
  2332   if test -n "$ac_tool_prefix"; then
  2333   # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2334 set dummy ${ac_tool_prefix}strip; ac_word=$2
  2335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2336 $as_echo_n "checking for $ac_word... " >&6; }
  2337 if test "${ac_cv_prog_STRIP+set}" = set; then
  2338   $as_echo_n "(cached) " >&6
  2339 else
  2340   if test -n "$STRIP"; then
  2341   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2342 else
  2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2344 for as_dir in $PATH
  2345 do
  2346   IFS=$as_save_IFS
  2347   test -z "$as_dir" && as_dir=.
  2348   for ac_exec_ext in '' $ac_executable_extensions; do
  2349   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2350     ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2351     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2352     break 2
  2353   fi
  2354 done
  2355 done
  2356 IFS=$as_save_IFS
  2358 fi
  2359 fi
  2360 STRIP=$ac_cv_prog_STRIP
  2361 if test -n "$STRIP"; then
  2362   { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2363 $as_echo "$STRIP" >&6; }
  2364 else
  2365   { $as_echo "$as_me:$LINENO: result: no" >&5
  2366 $as_echo "no" >&6; }
  2367 fi
  2370 fi
  2371 if test -z "$ac_cv_prog_STRIP"; then
  2372   ac_ct_STRIP=$STRIP
  2373   # Extract the first word of "strip", so it can be a program name with args.
  2374 set dummy strip; ac_word=$2
  2375 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2376 $as_echo_n "checking for $ac_word... " >&6; }
  2377 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2378   $as_echo_n "(cached) " >&6
  2379 else
  2380   if test -n "$ac_ct_STRIP"; then
  2381   ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2382 else
  2383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2384 for as_dir in $PATH
  2385 do
  2386   IFS=$as_save_IFS
  2387   test -z "$as_dir" && as_dir=.
  2388   for ac_exec_ext in '' $ac_executable_extensions; do
  2389   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2390     ac_cv_prog_ac_ct_STRIP="strip"
  2391     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2392     break 2
  2393   fi
  2394 done
  2395 done
  2396 IFS=$as_save_IFS
  2398 fi
  2399 fi
  2400 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2401 if test -n "$ac_ct_STRIP"; then
  2402   { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2403 $as_echo "$ac_ct_STRIP" >&6; }
  2404 else
  2405   { $as_echo "$as_me:$LINENO: result: no" >&5
  2406 $as_echo "no" >&6; }
  2407 fi
  2409   if test "x$ac_ct_STRIP" = x; then
  2410     STRIP=":"
  2411   else
  2412     case $cross_compiling:$ac_tool_warned in
  2413 yes:)
  2414 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2415 whose name does not start with the host triplet.  If you think this
  2416 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2417 $as_echo "$as_me: 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." >&2;}
  2420 ac_tool_warned=yes ;;
  2421 esac
  2422     STRIP=$ac_ct_STRIP
  2423   fi
  2424 else
  2425   STRIP="$ac_cv_prog_STRIP"
  2426 fi
  2428 fi
  2429 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
  2431 # We need awk for the "check" target.  The system "awk" is bad on
  2432 # some platforms.
  2433 # Always define AMTAR for backward compatibility.
  2435 AMTAR=${AMTAR-"${am_missing_run}tar"}
  2437 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2443 { $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
  2444 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
  2445     # Check whether --enable-maintainer-mode was given.
  2446 if test "${enable_maintainer_mode+set}" = set; then
  2447   enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
  2448 else
  2449   USE_MAINTAINER_MODE=no
  2450 fi
  2452   { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
  2453 $as_echo "$USE_MAINTAINER_MODE" >&6; }
  2456 if test $USE_MAINTAINER_MODE = yes; then
  2457   MAINTAINER_MODE_TRUE=
  2458   MAINTAINER_MODE_FALSE='#'
  2459 else
  2460   MAINTAINER_MODE_TRUE='#'
  2461   MAINTAINER_MODE_FALSE=
  2462 fi
  2464   MAINT=$MAINTAINER_MODE_TRUE
  2467 ac_config_headers="$ac_config_headers config.h"
  2470 DEPDIR="${am__leading_dot}deps"
  2472 ac_config_commands="$ac_config_commands depfiles"
  2475 am_make=${MAKE-make}
  2476 cat > confinc << 'END'
  2477 am__doit:
  2478 	@echo done
  2479 .PHONY: am__doit
  2480 END
  2481 # If we don't find an include directive, just comment out the code.
  2482 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  2483 $as_echo_n "checking for style of include used by $am_make... " >&6; }
  2484 am__include="#"
  2485 am__quote=
  2486 _am_result=none
  2487 # First try GNU make style include.
  2488 echo "include confinc" > confmf
  2489 # We grep out `Entering directory' and `Leaving directory'
  2490 # messages which can occur if `w' ends up in MAKEFLAGS.
  2491 # In particular we don't look at `^make:' because GNU make might
  2492 # be invoked under some other name (usually "gmake"), in which
  2493 # case it prints its new name instead of `make'.
  2494 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
  2495    am__include=include
  2496    am__quote=
  2497    _am_result=GNU
  2498 fi
  2499 # Now try BSD make style include.
  2500 if test "$am__include" = "#"; then
  2501    echo '.include "confinc"' > confmf
  2502    if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
  2503       am__include=.include
  2504       am__quote="\""
  2505       _am_result=BSD
  2506    fi
  2507 fi
  2510 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  2511 $as_echo "$_am_result" >&6; }
  2512 rm -f confinc confmf
  2514 # Check whether --enable-dependency-tracking was given.
  2515 if test "${enable_dependency_tracking+set}" = set; then
  2516   enableval=$enable_dependency_tracking;
  2517 fi
  2519 if test "x$enable_dependency_tracking" != xno; then
  2520   am_depcomp="$ac_aux_dir/depcomp"
  2521   AMDEPBACKSLASH='\'
  2522 fi
  2525 if test "x$enable_dependency_tracking" != xno; then
  2526   AMDEP_TRUE=
  2527   AMDEP_FALSE='#'
  2528 else
  2529   AMDEP_TRUE='#'
  2530   AMDEP_FALSE=
  2531 fi
  2535 ac_ext=c
  2536 ac_cpp='$CPP $CPPFLAGS'
  2537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2540 if test -n "$ac_tool_prefix"; then
  2541   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2542 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2543 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2544 $as_echo_n "checking for $ac_word... " >&6; }
  2545 if test "${ac_cv_prog_CC+set}" = set; then
  2546   $as_echo_n "(cached) " >&6
  2547 else
  2548   if test -n "$CC"; then
  2549   ac_cv_prog_CC="$CC" # Let the user override the test.
  2550 else
  2551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2552 for as_dir in $PATH
  2553 do
  2554   IFS=$as_save_IFS
  2555   test -z "$as_dir" && as_dir=.
  2556   for ac_exec_ext in '' $ac_executable_extensions; do
  2557   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2558     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2559     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2560     break 2
  2561   fi
  2562 done
  2563 done
  2564 IFS=$as_save_IFS
  2566 fi
  2567 fi
  2568 CC=$ac_cv_prog_CC
  2569 if test -n "$CC"; then
  2570   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2571 $as_echo "$CC" >&6; }
  2572 else
  2573   { $as_echo "$as_me:$LINENO: result: no" >&5
  2574 $as_echo "no" >&6; }
  2575 fi
  2578 fi
  2579 if test -z "$ac_cv_prog_CC"; then
  2580   ac_ct_CC=$CC
  2581   # Extract the first word of "gcc", so it can be a program name with args.
  2582 set dummy gcc; ac_word=$2
  2583 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2584 $as_echo_n "checking for $ac_word... " >&6; }
  2585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2586   $as_echo_n "(cached) " >&6
  2587 else
  2588   if test -n "$ac_ct_CC"; then
  2589   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2590 else
  2591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2592 for as_dir in $PATH
  2593 do
  2594   IFS=$as_save_IFS
  2595   test -z "$as_dir" && as_dir=.
  2596   for ac_exec_ext in '' $ac_executable_extensions; do
  2597   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2598     ac_cv_prog_ac_ct_CC="gcc"
  2599     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2600     break 2
  2601   fi
  2602 done
  2603 done
  2604 IFS=$as_save_IFS
  2606 fi
  2607 fi
  2608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2609 if test -n "$ac_ct_CC"; then
  2610   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2611 $as_echo "$ac_ct_CC" >&6; }
  2612 else
  2613   { $as_echo "$as_me:$LINENO: result: no" >&5
  2614 $as_echo "no" >&6; }
  2615 fi
  2617   if test "x$ac_ct_CC" = x; then
  2618     CC=""
  2619   else
  2620     case $cross_compiling:$ac_tool_warned in
  2621 yes:)
  2622 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2623 whose name does not start with the host triplet.  If you think this
  2624 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2625 $as_echo "$as_me: 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." >&2;}
  2628 ac_tool_warned=yes ;;
  2629 esac
  2630     CC=$ac_ct_CC
  2631   fi
  2632 else
  2633   CC="$ac_cv_prog_CC"
  2634 fi
  2636 if test -z "$CC"; then
  2637           if test -n "$ac_tool_prefix"; then
  2638     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2639 set dummy ${ac_tool_prefix}cc; ac_word=$2
  2640 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2641 $as_echo_n "checking for $ac_word... " >&6; }
  2642 if test "${ac_cv_prog_CC+set}" = set; then
  2643   $as_echo_n "(cached) " >&6
  2644 else
  2645   if test -n "$CC"; then
  2646   ac_cv_prog_CC="$CC" # Let the user override the test.
  2647 else
  2648 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2649 for as_dir in $PATH
  2650 do
  2651   IFS=$as_save_IFS
  2652   test -z "$as_dir" && as_dir=.
  2653   for ac_exec_ext in '' $ac_executable_extensions; do
  2654   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2655     ac_cv_prog_CC="${ac_tool_prefix}cc"
  2656     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2657     break 2
  2658   fi
  2659 done
  2660 done
  2661 IFS=$as_save_IFS
  2663 fi
  2664 fi
  2665 CC=$ac_cv_prog_CC
  2666 if test -n "$CC"; then
  2667   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2668 $as_echo "$CC" >&6; }
  2669 else
  2670   { $as_echo "$as_me:$LINENO: result: no" >&5
  2671 $as_echo "no" >&6; }
  2672 fi
  2675   fi
  2676 fi
  2677 if test -z "$CC"; then
  2678   # Extract the first word of "cc", so it can be a program name with args.
  2679 set dummy cc; ac_word=$2
  2680 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2681 $as_echo_n "checking for $ac_word... " >&6; }
  2682 if test "${ac_cv_prog_CC+set}" = set; then
  2683   $as_echo_n "(cached) " >&6
  2684 else
  2685   if test -n "$CC"; then
  2686   ac_cv_prog_CC="$CC" # Let the user override the test.
  2687 else
  2688   ac_prog_rejected=no
  2689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2690 for as_dir in $PATH
  2691 do
  2692   IFS=$as_save_IFS
  2693   test -z "$as_dir" && as_dir=.
  2694   for ac_exec_ext in '' $ac_executable_extensions; do
  2695   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2696     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2697        ac_prog_rejected=yes
  2698        continue
  2699      fi
  2700     ac_cv_prog_CC="cc"
  2701     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2702     break 2
  2703   fi
  2704 done
  2705 done
  2706 IFS=$as_save_IFS
  2708 if test $ac_prog_rejected = yes; then
  2709   # We found a bogon in the path, so make sure we never use it.
  2710   set dummy $ac_cv_prog_CC
  2711   shift
  2712   if test $# != 0; then
  2713     # We chose a different compiler from the bogus one.
  2714     # However, it has the same basename, so the bogon will be chosen
  2715     # first if we set CC to just the basename; use the full file name.
  2716     shift
  2717     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2718   fi
  2719 fi
  2720 fi
  2721 fi
  2722 CC=$ac_cv_prog_CC
  2723 if test -n "$CC"; then
  2724   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2725 $as_echo "$CC" >&6; }
  2726 else
  2727   { $as_echo "$as_me:$LINENO: result: no" >&5
  2728 $as_echo "no" >&6; }
  2729 fi
  2732 fi
  2733 if test -z "$CC"; then
  2734   if test -n "$ac_tool_prefix"; then
  2735   for ac_prog in cl.exe
  2736   do
  2737     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2738 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2739 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2740 $as_echo_n "checking for $ac_word... " >&6; }
  2741 if test "${ac_cv_prog_CC+set}" = set; then
  2742   $as_echo_n "(cached) " >&6
  2743 else
  2744   if test -n "$CC"; then
  2745   ac_cv_prog_CC="$CC" # Let the user override the test.
  2746 else
  2747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2748 for as_dir in $PATH
  2749 do
  2750   IFS=$as_save_IFS
  2751   test -z "$as_dir" && as_dir=.
  2752   for ac_exec_ext in '' $ac_executable_extensions; do
  2753   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2754     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2755     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2756     break 2
  2757   fi
  2758 done
  2759 done
  2760 IFS=$as_save_IFS
  2762 fi
  2763 fi
  2764 CC=$ac_cv_prog_CC
  2765 if test -n "$CC"; then
  2766   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2767 $as_echo "$CC" >&6; }
  2768 else
  2769   { $as_echo "$as_me:$LINENO: result: no" >&5
  2770 $as_echo "no" >&6; }
  2771 fi
  2774     test -n "$CC" && break
  2775   done
  2776 fi
  2777 if test -z "$CC"; then
  2778   ac_ct_CC=$CC
  2779   for ac_prog in cl.exe
  2780 do
  2781   # Extract the first word of "$ac_prog", so it can be a program name with args.
  2782 set dummy $ac_prog; ac_word=$2
  2783 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2784 $as_echo_n "checking for $ac_word... " >&6; }
  2785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2786   $as_echo_n "(cached) " >&6
  2787 else
  2788   if test -n "$ac_ct_CC"; then
  2789   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2790 else
  2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2792 for as_dir in $PATH
  2793 do
  2794   IFS=$as_save_IFS
  2795   test -z "$as_dir" && as_dir=.
  2796   for ac_exec_ext in '' $ac_executable_extensions; do
  2797   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2798     ac_cv_prog_ac_ct_CC="$ac_prog"
  2799     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2800     break 2
  2801   fi
  2802 done
  2803 done
  2804 IFS=$as_save_IFS
  2806 fi
  2807 fi
  2808 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2809 if test -n "$ac_ct_CC"; then
  2810   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2811 $as_echo "$ac_ct_CC" >&6; }
  2812 else
  2813   { $as_echo "$as_me:$LINENO: result: no" >&5
  2814 $as_echo "no" >&6; }
  2815 fi
  2818   test -n "$ac_ct_CC" && break
  2819 done
  2821   if test "x$ac_ct_CC" = x; then
  2822     CC=""
  2823   else
  2824     case $cross_compiling:$ac_tool_warned in
  2825 yes:)
  2826 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  2827 whose name does not start with the host triplet.  If you think this
  2828 configuration is useful to you, please write to autoconf@gnu.org." >&5
  2829 $as_echo "$as_me: 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." >&2;}
  2832 ac_tool_warned=yes ;;
  2833 esac
  2834     CC=$ac_ct_CC
  2835   fi
  2836 fi
  2838 fi
  2841 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2842 See \`config.log' for more details." >&5
  2843 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2844 See \`config.log' for more details." >&2;}
  2845    { (exit 1); exit 1; }; }
  2847 # Provide some information about the compiler.
  2848 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2849 set X $ac_compile
  2850 ac_compiler=$2
  2851 { (ac_try="$ac_compiler --version >&5"
  2852 case "(($ac_try" in
  2853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2854   *) ac_try_echo=$ac_try;;
  2855 esac
  2856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2857 $as_echo "$ac_try_echo") >&5
  2858   (eval "$ac_compiler --version >&5") 2>&5
  2859   ac_status=$?
  2860   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2861   (exit $ac_status); }
  2862 { (ac_try="$ac_compiler -v >&5"
  2863 case "(($ac_try" in
  2864   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2865   *) ac_try_echo=$ac_try;;
  2866 esac
  2867 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2868 $as_echo "$ac_try_echo") >&5
  2869   (eval "$ac_compiler -v >&5") 2>&5
  2870   ac_status=$?
  2871   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2872   (exit $ac_status); }
  2873 { (ac_try="$ac_compiler -V >&5"
  2874 case "(($ac_try" in
  2875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2876   *) ac_try_echo=$ac_try;;
  2877 esac
  2878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2879 $as_echo "$ac_try_echo") >&5
  2880   (eval "$ac_compiler -V >&5") 2>&5
  2881   ac_status=$?
  2882   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2883   (exit $ac_status); }
  2885 cat >conftest.$ac_ext <<_ACEOF
  2886 /* confdefs.h.  */
  2887 _ACEOF
  2888 cat confdefs.h >>conftest.$ac_ext
  2889 cat >>conftest.$ac_ext <<_ACEOF
  2890 /* end confdefs.h.  */
  2892 int
  2893 main ()
  2897   return 0;
  2899 _ACEOF
  2900 ac_clean_files_save=$ac_clean_files
  2901 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2902 # Try to create an executable without -o first, disregard a.out.
  2903 # It will help us diagnose broken compilers, and finding out an intuition
  2904 # of exeext.
  2905 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2906 $as_echo_n "checking for C compiler default output file name... " >&6; }
  2907 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2909 # The possible output files:
  2910 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2912 ac_rmfiles=
  2913 for ac_file in $ac_files
  2914 do
  2915   case $ac_file in
  2916     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2917     * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2918   esac
  2919 done
  2920 rm -f $ac_rmfiles
  2922 if { (ac_try="$ac_link_default"
  2923 case "(($ac_try" in
  2924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2925   *) ac_try_echo=$ac_try;;
  2926 esac
  2927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2928 $as_echo "$ac_try_echo") >&5
  2929   (eval "$ac_link_default") 2>&5
  2930   ac_status=$?
  2931   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2932   (exit $ac_status); }; then
  2933   # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2934 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2935 # in a Makefile.  We should not override ac_cv_exeext if it was cached,
  2936 # so that the user can short-circuit this test for compilers unknown to
  2937 # Autoconf.
  2938 for ac_file in $ac_files ''
  2939 do
  2940   test -f "$ac_file" || continue
  2941   case $ac_file in
  2942     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2943 	;;
  2944     [ab].out )
  2945 	# We found the default executable, but exeext='' is most
  2946 	# certainly right.
  2947 	break;;
  2948     *.* )
  2949         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2950 	then :; else
  2951 	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2952 	fi
  2953 	# We set ac_cv_exeext here because the later test for it is not
  2954 	# safe: cross compilers may not add the suffix if given an `-o'
  2955 	# argument, so we may need to know it at that point already.
  2956 	# Even if this section looks crufty: it has the advantage of
  2957 	# actually working.
  2958 	break;;
  2959     * )
  2960 	break;;
  2961   esac
  2962 done
  2963 test "$ac_cv_exeext" = no && ac_cv_exeext=
  2965 else
  2966   ac_file=''
  2967 fi
  2969 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2970 $as_echo "$ac_file" >&6; }
  2971 if test -z "$ac_file"; then
  2972   $as_echo "$as_me: failed program was:" >&5
  2973 sed 's/^/| /' conftest.$ac_ext >&5
  2975 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2976 See \`config.log' for more details." >&5
  2977 $as_echo "$as_me: error: C compiler cannot create executables
  2978 See \`config.log' for more details." >&2;}
  2979    { (exit 77); exit 77; }; }
  2980 fi
  2982 ac_exeext=$ac_cv_exeext
  2984 # Check that the compiler produces executables we can run.  If not, either
  2985 # the compiler is broken, or we cross compile.
  2986 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2987 $as_echo_n "checking whether the C compiler works... " >&6; }
  2988 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2989 # If not cross compiling, check that we can run a simple program.
  2990 if test "$cross_compiling" != yes; then
  2991   if { ac_try='./$ac_file'
  2992   { (case "(($ac_try" in
  2993   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2994   *) ac_try_echo=$ac_try;;
  2995 esac
  2996 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2997 $as_echo "$ac_try_echo") >&5
  2998   (eval "$ac_try") 2>&5
  2999   ac_status=$?
  3000   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3001   (exit $ac_status); }; }; then
  3002     cross_compiling=no
  3003   else
  3004     if test "$cross_compiling" = maybe; then
  3005 	cross_compiling=yes
  3006     else
  3007 	{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  3008 If you meant to cross compile, use \`--host'.
  3009 See \`config.log' for more details." >&5
  3010 $as_echo "$as_me: error: cannot run C compiled programs.
  3011 If you meant to cross compile, use \`--host'.
  3012 See \`config.log' for more details." >&2;}
  3013    { (exit 1); exit 1; }; }
  3014     fi
  3015   fi
  3016 fi
  3017 { $as_echo "$as_me:$LINENO: result: yes" >&5
  3018 $as_echo "yes" >&6; }
  3020 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  3021 ac_clean_files=$ac_clean_files_save
  3022 # Check that the compiler produces executables we can run.  If not, either
  3023 # the compiler is broken, or we cross compile.
  3024 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  3025 $as_echo_n "checking whether we are cross compiling... " >&6; }
  3026 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  3027 $as_echo "$cross_compiling" >&6; }
  3029 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  3030 $as_echo_n "checking for suffix of executables... " >&6; }
  3031 if { (ac_try="$ac_link"
  3032 case "(($ac_try" in
  3033   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3034   *) ac_try_echo=$ac_try;;
  3035 esac
  3036 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3037 $as_echo "$ac_try_echo") >&5
  3038   (eval "$ac_link") 2>&5
  3039   ac_status=$?
  3040   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3041   (exit $ac_status); }; then
  3042   # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3043 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
  3044 # work properly (i.e., refer to `conftest.exe'), while it won't with
  3045 # `rm'.
  3046 for ac_file in conftest.exe conftest conftest.*; do
  3047   test -f "$ac_file" || continue
  3048   case $ac_file in
  3049     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3050     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3051 	  break;;
  3052     * ) break;;
  3053   esac
  3054 done
  3055 else
  3056   { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3057 See \`config.log' for more details." >&5
  3058 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3059 See \`config.log' for more details." >&2;}
  3060    { (exit 1); exit 1; }; }
  3061 fi
  3063 rm -f conftest$ac_cv_exeext
  3064 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3065 $as_echo "$ac_cv_exeext" >&6; }
  3067 rm -f conftest.$ac_ext
  3068 EXEEXT=$ac_cv_exeext
  3069 ac_exeext=$EXEEXT
  3070 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3071 $as_echo_n "checking for suffix of object files... " >&6; }
  3072 if test "${ac_cv_objext+set}" = set; then
  3073   $as_echo_n "(cached) " >&6
  3074 else
  3075   cat >conftest.$ac_ext <<_ACEOF
  3076 /* confdefs.h.  */
  3077 _ACEOF
  3078 cat confdefs.h >>conftest.$ac_ext
  3079 cat >>conftest.$ac_ext <<_ACEOF
  3080 /* end confdefs.h.  */
  3082 int
  3083 main ()
  3087   return 0;
  3089 _ACEOF
  3090 rm -f conftest.o conftest.obj
  3091 if { (ac_try="$ac_compile"
  3092 case "(($ac_try" in
  3093   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3094   *) ac_try_echo=$ac_try;;
  3095 esac
  3096 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3097 $as_echo "$ac_try_echo") >&5
  3098   (eval "$ac_compile") 2>&5
  3099   ac_status=$?
  3100   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3101   (exit $ac_status); }; then
  3102   for ac_file in conftest.o conftest.obj conftest.*; do
  3103   test -f "$ac_file" || continue;
  3104   case $ac_file in
  3105     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3106     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3107        break;;
  3108   esac
  3109 done
  3110 else
  3111   $as_echo "$as_me: failed program was:" >&5
  3112 sed 's/^/| /' conftest.$ac_ext >&5
  3114 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3115 See \`config.log' for more details." >&5
  3116 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3117 See \`config.log' for more details." >&2;}
  3118    { (exit 1); exit 1; }; }
  3119 fi
  3121 rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3122 fi
  3123 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3124 $as_echo "$ac_cv_objext" >&6; }
  3125 OBJEXT=$ac_cv_objext
  3126 ac_objext=$OBJEXT
  3127 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3128 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3129 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3130   $as_echo_n "(cached) " >&6
  3131 else
  3132   cat >conftest.$ac_ext <<_ACEOF
  3133 /* confdefs.h.  */
  3134 _ACEOF
  3135 cat confdefs.h >>conftest.$ac_ext
  3136 cat >>conftest.$ac_ext <<_ACEOF
  3137 /* end confdefs.h.  */
  3139 int
  3140 main ()
  3142 #ifndef __GNUC__
  3143        choke me
  3144 #endif
  3147   return 0;
  3149 _ACEOF
  3150 rm -f conftest.$ac_objext
  3151 if { (ac_try="$ac_compile"
  3152 case "(($ac_try" in
  3153   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3154   *) ac_try_echo=$ac_try;;
  3155 esac
  3156 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3157 $as_echo "$ac_try_echo") >&5
  3158   (eval "$ac_compile") 2>conftest.er1
  3159   ac_status=$?
  3160   grep -v '^ *+' conftest.er1 >conftest.err
  3161   rm -f conftest.er1
  3162   cat conftest.err >&5
  3163   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3164   (exit $ac_status); } && {
  3165 	 test -z "$ac_c_werror_flag" ||
  3166 	 test ! -s conftest.err
  3167        } && test -s conftest.$ac_objext; then
  3168   ac_compiler_gnu=yes
  3169 else
  3170   $as_echo "$as_me: failed program was:" >&5
  3171 sed 's/^/| /' conftest.$ac_ext >&5
  3173 	ac_compiler_gnu=no
  3174 fi
  3176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3177 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3179 fi
  3180 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3181 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3182 if test $ac_compiler_gnu = yes; then
  3183   GCC=yes
  3184 else
  3185   GCC=
  3186 fi
  3187 ac_test_CFLAGS=${CFLAGS+set}
  3188 ac_save_CFLAGS=$CFLAGS
  3189 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3190 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3191 if test "${ac_cv_prog_cc_g+set}" = set; then
  3192   $as_echo_n "(cached) " >&6
  3193 else
  3194   ac_save_c_werror_flag=$ac_c_werror_flag
  3195    ac_c_werror_flag=yes
  3196    ac_cv_prog_cc_g=no
  3197    CFLAGS="-g"
  3198    cat >conftest.$ac_ext <<_ACEOF
  3199 /* confdefs.h.  */
  3200 _ACEOF
  3201 cat confdefs.h >>conftest.$ac_ext
  3202 cat >>conftest.$ac_ext <<_ACEOF
  3203 /* end confdefs.h.  */
  3205 int
  3206 main ()
  3210   return 0;
  3212 _ACEOF
  3213 rm -f conftest.$ac_objext
  3214 if { (ac_try="$ac_compile"
  3215 case "(($ac_try" in
  3216   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3217   *) ac_try_echo=$ac_try;;
  3218 esac
  3219 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3220 $as_echo "$ac_try_echo") >&5
  3221   (eval "$ac_compile") 2>conftest.er1
  3222   ac_status=$?
  3223   grep -v '^ *+' conftest.er1 >conftest.err
  3224   rm -f conftest.er1
  3225   cat conftest.err >&5
  3226   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3227   (exit $ac_status); } && {
  3228 	 test -z "$ac_c_werror_flag" ||
  3229 	 test ! -s conftest.err
  3230        } && test -s conftest.$ac_objext; then
  3231   ac_cv_prog_cc_g=yes
  3232 else
  3233   $as_echo "$as_me: failed program was:" >&5
  3234 sed 's/^/| /' conftest.$ac_ext >&5
  3236 	CFLAGS=""
  3237       cat >conftest.$ac_ext <<_ACEOF
  3238 /* confdefs.h.  */
  3239 _ACEOF
  3240 cat confdefs.h >>conftest.$ac_ext
  3241 cat >>conftest.$ac_ext <<_ACEOF
  3242 /* end confdefs.h.  */
  3244 int
  3245 main ()
  3249   return 0;
  3251 _ACEOF
  3252 rm -f conftest.$ac_objext
  3253 if { (ac_try="$ac_compile"
  3254 case "(($ac_try" in
  3255   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3256   *) ac_try_echo=$ac_try;;
  3257 esac
  3258 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3259 $as_echo "$ac_try_echo") >&5
  3260   (eval "$ac_compile") 2>conftest.er1
  3261   ac_status=$?
  3262   grep -v '^ *+' conftest.er1 >conftest.err
  3263   rm -f conftest.er1
  3264   cat conftest.err >&5
  3265   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3266   (exit $ac_status); } && {
  3267 	 test -z "$ac_c_werror_flag" ||
  3268 	 test ! -s conftest.err
  3269        } && test -s conftest.$ac_objext; then
  3271 else
  3272   $as_echo "$as_me: failed program was:" >&5
  3273 sed 's/^/| /' conftest.$ac_ext >&5
  3275 	ac_c_werror_flag=$ac_save_c_werror_flag
  3276 	 CFLAGS="-g"
  3277 	 cat >conftest.$ac_ext <<_ACEOF
  3278 /* confdefs.h.  */
  3279 _ACEOF
  3280 cat confdefs.h >>conftest.$ac_ext
  3281 cat >>conftest.$ac_ext <<_ACEOF
  3282 /* end confdefs.h.  */
  3284 int
  3285 main ()
  3289   return 0;
  3291 _ACEOF
  3292 rm -f conftest.$ac_objext
  3293 if { (ac_try="$ac_compile"
  3294 case "(($ac_try" in
  3295   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3296   *) ac_try_echo=$ac_try;;
  3297 esac
  3298 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3299 $as_echo "$ac_try_echo") >&5
  3300   (eval "$ac_compile") 2>conftest.er1
  3301   ac_status=$?
  3302   grep -v '^ *+' conftest.er1 >conftest.err
  3303   rm -f conftest.er1
  3304   cat conftest.err >&5
  3305   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3306   (exit $ac_status); } && {
  3307 	 test -z "$ac_c_werror_flag" ||
  3308 	 test ! -s conftest.err
  3309        } && test -s conftest.$ac_objext; then
  3310   ac_cv_prog_cc_g=yes
  3311 else
  3312   $as_echo "$as_me: failed program was:" >&5
  3313 sed 's/^/| /' conftest.$ac_ext >&5
  3316 fi
  3318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  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    ac_c_werror_flag=$ac_save_c_werror_flag
  3326 fi
  3327 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3328 $as_echo "$ac_cv_prog_cc_g" >&6; }
  3329 if test "$ac_test_CFLAGS" = set; then
  3330   CFLAGS=$ac_save_CFLAGS
  3331 elif test $ac_cv_prog_cc_g = yes; then
  3332   if test "$GCC" = yes; then
  3333     CFLAGS="-g -O2"
  3334   else
  3335     CFLAGS="-g"
  3336   fi
  3337 else
  3338   if test "$GCC" = yes; then
  3339     CFLAGS="-O2"
  3340   else
  3341     CFLAGS=
  3342   fi
  3343 fi
  3344 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3345 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3346 if test "${ac_cv_prog_cc_c89+set}" = set; then
  3347   $as_echo_n "(cached) " >&6
  3348 else
  3349   ac_cv_prog_cc_c89=no
  3350 ac_save_CC=$CC
  3351 cat >conftest.$ac_ext <<_ACEOF
  3352 /* confdefs.h.  */
  3353 _ACEOF
  3354 cat confdefs.h >>conftest.$ac_ext
  3355 cat >>conftest.$ac_ext <<_ACEOF
  3356 /* end confdefs.h.  */
  3357 #include <stdarg.h>
  3358 #include <stdio.h>
  3359 #include <sys/types.h>
  3360 #include <sys/stat.h>
  3361 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  3362 struct buf { int x; };
  3363 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3364 static char *e (p, i)
  3365      char **p;
  3366      int i;
  3368   return p[i];
  3370 static char *f (char * (*g) (char **, int), char **p, ...)
  3372   char *s;
  3373   va_list v;
  3374   va_start (v,p);
  3375   s = g (p, va_arg (v,int));
  3376   va_end (v);
  3377   return s;
  3380 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  3381    function prototypes and stuff, but not '\xHH' hex character constants.
  3382    These don't provoke an error unfortunately, instead are silently treated
  3383    as 'x'.  The following induces an error, until -std is added to get
  3384    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  3385    array size at least.  It's necessary to write '\x00'==0 to get something
  3386    that's true only with -std.  */
  3387 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3389 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3390    inside strings and character constants.  */
  3391 #define FOO(x) 'x'
  3392 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3394 int test (int i, double x);
  3395 struct s1 {int (*f) (int a);};
  3396 struct s2 {int (*f) (double a);};
  3397 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3398 int argc;
  3399 char **argv;
  3400 int
  3401 main ()
  3403 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  3405   return 0;
  3407 _ACEOF
  3408 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3409 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3410 do
  3411   CC="$ac_save_CC $ac_arg"
  3412   rm -f conftest.$ac_objext
  3413 if { (ac_try="$ac_compile"
  3414 case "(($ac_try" in
  3415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3416   *) ac_try_echo=$ac_try;;
  3417 esac
  3418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3419 $as_echo "$ac_try_echo") >&5
  3420   (eval "$ac_compile") 2>conftest.er1
  3421   ac_status=$?
  3422   grep -v '^ *+' conftest.er1 >conftest.err
  3423   rm -f conftest.er1
  3424   cat conftest.err >&5
  3425   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3426   (exit $ac_status); } && {
  3427 	 test -z "$ac_c_werror_flag" ||
  3428 	 test ! -s conftest.err
  3429        } && test -s conftest.$ac_objext; then
  3430   ac_cv_prog_cc_c89=$ac_arg
  3431 else
  3432   $as_echo "$as_me: failed program was:" >&5
  3433 sed 's/^/| /' conftest.$ac_ext >&5
  3436 fi
  3438 rm -f core conftest.err conftest.$ac_objext
  3439   test "x$ac_cv_prog_cc_c89" != "xno" && break
  3440 done
  3441 rm -f conftest.$ac_ext
  3442 CC=$ac_save_CC
  3444 fi
  3445 # AC_CACHE_VAL
  3446 case "x$ac_cv_prog_cc_c89" in
  3447   x)
  3448     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3449 $as_echo "none needed" >&6; } ;;
  3450   xno)
  3451     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3452 $as_echo "unsupported" >&6; } ;;
  3453   *)
  3454     CC="$CC $ac_cv_prog_cc_c89"
  3455     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3456 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3457 esac
  3460 ac_ext=c
  3461 ac_cpp='$CPP $CPPFLAGS'
  3462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3466 depcc="$CC"   am_compiler_list=
  3468 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3469 $as_echo_n "checking dependency style of $depcc... " >&6; }
  3470 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3471   $as_echo_n "(cached) " >&6
  3472 else
  3473   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3474   # We make a subdir and do the tests there.  Otherwise we can end up
  3475   # making bogus files that we don't know about and never remove.  For
  3476   # instance it was reported that on HP-UX the gcc test will end up
  3477   # making a dummy file named `D' -- because `-MD' means `put the output
  3478   # in D'.
  3479   mkdir conftest.dir
  3480   # Copy depcomp to subdir because otherwise we won't find it if we're
  3481   # using a relative directory.
  3482   cp "$am_depcomp" conftest.dir
  3483   cd conftest.dir
  3484   # We will build objects and dependencies in a subdirectory because
  3485   # it helps to detect inapplicable dependency modes.  For instance
  3486   # both Tru64's cc and ICC support -MD to output dependencies as a
  3487   # side effect of compilation, but ICC will put the dependencies in
  3488   # the current directory while Tru64 will put them in the object
  3489   # directory.
  3490   mkdir sub
  3492   am_cv_CC_dependencies_compiler_type=none
  3493   if test "$am_compiler_list" = ""; then
  3494      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3495   fi
  3496   for depmode in $am_compiler_list; do
  3497     # Setup a source with many dependencies, because some compilers
  3498     # like to wrap large dependency lists on column 80 (with \), and
  3499     # we should not choose a depcomp mode which is confused by this.
  3501     # We need to recreate these files for each test, as the compiler may
  3502     # overwrite some of them when testing with obscure command lines.
  3503     # This happens at least with the AIX C compiler.
  3504     : > sub/conftest.c
  3505     for i in 1 2 3 4 5 6; do
  3506       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3507       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3508       # Solaris 8's {/usr,}/bin/sh.
  3509       touch sub/conftst$i.h
  3510     done
  3511     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3513     case $depmode in
  3514     nosideeffect)
  3515       # after this tag, mechanisms are not by side-effect, so they'll
  3516       # only be used when explicitly requested
  3517       if test "x$enable_dependency_tracking" = xyes; then
  3518 	continue
  3519       else
  3520 	break
  3521       fi
  3522       ;;
  3523     none) break ;;
  3524     esac
  3525     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3526     # mode.  It turns out that the SunPro C++ compiler does not properly
  3527     # handle `-M -o', and we need to detect this.
  3528     if depmode=$depmode \
  3529        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  3530        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3531        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  3532          >/dev/null 2>conftest.err &&
  3533        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3534        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  3535        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3536       # icc doesn't choke on unknown options, it will just issue warnings
  3537       # or remarks (even with -Werror).  So we grep stderr for any message
  3538       # that says an option was ignored or not supported.
  3539       # When given -MP, icc 7.0 and 7.1 complain thusly:
  3540       #   icc: Command line warning: ignoring option '-M'; no argument required
  3541       # The diagnosis changed in icc 8.0:
  3542       #   icc: Command line remark: option '-MP' not supported
  3543       if (grep 'ignoring option' conftest.err ||
  3544           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3545         am_cv_CC_dependencies_compiler_type=$depmode
  3546         break
  3547       fi
  3548     fi
  3549   done
  3551   cd ..
  3552   rm -rf conftest.dir
  3553 else
  3554   am_cv_CC_dependencies_compiler_type=none
  3555 fi
  3557 fi
  3558 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3559 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3560 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3564 if
  3565   test "x$enable_dependency_tracking" != xno \
  3566   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3567   am__fastdepCC_TRUE=
  3568   am__fastdepCC_FALSE='#'
  3569 else
  3570   am__fastdepCC_TRUE='#'
  3571   am__fastdepCC_FALSE=
  3572 fi
  3577         { $as_echo "$as_me:$LINENO: checking for strerror in -lcposix" >&5
  3578 $as_echo_n "checking for strerror in -lcposix... " >&6; }
  3579 if test "${ac_cv_lib_cposix_strerror+set}" = set; then
  3580   $as_echo_n "(cached) " >&6
  3581 else
  3582   ac_check_lib_save_LIBS=$LIBS
  3583 LIBS="-lcposix  $LIBS"
  3584 cat >conftest.$ac_ext <<_ACEOF
  3585 /* confdefs.h.  */
  3586 _ACEOF
  3587 cat confdefs.h >>conftest.$ac_ext
  3588 cat >>conftest.$ac_ext <<_ACEOF
  3589 /* end confdefs.h.  */
  3591 /* Override any GCC internal prototype to avoid an error.
  3592    Use char because int might match the return type of a GCC
  3593    builtin and then its argument prototype would still apply.  */
  3594 #ifdef __cplusplus
  3595 extern "C"
  3596 #endif
  3597 char strerror ();
  3598 int
  3599 main ()
  3601 return strerror ();
  3603   return 0;
  3605 _ACEOF
  3606 rm -f conftest.$ac_objext conftest$ac_exeext
  3607 if { (ac_try="$ac_link"
  3608 case "(($ac_try" in
  3609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3610   *) ac_try_echo=$ac_try;;
  3611 esac
  3612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3613 $as_echo "$ac_try_echo") >&5
  3614   (eval "$ac_link") 2>conftest.er1
  3615   ac_status=$?
  3616   grep -v '^ *+' conftest.er1 >conftest.err
  3617   rm -f conftest.er1
  3618   cat conftest.err >&5
  3619   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3620   (exit $ac_status); } && {
  3621 	 test -z "$ac_c_werror_flag" ||
  3622 	 test ! -s conftest.err
  3623        } && test -s conftest$ac_exeext && {
  3624 	 test "$cross_compiling" = yes ||
  3625 	 $as_test_x conftest$ac_exeext
  3626        }; then
  3627   ac_cv_lib_cposix_strerror=yes
  3628 else
  3629   $as_echo "$as_me: failed program was:" >&5
  3630 sed 's/^/| /' conftest.$ac_ext >&5
  3632 	ac_cv_lib_cposix_strerror=no
  3633 fi
  3635 rm -rf conftest.dSYM
  3636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  3637       conftest$ac_exeext conftest.$ac_ext
  3638 LIBS=$ac_check_lib_save_LIBS
  3639 fi
  3640 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cposix_strerror" >&5
  3641 $as_echo "$ac_cv_lib_cposix_strerror" >&6; }
  3642 if test $ac_cv_lib_cposix_strerror = yes; then
  3643   LIBS="$LIBS -lcposix"
  3644 fi
  3648 ac_ext=c
  3649 ac_cpp='$CPP $CPPFLAGS'
  3650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3653 if test -n "$ac_tool_prefix"; then
  3654   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  3655 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  3656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3657 $as_echo_n "checking for $ac_word... " >&6; }
  3658 if test "${ac_cv_prog_CC+set}" = set; then
  3659   $as_echo_n "(cached) " >&6
  3660 else
  3661   if test -n "$CC"; then
  3662   ac_cv_prog_CC="$CC" # Let the user override the test.
  3663 else
  3664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3665 for as_dir in $PATH
  3666 do
  3667   IFS=$as_save_IFS
  3668   test -z "$as_dir" && as_dir=.
  3669   for ac_exec_ext in '' $ac_executable_extensions; do
  3670   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3671     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  3672     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3673     break 2
  3674   fi
  3675 done
  3676 done
  3677 IFS=$as_save_IFS
  3679 fi
  3680 fi
  3681 CC=$ac_cv_prog_CC
  3682 if test -n "$CC"; then
  3683   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3684 $as_echo "$CC" >&6; }
  3685 else
  3686   { $as_echo "$as_me:$LINENO: result: no" >&5
  3687 $as_echo "no" >&6; }
  3688 fi
  3691 fi
  3692 if test -z "$ac_cv_prog_CC"; then
  3693   ac_ct_CC=$CC
  3694   # Extract the first word of "gcc", so it can be a program name with args.
  3695 set dummy gcc; ac_word=$2
  3696 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3697 $as_echo_n "checking for $ac_word... " >&6; }
  3698 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3699   $as_echo_n "(cached) " >&6
  3700 else
  3701   if test -n "$ac_ct_CC"; then
  3702   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3703 else
  3704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3705 for as_dir in $PATH
  3706 do
  3707   IFS=$as_save_IFS
  3708   test -z "$as_dir" && as_dir=.
  3709   for ac_exec_ext in '' $ac_executable_extensions; do
  3710   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3711     ac_cv_prog_ac_ct_CC="gcc"
  3712     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3713     break 2
  3714   fi
  3715 done
  3716 done
  3717 IFS=$as_save_IFS
  3719 fi
  3720 fi
  3721 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3722 if test -n "$ac_ct_CC"; then
  3723   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3724 $as_echo "$ac_ct_CC" >&6; }
  3725 else
  3726   { $as_echo "$as_me:$LINENO: result: no" >&5
  3727 $as_echo "no" >&6; }
  3728 fi
  3730   if test "x$ac_ct_CC" = x; then
  3731     CC=""
  3732   else
  3733     case $cross_compiling:$ac_tool_warned in
  3734 yes:)
  3735 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3736 whose name does not start with the host triplet.  If you think this
  3737 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3738 $as_echo "$as_me: 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." >&2;}
  3741 ac_tool_warned=yes ;;
  3742 esac
  3743     CC=$ac_ct_CC
  3744   fi
  3745 else
  3746   CC="$ac_cv_prog_CC"
  3747 fi
  3749 if test -z "$CC"; then
  3750           if test -n "$ac_tool_prefix"; then
  3751     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  3752 set dummy ${ac_tool_prefix}cc; ac_word=$2
  3753 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3754 $as_echo_n "checking for $ac_word... " >&6; }
  3755 if test "${ac_cv_prog_CC+set}" = set; then
  3756   $as_echo_n "(cached) " >&6
  3757 else
  3758   if test -n "$CC"; then
  3759   ac_cv_prog_CC="$CC" # Let the user override the test.
  3760 else
  3761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3762 for as_dir in $PATH
  3763 do
  3764   IFS=$as_save_IFS
  3765   test -z "$as_dir" && as_dir=.
  3766   for ac_exec_ext in '' $ac_executable_extensions; do
  3767   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3768     ac_cv_prog_CC="${ac_tool_prefix}cc"
  3769     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3770     break 2
  3771   fi
  3772 done
  3773 done
  3774 IFS=$as_save_IFS
  3776 fi
  3777 fi
  3778 CC=$ac_cv_prog_CC
  3779 if test -n "$CC"; then
  3780   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3781 $as_echo "$CC" >&6; }
  3782 else
  3783   { $as_echo "$as_me:$LINENO: result: no" >&5
  3784 $as_echo "no" >&6; }
  3785 fi
  3788   fi
  3789 fi
  3790 if test -z "$CC"; then
  3791   # Extract the first word of "cc", so it can be a program name with args.
  3792 set dummy cc; ac_word=$2
  3793 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3794 $as_echo_n "checking for $ac_word... " >&6; }
  3795 if test "${ac_cv_prog_CC+set}" = set; then
  3796   $as_echo_n "(cached) " >&6
  3797 else
  3798   if test -n "$CC"; then
  3799   ac_cv_prog_CC="$CC" # Let the user override the test.
  3800 else
  3801   ac_prog_rejected=no
  3802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3803 for as_dir in $PATH
  3804 do
  3805   IFS=$as_save_IFS
  3806   test -z "$as_dir" && as_dir=.
  3807   for ac_exec_ext in '' $ac_executable_extensions; do
  3808   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3809     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  3810        ac_prog_rejected=yes
  3811        continue
  3812      fi
  3813     ac_cv_prog_CC="cc"
  3814     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3815     break 2
  3816   fi
  3817 done
  3818 done
  3819 IFS=$as_save_IFS
  3821 if test $ac_prog_rejected = yes; then
  3822   # We found a bogon in the path, so make sure we never use it.
  3823   set dummy $ac_cv_prog_CC
  3824   shift
  3825   if test $# != 0; then
  3826     # We chose a different compiler from the bogus one.
  3827     # However, it has the same basename, so the bogon will be chosen
  3828     # first if we set CC to just the basename; use the full file name.
  3829     shift
  3830     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  3831   fi
  3832 fi
  3833 fi
  3834 fi
  3835 CC=$ac_cv_prog_CC
  3836 if test -n "$CC"; then
  3837   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3838 $as_echo "$CC" >&6; }
  3839 else
  3840   { $as_echo "$as_me:$LINENO: result: no" >&5
  3841 $as_echo "no" >&6; }
  3842 fi
  3845 fi
  3846 if test -z "$CC"; then
  3847   if test -n "$ac_tool_prefix"; then
  3848   for ac_prog in cl.exe
  3849   do
  3850     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  3851 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  3852 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3853 $as_echo_n "checking for $ac_word... " >&6; }
  3854 if test "${ac_cv_prog_CC+set}" = set; then
  3855   $as_echo_n "(cached) " >&6
  3856 else
  3857   if test -n "$CC"; then
  3858   ac_cv_prog_CC="$CC" # Let the user override the test.
  3859 else
  3860 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3861 for as_dir in $PATH
  3862 do
  3863   IFS=$as_save_IFS
  3864   test -z "$as_dir" && as_dir=.
  3865   for ac_exec_ext in '' $ac_executable_extensions; do
  3866   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3867     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  3868     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3869     break 2
  3870   fi
  3871 done
  3872 done
  3873 IFS=$as_save_IFS
  3875 fi
  3876 fi
  3877 CC=$ac_cv_prog_CC
  3878 if test -n "$CC"; then
  3879   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  3880 $as_echo "$CC" >&6; }
  3881 else
  3882   { $as_echo "$as_me:$LINENO: result: no" >&5
  3883 $as_echo "no" >&6; }
  3884 fi
  3887     test -n "$CC" && break
  3888   done
  3889 fi
  3890 if test -z "$CC"; then
  3891   ac_ct_CC=$CC
  3892   for ac_prog in cl.exe
  3893 do
  3894   # Extract the first word of "$ac_prog", so it can be a program name with args.
  3895 set dummy $ac_prog; ac_word=$2
  3896 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3897 $as_echo_n "checking for $ac_word... " >&6; }
  3898 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  3899   $as_echo_n "(cached) " >&6
  3900 else
  3901   if test -n "$ac_ct_CC"; then
  3902   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  3903 else
  3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3905 for as_dir in $PATH
  3906 do
  3907   IFS=$as_save_IFS
  3908   test -z "$as_dir" && as_dir=.
  3909   for ac_exec_ext in '' $ac_executable_extensions; do
  3910   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3911     ac_cv_prog_ac_ct_CC="$ac_prog"
  3912     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3913     break 2
  3914   fi
  3915 done
  3916 done
  3917 IFS=$as_save_IFS
  3919 fi
  3920 fi
  3921 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  3922 if test -n "$ac_ct_CC"; then
  3923   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  3924 $as_echo "$ac_ct_CC" >&6; }
  3925 else
  3926   { $as_echo "$as_me:$LINENO: result: no" >&5
  3927 $as_echo "no" >&6; }
  3928 fi
  3931   test -n "$ac_ct_CC" && break
  3932 done
  3934   if test "x$ac_ct_CC" = x; then
  3935     CC=""
  3936   else
  3937     case $cross_compiling:$ac_tool_warned in
  3938 yes:)
  3939 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  3940 whose name does not start with the host triplet.  If you think this
  3941 configuration is useful to you, please write to autoconf@gnu.org." >&5
  3942 $as_echo "$as_me: 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." >&2;}
  3945 ac_tool_warned=yes ;;
  3946 esac
  3947     CC=$ac_ct_CC
  3948   fi
  3949 fi
  3951 fi
  3954 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  3955 See \`config.log' for more details." >&5
  3956 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  3957 See \`config.log' for more details." >&2;}
  3958    { (exit 1); exit 1; }; }
  3960 # Provide some information about the compiler.
  3961 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  3962 set X $ac_compile
  3963 ac_compiler=$2
  3964 { (ac_try="$ac_compiler --version >&5"
  3965 case "(($ac_try" in
  3966   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3967   *) ac_try_echo=$ac_try;;
  3968 esac
  3969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3970 $as_echo "$ac_try_echo") >&5
  3971   (eval "$ac_compiler --version >&5") 2>&5
  3972   ac_status=$?
  3973   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3974   (exit $ac_status); }
  3975 { (ac_try="$ac_compiler -v >&5"
  3976 case "(($ac_try" in
  3977   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3978   *) ac_try_echo=$ac_try;;
  3979 esac
  3980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3981 $as_echo "$ac_try_echo") >&5
  3982   (eval "$ac_compiler -v >&5") 2>&5
  3983   ac_status=$?
  3984   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3985   (exit $ac_status); }
  3986 { (ac_try="$ac_compiler -V >&5"
  3987 case "(($ac_try" in
  3988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3989   *) ac_try_echo=$ac_try;;
  3990 esac
  3991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3992 $as_echo "$ac_try_echo") >&5
  3993   (eval "$ac_compiler -V >&5") 2>&5
  3994   ac_status=$?
  3995   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3996   (exit $ac_status); }
  3998 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3999 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4000 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4001   $as_echo_n "(cached) " >&6
  4002 else
  4003   cat >conftest.$ac_ext <<_ACEOF
  4004 /* confdefs.h.  */
  4005 _ACEOF
  4006 cat confdefs.h >>conftest.$ac_ext
  4007 cat >>conftest.$ac_ext <<_ACEOF
  4008 /* end confdefs.h.  */
  4010 int
  4011 main ()
  4013 #ifndef __GNUC__
  4014        choke me
  4015 #endif
  4018   return 0;
  4020 _ACEOF
  4021 rm -f conftest.$ac_objext
  4022 if { (ac_try="$ac_compile"
  4023 case "(($ac_try" in
  4024   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4025   *) ac_try_echo=$ac_try;;
  4026 esac
  4027 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4028 $as_echo "$ac_try_echo") >&5
  4029   (eval "$ac_compile") 2>conftest.er1
  4030   ac_status=$?
  4031   grep -v '^ *+' conftest.er1 >conftest.err
  4032   rm -f conftest.er1
  4033   cat conftest.err >&5
  4034   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4035   (exit $ac_status); } && {
  4036 	 test -z "$ac_c_werror_flag" ||
  4037 	 test ! -s conftest.err
  4038        } && test -s conftest.$ac_objext; then
  4039   ac_compiler_gnu=yes
  4040 else
  4041   $as_echo "$as_me: failed program was:" >&5
  4042 sed 's/^/| /' conftest.$ac_ext >&5
  4044 	ac_compiler_gnu=no
  4045 fi
  4047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4048 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4050 fi
  4051 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4052 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4053 if test $ac_compiler_gnu = yes; then
  4054   GCC=yes
  4055 else
  4056   GCC=
  4057 fi
  4058 ac_test_CFLAGS=${CFLAGS+set}
  4059 ac_save_CFLAGS=$CFLAGS
  4060 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4061 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4062 if test "${ac_cv_prog_cc_g+set}" = set; then
  4063   $as_echo_n "(cached) " >&6
  4064 else
  4065   ac_save_c_werror_flag=$ac_c_werror_flag
  4066    ac_c_werror_flag=yes
  4067    ac_cv_prog_cc_g=no
  4068    CFLAGS="-g"
  4069    cat >conftest.$ac_ext <<_ACEOF
  4070 /* confdefs.h.  */
  4071 _ACEOF
  4072 cat confdefs.h >>conftest.$ac_ext
  4073 cat >>conftest.$ac_ext <<_ACEOF
  4074 /* end confdefs.h.  */
  4076 int
  4077 main ()
  4081   return 0;
  4083 _ACEOF
  4084 rm -f conftest.$ac_objext
  4085 if { (ac_try="$ac_compile"
  4086 case "(($ac_try" in
  4087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4088   *) ac_try_echo=$ac_try;;
  4089 esac
  4090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4091 $as_echo "$ac_try_echo") >&5
  4092   (eval "$ac_compile") 2>conftest.er1
  4093   ac_status=$?
  4094   grep -v '^ *+' conftest.er1 >conftest.err
  4095   rm -f conftest.er1
  4096   cat conftest.err >&5
  4097   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4098   (exit $ac_status); } && {
  4099 	 test -z "$ac_c_werror_flag" ||
  4100 	 test ! -s conftest.err
  4101        } && test -s conftest.$ac_objext; then
  4102   ac_cv_prog_cc_g=yes
  4103 else
  4104   $as_echo "$as_me: failed program was:" >&5
  4105 sed 's/^/| /' conftest.$ac_ext >&5
  4107 	CFLAGS=""
  4108       cat >conftest.$ac_ext <<_ACEOF
  4109 /* confdefs.h.  */
  4110 _ACEOF
  4111 cat confdefs.h >>conftest.$ac_ext
  4112 cat >>conftest.$ac_ext <<_ACEOF
  4113 /* end confdefs.h.  */
  4115 int
  4116 main ()
  4120   return 0;
  4122 _ACEOF
  4123 rm -f conftest.$ac_objext
  4124 if { (ac_try="$ac_compile"
  4125 case "(($ac_try" in
  4126   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4127   *) ac_try_echo=$ac_try;;
  4128 esac
  4129 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4130 $as_echo "$ac_try_echo") >&5
  4131   (eval "$ac_compile") 2>conftest.er1
  4132   ac_status=$?
  4133   grep -v '^ *+' conftest.er1 >conftest.err
  4134   rm -f conftest.er1
  4135   cat conftest.err >&5
  4136   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4137   (exit $ac_status); } && {
  4138 	 test -z "$ac_c_werror_flag" ||
  4139 	 test ! -s conftest.err
  4140        } && test -s conftest.$ac_objext; then
  4142 else
  4143   $as_echo "$as_me: failed program was:" >&5
  4144 sed 's/^/| /' conftest.$ac_ext >&5
  4146 	ac_c_werror_flag=$ac_save_c_werror_flag
  4147 	 CFLAGS="-g"
  4148 	 cat >conftest.$ac_ext <<_ACEOF
  4149 /* confdefs.h.  */
  4150 _ACEOF
  4151 cat confdefs.h >>conftest.$ac_ext
  4152 cat >>conftest.$ac_ext <<_ACEOF
  4153 /* end confdefs.h.  */
  4155 int
  4156 main ()
  4160   return 0;
  4162 _ACEOF
  4163 rm -f conftest.$ac_objext
  4164 if { (ac_try="$ac_compile"
  4165 case "(($ac_try" in
  4166   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4167   *) ac_try_echo=$ac_try;;
  4168 esac
  4169 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4170 $as_echo "$ac_try_echo") >&5
  4171   (eval "$ac_compile") 2>conftest.er1
  4172   ac_status=$?
  4173   grep -v '^ *+' conftest.er1 >conftest.err
  4174   rm -f conftest.er1
  4175   cat conftest.err >&5
  4176   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4177   (exit $ac_status); } && {
  4178 	 test -z "$ac_c_werror_flag" ||
  4179 	 test ! -s conftest.err
  4180        } && test -s conftest.$ac_objext; then
  4181   ac_cv_prog_cc_g=yes
  4182 else
  4183   $as_echo "$as_me: failed program was:" >&5
  4184 sed 's/^/| /' conftest.$ac_ext >&5
  4187 fi
  4189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  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    ac_c_werror_flag=$ac_save_c_werror_flag
  4197 fi
  4198 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4199 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4200 if test "$ac_test_CFLAGS" = set; then
  4201   CFLAGS=$ac_save_CFLAGS
  4202 elif test $ac_cv_prog_cc_g = yes; then
  4203   if test "$GCC" = yes; then
  4204     CFLAGS="-g -O2"
  4205   else
  4206     CFLAGS="-g"
  4207   fi
  4208 else
  4209   if test "$GCC" = yes; then
  4210     CFLAGS="-O2"
  4211   else
  4212     CFLAGS=
  4213   fi
  4214 fi
  4215 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  4216 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4217 if test "${ac_cv_prog_cc_c89+set}" = set; then
  4218   $as_echo_n "(cached) " >&6
  4219 else
  4220   ac_cv_prog_cc_c89=no
  4221 ac_save_CC=$CC
  4222 cat >conftest.$ac_ext <<_ACEOF
  4223 /* confdefs.h.  */
  4224 _ACEOF
  4225 cat confdefs.h >>conftest.$ac_ext
  4226 cat >>conftest.$ac_ext <<_ACEOF
  4227 /* end confdefs.h.  */
  4228 #include <stdarg.h>
  4229 #include <stdio.h>
  4230 #include <sys/types.h>
  4231 #include <sys/stat.h>
  4232 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  4233 struct buf { int x; };
  4234 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4235 static char *e (p, i)
  4236      char **p;
  4237      int i;
  4239   return p[i];
  4241 static char *f (char * (*g) (char **, int), char **p, ...)
  4243   char *s;
  4244   va_list v;
  4245   va_start (v,p);
  4246   s = g (p, va_arg (v,int));
  4247   va_end (v);
  4248   return s;
  4251 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  4252    function prototypes and stuff, but not '\xHH' hex character constants.
  4253    These don't provoke an error unfortunately, instead are silently treated
  4254    as 'x'.  The following induces an error, until -std is added to get
  4255    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  4256    array size at least.  It's necessary to write '\x00'==0 to get something
  4257    that's true only with -std.  */
  4258 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4260 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4261    inside strings and character constants.  */
  4262 #define FOO(x) 'x'
  4263 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4265 int test (int i, double x);
  4266 struct s1 {int (*f) (int a);};
  4267 struct s2 {int (*f) (double a);};
  4268 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4269 int argc;
  4270 char **argv;
  4271 int
  4272 main ()
  4274 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  4276   return 0;
  4278 _ACEOF
  4279 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4280 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4281 do
  4282   CC="$ac_save_CC $ac_arg"
  4283   rm -f conftest.$ac_objext
  4284 if { (ac_try="$ac_compile"
  4285 case "(($ac_try" in
  4286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4287   *) ac_try_echo=$ac_try;;
  4288 esac
  4289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4290 $as_echo "$ac_try_echo") >&5
  4291   (eval "$ac_compile") 2>conftest.er1
  4292   ac_status=$?
  4293   grep -v '^ *+' conftest.er1 >conftest.err
  4294   rm -f conftest.er1
  4295   cat conftest.err >&5
  4296   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4297   (exit $ac_status); } && {
  4298 	 test -z "$ac_c_werror_flag" ||
  4299 	 test ! -s conftest.err
  4300        } && test -s conftest.$ac_objext; then
  4301   ac_cv_prog_cc_c89=$ac_arg
  4302 else
  4303   $as_echo "$as_me: failed program was:" >&5
  4304 sed 's/^/| /' conftest.$ac_ext >&5
  4307 fi
  4309 rm -f core conftest.err conftest.$ac_objext
  4310   test "x$ac_cv_prog_cc_c89" != "xno" && break
  4311 done
  4312 rm -f conftest.$ac_ext
  4313 CC=$ac_save_CC
  4315 fi
  4316 # AC_CACHE_VAL
  4317 case "x$ac_cv_prog_cc_c89" in
  4318   x)
  4319     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  4320 $as_echo "none needed" >&6; } ;;
  4321   xno)
  4322     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  4323 $as_echo "unsupported" >&6; } ;;
  4324   *)
  4325     CC="$CC $ac_cv_prog_cc_c89"
  4326     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  4327 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4328 esac
  4331 ac_ext=c
  4332 ac_cpp='$CPP $CPPFLAGS'
  4333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4337 depcc="$CC"   am_compiler_list=
  4339 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  4340 $as_echo_n "checking dependency style of $depcc... " >&6; }
  4341 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  4342   $as_echo_n "(cached) " >&6
  4343 else
  4344   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  4345   # We make a subdir and do the tests there.  Otherwise we can end up
  4346   # making bogus files that we don't know about and never remove.  For
  4347   # instance it was reported that on HP-UX the gcc test will end up
  4348   # making a dummy file named `D' -- because `-MD' means `put the output
  4349   # in D'.
  4350   mkdir conftest.dir
  4351   # Copy depcomp to subdir because otherwise we won't find it if we're
  4352   # using a relative directory.
  4353   cp "$am_depcomp" conftest.dir
  4354   cd conftest.dir
  4355   # We will build objects and dependencies in a subdirectory because
  4356   # it helps to detect inapplicable dependency modes.  For instance
  4357   # both Tru64's cc and ICC support -MD to output dependencies as a
  4358   # side effect of compilation, but ICC will put the dependencies in
  4359   # the current directory while Tru64 will put them in the object
  4360   # directory.
  4361   mkdir sub
  4363   am_cv_CC_dependencies_compiler_type=none
  4364   if test "$am_compiler_list" = ""; then
  4365      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  4366   fi
  4367   for depmode in $am_compiler_list; do
  4368     # Setup a source with many dependencies, because some compilers
  4369     # like to wrap large dependency lists on column 80 (with \), and
  4370     # we should not choose a depcomp mode which is confused by this.
  4372     # We need to recreate these files for each test, as the compiler may
  4373     # overwrite some of them when testing with obscure command lines.
  4374     # This happens at least with the AIX C compiler.
  4375     : > sub/conftest.c
  4376     for i in 1 2 3 4 5 6; do
  4377       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  4378       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  4379       # Solaris 8's {/usr,}/bin/sh.
  4380       touch sub/conftst$i.h
  4381     done
  4382     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  4384     case $depmode in
  4385     nosideeffect)
  4386       # after this tag, mechanisms are not by side-effect, so they'll
  4387       # only be used when explicitly requested
  4388       if test "x$enable_dependency_tracking" = xyes; then
  4389 	continue
  4390       else
  4391 	break
  4392       fi
  4393       ;;
  4394     none) break ;;
  4395     esac
  4396     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  4397     # mode.  It turns out that the SunPro C++ compiler does not properly
  4398     # handle `-M -o', and we need to detect this.
  4399     if depmode=$depmode \
  4400        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  4401        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  4402        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  4403          >/dev/null 2>conftest.err &&
  4404        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  4405        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  4406        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  4407       # icc doesn't choke on unknown options, it will just issue warnings
  4408       # or remarks (even with -Werror).  So we grep stderr for any message
  4409       # that says an option was ignored or not supported.
  4410       # When given -MP, icc 7.0 and 7.1 complain thusly:
  4411       #   icc: Command line warning: ignoring option '-M'; no argument required
  4412       # The diagnosis changed in icc 8.0:
  4413       #   icc: Command line remark: option '-MP' not supported
  4414       if (grep 'ignoring option' conftest.err ||
  4415           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  4416         am_cv_CC_dependencies_compiler_type=$depmode
  4417         break
  4418       fi
  4419     fi
  4420   done
  4422   cd ..
  4423   rm -rf conftest.dir
  4424 else
  4425   am_cv_CC_dependencies_compiler_type=none
  4426 fi
  4428 fi
  4429 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  4430 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  4431 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  4435 if
  4436   test "x$enable_dependency_tracking" != xno \
  4437   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  4438   am__fastdepCC_TRUE=
  4439   am__fastdepCC_FALSE='#'
  4440 else
  4441   am__fastdepCC_TRUE='#'
  4442   am__fastdepCC_FALSE=
  4443 fi
  4446 ac_ext=c
  4447 ac_cpp='$CPP $CPPFLAGS'
  4448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4451 if test -n "$ac_tool_prefix"; then
  4452   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4453 set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4454 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4455 $as_echo_n "checking for $ac_word... " >&6; }
  4456 if test "${ac_cv_prog_CC+set}" = set; then
  4457   $as_echo_n "(cached) " >&6
  4458 else
  4459   if test -n "$CC"; then
  4460   ac_cv_prog_CC="$CC" # Let the user override the test.
  4461 else
  4462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4463 for as_dir in $PATH
  4464 do
  4465   IFS=$as_save_IFS
  4466   test -z "$as_dir" && as_dir=.
  4467   for ac_exec_ext in '' $ac_executable_extensions; do
  4468   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4469     ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4470     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4471     break 2
  4472   fi
  4473 done
  4474 done
  4475 IFS=$as_save_IFS
  4477 fi
  4478 fi
  4479 CC=$ac_cv_prog_CC
  4480 if test -n "$CC"; then
  4481   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4482 $as_echo "$CC" >&6; }
  4483 else
  4484   { $as_echo "$as_me:$LINENO: result: no" >&5
  4485 $as_echo "no" >&6; }
  4486 fi
  4489 fi
  4490 if test -z "$ac_cv_prog_CC"; then
  4491   ac_ct_CC=$CC
  4492   # Extract the first word of "gcc", so it can be a program name with args.
  4493 set dummy gcc; ac_word=$2
  4494 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4495 $as_echo_n "checking for $ac_word... " >&6; }
  4496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4497   $as_echo_n "(cached) " >&6
  4498 else
  4499   if test -n "$ac_ct_CC"; then
  4500   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4501 else
  4502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4503 for as_dir in $PATH
  4504 do
  4505   IFS=$as_save_IFS
  4506   test -z "$as_dir" && as_dir=.
  4507   for ac_exec_ext in '' $ac_executable_extensions; do
  4508   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4509     ac_cv_prog_ac_ct_CC="gcc"
  4510     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4511     break 2
  4512   fi
  4513 done
  4514 done
  4515 IFS=$as_save_IFS
  4517 fi
  4518 fi
  4519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4520 if test -n "$ac_ct_CC"; then
  4521   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4522 $as_echo "$ac_ct_CC" >&6; }
  4523 else
  4524   { $as_echo "$as_me:$LINENO: result: no" >&5
  4525 $as_echo "no" >&6; }
  4526 fi
  4528   if test "x$ac_ct_CC" = x; then
  4529     CC=""
  4530   else
  4531     case $cross_compiling:$ac_tool_warned in
  4532 yes:)
  4533 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4534 whose name does not start with the host triplet.  If you think this
  4535 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4536 $as_echo "$as_me: 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." >&2;}
  4539 ac_tool_warned=yes ;;
  4540 esac
  4541     CC=$ac_ct_CC
  4542   fi
  4543 else
  4544   CC="$ac_cv_prog_CC"
  4545 fi
  4547 if test -z "$CC"; then
  4548           if test -n "$ac_tool_prefix"; then
  4549     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4550 set dummy ${ac_tool_prefix}cc; ac_word=$2
  4551 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4552 $as_echo_n "checking for $ac_word... " >&6; }
  4553 if test "${ac_cv_prog_CC+set}" = set; then
  4554   $as_echo_n "(cached) " >&6
  4555 else
  4556   if test -n "$CC"; then
  4557   ac_cv_prog_CC="$CC" # Let the user override the test.
  4558 else
  4559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4560 for as_dir in $PATH
  4561 do
  4562   IFS=$as_save_IFS
  4563   test -z "$as_dir" && as_dir=.
  4564   for ac_exec_ext in '' $ac_executable_extensions; do
  4565   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4566     ac_cv_prog_CC="${ac_tool_prefix}cc"
  4567     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4568     break 2
  4569   fi
  4570 done
  4571 done
  4572 IFS=$as_save_IFS
  4574 fi
  4575 fi
  4576 CC=$ac_cv_prog_CC
  4577 if test -n "$CC"; then
  4578   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4579 $as_echo "$CC" >&6; }
  4580 else
  4581   { $as_echo "$as_me:$LINENO: result: no" >&5
  4582 $as_echo "no" >&6; }
  4583 fi
  4586   fi
  4587 fi
  4588 if test -z "$CC"; then
  4589   # Extract the first word of "cc", so it can be a program name with args.
  4590 set dummy cc; ac_word=$2
  4591 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4592 $as_echo_n "checking for $ac_word... " >&6; }
  4593 if test "${ac_cv_prog_CC+set}" = set; then
  4594   $as_echo_n "(cached) " >&6
  4595 else
  4596   if test -n "$CC"; then
  4597   ac_cv_prog_CC="$CC" # Let the user override the test.
  4598 else
  4599   ac_prog_rejected=no
  4600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4601 for as_dir in $PATH
  4602 do
  4603   IFS=$as_save_IFS
  4604   test -z "$as_dir" && as_dir=.
  4605   for ac_exec_ext in '' $ac_executable_extensions; do
  4606   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4607     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4608        ac_prog_rejected=yes
  4609        continue
  4610      fi
  4611     ac_cv_prog_CC="cc"
  4612     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4613     break 2
  4614   fi
  4615 done
  4616 done
  4617 IFS=$as_save_IFS
  4619 if test $ac_prog_rejected = yes; then
  4620   # We found a bogon in the path, so make sure we never use it.
  4621   set dummy $ac_cv_prog_CC
  4622   shift
  4623   if test $# != 0; then
  4624     # We chose a different compiler from the bogus one.
  4625     # However, it has the same basename, so the bogon will be chosen
  4626     # first if we set CC to just the basename; use the full file name.
  4627     shift
  4628     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4629   fi
  4630 fi
  4631 fi
  4632 fi
  4633 CC=$ac_cv_prog_CC
  4634 if test -n "$CC"; then
  4635   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4636 $as_echo "$CC" >&6; }
  4637 else
  4638   { $as_echo "$as_me:$LINENO: result: no" >&5
  4639 $as_echo "no" >&6; }
  4640 fi
  4643 fi
  4644 if test -z "$CC"; then
  4645   if test -n "$ac_tool_prefix"; then
  4646   for ac_prog in cl.exe
  4647   do
  4648     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4649 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4650 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4651 $as_echo_n "checking for $ac_word... " >&6; }
  4652 if test "${ac_cv_prog_CC+set}" = set; then
  4653   $as_echo_n "(cached) " >&6
  4654 else
  4655   if test -n "$CC"; then
  4656   ac_cv_prog_CC="$CC" # Let the user override the test.
  4657 else
  4658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4659 for as_dir in $PATH
  4660 do
  4661   IFS=$as_save_IFS
  4662   test -z "$as_dir" && as_dir=.
  4663   for ac_exec_ext in '' $ac_executable_extensions; do
  4664   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4665     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4666     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4667     break 2
  4668   fi
  4669 done
  4670 done
  4671 IFS=$as_save_IFS
  4673 fi
  4674 fi
  4675 CC=$ac_cv_prog_CC
  4676 if test -n "$CC"; then
  4677   { $as_echo "$as_me:$LINENO: result: $CC" >&5
  4678 $as_echo "$CC" >&6; }
  4679 else
  4680   { $as_echo "$as_me:$LINENO: result: no" >&5
  4681 $as_echo "no" >&6; }
  4682 fi
  4685     test -n "$CC" && break
  4686   done
  4687 fi
  4688 if test -z "$CC"; then
  4689   ac_ct_CC=$CC
  4690   for ac_prog in cl.exe
  4691 do
  4692   # Extract the first word of "$ac_prog", so it can be a program name with args.
  4693 set dummy $ac_prog; ac_word=$2
  4694 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4695 $as_echo_n "checking for $ac_word... " >&6; }
  4696 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  4697   $as_echo_n "(cached) " >&6
  4698 else
  4699   if test -n "$ac_ct_CC"; then
  4700   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4701 else
  4702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4703 for as_dir in $PATH
  4704 do
  4705   IFS=$as_save_IFS
  4706   test -z "$as_dir" && as_dir=.
  4707   for ac_exec_ext in '' $ac_executable_extensions; do
  4708   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4709     ac_cv_prog_ac_ct_CC="$ac_prog"
  4710     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4711     break 2
  4712   fi
  4713 done
  4714 done
  4715 IFS=$as_save_IFS
  4717 fi
  4718 fi
  4719 ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4720 if test -n "$ac_ct_CC"; then
  4721   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  4722 $as_echo "$ac_ct_CC" >&6; }
  4723 else
  4724   { $as_echo "$as_me:$LINENO: result: no" >&5
  4725 $as_echo "no" >&6; }
  4726 fi
  4729   test -n "$ac_ct_CC" && break
  4730 done
  4732   if test "x$ac_ct_CC" = x; then
  4733     CC=""
  4734   else
  4735     case $cross_compiling:$ac_tool_warned in
  4736 yes:)
  4737 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  4738 whose name does not start with the host triplet.  If you think this
  4739 configuration is useful to you, please write to autoconf@gnu.org." >&5
  4740 $as_echo "$as_me: 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." >&2;}
  4743 ac_tool_warned=yes ;;
  4744 esac
  4745     CC=$ac_ct_CC
  4746   fi
  4747 fi
  4749 fi
  4752 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  4753 See \`config.log' for more details." >&5
  4754 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  4755 See \`config.log' for more details." >&2;}
  4756    { (exit 1); exit 1; }; }
  4758 # Provide some information about the compiler.
  4759 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  4760 set X $ac_compile
  4761 ac_compiler=$2
  4762 { (ac_try="$ac_compiler --version >&5"
  4763 case "(($ac_try" in
  4764   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4765   *) ac_try_echo=$ac_try;;
  4766 esac
  4767 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4768 $as_echo "$ac_try_echo") >&5
  4769   (eval "$ac_compiler --version >&5") 2>&5
  4770   ac_status=$?
  4771   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4772   (exit $ac_status); }
  4773 { (ac_try="$ac_compiler -v >&5"
  4774 case "(($ac_try" in
  4775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4776   *) ac_try_echo=$ac_try;;
  4777 esac
  4778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4779 $as_echo "$ac_try_echo") >&5
  4780   (eval "$ac_compiler -v >&5") 2>&5
  4781   ac_status=$?
  4782   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4783   (exit $ac_status); }
  4784 { (ac_try="$ac_compiler -V >&5"
  4785 case "(($ac_try" in
  4786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4787   *) ac_try_echo=$ac_try;;
  4788 esac
  4789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4790 $as_echo "$ac_try_echo") >&5
  4791   (eval "$ac_compiler -V >&5") 2>&5
  4792   ac_status=$?
  4793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4794   (exit $ac_status); }
  4796 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  4797 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4798 if test "${ac_cv_c_compiler_gnu+set}" = set; then
  4799   $as_echo_n "(cached) " >&6
  4800 else
  4801   cat >conftest.$ac_ext <<_ACEOF
  4802 /* confdefs.h.  */
  4803 _ACEOF
  4804 cat confdefs.h >>conftest.$ac_ext
  4805 cat >>conftest.$ac_ext <<_ACEOF
  4806 /* end confdefs.h.  */
  4808 int
  4809 main ()
  4811 #ifndef __GNUC__
  4812        choke me
  4813 #endif
  4816   return 0;
  4818 _ACEOF
  4819 rm -f conftest.$ac_objext
  4820 if { (ac_try="$ac_compile"
  4821 case "(($ac_try" in
  4822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4823   *) ac_try_echo=$ac_try;;
  4824 esac
  4825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4826 $as_echo "$ac_try_echo") >&5
  4827   (eval "$ac_compile") 2>conftest.er1
  4828   ac_status=$?
  4829   grep -v '^ *+' conftest.er1 >conftest.err
  4830   rm -f conftest.er1
  4831   cat conftest.err >&5
  4832   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4833   (exit $ac_status); } && {
  4834 	 test -z "$ac_c_werror_flag" ||
  4835 	 test ! -s conftest.err
  4836        } && test -s conftest.$ac_objext; then
  4837   ac_compiler_gnu=yes
  4838 else
  4839   $as_echo "$as_me: failed program was:" >&5
  4840 sed 's/^/| /' conftest.$ac_ext >&5
  4842 	ac_compiler_gnu=no
  4843 fi
  4845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4846 ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4848 fi
  4849 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  4850 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4851 if test $ac_compiler_gnu = yes; then
  4852   GCC=yes
  4853 else
  4854   GCC=
  4855 fi
  4856 ac_test_CFLAGS=${CFLAGS+set}
  4857 ac_save_CFLAGS=$CFLAGS
  4858 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  4859 $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4860 if test "${ac_cv_prog_cc_g+set}" = set; then
  4861   $as_echo_n "(cached) " >&6
  4862 else
  4863   ac_save_c_werror_flag=$ac_c_werror_flag
  4864    ac_c_werror_flag=yes
  4865    ac_cv_prog_cc_g=no
  4866    CFLAGS="-g"
  4867    cat >conftest.$ac_ext <<_ACEOF
  4868 /* confdefs.h.  */
  4869 _ACEOF
  4870 cat confdefs.h >>conftest.$ac_ext
  4871 cat >>conftest.$ac_ext <<_ACEOF
  4872 /* end confdefs.h.  */
  4874 int
  4875 main ()
  4879   return 0;
  4881 _ACEOF
  4882 rm -f conftest.$ac_objext
  4883 if { (ac_try="$ac_compile"
  4884 case "(($ac_try" in
  4885   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4886   *) ac_try_echo=$ac_try;;
  4887 esac
  4888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4889 $as_echo "$ac_try_echo") >&5
  4890   (eval "$ac_compile") 2>conftest.er1
  4891   ac_status=$?
  4892   grep -v '^ *+' conftest.er1 >conftest.err
  4893   rm -f conftest.er1
  4894   cat conftest.err >&5
  4895   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4896   (exit $ac_status); } && {
  4897 	 test -z "$ac_c_werror_flag" ||
  4898 	 test ! -s conftest.err
  4899        } && test -s conftest.$ac_objext; then
  4900   ac_cv_prog_cc_g=yes
  4901 else
  4902   $as_echo "$as_me: failed program was:" >&5
  4903 sed 's/^/| /' conftest.$ac_ext >&5
  4905 	CFLAGS=""
  4906       cat >conftest.$ac_ext <<_ACEOF
  4907 /* confdefs.h.  */
  4908 _ACEOF
  4909 cat confdefs.h >>conftest.$ac_ext
  4910 cat >>conftest.$ac_ext <<_ACEOF
  4911 /* end confdefs.h.  */
  4913 int
  4914 main ()
  4918   return 0;
  4920 _ACEOF
  4921 rm -f conftest.$ac_objext
  4922 if { (ac_try="$ac_compile"
  4923 case "(($ac_try" in
  4924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4925   *) ac_try_echo=$ac_try;;
  4926 esac
  4927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4928 $as_echo "$ac_try_echo") >&5
  4929   (eval "$ac_compile") 2>conftest.er1
  4930   ac_status=$?
  4931   grep -v '^ *+' conftest.er1 >conftest.err
  4932   rm -f conftest.er1
  4933   cat conftest.err >&5
  4934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4935   (exit $ac_status); } && {
  4936 	 test -z "$ac_c_werror_flag" ||
  4937 	 test ! -s conftest.err
  4938        } && test -s conftest.$ac_objext; then
  4940 else
  4941   $as_echo "$as_me: failed program was:" >&5
  4942 sed 's/^/| /' conftest.$ac_ext >&5
  4944 	ac_c_werror_flag=$ac_save_c_werror_flag
  4945 	 CFLAGS="-g"
  4946 	 cat >conftest.$ac_ext <<_ACEOF
  4947 /* confdefs.h.  */
  4948 _ACEOF
  4949 cat confdefs.h >>conftest.$ac_ext
  4950 cat >>conftest.$ac_ext <<_ACEOF
  4951 /* end confdefs.h.  */
  4953 int
  4954 main ()
  4958   return 0;
  4960 _ACEOF
  4961 rm -f conftest.$ac_objext
  4962 if { (ac_try="$ac_compile"
  4963 case "(($ac_try" in
  4964   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4965   *) ac_try_echo=$ac_try;;
  4966 esac
  4967 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4968 $as_echo "$ac_try_echo") >&5
  4969   (eval "$ac_compile") 2>conftest.er1
  4970   ac_status=$?
  4971   grep -v '^ *+' conftest.er1 >conftest.err
  4972   rm -f conftest.er1
  4973   cat conftest.err >&5
  4974   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4975   (exit $ac_status); } && {
  4976 	 test -z "$ac_c_werror_flag" ||
  4977 	 test ! -s conftest.err
  4978        } && test -s conftest.$ac_objext; then
  4979   ac_cv_prog_cc_g=yes
  4980 else
  4981   $as_echo "$as_me: failed program was:" >&5
  4982 sed 's/^/| /' conftest.$ac_ext >&5
  4985 fi
  4987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  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    ac_c_werror_flag=$ac_save_c_werror_flag
  4995 fi
  4996 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  4997 $as_echo "$ac_cv_prog_cc_g" >&6; }
  4998 if test "$ac_test_CFLAGS" = set; then
  4999   CFLAGS=$ac_save_CFLAGS
  5000 elif test $ac_cv_prog_cc_g = yes; then
  5001   if test "$GCC" = yes; then
  5002     CFLAGS="-g -O2"
  5003   else
  5004     CFLAGS="-g"
  5005   fi
  5006 else
  5007   if test "$GCC" = yes; then
  5008     CFLAGS="-O2"
  5009   else
  5010     CFLAGS=
  5011   fi
  5012 fi
  5013 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  5014 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  5015 if test "${ac_cv_prog_cc_c89+set}" = set; then
  5016   $as_echo_n "(cached) " >&6
  5017 else
  5018   ac_cv_prog_cc_c89=no
  5019 ac_save_CC=$CC
  5020 cat >conftest.$ac_ext <<_ACEOF
  5021 /* confdefs.h.  */
  5022 _ACEOF
  5023 cat confdefs.h >>conftest.$ac_ext
  5024 cat >>conftest.$ac_ext <<_ACEOF
  5025 /* end confdefs.h.  */
  5026 #include <stdarg.h>
  5027 #include <stdio.h>
  5028 #include <sys/types.h>
  5029 #include <sys/stat.h>
  5030 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
  5031 struct buf { int x; };
  5032 FILE * (*rcsopen) (struct buf *, struct stat *, int);
  5033 static char *e (p, i)
  5034      char **p;
  5035      int i;
  5037   return p[i];
  5039 static char *f (char * (*g) (char **, int), char **p, ...)
  5041   char *s;
  5042   va_list v;
  5043   va_start (v,p);
  5044   s = g (p, va_arg (v,int));
  5045   va_end (v);
  5046   return s;
  5049 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
  5050    function prototypes and stuff, but not '\xHH' hex character constants.
  5051    These don't provoke an error unfortunately, instead are silently treated
  5052    as 'x'.  The following induces an error, until -std is added to get
  5053    proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
  5054    array size at least.  It's necessary to write '\x00'==0 to get something
  5055    that's true only with -std.  */
  5056 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  5058 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  5059    inside strings and character constants.  */
  5060 #define FOO(x) 'x'
  5061 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  5063 int test (int i, double x);
  5064 struct s1 {int (*f) (int a);};
  5065 struct s2 {int (*f) (double a);};
  5066 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  5067 int argc;
  5068 char **argv;
  5069 int
  5070 main ()
  5072 return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
  5074   return 0;
  5076 _ACEOF
  5077 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  5078 	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  5079 do
  5080   CC="$ac_save_CC $ac_arg"
  5081   rm -f conftest.$ac_objext
  5082 if { (ac_try="$ac_compile"
  5083 case "(($ac_try" in
  5084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5085   *) ac_try_echo=$ac_try;;
  5086 esac
  5087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5088 $as_echo "$ac_try_echo") >&5
  5089   (eval "$ac_compile") 2>conftest.er1
  5090   ac_status=$?
  5091   grep -v '^ *+' conftest.er1 >conftest.err
  5092   rm -f conftest.er1
  5093   cat conftest.err >&5
  5094   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5095   (exit $ac_status); } && {
  5096 	 test -z "$ac_c_werror_flag" ||
  5097 	 test ! -s conftest.err
  5098        } && test -s conftest.$ac_objext; then
  5099   ac_cv_prog_cc_c89=$ac_arg
  5100 else
  5101   $as_echo "$as_me: failed program was:" >&5
  5102 sed 's/^/| /' conftest.$ac_ext >&5
  5105 fi
  5107 rm -f core conftest.err conftest.$ac_objext
  5108   test "x$ac_cv_prog_cc_c89" != "xno" && break
  5109 done
  5110 rm -f conftest.$ac_ext
  5111 CC=$ac_save_CC
  5113 fi
  5114 # AC_CACHE_VAL
  5115 case "x$ac_cv_prog_cc_c89" in
  5116   x)
  5117     { $as_echo "$as_me:$LINENO: result: none needed" >&5
  5118 $as_echo "none needed" >&6; } ;;
  5119   xno)
  5120     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  5121 $as_echo "unsupported" >&6; } ;;
  5122   *)
  5123     CC="$CC $ac_cv_prog_cc_c89"
  5124     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  5125 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  5126 esac
  5129 ac_ext=c
  5130 ac_cpp='$CPP $CPPFLAGS'
  5131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5135 depcc="$CC"   am_compiler_list=
  5137 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  5138 $as_echo_n "checking dependency style of $depcc... " >&6; }
  5139 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  5140   $as_echo_n "(cached) " >&6
  5141 else
  5142   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  5143   # We make a subdir and do the tests there.  Otherwise we can end up
  5144   # making bogus files that we don't know about and never remove.  For
  5145   # instance it was reported that on HP-UX the gcc test will end up
  5146   # making a dummy file named `D' -- because `-MD' means `put the output
  5147   # in D'.
  5148   mkdir conftest.dir
  5149   # Copy depcomp to subdir because otherwise we won't find it if we're
  5150   # using a relative directory.
  5151   cp "$am_depcomp" conftest.dir
  5152   cd conftest.dir
  5153   # We will build objects and dependencies in a subdirectory because
  5154   # it helps to detect inapplicable dependency modes.  For instance
  5155   # both Tru64's cc and ICC support -MD to output dependencies as a
  5156   # side effect of compilation, but ICC will put the dependencies in
  5157   # the current directory while Tru64 will put them in the object
  5158   # directory.
  5159   mkdir sub
  5161   am_cv_CC_dependencies_compiler_type=none
  5162   if test "$am_compiler_list" = ""; then
  5163      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  5164   fi
  5165   for depmode in $am_compiler_list; do
  5166     # Setup a source with many dependencies, because some compilers
  5167     # like to wrap large dependency lists on column 80 (with \), and
  5168     # we should not choose a depcomp mode which is confused by this.
  5170     # We need to recreate these files for each test, as the compiler may
  5171     # overwrite some of them when testing with obscure command lines.
  5172     # This happens at least with the AIX C compiler.
  5173     : > sub/conftest.c
  5174     for i in 1 2 3 4 5 6; do
  5175       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  5176       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  5177       # Solaris 8's {/usr,}/bin/sh.
  5178       touch sub/conftst$i.h
  5179     done
  5180     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  5182     case $depmode in
  5183     nosideeffect)
  5184       # after this tag, mechanisms are not by side-effect, so they'll
  5185       # only be used when explicitly requested
  5186       if test "x$enable_dependency_tracking" = xyes; then
  5187 	continue
  5188       else
  5189 	break
  5190       fi
  5191       ;;
  5192     none) break ;;
  5193     esac
  5194     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  5195     # mode.  It turns out that the SunPro C++ compiler does not properly
  5196     # handle `-M -o', and we need to detect this.
  5197     if depmode=$depmode \
  5198        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  5199        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  5200        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  5201          >/dev/null 2>conftest.err &&
  5202        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  5203        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  5204        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  5205       # icc doesn't choke on unknown options, it will just issue warnings
  5206       # or remarks (even with -Werror).  So we grep stderr for any message
  5207       # that says an option was ignored or not supported.
  5208       # When given -MP, icc 7.0 and 7.1 complain thusly:
  5209       #   icc: Command line warning: ignoring option '-M'; no argument required
  5210       # The diagnosis changed in icc 8.0:
  5211       #   icc: Command line remark: option '-MP' not supported
  5212       if (grep 'ignoring option' conftest.err ||
  5213           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  5214         am_cv_CC_dependencies_compiler_type=$depmode
  5215         break
  5216       fi
  5217     fi
  5218   done
  5220   cd ..
  5221   rm -rf conftest.dir
  5222 else
  5223   am_cv_CC_dependencies_compiler_type=none
  5224 fi
  5226 fi
  5227 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  5228 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  5229 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  5233 if
  5234   test "x$enable_dependency_tracking" != xno \
  5235   && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  5236   am__fastdepCC_TRUE=
  5237   am__fastdepCC_FALSE='#'
  5238 else
  5239   am__fastdepCC_TRUE='#'
  5240   am__fastdepCC_FALSE=
  5241 fi
  5245 am_cv_prog_cc_stdc=$ac_cv_prog_cc_stdc
  5247 ac_ext=m
  5248 ac_cpp='$OBJCPP $CPPFLAGS'
  5249 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5250 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5251 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  5252 if test -n "$ac_tool_prefix"; then
  5253   for ac_prog in gcc objcc objc cc CC
  5254   do
  5255     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5257 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5258 $as_echo_n "checking for $ac_word... " >&6; }
  5259 if test "${ac_cv_prog_OBJC+set}" = set; then
  5260   $as_echo_n "(cached) " >&6
  5261 else
  5262   if test -n "$OBJC"; then
  5263   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  5264 else
  5265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5266 for as_dir in $PATH
  5267 do
  5268   IFS=$as_save_IFS
  5269   test -z "$as_dir" && as_dir=.
  5270   for ac_exec_ext in '' $ac_executable_extensions; do
  5271   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5272     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  5273     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5274     break 2
  5275   fi
  5276 done
  5277 done
  5278 IFS=$as_save_IFS
  5280 fi
  5281 fi
  5282 OBJC=$ac_cv_prog_OBJC
  5283 if test -n "$OBJC"; then
  5284   { $as_echo "$as_me:$LINENO: result: $OBJC" >&5
  5285 $as_echo "$OBJC" >&6; }
  5286 else
  5287   { $as_echo "$as_me:$LINENO: result: no" >&5
  5288 $as_echo "no" >&6; }
  5289 fi
  5292     test -n "$OBJC" && break
  5293   done
  5294 fi
  5295 if test -z "$OBJC"; then
  5296   ac_ct_OBJC=$OBJC
  5297   for ac_prog in gcc objcc objc cc CC
  5298 do
  5299   # Extract the first word of "$ac_prog", so it can be a program name with args.
  5300 set dummy $ac_prog; ac_word=$2
  5301 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5302 $as_echo_n "checking for $ac_word... " >&6; }
  5303 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  5304   $as_echo_n "(cached) " >&6
  5305 else
  5306   if test -n "$ac_ct_OBJC"; then
  5307   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  5308 else
  5309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5310 for as_dir in $PATH
  5311 do
  5312   IFS=$as_save_IFS
  5313   test -z "$as_dir" && as_dir=.
  5314   for ac_exec_ext in '' $ac_executable_extensions; do
  5315   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5316     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  5317     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5318     break 2
  5319   fi
  5320 done
  5321 done
  5322 IFS=$as_save_IFS
  5324 fi
  5325 fi
  5326 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  5327 if test -n "$ac_ct_OBJC"; then
  5328   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  5329 $as_echo "$ac_ct_OBJC" >&6; }
  5330 else
  5331   { $as_echo "$as_me:$LINENO: result: no" >&5
  5332 $as_echo "no" >&6; }
  5333 fi
  5336   test -n "$ac_ct_OBJC" && break
  5337 done
  5339   if test "x$ac_ct_OBJC" = x; then
  5340     OBJC="gcc"
  5341   else
  5342     case $cross_compiling:$ac_tool_warned in
  5343 yes:)
  5344 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  5345 whose name does not start with the host triplet.  If you think this
  5346 configuration is useful to you, please write to autoconf@gnu.org." >&5
  5347 $as_echo "$as_me: 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." >&2;}
  5350 ac_tool_warned=yes ;;
  5351 esac
  5352     OBJC=$ac_ct_OBJC
  5353   fi
  5354 fi
  5356 # Provide some information about the compiler.
  5357 $as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  5358 set X $ac_compile
  5359 ac_compiler=$2
  5360 { (ac_try="$ac_compiler --version >&5"
  5361 case "(($ac_try" in
  5362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5363   *) ac_try_echo=$ac_try;;
  5364 esac
  5365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5366 $as_echo "$ac_try_echo") >&5
  5367   (eval "$ac_compiler --version >&5") 2>&5
  5368   ac_status=$?
  5369   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5370   (exit $ac_status); }
  5371 { (ac_try="$ac_compiler -v >&5"
  5372 case "(($ac_try" in
  5373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5374   *) ac_try_echo=$ac_try;;
  5375 esac
  5376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5377 $as_echo "$ac_try_echo") >&5
  5378   (eval "$ac_compiler -v >&5") 2>&5
  5379   ac_status=$?
  5380   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5381   (exit $ac_status); }
  5382 { (ac_try="$ac_compiler -V >&5"
  5383 case "(($ac_try" in
  5384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5385   *) ac_try_echo=$ac_try;;
  5386 esac
  5387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5388 $as_echo "$ac_try_echo") >&5
  5389   (eval "$ac_compiler -V >&5") 2>&5
  5390   ac_status=$?
  5391   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5392   (exit $ac_status); }
  5394 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  5395 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  5396 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  5397   $as_echo_n "(cached) " >&6
  5398 else
  5399   cat >conftest.$ac_ext <<_ACEOF
  5400 /* confdefs.h.  */
  5401 _ACEOF
  5402 cat confdefs.h >>conftest.$ac_ext
  5403 cat >>conftest.$ac_ext <<_ACEOF
  5404 /* end confdefs.h.  */
  5406 int
  5407 main ()
  5409 #ifndef __GNUC__
  5410        choke me
  5411 #endif
  5414   return 0;
  5416 _ACEOF
  5417 rm -f conftest.$ac_objext
  5418 if { (ac_try="$ac_compile"
  5419 case "(($ac_try" in
  5420   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5421   *) ac_try_echo=$ac_try;;
  5422 esac
  5423 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5424 $as_echo "$ac_try_echo") >&5
  5425   (eval "$ac_compile") 2>conftest.er1
  5426   ac_status=$?
  5427   grep -v '^ *+' conftest.er1 >conftest.err
  5428   rm -f conftest.er1
  5429   cat conftest.err >&5
  5430   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5431   (exit $ac_status); } && {
  5432 	 test -z "$ac_objc_werror_flag" ||
  5433 	 test ! -s conftest.err
  5434        } && test -s conftest.$ac_objext; then
  5435   ac_compiler_gnu=yes
  5436 else
  5437   $as_echo "$as_me: failed program was:" >&5
  5438 sed 's/^/| /' conftest.$ac_ext >&5
  5440 	ac_compiler_gnu=no
  5441 fi
  5443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5444 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  5446 fi
  5447 { $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  5448 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  5449 if test $ac_compiler_gnu = yes; then
  5450   GOBJC=yes
  5451 else
  5452   GOBJC=
  5453 fi
  5454 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  5455 ac_save_OBJCFLAGS=$OBJCFLAGS
  5456 { $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  5457 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  5458 if test "${ac_cv_prog_objc_g+set}" = set; then
  5459   $as_echo_n "(cached) " >&6
  5460 else
  5461   ac_save_objc_werror_flag=$ac_objc_werror_flag
  5462    ac_objc_werror_flag=yes
  5463    ac_cv_prog_objc_g=no
  5464    OBJCFLAGS="-g"
  5465    cat >conftest.$ac_ext <<_ACEOF
  5466 /* confdefs.h.  */
  5467 _ACEOF
  5468 cat confdefs.h >>conftest.$ac_ext
  5469 cat >>conftest.$ac_ext <<_ACEOF
  5470 /* end confdefs.h.  */
  5472 int
  5473 main ()
  5477   return 0;
  5479 _ACEOF
  5480 rm -f conftest.$ac_objext
  5481 if { (ac_try="$ac_compile"
  5482 case "(($ac_try" in
  5483   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5484   *) ac_try_echo=$ac_try;;
  5485 esac
  5486 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5487 $as_echo "$ac_try_echo") >&5
  5488   (eval "$ac_compile") 2>conftest.er1
  5489   ac_status=$?
  5490   grep -v '^ *+' conftest.er1 >conftest.err
  5491   rm -f conftest.er1
  5492   cat conftest.err >&5
  5493   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5494   (exit $ac_status); } && {
  5495 	 test -z "$ac_objc_werror_flag" ||
  5496 	 test ! -s conftest.err
  5497        } && test -s conftest.$ac_objext; then
  5498   ac_cv_prog_objc_g=yes
  5499 else
  5500   $as_echo "$as_me: failed program was:" >&5
  5501 sed 's/^/| /' conftest.$ac_ext >&5
  5503 	OBJCFLAGS=""
  5504       cat >conftest.$ac_ext <<_ACEOF
  5505 /* confdefs.h.  */
  5506 _ACEOF
  5507 cat confdefs.h >>conftest.$ac_ext
  5508 cat >>conftest.$ac_ext <<_ACEOF
  5509 /* end confdefs.h.  */
  5511 int
  5512 main ()
  5516   return 0;
  5518 _ACEOF
  5519 rm -f conftest.$ac_objext
  5520 if { (ac_try="$ac_compile"
  5521 case "(($ac_try" in
  5522   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5523   *) ac_try_echo=$ac_try;;
  5524 esac
  5525 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5526 $as_echo "$ac_try_echo") >&5
  5527   (eval "$ac_compile") 2>conftest.er1
  5528   ac_status=$?
  5529   grep -v '^ *+' conftest.er1 >conftest.err
  5530   rm -f conftest.er1
  5531   cat conftest.err >&5
  5532   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5533   (exit $ac_status); } && {
  5534 	 test -z "$ac_objc_werror_flag" ||
  5535 	 test ! -s conftest.err
  5536        } && test -s conftest.$ac_objext; then
  5538 else
  5539   $as_echo "$as_me: failed program was:" >&5
  5540 sed 's/^/| /' conftest.$ac_ext >&5
  5542 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  5543 	 OBJCFLAGS="-g"
  5544 	 cat >conftest.$ac_ext <<_ACEOF
  5545 /* confdefs.h.  */
  5546 _ACEOF
  5547 cat confdefs.h >>conftest.$ac_ext
  5548 cat >>conftest.$ac_ext <<_ACEOF
  5549 /* end confdefs.h.  */
  5551 int
  5552 main ()
  5556   return 0;
  5558 _ACEOF
  5559 rm -f conftest.$ac_objext
  5560 if { (ac_try="$ac_compile"
  5561 case "(($ac_try" in
  5562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5563   *) ac_try_echo=$ac_try;;
  5564 esac
  5565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5566 $as_echo "$ac_try_echo") >&5
  5567   (eval "$ac_compile") 2>conftest.er1
  5568   ac_status=$?
  5569   grep -v '^ *+' conftest.er1 >conftest.err
  5570   rm -f conftest.er1
  5571   cat conftest.err >&5
  5572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5573   (exit $ac_status); } && {
  5574 	 test -z "$ac_objc_werror_flag" ||
  5575 	 test ! -s conftest.err
  5576        } && test -s conftest.$ac_objext; then
  5577   ac_cv_prog_objc_g=yes
  5578 else
  5579   $as_echo "$as_me: failed program was:" >&5
  5580 sed 's/^/| /' conftest.$ac_ext >&5
  5583 fi
  5585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  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    ac_objc_werror_flag=$ac_save_objc_werror_flag
  5593 fi
  5594 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  5595 $as_echo "$ac_cv_prog_objc_g" >&6; }
  5596 if test "$ac_test_OBJCFLAGS" = set; then
  5597   OBJCFLAGS=$ac_save_OBJCFLAGS
  5598 elif test $ac_cv_prog_objc_g = yes; then
  5599   if test "$GOBJC" = yes; then
  5600     OBJCFLAGS="-g -O2"
  5601   else
  5602     OBJCFLAGS="-g"
  5603   fi
  5604 else
  5605   if test "$GOBJC" = yes; then
  5606     OBJCFLAGS="-O2"
  5607   else
  5608     OBJCFLAGS=
  5609   fi
  5610 fi
  5611 ac_ext=c
  5612 ac_cpp='$CPP $CPPFLAGS'
  5613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5617 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  5618 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  5619 if test "${ac_cv_path_SED+set}" = set; then
  5620   $as_echo_n "(cached) " >&6
  5621 else
  5622             ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  5623      for ac_i in 1 2 3 4 5 6 7; do
  5624        ac_script="$ac_script$as_nl$ac_script"
  5625      done
  5626      echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  5627      $as_unset ac_script || ac_script=
  5628      if test -z "$SED"; then
  5629   ac_path_SED_found=false
  5630   # Loop through the user's path and test for each of PROGNAME-LIST
  5631   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5632 for as_dir in $PATH
  5633 do
  5634   IFS=$as_save_IFS
  5635   test -z "$as_dir" && as_dir=.
  5636   for ac_prog in sed gsed; do
  5637     for ac_exec_ext in '' $ac_executable_extensions; do
  5638       ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  5639       { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  5640 # Check for GNU ac_path_SED and select it if it is found.
  5641   # Check for GNU $ac_path_SED
  5642 case `"$ac_path_SED" --version 2>&1` in
  5643 *GNU*)
  5644   ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  5645 *)
  5646   ac_count=0
  5647   $as_echo_n 0123456789 >"conftest.in"
  5648   while :
  5649   do
  5650     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5651     mv "conftest.tmp" "conftest.in"
  5652     cp "conftest.in" "conftest.nl"
  5653     $as_echo '' >> "conftest.nl"
  5654     "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5655     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5656     ac_count=`expr $ac_count + 1`
  5657     if test $ac_count -gt ${ac_path_SED_max-0}; then
  5658       # Best one so far, save it but keep looking for a better one
  5659       ac_cv_path_SED="$ac_path_SED"
  5660       ac_path_SED_max=$ac_count
  5661     fi
  5662     # 10*(2^10) chars as input seems more than enough
  5663     test $ac_count -gt 10 && break
  5664   done
  5665   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5666 esac
  5668       $ac_path_SED_found && break 3
  5669     done
  5670   done
  5671 done
  5672 IFS=$as_save_IFS
  5673   if test -z "$ac_cv_path_SED"; then
  5674     { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
  5675 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
  5676    { (exit 1); exit 1; }; }
  5677   fi
  5678 else
  5679   ac_cv_path_SED=$SED
  5680 fi
  5682 fi
  5683 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  5684 $as_echo "$ac_cv_path_SED" >&6; }
  5685  SED="$ac_cv_path_SED"
  5686   rm -f conftest.sed
  5688 # By default we simply use the C compiler to build assembly code.
  5690 test "${CCAS+set}" = set || CCAS=$CC
  5691 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
  5695 ac_ext=c
  5696 ac_cpp='$CPP $CPPFLAGS'
  5697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5700 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  5701 $as_echo_n "checking how to run the C preprocessor... " >&6; }
  5702 # On Suns, sometimes $CPP names a directory.
  5703 if test -n "$CPP" && test -d "$CPP"; then
  5704   CPP=
  5705 fi
  5706 if test -z "$CPP"; then
  5707   if test "${ac_cv_prog_CPP+set}" = set; then
  5708   $as_echo_n "(cached) " >&6
  5709 else
  5710       # Double quotes because CPP needs to be expanded
  5711     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  5712     do
  5713       ac_preproc_ok=false
  5714 for ac_c_preproc_warn_flag in '' yes
  5715 do
  5716   # Use a header file that comes with gcc, so configuring glibc
  5717   # with a fresh cross-compiler works.
  5718   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5719   # <limits.h> exists even on freestanding compilers.
  5720   # On the NeXT, cc -E runs the code through the compiler's parser,
  5721   # not just through cpp. "Syntax error" is here to catch this case.
  5722   cat >conftest.$ac_ext <<_ACEOF
  5723 /* confdefs.h.  */
  5724 _ACEOF
  5725 cat confdefs.h >>conftest.$ac_ext
  5726 cat >>conftest.$ac_ext <<_ACEOF
  5727 /* end confdefs.h.  */
  5728 #ifdef __STDC__
  5729 # include <limits.h>
  5730 #else
  5731 # include <assert.h>
  5732 #endif
  5733 		     Syntax error
  5734 _ACEOF
  5735 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5736 case "(($ac_try" in
  5737   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5738   *) ac_try_echo=$ac_try;;
  5739 esac
  5740 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5741 $as_echo "$ac_try_echo") >&5
  5742   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5743   ac_status=$?
  5744   grep -v '^ *+' conftest.er1 >conftest.err
  5745   rm -f conftest.er1
  5746   cat conftest.err >&5
  5747   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5748   (exit $ac_status); } >/dev/null && {
  5749 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5750 	 test ! -s conftest.err
  5751        }; then
  5753 else
  5754   $as_echo "$as_me: failed program was:" >&5
  5755 sed 's/^/| /' conftest.$ac_ext >&5
  5757   # Broken: fails on valid input.
  5758 continue
  5759 fi
  5761 rm -f conftest.err conftest.$ac_ext
  5763   # OK, works on sane cases.  Now check whether nonexistent headers
  5764   # can be detected and how.
  5765   cat >conftest.$ac_ext <<_ACEOF
  5766 /* confdefs.h.  */
  5767 _ACEOF
  5768 cat confdefs.h >>conftest.$ac_ext
  5769 cat >>conftest.$ac_ext <<_ACEOF
  5770 /* end confdefs.h.  */
  5771 #include <ac_nonexistent.h>
  5772 _ACEOF
  5773 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5774 case "(($ac_try" in
  5775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5776   *) ac_try_echo=$ac_try;;
  5777 esac
  5778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5779 $as_echo "$ac_try_echo") >&5
  5780   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5781   ac_status=$?
  5782   grep -v '^ *+' conftest.er1 >conftest.err
  5783   rm -f conftest.er1
  5784   cat conftest.err >&5
  5785   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5786   (exit $ac_status); } >/dev/null && {
  5787 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5788 	 test ! -s conftest.err
  5789        }; then
  5790   # Broken: success on invalid input.
  5791 continue
  5792 else
  5793   $as_echo "$as_me: failed program was:" >&5
  5794 sed 's/^/| /' conftest.$ac_ext >&5
  5796   # Passes both tests.
  5797 ac_preproc_ok=:
  5798 break
  5799 fi
  5801 rm -f conftest.err conftest.$ac_ext
  5803 done
  5804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5805 rm -f conftest.err conftest.$ac_ext
  5806 if $ac_preproc_ok; then
  5807   break
  5808 fi
  5810     done
  5811     ac_cv_prog_CPP=$CPP
  5813 fi
  5814   CPP=$ac_cv_prog_CPP
  5815 else
  5816   ac_cv_prog_CPP=$CPP
  5817 fi
  5818 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  5819 $as_echo "$CPP" >&6; }
  5820 ac_preproc_ok=false
  5821 for ac_c_preproc_warn_flag in '' yes
  5822 do
  5823   # Use a header file that comes with gcc, so configuring glibc
  5824   # with a fresh cross-compiler works.
  5825   # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  5826   # <limits.h> exists even on freestanding compilers.
  5827   # On the NeXT, cc -E runs the code through the compiler's parser,
  5828   # not just through cpp. "Syntax error" is here to catch this case.
  5829   cat >conftest.$ac_ext <<_ACEOF
  5830 /* confdefs.h.  */
  5831 _ACEOF
  5832 cat confdefs.h >>conftest.$ac_ext
  5833 cat >>conftest.$ac_ext <<_ACEOF
  5834 /* end confdefs.h.  */
  5835 #ifdef __STDC__
  5836 # include <limits.h>
  5837 #else
  5838 # include <assert.h>
  5839 #endif
  5840 		     Syntax error
  5841 _ACEOF
  5842 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5843 case "(($ac_try" in
  5844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5845   *) ac_try_echo=$ac_try;;
  5846 esac
  5847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5848 $as_echo "$ac_try_echo") >&5
  5849   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5850   ac_status=$?
  5851   grep -v '^ *+' conftest.er1 >conftest.err
  5852   rm -f conftest.er1
  5853   cat conftest.err >&5
  5854   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5855   (exit $ac_status); } >/dev/null && {
  5856 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5857 	 test ! -s conftest.err
  5858        }; then
  5860 else
  5861   $as_echo "$as_me: failed program was:" >&5
  5862 sed 's/^/| /' conftest.$ac_ext >&5
  5864   # Broken: fails on valid input.
  5865 continue
  5866 fi
  5868 rm -f conftest.err conftest.$ac_ext
  5870   # OK, works on sane cases.  Now check whether nonexistent headers
  5871   # can be detected and how.
  5872   cat >conftest.$ac_ext <<_ACEOF
  5873 /* confdefs.h.  */
  5874 _ACEOF
  5875 cat confdefs.h >>conftest.$ac_ext
  5876 cat >>conftest.$ac_ext <<_ACEOF
  5877 /* end confdefs.h.  */
  5878 #include <ac_nonexistent.h>
  5879 _ACEOF
  5880 if { (ac_try="$ac_cpp conftest.$ac_ext"
  5881 case "(($ac_try" in
  5882   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  5883   *) ac_try_echo=$ac_try;;
  5884 esac
  5885 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  5886 $as_echo "$ac_try_echo") >&5
  5887   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  5888   ac_status=$?
  5889   grep -v '^ *+' conftest.er1 >conftest.err
  5890   rm -f conftest.er1
  5891   cat conftest.err >&5
  5892   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  5893   (exit $ac_status); } >/dev/null && {
  5894 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  5895 	 test ! -s conftest.err
  5896        }; then
  5897   # Broken: success on invalid input.
  5898 continue
  5899 else
  5900   $as_echo "$as_me: failed program was:" >&5
  5901 sed 's/^/| /' conftest.$ac_ext >&5
  5903   # Passes both tests.
  5904 ac_preproc_ok=:
  5905 break
  5906 fi
  5908 rm -f conftest.err conftest.$ac_ext
  5910 done
  5911 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  5912 rm -f conftest.err conftest.$ac_ext
  5913 if $ac_preproc_ok; then
  5915 else
  5916   { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  5917 See \`config.log' for more details." >&5
  5918 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  5919 See \`config.log' for more details." >&2;}
  5920    { (exit 1); exit 1; }; }
  5921 fi
  5923 ac_ext=c
  5924 ac_cpp='$CPP $CPPFLAGS'
  5925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5930 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  5931 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5932 if test "${ac_cv_path_GREP+set}" = set; then
  5933   $as_echo_n "(cached) " >&6
  5934 else
  5935   if test -z "$GREP"; then
  5936   ac_path_GREP_found=false
  5937   # Loop through the user's path and test for each of PROGNAME-LIST
  5938   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5939 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5940 do
  5941   IFS=$as_save_IFS
  5942   test -z "$as_dir" && as_dir=.
  5943   for ac_prog in grep ggrep; do
  5944     for ac_exec_ext in '' $ac_executable_extensions; do
  5945       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5946       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  5947 # Check for GNU ac_path_GREP and select it if it is found.
  5948   # Check for GNU $ac_path_GREP
  5949 case `"$ac_path_GREP" --version 2>&1` in
  5950 *GNU*)
  5951   ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5952 *)
  5953   ac_count=0
  5954   $as_echo_n 0123456789 >"conftest.in"
  5955   while :
  5956   do
  5957     cat "conftest.in" "conftest.in" >"conftest.tmp"
  5958     mv "conftest.tmp" "conftest.in"
  5959     cp "conftest.in" "conftest.nl"
  5960     $as_echo 'GREP' >> "conftest.nl"
  5961     "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5962     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5963     ac_count=`expr $ac_count + 1`
  5964     if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5965       # Best one so far, save it but keep looking for a better one
  5966       ac_cv_path_GREP="$ac_path_GREP"
  5967       ac_path_GREP_max=$ac_count
  5968     fi
  5969     # 10*(2^10) chars as input seems more than enough
  5970     test $ac_count -gt 10 && break
  5971   done
  5972   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5973 esac
  5975       $ac_path_GREP_found && break 3
  5976     done
  5977   done
  5978 done
  5979 IFS=$as_save_IFS
  5980   if test -z "$ac_cv_path_GREP"; then
  5981     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5982 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5983    { (exit 1); exit 1; }; }
  5984   fi
  5985 else
  5986   ac_cv_path_GREP=$GREP
  5987 fi
  5989 fi
  5990 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  5991 $as_echo "$ac_cv_path_GREP" >&6; }
  5992  GREP="$ac_cv_path_GREP"
  5995 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  5996 $as_echo_n "checking for egrep... " >&6; }
  5997 if test "${ac_cv_path_EGREP+set}" = set; then
  5998   $as_echo_n "(cached) " >&6
  5999 else
  6000   if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  6001    then ac_cv_path_EGREP="$GREP -E"
  6002    else
  6003      if test -z "$EGREP"; then
  6004   ac_path_EGREP_found=false
  6005   # Loop through the user's path and test for each of PROGNAME-LIST
  6006   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6007 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  6008 do
  6009   IFS=$as_save_IFS
  6010   test -z "$as_dir" && as_dir=.
  6011   for ac_prog in egrep; do
  6012     for ac_exec_ext in '' $ac_executable_extensions; do
  6013       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  6014       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  6015 # Check for GNU ac_path_EGREP and select it if it is found.
  6016   # Check for GNU $ac_path_EGREP
  6017 case `"$ac_path_EGREP" --version 2>&1` in
  6018 *GNU*)
  6019   ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  6020 *)
  6021   ac_count=0
  6022   $as_echo_n 0123456789 >"conftest.in"
  6023   while :
  6024   do
  6025     cat "conftest.in" "conftest.in" >"conftest.tmp"
  6026     mv "conftest.tmp" "conftest.in"
  6027     cp "conftest.in" "conftest.nl"
  6028     $as_echo 'EGREP' >> "conftest.nl"
  6029     "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  6030     diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  6031     ac_count=`expr $ac_count + 1`
  6032     if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  6033       # Best one so far, save it but keep looking for a better one
  6034       ac_cv_path_EGREP="$ac_path_EGREP"
  6035       ac_path_EGREP_max=$ac_count
  6036     fi
  6037     # 10*(2^10) chars as input seems more than enough
  6038     test $ac_count -gt 10 && break
  6039   done
  6040   rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  6041 esac
  6043       $ac_path_EGREP_found && break 3
  6044     done
  6045   done
  6046 done
  6047 IFS=$as_save_IFS
  6048   if test -z "$ac_cv_path_EGREP"; then
  6049     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  6050 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  6051    { (exit 1); exit 1; }; }
  6052   fi
  6053 else
  6054   ac_cv_path_EGREP=$EGREP
  6055 fi
  6057    fi
  6058 fi
  6059 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  6060 $as_echo "$ac_cv_path_EGREP" >&6; }
  6061  EGREP="$ac_cv_path_EGREP"
  6064 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6065 $as_echo_n "checking for ANSI C header files... " >&6; }
  6066 if test "${ac_cv_header_stdc+set}" = set; then
  6067   $as_echo_n "(cached) " >&6
  6068 else
  6069   cat >conftest.$ac_ext <<_ACEOF
  6070 /* confdefs.h.  */
  6071 _ACEOF
  6072 cat confdefs.h >>conftest.$ac_ext
  6073 cat >>conftest.$ac_ext <<_ACEOF
  6074 /* end confdefs.h.  */
  6075 #include <stdlib.h>
  6076 #include <stdarg.h>
  6077 #include <string.h>
  6078 #include <float.h>
  6080 int
  6081 main ()
  6085   return 0;
  6087 _ACEOF
  6088 rm -f conftest.$ac_objext
  6089 if { (ac_try="$ac_compile"
  6090 case "(($ac_try" in
  6091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6092   *) ac_try_echo=$ac_try;;
  6093 esac
  6094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6095 $as_echo "$ac_try_echo") >&5
  6096   (eval "$ac_compile") 2>conftest.er1
  6097   ac_status=$?
  6098   grep -v '^ *+' conftest.er1 >conftest.err
  6099   rm -f conftest.er1
  6100   cat conftest.err >&5
  6101   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6102   (exit $ac_status); } && {
  6103 	 test -z "$ac_c_werror_flag" ||
  6104 	 test ! -s conftest.err
  6105        } && test -s conftest.$ac_objext; then
  6106   ac_cv_header_stdc=yes
  6107 else
  6108   $as_echo "$as_me: failed program was:" >&5
  6109 sed 's/^/| /' conftest.$ac_ext >&5
  6111 	ac_cv_header_stdc=no
  6112 fi
  6114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6116 if test $ac_cv_header_stdc = yes; then
  6117   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6118   cat >conftest.$ac_ext <<_ACEOF
  6119 /* confdefs.h.  */
  6120 _ACEOF
  6121 cat confdefs.h >>conftest.$ac_ext
  6122 cat >>conftest.$ac_ext <<_ACEOF
  6123 /* end confdefs.h.  */
  6124 #include <string.h>
  6126 _ACEOF
  6127 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6128   $EGREP "memchr" >/dev/null 2>&1; then
  6130 else
  6131   ac_cv_header_stdc=no
  6132 fi
  6133 rm -f conftest*
  6135 fi
  6137 if test $ac_cv_header_stdc = yes; then
  6138   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6139   cat >conftest.$ac_ext <<_ACEOF
  6140 /* confdefs.h.  */
  6141 _ACEOF
  6142 cat confdefs.h >>conftest.$ac_ext
  6143 cat >>conftest.$ac_ext <<_ACEOF
  6144 /* end confdefs.h.  */
  6145 #include <stdlib.h>
  6147 _ACEOF
  6148 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6149   $EGREP "free" >/dev/null 2>&1; then
  6151 else
  6152   ac_cv_header_stdc=no
  6153 fi
  6154 rm -f conftest*
  6156 fi
  6158 if test $ac_cv_header_stdc = yes; then
  6159   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6160   if test "$cross_compiling" = yes; then
  6162 else
  6163   cat >conftest.$ac_ext <<_ACEOF
  6164 /* confdefs.h.  */
  6165 _ACEOF
  6166 cat confdefs.h >>conftest.$ac_ext
  6167 cat >>conftest.$ac_ext <<_ACEOF
  6168 /* end confdefs.h.  */
  6169 #include <ctype.h>
  6170 #include <stdlib.h>
  6171 #if ((' ' & 0x0FF) == 0x020)
  6172 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6173 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6174 #else
  6175 # define ISLOWER(c) \
  6176 		   (('a' <= (c) && (c) <= 'i') \
  6177 		     || ('j' <= (c) && (c) <= 'r') \
  6178 		     || ('s' <= (c) && (c) <= 'z'))
  6179 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6180 #endif
  6182 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6183 int
  6184 main ()
  6186   int i;
  6187   for (i = 0; i < 256; i++)
  6188     if (XOR (islower (i), ISLOWER (i))
  6189 	|| toupper (i) != TOUPPER (i))
  6190       return 2;
  6191   return 0;
  6193 _ACEOF
  6194 rm -f conftest$ac_exeext
  6195 if { (ac_try="$ac_link"
  6196 case "(($ac_try" in
  6197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6198   *) ac_try_echo=$ac_try;;
  6199 esac
  6200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6201 $as_echo "$ac_try_echo") >&5
  6202   (eval "$ac_link") 2>&5
  6203   ac_status=$?
  6204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6205   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6206   { (case "(($ac_try" in
  6207   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6208   *) ac_try_echo=$ac_try;;
  6209 esac
  6210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6211 $as_echo "$ac_try_echo") >&5
  6212   (eval "$ac_try") 2>&5
  6213   ac_status=$?
  6214   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6215   (exit $ac_status); }; }; then
  6217 else
  6218   $as_echo "$as_me: program exited with status $ac_status" >&5
  6219 $as_echo "$as_me: failed program was:" >&5
  6220 sed 's/^/| /' conftest.$ac_ext >&5
  6222 ( exit $ac_status )
  6223 ac_cv_header_stdc=no
  6224 fi
  6225 rm -rf conftest.dSYM
  6226 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6227 fi
  6230 fi
  6231 fi
  6232 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6233 $as_echo "$ac_cv_header_stdc" >&6; }
  6234 if test $ac_cv_header_stdc = yes; then
  6236 cat >>confdefs.h <<\_ACEOF
  6237 #define STDC_HEADERS 1
  6238 _ACEOF
  6240 fi
  6242 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6252 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6253 		  inttypes.h stdint.h unistd.h
  6254 do
  6255 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6256 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  6257 $as_echo_n "checking for $ac_header... " >&6; }
  6258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  6259   $as_echo_n "(cached) " >&6
  6260 else
  6261   cat >conftest.$ac_ext <<_ACEOF
  6262 /* confdefs.h.  */
  6263 _ACEOF
  6264 cat confdefs.h >>conftest.$ac_ext
  6265 cat >>conftest.$ac_ext <<_ACEOF
  6266 /* end confdefs.h.  */
  6267 $ac_includes_default
  6269 #include <$ac_header>
  6270 _ACEOF
  6271 rm -f conftest.$ac_objext
  6272 if { (ac_try="$ac_compile"
  6273 case "(($ac_try" in
  6274   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6275   *) ac_try_echo=$ac_try;;
  6276 esac
  6277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6278 $as_echo "$ac_try_echo") >&5
  6279   (eval "$ac_compile") 2>conftest.er1
  6280   ac_status=$?
  6281   grep -v '^ *+' conftest.er1 >conftest.err
  6282   rm -f conftest.er1
  6283   cat conftest.err >&5
  6284   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6285   (exit $ac_status); } && {
  6286 	 test -z "$ac_c_werror_flag" ||
  6287 	 test ! -s conftest.err
  6288        } && test -s conftest.$ac_objext; then
  6289   eval "$as_ac_Header=yes"
  6290 else
  6291   $as_echo "$as_me: failed program was:" >&5
  6292 sed 's/^/| /' conftest.$ac_ext >&5
  6294 	eval "$as_ac_Header=no"
  6295 fi
  6297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6298 fi
  6299 ac_res=`eval 'as_val=${'$as_ac_Header'}
  6300 		 $as_echo "$as_val"'`
  6301 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  6302 $as_echo "$ac_res" >&6; }
  6303 if test `eval 'as_val=${'$as_ac_Header'}
  6304 		 $as_echo "$as_val"'` = yes; then
  6305   cat >>confdefs.h <<_ACEOF
  6306 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6307 _ACEOF
  6309 fi
  6311 done
  6314 # The cast to long int works around a bug in the HP C Compiler
  6315 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  6316 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  6317 # This bug is HP SR number 8606223364.
  6318 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
  6319 $as_echo_n "checking size of void *... " >&6; }
  6320 if test "${ac_cv_sizeof_void_p+set}" = set; then
  6321   $as_echo_n "(cached) " >&6
  6322 else
  6323   if test "$cross_compiling" = yes; then
  6324   # Depending upon the size, compute the lo and hi bounds.
  6325 cat >conftest.$ac_ext <<_ACEOF
  6326 /* confdefs.h.  */
  6327 _ACEOF
  6328 cat confdefs.h >>conftest.$ac_ext
  6329 cat >>conftest.$ac_ext <<_ACEOF
  6330 /* end confdefs.h.  */
  6331 $ac_includes_default
  6332 int
  6333 main ()
  6335 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
  6336 test_array [0] = 0
  6339   return 0;
  6341 _ACEOF
  6342 rm -f conftest.$ac_objext
  6343 if { (ac_try="$ac_compile"
  6344 case "(($ac_try" in
  6345   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6346   *) ac_try_echo=$ac_try;;
  6347 esac
  6348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6349 $as_echo "$ac_try_echo") >&5
  6350   (eval "$ac_compile") 2>conftest.er1
  6351   ac_status=$?
  6352   grep -v '^ *+' conftest.er1 >conftest.err
  6353   rm -f conftest.er1
  6354   cat conftest.err >&5
  6355   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6356   (exit $ac_status); } && {
  6357 	 test -z "$ac_c_werror_flag" ||
  6358 	 test ! -s conftest.err
  6359        } && test -s conftest.$ac_objext; then
  6360   ac_lo=0 ac_mid=0
  6361   while :; do
  6362     cat >conftest.$ac_ext <<_ACEOF
  6363 /* confdefs.h.  */
  6364 _ACEOF
  6365 cat confdefs.h >>conftest.$ac_ext
  6366 cat >>conftest.$ac_ext <<_ACEOF
  6367 /* end confdefs.h.  */
  6368 $ac_includes_default
  6369 int
  6370 main ()
  6372 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6373 test_array [0] = 0
  6376   return 0;
  6378 _ACEOF
  6379 rm -f conftest.$ac_objext
  6380 if { (ac_try="$ac_compile"
  6381 case "(($ac_try" in
  6382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6383   *) ac_try_echo=$ac_try;;
  6384 esac
  6385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6386 $as_echo "$ac_try_echo") >&5
  6387   (eval "$ac_compile") 2>conftest.er1
  6388   ac_status=$?
  6389   grep -v '^ *+' conftest.er1 >conftest.err
  6390   rm -f conftest.er1
  6391   cat conftest.err >&5
  6392   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6393   (exit $ac_status); } && {
  6394 	 test -z "$ac_c_werror_flag" ||
  6395 	 test ! -s conftest.err
  6396        } && test -s conftest.$ac_objext; then
  6397   ac_hi=$ac_mid; break
  6398 else
  6399   $as_echo "$as_me: failed program was:" >&5
  6400 sed 's/^/| /' conftest.$ac_ext >&5
  6402 	ac_lo=`expr $ac_mid + 1`
  6403 			if test $ac_lo -le $ac_mid; then
  6404 			  ac_lo= ac_hi=
  6405 			  break
  6406 			fi
  6407 			ac_mid=`expr 2 '*' $ac_mid + 1`
  6408 fi
  6410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6411   done
  6412 else
  6413   $as_echo "$as_me: failed program was:" >&5
  6414 sed 's/^/| /' conftest.$ac_ext >&5
  6416 	cat >conftest.$ac_ext <<_ACEOF
  6417 /* confdefs.h.  */
  6418 _ACEOF
  6419 cat confdefs.h >>conftest.$ac_ext
  6420 cat >>conftest.$ac_ext <<_ACEOF
  6421 /* end confdefs.h.  */
  6422 $ac_includes_default
  6423 int
  6424 main ()
  6426 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
  6427 test_array [0] = 0
  6430   return 0;
  6432 _ACEOF
  6433 rm -f conftest.$ac_objext
  6434 if { (ac_try="$ac_compile"
  6435 case "(($ac_try" in
  6436   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6437   *) ac_try_echo=$ac_try;;
  6438 esac
  6439 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6440 $as_echo "$ac_try_echo") >&5
  6441   (eval "$ac_compile") 2>conftest.er1
  6442   ac_status=$?
  6443   grep -v '^ *+' conftest.er1 >conftest.err
  6444   rm -f conftest.er1
  6445   cat conftest.err >&5
  6446   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6447   (exit $ac_status); } && {
  6448 	 test -z "$ac_c_werror_flag" ||
  6449 	 test ! -s conftest.err
  6450        } && test -s conftest.$ac_objext; then
  6451   ac_hi=-1 ac_mid=-1
  6452   while :; do
  6453     cat >conftest.$ac_ext <<_ACEOF
  6454 /* confdefs.h.  */
  6455 _ACEOF
  6456 cat confdefs.h >>conftest.$ac_ext
  6457 cat >>conftest.$ac_ext <<_ACEOF
  6458 /* end confdefs.h.  */
  6459 $ac_includes_default
  6460 int
  6461 main ()
  6463 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
  6464 test_array [0] = 0
  6467   return 0;
  6469 _ACEOF
  6470 rm -f conftest.$ac_objext
  6471 if { (ac_try="$ac_compile"
  6472 case "(($ac_try" in
  6473   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6474   *) ac_try_echo=$ac_try;;
  6475 esac
  6476 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6477 $as_echo "$ac_try_echo") >&5
  6478   (eval "$ac_compile") 2>conftest.er1
  6479   ac_status=$?
  6480   grep -v '^ *+' conftest.er1 >conftest.err
  6481   rm -f conftest.er1
  6482   cat conftest.err >&5
  6483   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6484   (exit $ac_status); } && {
  6485 	 test -z "$ac_c_werror_flag" ||
  6486 	 test ! -s conftest.err
  6487        } && test -s conftest.$ac_objext; then
  6488   ac_lo=$ac_mid; break
  6489 else
  6490   $as_echo "$as_me: failed program was:" >&5
  6491 sed 's/^/| /' conftest.$ac_ext >&5
  6493 	ac_hi=`expr '(' $ac_mid ')' - 1`
  6494 			if test $ac_mid -le $ac_hi; then
  6495 			  ac_lo= ac_hi=
  6496 			  break
  6497 			fi
  6498 			ac_mid=`expr 2 '*' $ac_mid`
  6499 fi
  6501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6502   done
  6503 else
  6504   $as_echo "$as_me: failed program was:" >&5
  6505 sed 's/^/| /' conftest.$ac_ext >&5
  6507 	ac_lo= ac_hi=
  6508 fi
  6510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6511 fi
  6513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6514 # Binary search between lo and hi bounds.
  6515 while test "x$ac_lo" != "x$ac_hi"; do
  6516   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
  6517   cat >conftest.$ac_ext <<_ACEOF
  6518 /* confdefs.h.  */
  6519 _ACEOF
  6520 cat confdefs.h >>conftest.$ac_ext
  6521 cat >>conftest.$ac_ext <<_ACEOF
  6522 /* end confdefs.h.  */
  6523 $ac_includes_default
  6524 int
  6525 main ()
  6527 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
  6528 test_array [0] = 0
  6531   return 0;
  6533 _ACEOF
  6534 rm -f conftest.$ac_objext
  6535 if { (ac_try="$ac_compile"
  6536 case "(($ac_try" in
  6537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6538   *) ac_try_echo=$ac_try;;
  6539 esac
  6540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6541 $as_echo "$ac_try_echo") >&5
  6542   (eval "$ac_compile") 2>conftest.er1
  6543   ac_status=$?
  6544   grep -v '^ *+' conftest.er1 >conftest.err
  6545   rm -f conftest.er1
  6546   cat conftest.err >&5
  6547   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6548   (exit $ac_status); } && {
  6549 	 test -z "$ac_c_werror_flag" ||
  6550 	 test ! -s conftest.err
  6551        } && test -s conftest.$ac_objext; then
  6552   ac_hi=$ac_mid
  6553 else
  6554   $as_echo "$as_me: failed program was:" >&5
  6555 sed 's/^/| /' conftest.$ac_ext >&5
  6557 	ac_lo=`expr '(' $ac_mid ')' + 1`
  6558 fi
  6560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6561 done
  6562 case $ac_lo in
  6563 ?*) ac_cv_sizeof_void_p=$ac_lo;;
  6564 '') if test "$ac_cv_type_void_p" = yes; then
  6565      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6566 See \`config.log' for more details." >&5
  6567 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6568 See \`config.log' for more details." >&2;}
  6569    { (exit 77); exit 77; }; }
  6570    else
  6571      ac_cv_sizeof_void_p=0
  6572    fi ;;
  6573 esac
  6574 else
  6575   cat >conftest.$ac_ext <<_ACEOF
  6576 /* confdefs.h.  */
  6577 _ACEOF
  6578 cat confdefs.h >>conftest.$ac_ext
  6579 cat >>conftest.$ac_ext <<_ACEOF
  6580 /* end confdefs.h.  */
  6581 $ac_includes_default
  6582 static long int longval () { return (long int) (sizeof (void *)); }
  6583 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
  6584 #include <stdio.h>
  6585 #include <stdlib.h>
  6586 int
  6587 main ()
  6590   FILE *f = fopen ("conftest.val", "w");
  6591   if (! f)
  6592     return 1;
  6593   if (((long int) (sizeof (void *))) < 0)
  6595       long int i = longval ();
  6596       if (i != ((long int) (sizeof (void *))))
  6597 	return 1;
  6598       fprintf (f, "%ld", i);
  6600   else
  6602       unsigned long int i = ulongval ();
  6603       if (i != ((long int) (sizeof (void *))))
  6604 	return 1;
  6605       fprintf (f, "%lu", i);
  6607   /* Do not output a trailing newline, as this causes \r\n confusion
  6608      on some platforms.  */
  6609   return ferror (f) || fclose (f) != 0;
  6612   return 0;
  6614 _ACEOF
  6615 rm -f conftest$ac_exeext
  6616 if { (ac_try="$ac_link"
  6617 case "(($ac_try" in
  6618   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6619   *) ac_try_echo=$ac_try;;
  6620 esac
  6621 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6622 $as_echo "$ac_try_echo") >&5
  6623   (eval "$ac_link") 2>&5
  6624   ac_status=$?
  6625   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6626   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6627   { (case "(($ac_try" in
  6628   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6629   *) ac_try_echo=$ac_try;;
  6630 esac
  6631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6632 $as_echo "$ac_try_echo") >&5
  6633   (eval "$ac_try") 2>&5
  6634   ac_status=$?
  6635   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6636   (exit $ac_status); }; }; then
  6637   ac_cv_sizeof_void_p=`cat conftest.val`
  6638 else
  6639   $as_echo "$as_me: program exited with status $ac_status" >&5
  6640 $as_echo "$as_me: failed program was:" >&5
  6641 sed 's/^/| /' conftest.$ac_ext >&5
  6643 ( exit $ac_status )
  6644 if test "$ac_cv_type_void_p" = yes; then
  6645      { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
  6646 See \`config.log' for more details." >&5
  6647 $as_echo "$as_me: error: cannot compute sizeof (void *)
  6648 See \`config.log' for more details." >&2;}
  6649    { (exit 77); exit 77; }; }
  6650    else
  6651      ac_cv_sizeof_void_p=0
  6652    fi
  6653 fi
  6654 rm -rf conftest.dSYM
  6655 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6656 fi
  6657 rm -f conftest.val
  6658 fi
  6659 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
  6660 $as_echo "$ac_cv_sizeof_void_p" >&6; }
  6664 cat >>confdefs.h <<_ACEOF
  6665 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  6666 _ACEOF
  6669 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  6670 $as_echo_n "checking for ANSI C header files... " >&6; }
  6671 if test "${ac_cv_header_stdc+set}" = set; then
  6672   $as_echo_n "(cached) " >&6
  6673 else
  6674   cat >conftest.$ac_ext <<_ACEOF
  6675 /* confdefs.h.  */
  6676 _ACEOF
  6677 cat confdefs.h >>conftest.$ac_ext
  6678 cat >>conftest.$ac_ext <<_ACEOF
  6679 /* end confdefs.h.  */
  6680 #include <stdlib.h>
  6681 #include <stdarg.h>
  6682 #include <string.h>
  6683 #include <float.h>
  6685 int
  6686 main ()
  6690   return 0;
  6692 _ACEOF
  6693 rm -f conftest.$ac_objext
  6694 if { (ac_try="$ac_compile"
  6695 case "(($ac_try" in
  6696   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6697   *) ac_try_echo=$ac_try;;
  6698 esac
  6699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6700 $as_echo "$ac_try_echo") >&5
  6701   (eval "$ac_compile") 2>conftest.er1
  6702   ac_status=$?
  6703   grep -v '^ *+' conftest.er1 >conftest.err
  6704   rm -f conftest.er1
  6705   cat conftest.err >&5
  6706   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6707   (exit $ac_status); } && {
  6708 	 test -z "$ac_c_werror_flag" ||
  6709 	 test ! -s conftest.err
  6710        } && test -s conftest.$ac_objext; then
  6711   ac_cv_header_stdc=yes
  6712 else
  6713   $as_echo "$as_me: failed program was:" >&5
  6714 sed 's/^/| /' conftest.$ac_ext >&5
  6716 	ac_cv_header_stdc=no
  6717 fi
  6719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6721 if test $ac_cv_header_stdc = yes; then
  6722   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6723   cat >conftest.$ac_ext <<_ACEOF
  6724 /* confdefs.h.  */
  6725 _ACEOF
  6726 cat confdefs.h >>conftest.$ac_ext
  6727 cat >>conftest.$ac_ext <<_ACEOF
  6728 /* end confdefs.h.  */
  6729 #include <string.h>
  6731 _ACEOF
  6732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6733   $EGREP "memchr" >/dev/null 2>&1; then
  6735 else
  6736   ac_cv_header_stdc=no
  6737 fi
  6738 rm -f conftest*
  6740 fi
  6742 if test $ac_cv_header_stdc = yes; then
  6743   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6744   cat >conftest.$ac_ext <<_ACEOF
  6745 /* confdefs.h.  */
  6746 _ACEOF
  6747 cat confdefs.h >>conftest.$ac_ext
  6748 cat >>conftest.$ac_ext <<_ACEOF
  6749 /* end confdefs.h.  */
  6750 #include <stdlib.h>
  6752 _ACEOF
  6753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6754   $EGREP "free" >/dev/null 2>&1; then
  6756 else
  6757   ac_cv_header_stdc=no
  6758 fi
  6759 rm -f conftest*
  6761 fi
  6763 if test $ac_cv_header_stdc = yes; then
  6764   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6765   if test "$cross_compiling" = yes; then
  6767 else
  6768   cat >conftest.$ac_ext <<_ACEOF
  6769 /* confdefs.h.  */
  6770 _ACEOF
  6771 cat confdefs.h >>conftest.$ac_ext
  6772 cat >>conftest.$ac_ext <<_ACEOF
  6773 /* end confdefs.h.  */
  6774 #include <ctype.h>
  6775 #include <stdlib.h>
  6776 #if ((' ' & 0x0FF) == 0x020)
  6777 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6778 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6779 #else
  6780 # define ISLOWER(c) \
  6781 		   (('a' <= (c) && (c) <= 'i') \
  6782 		     || ('j' <= (c) && (c) <= 'r') \
  6783 		     || ('s' <= (c) && (c) <= 'z'))
  6784 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6785 #endif
  6787 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6788 int
  6789 main ()
  6791   int i;
  6792   for (i = 0; i < 256; i++)
  6793     if (XOR (islower (i), ISLOWER (i))
  6794 	|| toupper (i) != TOUPPER (i))
  6795       return 2;
  6796   return 0;
  6798 _ACEOF
  6799 rm -f conftest$ac_exeext
  6800 if { (ac_try="$ac_link"
  6801 case "(($ac_try" in
  6802   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6803   *) ac_try_echo=$ac_try;;
  6804 esac
  6805 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6806 $as_echo "$ac_try_echo") >&5
  6807   (eval "$ac_link") 2>&5
  6808   ac_status=$?
  6809   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6810   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  6811   { (case "(($ac_try" in
  6812   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6813   *) ac_try_echo=$ac_try;;
  6814 esac
  6815 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6816 $as_echo "$ac_try_echo") >&5
  6817   (eval "$ac_try") 2>&5
  6818   ac_status=$?
  6819   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6820   (exit $ac_status); }; }; then
  6822 else
  6823   $as_echo "$as_me: program exited with status $ac_status" >&5
  6824 $as_echo "$as_me: failed program was:" >&5
  6825 sed 's/^/| /' conftest.$ac_ext >&5
  6827 ( exit $ac_status )
  6828 ac_cv_header_stdc=no
  6829 fi
  6830 rm -rf conftest.dSYM
  6831 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  6832 fi
  6835 fi
  6836 fi
  6837 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  6838 $as_echo "$ac_cv_header_stdc" >&6; }
  6839 if test $ac_cv_header_stdc = yes; then
  6841 cat >>confdefs.h <<\_ACEOF
  6842 #define STDC_HEADERS 1
  6843 _ACEOF
  6845 fi
  6847 # Make sure we can run config.sub.
  6848 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  6849   { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  6850 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  6851    { (exit 1); exit 1; }; }
  6853 { $as_echo "$as_me:$LINENO: checking build system type" >&5
  6854 $as_echo_n "checking build system type... " >&6; }
  6855 if test "${ac_cv_build+set}" = set; then
  6856   $as_echo_n "(cached) " >&6
  6857 else
  6858   ac_build_alias=$build_alias
  6859 test "x$ac_build_alias" = x &&
  6860   ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  6861 test "x$ac_build_alias" = x &&
  6862   { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  6863 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  6864    { (exit 1); exit 1; }; }
  6865 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  6866   { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  6867 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  6868    { (exit 1); exit 1; }; }
  6870 fi
  6871 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  6872 $as_echo "$ac_cv_build" >&6; }
  6873 case $ac_cv_build in
  6874 *-*-*) ;;
  6875 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  6876 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  6877    { (exit 1); exit 1; }; };;
  6878 esac
  6879 build=$ac_cv_build
  6880 ac_save_IFS=$IFS; IFS='-'
  6881 set x $ac_cv_build
  6882 shift
  6883 build_cpu=$1
  6884 build_vendor=$2
  6885 shift; shift
  6886 # Remember, the first character of IFS is used to create $*,
  6887 # except with old shells:
  6888 build_os=$*
  6889 IFS=$ac_save_IFS
  6890 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  6893 { $as_echo "$as_me:$LINENO: checking host system type" >&5
  6894 $as_echo_n "checking host system type... " >&6; }
  6895 if test "${ac_cv_host+set}" = set; then
  6896   $as_echo_n "(cached) " >&6
  6897 else
  6898   if test "x$host_alias" = x; then
  6899   ac_cv_host=$ac_cv_build
  6900 else
  6901   ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  6902     { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  6903 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  6904    { (exit 1); exit 1; }; }
  6905 fi
  6907 fi
  6908 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  6909 $as_echo "$ac_cv_host" >&6; }
  6910 case $ac_cv_host in
  6911 *-*-*) ;;
  6912 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  6913 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  6914    { (exit 1); exit 1; }; };;
  6915 esac
  6916 host=$ac_cv_host
  6917 ac_save_IFS=$IFS; IFS='-'
  6918 set x $ac_cv_host
  6919 shift
  6920 host_cpu=$1
  6921 host_vendor=$2
  6922 shift; shift
  6923 # Remember, the first character of IFS is used to create $*,
  6924 # except with old shells:
  6925 host_os=$*
  6926 IFS=$ac_save_IFS
  6927 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  6932 depcc="$OBJC" am_compiler_list='gcc3 gcc'
  6934 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  6935 $as_echo_n "checking dependency style of $depcc... " >&6; }
  6936 if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then
  6937   $as_echo_n "(cached) " >&6
  6938 else
  6939   if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  6940   # We make a subdir and do the tests there.  Otherwise we can end up
  6941   # making bogus files that we don't know about and never remove.  For
  6942   # instance it was reported that on HP-UX the gcc test will end up
  6943   # making a dummy file named `D' -- because `-MD' means `put the output
  6944   # in D'.
  6945   mkdir conftest.dir
  6946   # Copy depcomp to subdir because otherwise we won't find it if we're
  6947   # using a relative directory.
  6948   cp "$am_depcomp" conftest.dir
  6949   cd conftest.dir
  6950   # We will build objects and dependencies in a subdirectory because
  6951   # it helps to detect inapplicable dependency modes.  For instance
  6952   # both Tru64's cc and ICC support -MD to output dependencies as a
  6953   # side effect of compilation, but ICC will put the dependencies in
  6954   # the current directory while Tru64 will put them in the object
  6955   # directory.
  6956   mkdir sub
  6958   am_cv_OBJC_dependencies_compiler_type=none
  6959   if test "$am_compiler_list" = ""; then
  6960      am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  6961   fi
  6962   for depmode in $am_compiler_list; do
  6963     # Setup a source with many dependencies, because some compilers
  6964     # like to wrap large dependency lists on column 80 (with \), and
  6965     # we should not choose a depcomp mode which is confused by this.
  6967     # We need to recreate these files for each test, as the compiler may
  6968     # overwrite some of them when testing with obscure command lines.
  6969     # This happens at least with the AIX C compiler.
  6970     : > sub/conftest.c
  6971     for i in 1 2 3 4 5 6; do
  6972       echo '#include "conftst'$i'.h"' >> sub/conftest.c
  6973       # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  6974       # Solaris 8's {/usr,}/bin/sh.
  6975       touch sub/conftst$i.h
  6976     done
  6977     echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  6979     case $depmode in
  6980     nosideeffect)
  6981       # after this tag, mechanisms are not by side-effect, so they'll
  6982       # only be used when explicitly requested
  6983       if test "x$enable_dependency_tracking" = xyes; then
  6984 	continue
  6985       else
  6986 	break
  6987       fi
  6988       ;;
  6989     none) break ;;
  6990     esac
  6991     # We check with `-c' and `-o' for the sake of the "dashmstdout"
  6992     # mode.  It turns out that the SunPro C++ compiler does not properly
  6993     # handle `-M -o', and we need to detect this.
  6994     if depmode=$depmode \
  6995        source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
  6996        depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  6997        $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
  6998          >/dev/null 2>conftest.err &&
  6999        grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  7000        grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
  7001        ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  7002       # icc doesn't choke on unknown options, it will just issue warnings
  7003       # or remarks (even with -Werror).  So we grep stderr for any message
  7004       # that says an option was ignored or not supported.
  7005       # When given -MP, icc 7.0 and 7.1 complain thusly:
  7006       #   icc: Command line warning: ignoring option '-M'; no argument required
  7007       # The diagnosis changed in icc 8.0:
  7008       #   icc: Command line remark: option '-MP' not supported
  7009       if (grep 'ignoring option' conftest.err ||
  7010           grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  7011         am_cv_OBJC_dependencies_compiler_type=$depmode
  7012         break
  7013       fi
  7014     fi
  7015   done
  7017   cd ..
  7018   rm -rf conftest.dir
  7019 else
  7020   am_cv_OBJC_dependencies_compiler_type=none
  7021 fi
  7023 fi
  7024 { $as_echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5
  7025 $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; }
  7026 OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type
  7030 if
  7031   test "x$enable_dependency_tracking" != xno \
  7032   && test "$am_cv_OBJC_dependencies_compiler_type" = gcc3; then
  7033   am__fastdepOBJC_TRUE=
  7034   am__fastdepOBJC_FALSE='#'
  7035 else
  7036   am__fastdepOBJC_TRUE='#'
  7037   am__fastdepOBJC_FALSE=
  7038 fi
  7042 # Extract the first word of "pod2man", so it can be a program name with args.
  7043 set dummy pod2man; ac_word=$2
  7044 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7045 $as_echo_n "checking for $ac_word... " >&6; }
  7046 if test "${ac_cv_path_POD2MAN+set}" = set; then
  7047   $as_echo_n "(cached) " >&6
  7048 else
  7049   case $POD2MAN in
  7050   [\\/]* | ?:[\\/]*)
  7051   ac_cv_path_POD2MAN="$POD2MAN" # Let the user override the test with a path.
  7052   ;;
  7053   *)
  7054   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7055 for as_dir in $PATH
  7056 do
  7057   IFS=$as_save_IFS
  7058   test -z "$as_dir" && as_dir=.
  7059   for ac_exec_ext in '' $ac_executable_extensions; do
  7060   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7061     ac_cv_path_POD2MAN="$as_dir/$ac_word$ac_exec_ext"
  7062     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7063     break 2
  7064   fi
  7065 done
  7066 done
  7067 IFS=$as_save_IFS
  7069   ;;
  7070 esac
  7071 fi
  7072 POD2MAN=$ac_cv_path_POD2MAN
  7073 if test -n "$POD2MAN"; then
  7074   { $as_echo "$as_me:$LINENO: result: $POD2MAN" >&5
  7075 $as_echo "$POD2MAN" >&6; }
  7076 else
  7077   { $as_echo "$as_me:$LINENO: result: no" >&5
  7078 $as_echo "no" >&6; }
  7079 fi
  7082 # Extract the first word of "pod2html", so it can be a program name with args.
  7083 set dummy pod2html; ac_word=$2
  7084 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7085 $as_echo_n "checking for $ac_word... " >&6; }
  7086 if test "${ac_cv_path_POD2HTML+set}" = set; then
  7087   $as_echo_n "(cached) " >&6
  7088 else
  7089   case $POD2HTML in
  7090   [\\/]* | ?:[\\/]*)
  7091   ac_cv_path_POD2HTML="$POD2HTML" # Let the user override the test with a path.
  7092   ;;
  7093   *)
  7094   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7095 for as_dir in $PATH
  7096 do
  7097   IFS=$as_save_IFS
  7098   test -z "$as_dir" && as_dir=.
  7099   for ac_exec_ext in '' $ac_executable_extensions; do
  7100   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7101     ac_cv_path_POD2HTML="$as_dir/$ac_word$ac_exec_ext"
  7102     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7103     break 2
  7104   fi
  7105 done
  7106 done
  7107 IFS=$as_save_IFS
  7109   ;;
  7110 esac
  7111 fi
  7112 POD2HTML=$ac_cv_path_POD2HTML
  7113 if test -n "$POD2HTML"; then
  7114   { $as_echo "$as_me:$LINENO: result: $POD2HTML" >&5
  7115 $as_echo "$POD2HTML" >&6; }
  7116 else
  7117   { $as_echo "$as_me:$LINENO: result: no" >&5
  7118 $as_echo "no" >&6; }
  7119 fi
  7124 # Check whether --enable-strict-warn was given.
  7125 if test "${enable_strict_warn+set}" = set; then
  7126   enableval=$enable_strict_warn; if test "$enableval" == "yes"; then
  7127       enable_strictwarn=yes
  7128     fi
  7129 fi
  7131 # Check whether --enable-translator was given.
  7132 if test "${enable_translator+set}" = set; then
  7133   enableval=$enable_translator; true
  7134 else
  7135   enable_translator=yes
  7136 fi
  7138 # Check whether --enable-optimized was given.
  7139 if test "${enable_optimized+set}" = set; then
  7140   enableval=$enable_optimized; true
  7141 else
  7142   enable_optimized=yes
  7143 fi
  7145 # Check whether --enable-profiled was given.
  7146 if test "${enable_profiled+set}" = set; then
  7147   enableval=$enable_profiled; if test "$enableval" == "yes"; then
  7148       enable_profiled=yes;
  7149     fi
  7150 fi
  7152 # Check whether --enable-trace was given.
  7153 if test "${enable_trace+set}" = set; then
  7154   enableval=$enable_trace; if test "$enableval" == "yes"; then
  7156 cat >>confdefs.h <<\_ACEOF
  7157 #define ENABLE_TRACE_IO 1
  7158 _ACEOF
  7160     fi
  7161 fi
  7163 # Check whether --enable-watch was given.
  7164 if test "${enable_watch+set}" = set; then
  7165   enableval=$enable_watch; if test "$enableval" == "yes"; then
  7167 cat >>confdefs.h <<\_ACEOF
  7168 #define ENABLE_WATCH 1
  7169 _ACEOF
  7171    fi
  7172 fi
  7174 # Check whether --enable-sh4stats was given.
  7175 if test "${enable_sh4stats+set}" = set; then
  7176   enableval=$enable_sh4stats; if test "$enableval" == "yes"; then
  7178 cat >>confdefs.h <<\_ACEOF
  7179 #define ENABLE_SH4STATS 1
  7180 _ACEOF
  7182     fi
  7183 fi
  7186 # Check whether --with-osmesa was given.
  7187 if test "${with_osmesa+set}" = set; then
  7188   withval=$with_osmesa;
  7189 else
  7190   with_osmesa=no
  7191 fi
  7194 # Check whether --with-gtk was given.
  7195 if test "${with_gtk+set}" = set; then
  7196   withval=$with_gtk; with_gtk=yes
  7197 else
  7198   with_gtk=x11
  7199 fi
  7202 # Check whether --with-esd was given.
  7203 if test "${with_esd+set}" = set; then
  7204   withval=$with_esd;
  7205 fi
  7208 # Check whether --with-pulse was given.
  7209 if test "${with_pulse+set}" = set; then
  7210   withval=$with_pulse;
  7211 fi
  7217 ac_ext=m
  7218 ac_cpp='$OBJCPP $CPPFLAGS'
  7219 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7220 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7221 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7222 if test -n "$ac_tool_prefix"; then
  7223   for ac_prog in gcc objcc objc cc CC
  7224   do
  7225     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7226 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7227 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7228 $as_echo_n "checking for $ac_word... " >&6; }
  7229 if test "${ac_cv_prog_OBJC+set}" = set; then
  7230   $as_echo_n "(cached) " >&6
  7231 else
  7232   if test -n "$OBJC"; then
  7233   ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  7234 else
  7235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7236 for as_dir in $PATH
  7237 do
  7238   IFS=$as_save_IFS
  7239   test -z "$as_dir" && as_dir=.
  7240   for ac_exec_ext in '' $ac_executable_extensions; do
  7241   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7242     ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  7243     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7244     break 2
  7245   fi
  7246 done
  7247 done
  7248 IFS=$as_save_IFS
  7250 fi
  7251 fi
  7252 OBJC=$ac_cv_prog_OBJC
  7253 if test -n "$OBJC"; then
  7254   { $as_echo "$as_me:$LINENO: result: $OBJC" >&5
  7255 $as_echo "$OBJC" >&6; }
  7256 else
  7257   { $as_echo "$as_me:$LINENO: result: no" >&5
  7258 $as_echo "no" >&6; }
  7259 fi
  7262     test -n "$OBJC" && break
  7263   done
  7264 fi
  7265 if test -z "$OBJC"; then
  7266   ac_ct_OBJC=$OBJC
  7267   for ac_prog in gcc objcc objc cc CC
  7268 do
  7269   # Extract the first word of "$ac_prog", so it can be a program name with args.
  7270 set dummy $ac_prog; ac_word=$2
  7271 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7272 $as_echo_n "checking for $ac_word... " >&6; }
  7273 if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then
  7274   $as_echo_n "(cached) " >&6
  7275 else
  7276   if test -n "$ac_ct_OBJC"; then
  7277   ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  7278 else
  7279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7280 for as_dir in $PATH
  7281 do
  7282   IFS=$as_save_IFS
  7283   test -z "$as_dir" && as_dir=.
  7284   for ac_exec_ext in '' $ac_executable_extensions; do
  7285   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7286     ac_cv_prog_ac_ct_OBJC="$ac_prog"
  7287     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  7288     break 2
  7289   fi
  7290 done
  7291 done
  7292 IFS=$as_save_IFS
  7294 fi
  7295 fi
  7296 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  7297 if test -n "$ac_ct_OBJC"; then
  7298   { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5
  7299 $as_echo "$ac_ct_OBJC" >&6; }
  7300 else
  7301   { $as_echo "$as_me:$LINENO: result: no" >&5
  7302 $as_echo "no" >&6; }
  7303 fi
  7306   test -n "$ac_ct_OBJC" && break
  7307 done
  7309   if test "x$ac_ct_OBJC" = x; then
  7310     OBJC="gcc"
  7311   else
  7312     case $cross_compiling:$ac_tool_warned in
  7313 yes:)
  7314 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  7315 whose name does not start with the host triplet.  If you think this
  7316 configuration is useful to you, please write to autoconf@gnu.org." >&5
  7317 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  7318 whose name does not start with the host triplet.  If you think this
  7319 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  7320 ac_tool_warned=yes ;;
  7321 esac
  7322     OBJC=$ac_ct_OBJC
  7323   fi
  7324 fi
  7326 # Provide some information about the compiler.
  7327 $as_echo "$as_me:$LINENO: checking for Objective C compiler version" >&5
  7328 set X $ac_compile
  7329 ac_compiler=$2
  7330 { (ac_try="$ac_compiler --version >&5"
  7331 case "(($ac_try" in
  7332   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7333   *) ac_try_echo=$ac_try;;
  7334 esac
  7335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7336 $as_echo "$ac_try_echo") >&5
  7337   (eval "$ac_compiler --version >&5") 2>&5
  7338   ac_status=$?
  7339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7340   (exit $ac_status); }
  7341 { (ac_try="$ac_compiler -v >&5"
  7342 case "(($ac_try" in
  7343   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7344   *) ac_try_echo=$ac_try;;
  7345 esac
  7346 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7347 $as_echo "$ac_try_echo") >&5
  7348   (eval "$ac_compiler -v >&5") 2>&5
  7349   ac_status=$?
  7350   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7351   (exit $ac_status); }
  7352 { (ac_try="$ac_compiler -V >&5"
  7353 case "(($ac_try" in
  7354   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7355   *) ac_try_echo=$ac_try;;
  7356 esac
  7357 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7358 $as_echo "$ac_try_echo") >&5
  7359   (eval "$ac_compiler -V >&5") 2>&5
  7360   ac_status=$?
  7361   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7362   (exit $ac_status); }
  7364 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU Objective C compiler" >&5
  7365 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  7366 if test "${ac_cv_objc_compiler_gnu+set}" = set; then
  7367   $as_echo_n "(cached) " >&6
  7368 else
  7369   cat >conftest.$ac_ext <<_ACEOF
  7370 /* confdefs.h.  */
  7371 _ACEOF
  7372 cat confdefs.h >>conftest.$ac_ext
  7373 cat >>conftest.$ac_ext <<_ACEOF
  7374 /* end confdefs.h.  */
  7376 int
  7377 main ()
  7379 #ifndef __GNUC__
  7380        choke me
  7381 #endif
  7384   return 0;
  7386 _ACEOF
  7387 rm -f conftest.$ac_objext
  7388 if { (ac_try="$ac_compile"
  7389 case "(($ac_try" in
  7390   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7391   *) ac_try_echo=$ac_try;;
  7392 esac
  7393 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7394 $as_echo "$ac_try_echo") >&5
  7395   (eval "$ac_compile") 2>conftest.er1
  7396   ac_status=$?
  7397   grep -v '^ *+' conftest.er1 >conftest.err
  7398   rm -f conftest.er1
  7399   cat conftest.err >&5
  7400   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7401   (exit $ac_status); } && {
  7402 	 test -z "$ac_objc_werror_flag" ||
  7403 	 test ! -s conftest.err
  7404        } && test -s conftest.$ac_objext; then
  7405   ac_compiler_gnu=yes
  7406 else
  7407   $as_echo "$as_me: failed program was:" >&5
  7408 sed 's/^/| /' conftest.$ac_ext >&5
  7410 	ac_compiler_gnu=no
  7411 fi
  7413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7414 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  7416 fi
  7417 { $as_echo "$as_me:$LINENO: result: $ac_cv_objc_compiler_gnu" >&5
  7418 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  7419 if test $ac_compiler_gnu = yes; then
  7420   GOBJC=yes
  7421 else
  7422   GOBJC=
  7423 fi
  7424 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  7425 ac_save_OBJCFLAGS=$OBJCFLAGS
  7426 { $as_echo "$as_me:$LINENO: checking whether $OBJC accepts -g" >&5
  7427 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  7428 if test "${ac_cv_prog_objc_g+set}" = set; then
  7429   $as_echo_n "(cached) " >&6
  7430 else
  7431   ac_save_objc_werror_flag=$ac_objc_werror_flag
  7432    ac_objc_werror_flag=yes
  7433    ac_cv_prog_objc_g=no
  7434    OBJCFLAGS="-g"
  7435    cat >conftest.$ac_ext <<_ACEOF
  7436 /* confdefs.h.  */
  7437 _ACEOF
  7438 cat confdefs.h >>conftest.$ac_ext
  7439 cat >>conftest.$ac_ext <<_ACEOF
  7440 /* end confdefs.h.  */
  7442 int
  7443 main ()
  7447   return 0;
  7449 _ACEOF
  7450 rm -f conftest.$ac_objext
  7451 if { (ac_try="$ac_compile"
  7452 case "(($ac_try" in
  7453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7454   *) ac_try_echo=$ac_try;;
  7455 esac
  7456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7457 $as_echo "$ac_try_echo") >&5
  7458   (eval "$ac_compile") 2>conftest.er1
  7459   ac_status=$?
  7460   grep -v '^ *+' conftest.er1 >conftest.err
  7461   rm -f conftest.er1
  7462   cat conftest.err >&5
  7463   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7464   (exit $ac_status); } && {
  7465 	 test -z "$ac_objc_werror_flag" ||
  7466 	 test ! -s conftest.err
  7467        } && test -s conftest.$ac_objext; then
  7468   ac_cv_prog_objc_g=yes
  7469 else
  7470   $as_echo "$as_me: failed program was:" >&5
  7471 sed 's/^/| /' conftest.$ac_ext >&5
  7473 	OBJCFLAGS=""
  7474       cat >conftest.$ac_ext <<_ACEOF
  7475 /* confdefs.h.  */
  7476 _ACEOF
  7477 cat confdefs.h >>conftest.$ac_ext
  7478 cat >>conftest.$ac_ext <<_ACEOF
  7479 /* end confdefs.h.  */
  7481 int
  7482 main ()
  7486   return 0;
  7488 _ACEOF
  7489 rm -f conftest.$ac_objext
  7490 if { (ac_try="$ac_compile"
  7491 case "(($ac_try" in
  7492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7493   *) ac_try_echo=$ac_try;;
  7494 esac
  7495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7496 $as_echo "$ac_try_echo") >&5
  7497   (eval "$ac_compile") 2>conftest.er1
  7498   ac_status=$?
  7499   grep -v '^ *+' conftest.er1 >conftest.err
  7500   rm -f conftest.er1
  7501   cat conftest.err >&5
  7502   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7503   (exit $ac_status); } && {
  7504 	 test -z "$ac_objc_werror_flag" ||
  7505 	 test ! -s conftest.err
  7506        } && test -s conftest.$ac_objext; then
  7508 else
  7509   $as_echo "$as_me: failed program was:" >&5
  7510 sed 's/^/| /' conftest.$ac_ext >&5
  7512 	ac_objc_werror_flag=$ac_save_objc_werror_flag
  7513 	 OBJCFLAGS="-g"
  7514 	 cat >conftest.$ac_ext <<_ACEOF
  7515 /* confdefs.h.  */
  7516 _ACEOF
  7517 cat confdefs.h >>conftest.$ac_ext
  7518 cat >>conftest.$ac_ext <<_ACEOF
  7519 /* end confdefs.h.  */
  7521 int
  7522 main ()
  7526   return 0;
  7528 _ACEOF
  7529 rm -f conftest.$ac_objext
  7530 if { (ac_try="$ac_compile"
  7531 case "(($ac_try" in
  7532   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7533   *) ac_try_echo=$ac_try;;
  7534 esac
  7535 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7536 $as_echo "$ac_try_echo") >&5
  7537   (eval "$ac_compile") 2>conftest.er1
  7538   ac_status=$?
  7539   grep -v '^ *+' conftest.er1 >conftest.err
  7540   rm -f conftest.er1
  7541   cat conftest.err >&5
  7542   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7543   (exit $ac_status); } && {
  7544 	 test -z "$ac_objc_werror_flag" ||
  7545 	 test ! -s conftest.err
  7546        } && test -s conftest.$ac_objext; then
  7547   ac_cv_prog_objc_g=yes
  7548 else
  7549   $as_echo "$as_me: failed program was:" >&5
  7550 sed 's/^/| /' conftest.$ac_ext >&5
  7553 fi
  7555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7556 fi
  7558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7559 fi
  7561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7562    ac_objc_werror_flag=$ac_save_objc_werror_flag
  7563 fi
  7564 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_objc_g" >&5
  7565 $as_echo "$ac_cv_prog_objc_g" >&6; }
  7566 if test "$ac_test_OBJCFLAGS" = set; then
  7567   OBJCFLAGS=$ac_save_OBJCFLAGS
  7568 elif test $ac_cv_prog_objc_g = yes; then
  7569   if test "$GOBJC" = yes; then
  7570     OBJCFLAGS="-g -O2"
  7571   else
  7572     OBJCFLAGS="-g"
  7573   fi
  7574 else
  7575   if test "$GOBJC" = yes; then
  7576     OBJCFLAGS="-O2"
  7577   else
  7578     OBJCFLAGS=
  7579   fi
  7580 fi
  7581 ac_ext=c
  7582 ac_cpp='$CPP $CPPFLAGS'
  7583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7587 { $as_echo "$as_me:$LINENO: checking for a working Objective-C compiler" >&5
  7588 $as_echo_n "checking for a working Objective-C compiler... " >&6; }
  7589 ac_ext=m
  7590 ac_cpp='$OBJCPP $CPPFLAGS'
  7591 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7592 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7593 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7594 cat >conftest.$ac_ext <<_ACEOF
  7595 /* confdefs.h.  */
  7596 _ACEOF
  7597 cat confdefs.h >>conftest.$ac_ext
  7598 cat >>conftest.$ac_ext <<_ACEOF
  7599 /* end confdefs.h.  */
  7600 @interface Foo @end
  7601 int
  7602 main ()
  7606   return 0;
  7608 _ACEOF
  7609 rm -f conftest.$ac_objext
  7610 if { (ac_try="$ac_compile"
  7611 case "(($ac_try" in
  7612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7613   *) ac_try_echo=$ac_try;;
  7614 esac
  7615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7616 $as_echo "$ac_try_echo") >&5
  7617   (eval "$ac_compile") 2>conftest.er1
  7618   ac_status=$?
  7619   grep -v '^ *+' conftest.er1 >conftest.err
  7620   rm -f conftest.er1
  7621   cat conftest.err >&5
  7622   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7623   (exit $ac_status); } && {
  7624 	 test -z "$ac_objc_werror_flag" ||
  7625 	 test ! -s conftest.err
  7626        } && test -s conftest.$ac_objext; then
  7627   { $as_echo "$as_me:$LINENO: result: yes" >&5
  7628 $as_echo "yes" >&6; }
  7630    { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
  7631 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
  7632 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
  7633   $as_echo_n "(cached) " >&6
  7634 else
  7635   cat >conftest.$ac_ext <<_ACEOF
  7636 /* confdefs.h.  */
  7637 _ACEOF
  7638 cat confdefs.h >>conftest.$ac_ext
  7639 cat >>conftest.$ac_ext <<_ACEOF
  7640 /* end confdefs.h.  */
  7641 $ac_includes_default
  7643 #include <Cocoa/Cocoa.h>
  7644 _ACEOF
  7645 rm -f conftest.$ac_objext
  7646 if { (ac_try="$ac_compile"
  7647 case "(($ac_try" in
  7648   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7649   *) ac_try_echo=$ac_try;;
  7650 esac
  7651 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7652 $as_echo "$ac_try_echo") >&5
  7653   (eval "$ac_compile") 2>conftest.er1
  7654   ac_status=$?
  7655   grep -v '^ *+' conftest.er1 >conftest.err
  7656   rm -f conftest.er1
  7657   cat conftest.err >&5
  7658   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7659   (exit $ac_status); } && {
  7660 	 test -z "$ac_objc_werror_flag" ||
  7661 	 test ! -s conftest.err
  7662        } && test -s conftest.$ac_objext; then
  7663   ac_cv_header_Cocoa_Cocoa_h=yes
  7664 else
  7665   $as_echo "$as_me: failed program was:" >&5
  7666 sed 's/^/| /' conftest.$ac_ext >&5
  7668 	ac_cv_header_Cocoa_Cocoa_h=no
  7669 fi
  7671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7672 fi
  7673 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
  7674 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
  7675 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
  7677       HAVE_COCOA='yes'
  7678       APPLE_BUILD='yes'
  7679       LIBS="$LIBS -framework AppKit"
  7680       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"
  7681       CPPFLAGS="$CPPFLAGS -DMAC_OS_X_VERSION_MIN_REQUIRED=MAC_OS_X_VERSION_10_4 -mdynamic-no-pic"
  7682       LDFLAGS="$LDFLAGS -Wl,-headerpad_max_install_names"
  7684 cat >>confdefs.h <<\_ACEOF
  7685 #define HAVE_COCOA 1
  7686 _ACEOF
  7689 cat >>confdefs.h <<\_ACEOF
  7690 #define APPLE_BUILD 1
  7691 _ACEOF
  7693       if test "x$with_gtk" = "xx11"; then
  7694         with_gtk=no
  7695       fi
  7697 fi
  7702 { $as_echo "$as_me:$LINENO: checking OBJC version" >&5
  7703 $as_echo_n "checking OBJC version... " >&6; }
  7704 if test -n "$OBJC"; then
  7705   _GOBJC_VERSION=`$OBJC --version | $SED -ne '/(GCC)/p'`
  7706   if test -n "$_GOBJC_VERSION"; then
  7707     { $as_echo "$as_me:$LINENO: result: GCC" >&5
  7708 $as_echo "GCC" >&6; }
  7709       OBJCOPT="-O2 -msse2 -mfpmath=sse"
  7710                      OBJCFLAGS="$OBJCFLAGS -fno-strict-aliasing"
  7711   else
  7712     { $as_echo "$as_me:$LINENO: result: Unknown" >&5
  7713 $as_echo "Unknown" >&6; }
  7714       OBJCOPT="-O2"
  7715   fi
  7716 else
  7717   { $as_echo "$as_me:$LINENO: result: None" >&5
  7718 $as_echo "None" >&6; }
  7720 fi
  7723 else
  7724   $as_echo "$as_me: failed program was:" >&5
  7725 sed 's/^/| /' conftest.$ac_ext >&5
  7727 	{ $as_echo "$as_me:$LINENO: result: No" >&5
  7728 $as_echo "No" >&6; }
  7730 fi
  7732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
  7733 ac_ext=c
  7734 ac_cpp='$CPP $CPPFLAGS'
  7735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7743 if test "$HAVE_COCOA" = 'yes' -a "$with_gtk" = "no"; then
  7744   GUI_COCOA_TRUE=
  7745   GUI_COCOA_FALSE='#'
  7746 else
  7747   GUI_COCOA_TRUE='#'
  7748   GUI_COCOA_FALSE=
  7749 fi
  7751 if test "x$HAVE_COCOA" = 'xyes' -a "x$with_gtk" = "xno"; then
  7753 cat >>confdefs.h <<\_ACEOF
  7754 #define OSX_BUNDLE 1
  7755 _ACEOF
  7757 fi
  7759 CFLAGS="-g -fexceptions"
  7760 OBJCFLAGS="-g -fexceptions"
  7762 cat >>confdefs.h <<\_ACEOF
  7763 #define HAVE_EXCEPTIONS 1
  7764 _ACEOF
  7768 _GCC_VERSION=`$CC --version | $SED -ne '/(GCC)/p'`
  7769 _ICC_VERSION=`$CC --version | $SED -ne '/(ICC)/p'`
  7770 { $as_echo "$as_me:$LINENO: checking CC version" >&5
  7771 $as_echo_n "checking CC version... " >&6; }
  7772 if test -n "$_GCC_VERSION"; then
  7773    { $as_echo "$as_me:$LINENO: result: GCC" >&5
  7774 $as_echo "GCC" >&6; }
  7775      CCOPT="-O2 -msse2 -mfpmath=sse"
  7776                 CFLAGS="$CFLAGS -fno-strict-aliasing"
  7777 elif test -n "$_ICC_VERSION"; then
  7778    { $as_echo "$as_me:$LINENO: result: ICC" >&5
  7779 $as_echo "ICC" >&6; }
  7780      CCOPT="$CFLAGS -fast"
  7781 else
  7782    { $as_echo "$as_me:$LINENO: result: Unknown" >&5
  7783 $as_echo "Unknown" >&6; }
  7784      CCOPT="$CFLAGS -O2"
  7785 fi
  7788 if test "x$enable_optimized" = "xyes"; then
  7789    CFLAGS="$CFLAGS $CCOPT"
  7790    OBJCFLAGS="$OBJCFLAGS $OBJCOPT"
  7791    if test "x$enable_profiled" != "xyes"; then
  7792               CFLAGS="$CFLAGS -fomit-frame-pointer"
  7793        OBJCFLAGS="$OBJCFLAGS -fomit-frame-pointer"
  7794    fi
  7795 else
  7796    CFLAGS="$CFLAGS -g3"
  7797    OBJCFLAGS="$OBJCFLAGS -g3"
  7798 fi
  7800 if test "x$enable_profiled" = "xyes"; then
  7801    CFLAGS="$CFLAGS -pg"
  7802    LDFLAGS="$LDFLAGS -pg";
  7803    OBJCFLAGS="$OBJCFLAGS -pg";
  7804 fi
  7806 if test "x$enable_strictwarn" = "xyes"; then
  7807    CFLAGS="$CFLAGS -Wall -Werror -Wno-unused"
  7808    OBJCFLAGS="$OBJCFLAGS -Wall -Werror -Wno-unused"
  7809 fi
  7812 { $as_echo "$as_me:$LINENO: checking support for fastcall calling conventions" >&5
  7813 $as_echo_n "checking support for fastcall calling conventions... " >&6; };
  7814 if test "$cross_compiling" = yes; then
  7815   { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  7816 See \`config.log' for more details." >&5
  7817 $as_echo "$as_me: error: cannot run test program while cross compiling
  7818 See \`config.log' for more details." >&2;}
  7819    { (exit 1); exit 1; }; }
  7820 else
  7821   cat >conftest.$ac_ext <<_ACEOF
  7823   /* confdefs.h.  */
  7824 _ACEOF
  7825 cat confdefs.h >>conftest.$ac_ext
  7826 cat >>conftest.$ac_ext <<_ACEOF
  7827 /* end confdefs.h.  */
  7829 int __attribute__((regparm(3))) foo(int a, int b) { return a+b; }
  7831 int main(int argc, char *argv[])
  7833    return foo( 1, 2 ) == 3 ? 0 : 1;
  7835 _ACEOF
  7836 rm -f conftest$ac_exeext
  7837 if { (ac_try="$ac_link"
  7838 case "(($ac_try" in
  7839   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7840   *) ac_try_echo=$ac_try;;
  7841 esac
  7842 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7843 $as_echo "$ac_try_echo") >&5
  7844   (eval "$ac_link") 2>&5
  7845   ac_status=$?
  7846   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7847   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7848   { (case "(($ac_try" in
  7849   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7850   *) ac_try_echo=$ac_try;;
  7851 esac
  7852 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7853 $as_echo "$ac_try_echo") >&5
  7854   (eval "$ac_try") 2>&5
  7855   ac_status=$?
  7856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7857   (exit $ac_status); }; }; then
  7859    { $as_echo "$as_me:$LINENO: result: yes" >&5
  7860 $as_echo "yes" >&6; }
  7863 cat >>confdefs.h <<\_ACEOF
  7864 #define HAVE_FASTCALL 1
  7865 _ACEOF
  7868 else
  7869   $as_echo "$as_me: program exited with status $ac_status" >&5
  7870 $as_echo "$as_me: failed program was:" >&5
  7871 sed 's/^/| /' conftest.$ac_ext >&5
  7873 ( exit $ac_status )
  7875    { $as_echo "$as_me:$LINENO: result: no" >&5
  7876 $as_echo "no" >&6; }
  7878 fi
  7879 rm -rf conftest.dSYM
  7880 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7881 fi
  7886 { $as_echo "$as_me:$LINENO: checking if we have a working __builtin_frame_address()" >&5
  7887 $as_echo_n "checking if we have a working __builtin_frame_address()... " >&6; };
  7888 if test "$cross_compiling" = yes; then
  7889   { { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling
  7890 See \`config.log' for more details." >&5
  7891 $as_echo "$as_me: error: cannot run test program while cross compiling
  7892 See \`config.log' for more details." >&2;}
  7893    { (exit 1); exit 1; }; }
  7894 else
  7895   cat >conftest.$ac_ext <<_ACEOF
  7897   /* confdefs.h.  */
  7898 _ACEOF
  7899 cat confdefs.h >>conftest.$ac_ext
  7900 cat >>conftest.$ac_ext <<_ACEOF
  7901 /* end confdefs.h.  */
  7903 void * __attribute__((noinline)) first_arg( void *x, void *y ) { return x; }
  7904 int __attribute__((noinline)) foo( int arg, void *exc )
  7906     if( arg < 2 ) {
  7907         *(((void **)__builtin_frame_address(0))+1) = exc;
  7909     return 0;
  7912 int main(int argc, char *argv[])
  7914    goto *first_arg(&&start, &&except);
  7916 start:
  7917    return foo( argc, &&except ) + 1;
  7919 except:
  7920    return 0;
  7922 _ACEOF
  7923 rm -f conftest$ac_exeext
  7924 if { (ac_try="$ac_link"
  7925 case "(($ac_try" in
  7926   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7927   *) ac_try_echo=$ac_try;;
  7928 esac
  7929 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7930 $as_echo "$ac_try_echo") >&5
  7931   (eval "$ac_link") 2>&5
  7932   ac_status=$?
  7933   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7934   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  7935   { (case "(($ac_try" in
  7936   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7937   *) ac_try_echo=$ac_try;;
  7938 esac
  7939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7940 $as_echo "$ac_try_echo") >&5
  7941   (eval "$ac_try") 2>&5
  7942   ac_status=$?
  7943   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7944   (exit $ac_status); }; }; then
  7946    { $as_echo "$as_me:$LINENO: result: yes" >&5
  7947 $as_echo "yes" >&6; }
  7950 cat >>confdefs.h <<\_ACEOF
  7951 #define HAVE_FRAME_ADDRESS 1
  7952 _ACEOF
  7955 else
  7956   $as_echo "$as_me: program exited with status $ac_status" >&5
  7957 $as_echo "$as_me: failed program was:" >&5
  7958 sed 's/^/| /' conftest.$ac_ext >&5
  7960 ( exit $ac_status )
  7962    { $as_echo "$as_me:$LINENO: result: no" >&5
  7963 $as_echo "no" >&6; }
  7964     { $as_echo "$as_me:$LINENO: WARNING: Memory exceptions will be slow" >&5
  7965 $as_echo "$as_me: WARNING: Memory exceptions will be slow" >&2;}
  7966 fi
  7967 rm -rf conftest.dSYM
  7968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  7969 fi
  7978 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  7979 	if test -n "$ac_tool_prefix"; then
  7980   # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  7981 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  7982 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  7983 $as_echo_n "checking for $ac_word... " >&6; }
  7984 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
  7985   $as_echo_n "(cached) " >&6
  7986 else
  7987   case $PKG_CONFIG in
  7988   [\\/]* | ?:[\\/]*)
  7989   ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  7990   ;;
  7991   *)
  7992   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7993 for as_dir in $PATH
  7994 do
  7995   IFS=$as_save_IFS
  7996   test -z "$as_dir" && as_dir=.
  7997   for ac_exec_ext in '' $ac_executable_extensions; do
  7998   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  7999     ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8000     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8001     break 2
  8002   fi
  8003 done
  8004 done
  8005 IFS=$as_save_IFS
  8007   ;;
  8008 esac
  8009 fi
  8010 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  8011 if test -n "$PKG_CONFIG"; then
  8012   { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
  8013 $as_echo "$PKG_CONFIG" >&6; }
  8014 else
  8015   { $as_echo "$as_me:$LINENO: result: no" >&5
  8016 $as_echo "no" >&6; }
  8017 fi
  8020 fi
  8021 if test -z "$ac_cv_path_PKG_CONFIG"; then
  8022   ac_pt_PKG_CONFIG=$PKG_CONFIG
  8023   # Extract the first word of "pkg-config", so it can be a program name with args.
  8024 set dummy pkg-config; ac_word=$2
  8025 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  8026 $as_echo_n "checking for $ac_word... " >&6; }
  8027 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
  8028   $as_echo_n "(cached) " >&6
  8029 else
  8030   case $ac_pt_PKG_CONFIG in
  8031   [\\/]* | ?:[\\/]*)
  8032   ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  8033   ;;
  8034   *)
  8035   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8036 for as_dir in $PATH
  8037 do
  8038   IFS=$as_save_IFS
  8039   test -z "$as_dir" && as_dir=.
  8040   for ac_exec_ext in '' $ac_executable_extensions; do
  8041   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  8042     ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  8043     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  8044     break 2
  8045   fi
  8046 done
  8047 done
  8048 IFS=$as_save_IFS
  8050   ;;
  8051 esac
  8052 fi
  8053 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  8054 if test -n "$ac_pt_PKG_CONFIG"; then
  8055   { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
  8056 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  8057 else
  8058   { $as_echo "$as_me:$LINENO: result: no" >&5
  8059 $as_echo "no" >&6; }
  8060 fi
  8062   if test "x$ac_pt_PKG_CONFIG" = x; then
  8063     PKG_CONFIG=""
  8064   else
  8065     case $cross_compiling:$ac_tool_warned in
  8066 yes:)
  8067 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
  8068 whose name does not start with the host triplet.  If you think this
  8069 configuration is useful to you, please write to autoconf@gnu.org." >&5
  8070 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
  8071 whose name does not start with the host triplet.  If you think this
  8072 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
  8073 ac_tool_warned=yes ;;
  8074 esac
  8075     PKG_CONFIG=$ac_pt_PKG_CONFIG
  8076   fi
  8077 else
  8078   PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  8079 fi
  8081 fi
  8082 if test -n "$PKG_CONFIG"; then
  8083 	_pkg_min_version=0.9.0
  8084 	{ $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
  8085 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  8086 	if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  8087 		{ $as_echo "$as_me:$LINENO: result: yes" >&5
  8088 $as_echo "yes" >&6; }
  8089 	else
  8090 		{ $as_echo "$as_me:$LINENO: result: no" >&5
  8091 $as_echo "no" >&6; }
  8092 		PKG_CONFIG=""
  8093 	fi
  8095 fi
  8097 pkg_failed=no
  8098 { $as_echo "$as_me:$LINENO: checking for LIBPNG" >&5
  8099 $as_echo_n "checking for LIBPNG... " >&6; }
  8101 if test -n "$LIBPNG_CFLAGS"; then
  8102     pkg_cv_LIBPNG_CFLAGS="$LIBPNG_CFLAGS"
  8103  elif test -n "$PKG_CONFIG"; then
  8104     if test -n "$PKG_CONFIG" && \
  8105     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  8106   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  8107   ac_status=$?
  8108   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8109   (exit $ac_status); }; then
  8110   pkg_cv_LIBPNG_CFLAGS=`$PKG_CONFIG --cflags "libpng " 2>/dev/null`
  8111 else
  8112   pkg_failed=yes
  8113 fi
  8114  else
  8115     pkg_failed=untried
  8116 fi
  8117 if test -n "$LIBPNG_LIBS"; then
  8118     pkg_cv_LIBPNG_LIBS="$LIBPNG_LIBS"
  8119  elif test -n "$PKG_CONFIG"; then
  8120     if test -n "$PKG_CONFIG" && \
  8121     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpng \"") >&5
  8122   ($PKG_CONFIG --exists --print-errors "libpng ") 2>&5
  8123   ac_status=$?
  8124   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8125   (exit $ac_status); }; then
  8126   pkg_cv_LIBPNG_LIBS=`$PKG_CONFIG --libs "libpng " 2>/dev/null`
  8127 else
  8128   pkg_failed=yes
  8129 fi
  8130  else
  8131     pkg_failed=untried
  8132 fi
  8136 if test $pkg_failed = yes; then
  8138 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8139         _pkg_short_errors_supported=yes
  8140 else
  8141         _pkg_short_errors_supported=no
  8142 fi
  8143         if test $_pkg_short_errors_supported = yes; then
  8144 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpng " 2>&1`
  8145         else
  8146 	        LIBPNG_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpng " 2>&1`
  8147         fi
  8148 	# Put the nasty error message in config.log where it belongs
  8149 	echo "$LIBPNG_PKG_ERRORS" >&5
  8151 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (libpng ) were not met:
  8153 $LIBPNG_PKG_ERRORS
  8155 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8156 installed software in a non-standard prefix.
  8158 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8159 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8160 See the pkg-config man page for more details.
  8161 " >&5
  8162 $as_echo "$as_me: error: Package requirements (libpng ) were not met:
  8164 $LIBPNG_PKG_ERRORS
  8166 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8167 installed software in a non-standard prefix.
  8169 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8170 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8171 See the pkg-config man page for more details.
  8172 " >&2;}
  8173    { (exit 1); exit 1; }; }
  8174 elif test $pkg_failed = untried; then
  8175 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  8176 is in your PATH or set the PKG_CONFIG environment variable to the full
  8177 path to pkg-config.
  8179 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8180 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8181 See the pkg-config man page for more details.
  8183 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8184 See \`config.log' for more details." >&5
  8185 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  8186 is in your PATH or set the PKG_CONFIG environment variable to the full
  8187 path to pkg-config.
  8189 Alternatively, you may set the environment variables LIBPNG_CFLAGS
  8190 and LIBPNG_LIBS to avoid the need to call pkg-config.
  8191 See the pkg-config man page for more details.
  8193 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8194 See \`config.log' for more details." >&2;}
  8195    { (exit 1); exit 1; }; }
  8196 else
  8197 	LIBPNG_CFLAGS=$pkg_cv_LIBPNG_CFLAGS
  8198 	LIBPNG_LIBS=$pkg_cv_LIBPNG_LIBS
  8199         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8200 $as_echo "yes" >&6; }
  8202 fi
  8205 { $as_echo "$as_me:$LINENO: checking for uncompress in -lz" >&5
  8206 $as_echo_n "checking for uncompress in -lz... " >&6; }
  8207 if test "${ac_cv_lib_z_uncompress+set}" = set; then
  8208   $as_echo_n "(cached) " >&6
  8209 else
  8210   ac_check_lib_save_LIBS=$LIBS
  8211 LIBS="-lz  $LIBS"
  8212 cat >conftest.$ac_ext <<_ACEOF
  8213 /* confdefs.h.  */
  8214 _ACEOF
  8215 cat confdefs.h >>conftest.$ac_ext
  8216 cat >>conftest.$ac_ext <<_ACEOF
  8217 /* end confdefs.h.  */
  8219 /* Override any GCC internal prototype to avoid an error.
  8220    Use char because int might match the return type of a GCC
  8221    builtin and then its argument prototype would still apply.  */
  8222 #ifdef __cplusplus
  8223 extern "C"
  8224 #endif
  8225 char uncompress ();
  8226 int
  8227 main ()
  8229 return uncompress ();
  8231   return 0;
  8233 _ACEOF
  8234 rm -f conftest.$ac_objext conftest$ac_exeext
  8235 if { (ac_try="$ac_link"
  8236 case "(($ac_try" in
  8237   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8238   *) ac_try_echo=$ac_try;;
  8239 esac
  8240 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8241 $as_echo "$ac_try_echo") >&5
  8242   (eval "$ac_link") 2>conftest.er1
  8243   ac_status=$?
  8244   grep -v '^ *+' conftest.er1 >conftest.err
  8245   rm -f conftest.er1
  8246   cat conftest.err >&5
  8247   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8248   (exit $ac_status); } && {
  8249 	 test -z "$ac_c_werror_flag" ||
  8250 	 test ! -s conftest.err
  8251        } && test -s conftest$ac_exeext && {
  8252 	 test "$cross_compiling" = yes ||
  8253 	 $as_test_x conftest$ac_exeext
  8254        }; then
  8255   ac_cv_lib_z_uncompress=yes
  8256 else
  8257   $as_echo "$as_me: failed program was:" >&5
  8258 sed 's/^/| /' conftest.$ac_ext >&5
  8260 	ac_cv_lib_z_uncompress=no
  8261 fi
  8263 rm -rf conftest.dSYM
  8264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8265       conftest$ac_exeext conftest.$ac_ext
  8266 LIBS=$ac_check_lib_save_LIBS
  8267 fi
  8268 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_uncompress" >&5
  8269 $as_echo "$ac_cv_lib_z_uncompress" >&6; }
  8270 if test $ac_cv_lib_z_uncompress = yes; then
  8271   cat >>confdefs.h <<_ACEOF
  8272 #define HAVE_LIBZ 1
  8273 _ACEOF
  8275   LIBS="-lz $LIBS"
  8277 else
  8279     echo "Zlib (libz.so) could not be found, but is required."
  8280     exit 1
  8281 fi
  8284 if test "x$with_gtk" = "xno"; then
  8286 pkg_failed=no
  8287 { $as_echo "$as_me:$LINENO: checking for GLIB" >&5
  8288 $as_echo_n "checking for GLIB... " >&6; }
  8290 if test -n "$GLIB_CFLAGS"; then
  8291     pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS"
  8292  elif test -n "$PKG_CONFIG"; then
  8293     if test -n "$PKG_CONFIG" && \
  8294     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
  8295   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  8296   ac_status=$?
  8297   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8298   (exit $ac_status); }; then
  8299   pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "glib-2.0" 2>/dev/null`
  8300 else
  8301   pkg_failed=yes
  8302 fi
  8303  else
  8304     pkg_failed=untried
  8305 fi
  8306 if test -n "$GLIB_LIBS"; then
  8307     pkg_cv_GLIB_LIBS="$GLIB_LIBS"
  8308  elif test -n "$PKG_CONFIG"; then
  8309     if test -n "$PKG_CONFIG" && \
  8310     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0\"") >&5
  8311   ($PKG_CONFIG --exists --print-errors "glib-2.0") 2>&5
  8312   ac_status=$?
  8313   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8314   (exit $ac_status); }; then
  8315   pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "glib-2.0" 2>/dev/null`
  8316 else
  8317   pkg_failed=yes
  8318 fi
  8319  else
  8320     pkg_failed=untried
  8321 fi
  8325 if test $pkg_failed = yes; then
  8327 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8328         _pkg_short_errors_supported=yes
  8329 else
  8330         _pkg_short_errors_supported=no
  8331 fi
  8332         if test $_pkg_short_errors_supported = yes; then
  8333 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "glib-2.0" 2>&1`
  8334         else
  8335 	        GLIB_PKG_ERRORS=`$PKG_CONFIG --print-errors "glib-2.0" 2>&1`
  8336         fi
  8337 	# Put the nasty error message in config.log where it belongs
  8338 	echo "$GLIB_PKG_ERRORS" >&5
  8340 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (glib-2.0) were not met:
  8342 $GLIB_PKG_ERRORS
  8344 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8345 installed software in a non-standard prefix.
  8347 Alternatively, you may set the environment variables GLIB_CFLAGS
  8348 and GLIB_LIBS to avoid the need to call pkg-config.
  8349 See the pkg-config man page for more details.
  8350 " >&5
  8351 $as_echo "$as_me: error: Package requirements (glib-2.0) were not met:
  8353 $GLIB_PKG_ERRORS
  8355 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8356 installed software in a non-standard prefix.
  8358 Alternatively, you may set the environment variables GLIB_CFLAGS
  8359 and GLIB_LIBS to avoid the need to call pkg-config.
  8360 See the pkg-config man page for more details.
  8361 " >&2;}
  8362    { (exit 1); exit 1; }; }
  8363 elif test $pkg_failed = untried; then
  8364 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  8365 is in your PATH or set the PKG_CONFIG environment variable to the full
  8366 path to pkg-config.
  8368 Alternatively, you may set the environment variables GLIB_CFLAGS
  8369 and GLIB_LIBS to avoid the need to call pkg-config.
  8370 See the pkg-config man page for more details.
  8372 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8373 See \`config.log' for more details." >&5
  8374 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  8375 is in your PATH or set the PKG_CONFIG environment variable to the full
  8376 path to pkg-config.
  8378 Alternatively, you may set the environment variables GLIB_CFLAGS
  8379 and GLIB_LIBS to avoid the need to call pkg-config.
  8380 See the pkg-config man page for more details.
  8382 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8383 See \`config.log' for more details." >&2;}
  8384    { (exit 1); exit 1; }; }
  8385 else
  8386 	GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS
  8387 	GLIB_LIBS=$pkg_cv_GLIB_LIBS
  8388         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8389 $as_echo "yes" >&6; }
  8391 fi
  8392 else
  8394 pkg_failed=no
  8395 { $as_echo "$as_me:$LINENO: checking for GTK" >&5
  8396 $as_echo_n "checking for GTK... " >&6; }
  8398 if test -n "$GTK_CFLAGS"; then
  8399     pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
  8400  elif test -n "$PKG_CONFIG"; then
  8401     if test -n "$PKG_CONFIG" && \
  8402     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  8403   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  8404   ac_status=$?
  8405   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8406   (exit $ac_status); }; then
  8407   pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
  8408 else
  8409   pkg_failed=yes
  8410 fi
  8411  else
  8412     pkg_failed=untried
  8413 fi
  8414 if test -n "$GTK_LIBS"; then
  8415     pkg_cv_GTK_LIBS="$GTK_LIBS"
  8416  elif test -n "$PKG_CONFIG"; then
  8417     if test -n "$PKG_CONFIG" && \
  8418     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
  8419   ($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
  8420   ac_status=$?
  8421   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8422   (exit $ac_status); }; then
  8423   pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
  8424 else
  8425   pkg_failed=yes
  8426 fi
  8427  else
  8428     pkg_failed=untried
  8429 fi
  8433 if test $pkg_failed = yes; then
  8435 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  8436         _pkg_short_errors_supported=yes
  8437 else
  8438         _pkg_short_errors_supported=no
  8439 fi
  8440         if test $_pkg_short_errors_supported = yes; then
  8441 	        GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0" 2>&1`
  8442         else
  8443 	        GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0" 2>&1`
  8444         fi
  8445 	# Put the nasty error message in config.log where it belongs
  8446 	echo "$GTK_PKG_ERRORS" >&5
  8448 	{ { $as_echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
  8450 $GTK_PKG_ERRORS
  8452 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8453 installed software in a non-standard prefix.
  8455 Alternatively, you may set the environment variables GTK_CFLAGS
  8456 and GTK_LIBS to avoid the need to call pkg-config.
  8457 See the pkg-config man page for more details.
  8458 " >&5
  8459 $as_echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
  8461 $GTK_PKG_ERRORS
  8463 Consider adjusting the PKG_CONFIG_PATH environment variable if you
  8464 installed software in a non-standard prefix.
  8466 Alternatively, you may set the environment variables GTK_CFLAGS
  8467 and GTK_LIBS to avoid the need to call pkg-config.
  8468 See the pkg-config man page for more details.
  8469 " >&2;}
  8470    { (exit 1); exit 1; }; }
  8471 elif test $pkg_failed = untried; then
  8472 	{ { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
  8473 is in your PATH or set the PKG_CONFIG environment variable to the full
  8474 path to pkg-config.
  8476 Alternatively, you may set the environment variables GTK_CFLAGS
  8477 and GTK_LIBS to avoid the need to call pkg-config.
  8478 See the pkg-config man page for more details.
  8480 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8481 See \`config.log' for more details." >&5
  8482 $as_echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
  8483 is in your PATH or set the PKG_CONFIG environment variable to the full
  8484 path to pkg-config.
  8486 Alternatively, you may set the environment variables GTK_CFLAGS
  8487 and GTK_LIBS to avoid the need to call pkg-config.
  8488 See the pkg-config man page for more details.
  8490 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
  8491 See \`config.log' for more details." >&2;}
  8492    { (exit 1); exit 1; }; }
  8493 else
  8494 	GTK_CFLAGS=$pkg_cv_GTK_CFLAGS
  8495 	GTK_LIBS=$pkg_cv_GTK_LIBS
  8496         { $as_echo "$as_me:$LINENO: result: yes" >&5
  8497 $as_echo "yes" >&6; }
  8499        HAVE_GTK='yes'
  8501 cat >>confdefs.h <<\_ACEOF
  8502 #define HAVE_GTK 1
  8503 _ACEOF
  8506 fi
  8508       LIBS="$LIBS $GTK_LIBS"
  8509    { $as_echo "$as_me:$LINENO: checking for gdk_x11_display_get_xdisplay" >&5
  8510 $as_echo_n "checking for gdk_x11_display_get_xdisplay... " >&6; }
  8511 if test "${ac_cv_func_gdk_x11_display_get_xdisplay+set}" = set; then
  8512   $as_echo_n "(cached) " >&6
  8513 else
  8514   cat >conftest.$ac_ext <<_ACEOF
  8515 /* confdefs.h.  */
  8516 _ACEOF
  8517 cat confdefs.h >>conftest.$ac_ext
  8518 cat >>conftest.$ac_ext <<_ACEOF
  8519 /* end confdefs.h.  */
  8520 /* Define gdk_x11_display_get_xdisplay to an innocuous variant, in case <limits.h> declares gdk_x11_display_get_xdisplay.
  8521    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8522 #define gdk_x11_display_get_xdisplay innocuous_gdk_x11_display_get_xdisplay
  8524 /* System header to define __stub macros and hopefully few prototypes,
  8525     which can conflict with char gdk_x11_display_get_xdisplay (); below.
  8526     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8527     <limits.h> exists even on freestanding compilers.  */
  8529 #ifdef __STDC__
  8530 # include <limits.h>
  8531 #else
  8532 # include <assert.h>
  8533 #endif
  8535 #undef gdk_x11_display_get_xdisplay
  8537 /* Override any GCC internal prototype to avoid an error.
  8538    Use char because int might match the return type of a GCC
  8539    builtin and then its argument prototype would still apply.  */
  8540 #ifdef __cplusplus
  8541 extern "C"
  8542 #endif
  8543 char gdk_x11_display_get_xdisplay ();
  8544 /* The GNU C library defines this for functions which it implements
  8545     to always fail with ENOSYS.  Some functions are actually named
  8546     something starting with __ and the normal name is an alias.  */
  8547 #if defined __stub_gdk_x11_display_get_xdisplay || defined __stub___gdk_x11_display_get_xdisplay
  8548 choke me
  8549 #endif
  8551 int
  8552 main ()
  8554 return gdk_x11_display_get_xdisplay ();
  8556   return 0;
  8558 _ACEOF
  8559 rm -f conftest.$ac_objext conftest$ac_exeext
  8560 if { (ac_try="$ac_link"
  8561 case "(($ac_try" in
  8562   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8563   *) ac_try_echo=$ac_try;;
  8564 esac
  8565 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8566 $as_echo "$ac_try_echo") >&5
  8567   (eval "$ac_link") 2>conftest.er1
  8568   ac_status=$?
  8569   grep -v '^ *+' conftest.er1 >conftest.err
  8570   rm -f conftest.er1
  8571   cat conftest.err >&5
  8572   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8573   (exit $ac_status); } && {
  8574 	 test -z "$ac_c_werror_flag" ||
  8575 	 test ! -s conftest.err
  8576        } && test -s conftest$ac_exeext && {
  8577 	 test "$cross_compiling" = yes ||
  8578 	 $as_test_x conftest$ac_exeext
  8579        }; then
  8580   ac_cv_func_gdk_x11_display_get_xdisplay=yes
  8581 else
  8582   $as_echo "$as_me: failed program was:" >&5
  8583 sed 's/^/| /' conftest.$ac_ext >&5
  8585 	ac_cv_func_gdk_x11_display_get_xdisplay=no
  8586 fi
  8588 rm -rf conftest.dSYM
  8589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8590       conftest$ac_exeext conftest.$ac_ext
  8591 fi
  8592 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_x11_display_get_xdisplay" >&5
  8593 $as_echo "$ac_cv_func_gdk_x11_display_get_xdisplay" >&6; }
  8594 if test $ac_cv_func_gdk_x11_display_get_xdisplay = yes; then
  8596       HAVE_GTK_X11='yes'
  8598 cat >>confdefs.h <<\_ACEOF
  8599 #define HAVE_GTK_X11 1
  8600 _ACEOF
  8602 fi
  8604    { $as_echo "$as_me:$LINENO: checking for gdk_quartz_window_get_nsview" >&5
  8605 $as_echo_n "checking for gdk_quartz_window_get_nsview... " >&6; }
  8606 if test "${ac_cv_func_gdk_quartz_window_get_nsview+set}" = set; then
  8607   $as_echo_n "(cached) " >&6
  8608 else
  8609   cat >conftest.$ac_ext <<_ACEOF
  8610 /* confdefs.h.  */
  8611 _ACEOF
  8612 cat confdefs.h >>conftest.$ac_ext
  8613 cat >>conftest.$ac_ext <<_ACEOF
  8614 /* end confdefs.h.  */
  8615 /* Define gdk_quartz_window_get_nsview to an innocuous variant, in case <limits.h> declares gdk_quartz_window_get_nsview.
  8616    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  8617 #define gdk_quartz_window_get_nsview innocuous_gdk_quartz_window_get_nsview
  8619 /* System header to define __stub macros and hopefully few prototypes,
  8620     which can conflict with char gdk_quartz_window_get_nsview (); below.
  8621     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  8622     <limits.h> exists even on freestanding compilers.  */
  8624 #ifdef __STDC__
  8625 # include <limits.h>
  8626 #else
  8627 # include <assert.h>
  8628 #endif
  8630 #undef gdk_quartz_window_get_nsview
  8632 /* Override any GCC internal prototype to avoid an error.
  8633    Use char because int might match the return type of a GCC
  8634    builtin and then its argument prototype would still apply.  */
  8635 #ifdef __cplusplus
  8636 extern "C"
  8637 #endif
  8638 char gdk_quartz_window_get_nsview ();
  8639 /* The GNU C library defines this for functions which it implements
  8640     to always fail with ENOSYS.  Some functions are actually named
  8641     something starting with __ and the normal name is an alias.  */
  8642 #if defined __stub_gdk_quartz_window_get_nsview || defined __stub___gdk_quartz_window_get_nsview
  8643 choke me
  8644 #endif
  8646 int
  8647 main ()
  8649 return gdk_quartz_window_get_nsview ();
  8651   return 0;
  8653 _ACEOF
  8654 rm -f conftest.$ac_objext conftest$ac_exeext
  8655 if { (ac_try="$ac_link"
  8656 case "(($ac_try" in
  8657   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8658   *) ac_try_echo=$ac_try;;
  8659 esac
  8660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8661 $as_echo "$ac_try_echo") >&5
  8662   (eval "$ac_link") 2>conftest.er1
  8663   ac_status=$?
  8664   grep -v '^ *+' conftest.er1 >conftest.err
  8665   rm -f conftest.er1
  8666   cat conftest.err >&5
  8667   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8668   (exit $ac_status); } && {
  8669 	 test -z "$ac_c_werror_flag" ||
  8670 	 test ! -s conftest.err
  8671        } && test -s conftest$ac_exeext && {
  8672 	 test "$cross_compiling" = yes ||
  8673 	 $as_test_x conftest$ac_exeext
  8674        }; then
  8675   ac_cv_func_gdk_quartz_window_get_nsview=yes
  8676 else
  8677   $as_echo "$as_me: failed program was:" >&5
  8678 sed 's/^/| /' conftest.$ac_ext >&5
  8680 	ac_cv_func_gdk_quartz_window_get_nsview=no
  8681 fi
  8683 rm -rf conftest.dSYM
  8684 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8685       conftest$ac_exeext conftest.$ac_ext
  8686 fi
  8687 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gdk_quartz_window_get_nsview" >&5
  8688 $as_echo "$ac_cv_func_gdk_quartz_window_get_nsview" >&6; }
  8689 if test $ac_cv_func_gdk_quartz_window_get_nsview = yes; then
  8691       HAVE_GTK_OSX='yes'
  8693 cat >>confdefs.h <<\_ACEOF
  8694 #define HAVE_GTK_OSX 1
  8695 _ACEOF
  8697 fi
  8699 fi
  8703 if test "$HAVE_GTK" = 'yes'; then
  8704   GUI_GTK_TRUE=
  8705   GUI_GTK_FALSE='#'
  8706 else
  8707   GUI_GTK_TRUE='#'
  8708   GUI_GTK_FALSE=
  8709 fi
  8712 if test "x$with_osmesa" != xno; then
  8716 { $as_echo "$as_me:$LINENO: checking for OSMesaCreateContext in -lOSMesa" >&5
  8717 $as_echo_n "checking for OSMesaCreateContext in -lOSMesa... " >&6; }
  8718 if test "${ac_cv_lib_OSMesa_OSMesaCreateContext+set}" = set; then
  8719   $as_echo_n "(cached) " >&6
  8720 else
  8721   ac_check_lib_save_LIBS=$LIBS
  8722 LIBS="-lOSMesa  $LIBS"
  8723 cat >conftest.$ac_ext <<_ACEOF
  8724 /* confdefs.h.  */
  8725 _ACEOF
  8726 cat confdefs.h >>conftest.$ac_ext
  8727 cat >>conftest.$ac_ext <<_ACEOF
  8728 /* end confdefs.h.  */
  8730 /* Override any GCC internal prototype to avoid an error.
  8731    Use char because int might match the return type of a GCC
  8732    builtin and then its argument prototype would still apply.  */
  8733 #ifdef __cplusplus
  8734 extern "C"
  8735 #endif
  8736 char OSMesaCreateContext ();
  8737 int
  8738 main ()
  8740 return OSMesaCreateContext ();
  8742   return 0;
  8744 _ACEOF
  8745 rm -f conftest.$ac_objext conftest$ac_exeext
  8746 if { (ac_try="$ac_link"
  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_link") 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); } && {
  8760 	 test -z "$ac_c_werror_flag" ||
  8761 	 test ! -s conftest.err
  8762        } && test -s conftest$ac_exeext && {
  8763 	 test "$cross_compiling" = yes ||
  8764 	 $as_test_x conftest$ac_exeext
  8765        }; then
  8766   ac_cv_lib_OSMesa_OSMesaCreateContext=yes
  8767 else
  8768   $as_echo "$as_me: failed program was:" >&5
  8769 sed 's/^/| /' conftest.$ac_ext >&5
  8771 	ac_cv_lib_OSMesa_OSMesaCreateContext=no
  8772 fi
  8774 rm -rf conftest.dSYM
  8775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8776       conftest$ac_exeext conftest.$ac_ext
  8777 LIBS=$ac_check_lib_save_LIBS
  8778 fi
  8779 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_OSMesa_OSMesaCreateContext" >&5
  8780 $as_echo "$ac_cv_lib_OSMesa_OSMesaCreateContext" >&6; }
  8781 if test $ac_cv_lib_OSMesa_OSMesaCreateContext = yes; then
  8782   cat >>confdefs.h <<_ACEOF
  8783 #define HAVE_LIBOSMESA 1
  8784 _ACEOF
  8786   LIBS="-lOSMesa $LIBS"
  8788 else
  8789   { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but OSMesa library could not be found
  8790 See \`config.log' for more details." >&5
  8791 $as_echo "$as_me: error: --with-osmesa was given, but OSMesa library could not be found
  8792 See \`config.log' for more details." >&2;}
  8793    { (exit 1); exit 1; }; }
  8794 fi
  8796   if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  8797   { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  8798 $as_echo_n "checking for GL/osmesa.h... " >&6; }
  8799 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  8800   $as_echo_n "(cached) " >&6
  8801 fi
  8802 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  8803 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
  8804 else
  8805   # Is the header compilable?
  8806 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h usability" >&5
  8807 $as_echo_n "checking GL/osmesa.h usability... " >&6; }
  8808 cat >conftest.$ac_ext <<_ACEOF
  8809 /* confdefs.h.  */
  8810 _ACEOF
  8811 cat confdefs.h >>conftest.$ac_ext
  8812 cat >>conftest.$ac_ext <<_ACEOF
  8813 /* end confdefs.h.  */
  8814 $ac_includes_default
  8815 #include <GL/osmesa.h>
  8816 _ACEOF
  8817 rm -f conftest.$ac_objext
  8818 if { (ac_try="$ac_compile"
  8819 case "(($ac_try" in
  8820   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8821   *) ac_try_echo=$ac_try;;
  8822 esac
  8823 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8824 $as_echo "$ac_try_echo") >&5
  8825   (eval "$ac_compile") 2>conftest.er1
  8826   ac_status=$?
  8827   grep -v '^ *+' conftest.er1 >conftest.err
  8828   rm -f conftest.er1
  8829   cat conftest.err >&5
  8830   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8831   (exit $ac_status); } && {
  8832 	 test -z "$ac_c_werror_flag" ||
  8833 	 test ! -s conftest.err
  8834        } && test -s conftest.$ac_objext; then
  8835   ac_header_compiler=yes
  8836 else
  8837   $as_echo "$as_me: failed program was:" >&5
  8838 sed 's/^/| /' conftest.$ac_ext >&5
  8840 	ac_header_compiler=no
  8841 fi
  8843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8844 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  8845 $as_echo "$ac_header_compiler" >&6; }
  8847 # Is the header present?
  8848 { $as_echo "$as_me:$LINENO: checking GL/osmesa.h presence" >&5
  8849 $as_echo_n "checking GL/osmesa.h presence... " >&6; }
  8850 cat >conftest.$ac_ext <<_ACEOF
  8851 /* confdefs.h.  */
  8852 _ACEOF
  8853 cat confdefs.h >>conftest.$ac_ext
  8854 cat >>conftest.$ac_ext <<_ACEOF
  8855 /* end confdefs.h.  */
  8856 #include <GL/osmesa.h>
  8857 _ACEOF
  8858 if { (ac_try="$ac_cpp conftest.$ac_ext"
  8859 case "(($ac_try" in
  8860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8861   *) ac_try_echo=$ac_try;;
  8862 esac
  8863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8864 $as_echo "$ac_try_echo") >&5
  8865   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  8866   ac_status=$?
  8867   grep -v '^ *+' conftest.er1 >conftest.err
  8868   rm -f conftest.er1
  8869   cat conftest.err >&5
  8870   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8871   (exit $ac_status); } >/dev/null && {
  8872 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  8873 	 test ! -s conftest.err
  8874        }; then
  8875   ac_header_preproc=yes
  8876 else
  8877   $as_echo "$as_me: failed program was:" >&5
  8878 sed 's/^/| /' conftest.$ac_ext >&5
  8880   ac_header_preproc=no
  8881 fi
  8883 rm -f conftest.err conftest.$ac_ext
  8884 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  8885 $as_echo "$ac_header_preproc" >&6; }
  8887 # So?  What about this header?
  8888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  8889   yes:no: )
  8890     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&5
  8891 $as_echo "$as_me: WARNING: GL/osmesa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  8892     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&5
  8893 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the compiler's result" >&2;}
  8894     ac_header_preproc=yes
  8895     ;;
  8896   no:yes:* )
  8897     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: present but cannot be compiled" >&5
  8898 $as_echo "$as_me: WARNING: GL/osmesa.h: present but cannot be compiled" >&2;}
  8899     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&5
  8900 $as_echo "$as_me: WARNING: GL/osmesa.h:     check for missing prerequisite headers?" >&2;}
  8901     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: see the Autoconf documentation" >&5
  8902 $as_echo "$as_me: WARNING: GL/osmesa.h: see the Autoconf documentation" >&2;}
  8903     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&5
  8904 $as_echo "$as_me: WARNING: GL/osmesa.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  8905     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&5
  8906 $as_echo "$as_me: WARNING: GL/osmesa.h: proceeding with the preprocessor's result" >&2;}
  8907     { $as_echo "$as_me:$LINENO: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&5
  8908 $as_echo "$as_me: WARNING: GL/osmesa.h: in the future, the compiler will take precedence" >&2;}
  8910     ;;
  8911 esac
  8912 { $as_echo "$as_me:$LINENO: checking for GL/osmesa.h" >&5
  8913 $as_echo_n "checking for GL/osmesa.h... " >&6; }
  8914 if test "${ac_cv_header_GL_osmesa_h+set}" = set; then
  8915   $as_echo_n "(cached) " >&6
  8916 else
  8917   ac_cv_header_GL_osmesa_h=$ac_header_preproc
  8918 fi
  8919 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_osmesa_h" >&5
  8920 $as_echo "$ac_cv_header_GL_osmesa_h" >&6; }
  8922 fi
  8923 if test $ac_cv_header_GL_osmesa_h = yes; then
  8925 else
  8926   { { $as_echo "$as_me:$LINENO: error: --with-osmesa was given, but osmesa.h could not be found
  8927 See \`config.log' for more details." >&5
  8928 $as_echo "$as_me: error: --with-osmesa was given, but osmesa.h could not be found
  8929 See \`config.log' for more details." >&2;}
  8930    { (exit 1); exit 1; }; }
  8931 fi
  8934   HAVE_OSMESA='yes'
  8935   VIDEO_DRIVERS="$VIDEO_DRIVERS osmesa"
  8937 cat >>confdefs.h <<\_ACEOF
  8938 #define HAVE_OSMESA 1
  8939 _ACEOF
  8941 else
  8944    if test "x$APPLE_BUILD" != 'xyes'; then
  8946 { $as_echo "$as_me:$LINENO: checking for glVertex3f in -lGL" >&5
  8947 $as_echo_n "checking for glVertex3f in -lGL... " >&6; }
  8948 if test "${ac_cv_lib_GL_glVertex3f+set}" = set; then
  8949   $as_echo_n "(cached) " >&6
  8950 else
  8951   ac_check_lib_save_LIBS=$LIBS
  8952 LIBS="-lGL  $LIBS"
  8953 cat >conftest.$ac_ext <<_ACEOF
  8954 /* confdefs.h.  */
  8955 _ACEOF
  8956 cat confdefs.h >>conftest.$ac_ext
  8957 cat >>conftest.$ac_ext <<_ACEOF
  8958 /* end confdefs.h.  */
  8960 /* Override any GCC internal prototype to avoid an error.
  8961    Use char because int might match the return type of a GCC
  8962    builtin and then its argument prototype would still apply.  */
  8963 #ifdef __cplusplus
  8964 extern "C"
  8965 #endif
  8966 char glVertex3f ();
  8967 int
  8968 main ()
  8970 return glVertex3f ();
  8972   return 0;
  8974 _ACEOF
  8975 rm -f conftest.$ac_objext conftest$ac_exeext
  8976 if { (ac_try="$ac_link"
  8977 case "(($ac_try" in
  8978   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8979   *) ac_try_echo=$ac_try;;
  8980 esac
  8981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8982 $as_echo "$ac_try_echo") >&5
  8983   (eval "$ac_link") 2>conftest.er1
  8984   ac_status=$?
  8985   grep -v '^ *+' conftest.er1 >conftest.err
  8986   rm -f conftest.er1
  8987   cat conftest.err >&5
  8988   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8989   (exit $ac_status); } && {
  8990 	 test -z "$ac_c_werror_flag" ||
  8991 	 test ! -s conftest.err
  8992        } && test -s conftest$ac_exeext && {
  8993 	 test "$cross_compiling" = yes ||
  8994 	 $as_test_x conftest$ac_exeext
  8995        }; then
  8996   ac_cv_lib_GL_glVertex3f=yes
  8997 else
  8998   $as_echo "$as_me: failed program was:" >&5
  8999 sed 's/^/| /' conftest.$ac_ext >&5
  9001 	ac_cv_lib_GL_glVertex3f=no
  9002 fi
  9004 rm -rf conftest.dSYM
  9005 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9006       conftest$ac_exeext conftest.$ac_ext
  9007 LIBS=$ac_check_lib_save_LIBS
  9008 fi
  9009 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glVertex3f" >&5
  9010 $as_echo "$ac_cv_lib_GL_glVertex3f" >&6; }
  9011 if test $ac_cv_lib_GL_glVertex3f = yes; then
  9012   cat >>confdefs.h <<_ACEOF
  9013 #define HAVE_LIBGL 1
  9014 _ACEOF
  9016   LIBS="-lGL $LIBS"
  9018 else
  9020           { { $as_echo "$as_me:$LINENO: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
  9021 See \`config.log' for more details." >&5
  9022 $as_echo "$as_me: error: \"The OpenGL library (libGL.so) could not be found, but is required.\"
  9023 See \`config.log' for more details." >&2;}
  9024    { (exit 1); exit 1; }; }
  9025 fi
  9027       if test "${ac_cv_header_GL_gl_h+set}" = set; then
  9028   { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  9029 $as_echo_n "checking for GL/gl.h... " >&6; }
  9030 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  9031   $as_echo_n "(cached) " >&6
  9032 fi
  9033 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  9034 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
  9035 else
  9036   # Is the header compilable?
  9037 { $as_echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
  9038 $as_echo_n "checking GL/gl.h usability... " >&6; }
  9039 cat >conftest.$ac_ext <<_ACEOF
  9040 /* confdefs.h.  */
  9041 _ACEOF
  9042 cat confdefs.h >>conftest.$ac_ext
  9043 cat >>conftest.$ac_ext <<_ACEOF
  9044 /* end confdefs.h.  */
  9045 $ac_includes_default
  9046 #include <GL/gl.h>
  9047 _ACEOF
  9048 rm -f conftest.$ac_objext
  9049 if { (ac_try="$ac_compile"
  9050 case "(($ac_try" in
  9051   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9052   *) ac_try_echo=$ac_try;;
  9053 esac
  9054 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9055 $as_echo "$ac_try_echo") >&5
  9056   (eval "$ac_compile") 2>conftest.er1
  9057   ac_status=$?
  9058   grep -v '^ *+' conftest.er1 >conftest.err
  9059   rm -f conftest.er1
  9060   cat conftest.err >&5
  9061   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9062   (exit $ac_status); } && {
  9063 	 test -z "$ac_c_werror_flag" ||
  9064 	 test ! -s conftest.err
  9065        } && test -s conftest.$ac_objext; then
  9066   ac_header_compiler=yes
  9067 else
  9068   $as_echo "$as_me: failed program was:" >&5
  9069 sed 's/^/| /' conftest.$ac_ext >&5
  9071 	ac_header_compiler=no
  9072 fi
  9074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9075 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9076 $as_echo "$ac_header_compiler" >&6; }
  9078 # Is the header present?
  9079 { $as_echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
  9080 $as_echo_n "checking GL/gl.h presence... " >&6; }
  9081 cat >conftest.$ac_ext <<_ACEOF
  9082 /* confdefs.h.  */
  9083 _ACEOF
  9084 cat confdefs.h >>conftest.$ac_ext
  9085 cat >>conftest.$ac_ext <<_ACEOF
  9086 /* end confdefs.h.  */
  9087 #include <GL/gl.h>
  9088 _ACEOF
  9089 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9090 case "(($ac_try" in
  9091   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9092   *) ac_try_echo=$ac_try;;
  9093 esac
  9094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9095 $as_echo "$ac_try_echo") >&5
  9096   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9097   ac_status=$?
  9098   grep -v '^ *+' conftest.er1 >conftest.err
  9099   rm -f conftest.er1
  9100   cat conftest.err >&5
  9101   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9102   (exit $ac_status); } >/dev/null && {
  9103 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9104 	 test ! -s conftest.err
  9105        }; then
  9106   ac_header_preproc=yes
  9107 else
  9108   $as_echo "$as_me: failed program was:" >&5
  9109 sed 's/^/| /' conftest.$ac_ext >&5
  9111   ac_header_preproc=no
  9112 fi
  9114 rm -f conftest.err conftest.$ac_ext
  9115 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9116 $as_echo "$ac_header_preproc" >&6; }
  9118 # So?  What about this header?
  9119 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9120   yes:no: )
  9121     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9122 $as_echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9123     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
  9124 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
  9125     ac_header_preproc=yes
  9126     ;;
  9127   no:yes:* )
  9128     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
  9129 $as_echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
  9130     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&5
  9131 $as_echo "$as_me: WARNING: GL/gl.h:     check for missing prerequisite headers?" >&2;}
  9132     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
  9133 $as_echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
  9134     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&5
  9135 $as_echo "$as_me: WARNING: GL/gl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9136     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
  9137 $as_echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
  9138     { $as_echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
  9139 $as_echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
  9141     ;;
  9142 esac
  9143 { $as_echo "$as_me:$LINENO: checking for GL/gl.h" >&5
  9144 $as_echo_n "checking for GL/gl.h... " >&6; }
  9145 if test "${ac_cv_header_GL_gl_h+set}" = set; then
  9146   $as_echo_n "(cached) " >&6
  9147 else
  9148   ac_cv_header_GL_gl_h=$ac_header_preproc
  9149 fi
  9150 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
  9151 $as_echo "$ac_cv_header_GL_gl_h" >&6; }
  9153 fi
  9154 if test $ac_cv_header_GL_gl_h = yes; then
  9156 else
  9158           { { $as_echo "$as_me:$LINENO: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
  9159 See \`config.log' for more details." >&5
  9160 $as_echo "$as_me: error: \"The OpenGL header files (eg GL/gl.h) could not be found, but are required.\"
  9161 See \`config.log' for more details." >&2;}
  9162    { (exit 1); exit 1; }; }
  9163 fi
  9166    else
  9167       { $as_echo "$as_me:$LINENO: checking for NSOpenGLGetVersion" >&5
  9168 $as_echo_n "checking for NSOpenGLGetVersion... " >&6; }
  9169 if test "${ac_cv_func_NSOpenGLGetVersion+set}" = set; then
  9170   $as_echo_n "(cached) " >&6
  9171 else
  9172   cat >conftest.$ac_ext <<_ACEOF
  9173 /* confdefs.h.  */
  9174 _ACEOF
  9175 cat confdefs.h >>conftest.$ac_ext
  9176 cat >>conftest.$ac_ext <<_ACEOF
  9177 /* end confdefs.h.  */
  9178 /* Define NSOpenGLGetVersion to an innocuous variant, in case <limits.h> declares NSOpenGLGetVersion.
  9179    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9180 #define NSOpenGLGetVersion innocuous_NSOpenGLGetVersion
  9182 /* System header to define __stub macros and hopefully few prototypes,
  9183     which can conflict with char NSOpenGLGetVersion (); below.
  9184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9185     <limits.h> exists even on freestanding compilers.  */
  9187 #ifdef __STDC__
  9188 # include <limits.h>
  9189 #else
  9190 # include <assert.h>
  9191 #endif
  9193 #undef NSOpenGLGetVersion
  9195 /* Override any GCC internal prototype to avoid an error.
  9196    Use char because int might match the return type of a GCC
  9197    builtin and then its argument prototype would still apply.  */
  9198 #ifdef __cplusplus
  9199 extern "C"
  9200 #endif
  9201 char NSOpenGLGetVersion ();
  9202 /* The GNU C library defines this for functions which it implements
  9203     to always fail with ENOSYS.  Some functions are actually named
  9204     something starting with __ and the normal name is an alias.  */
  9205 #if defined __stub_NSOpenGLGetVersion || defined __stub___NSOpenGLGetVersion
  9206 choke me
  9207 #endif
  9209 int
  9210 main ()
  9212 return NSOpenGLGetVersion ();
  9214   return 0;
  9216 _ACEOF
  9217 rm -f conftest.$ac_objext conftest$ac_exeext
  9218 if { (ac_try="$ac_link"
  9219 case "(($ac_try" in
  9220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9221   *) ac_try_echo=$ac_try;;
  9222 esac
  9223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9224 $as_echo "$ac_try_echo") >&5
  9225   (eval "$ac_link") 2>conftest.er1
  9226   ac_status=$?
  9227   grep -v '^ *+' conftest.er1 >conftest.err
  9228   rm -f conftest.er1
  9229   cat conftest.err >&5
  9230   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9231   (exit $ac_status); } && {
  9232 	 test -z "$ac_c_werror_flag" ||
  9233 	 test ! -s conftest.err
  9234        } && test -s conftest$ac_exeext && {
  9235 	 test "$cross_compiling" = yes ||
  9236 	 $as_test_x conftest$ac_exeext
  9237        }; then
  9238   ac_cv_func_NSOpenGLGetVersion=yes
  9239 else
  9240   $as_echo "$as_me: failed program was:" >&5
  9241 sed 's/^/| /' conftest.$ac_ext >&5
  9243 	ac_cv_func_NSOpenGLGetVersion=no
  9244 fi
  9246 rm -rf conftest.dSYM
  9247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9248       conftest$ac_exeext conftest.$ac_ext
  9249 fi
  9250 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_NSOpenGLGetVersion" >&5
  9251 $as_echo "$ac_cv_func_NSOpenGLGetVersion" >&6; }
  9252 if test $ac_cv_func_NSOpenGLGetVersion = yes; then
  9254          HAVE_NSGL='yes'
  9255          VIDEO_DRIVERS="$VIDEO_DRIVERS nsgl"
  9257 cat >>confdefs.h <<\_ACEOF
  9258 #define HAVE_NSGL 1
  9259 _ACEOF
  9261 fi
  9263    fi
  9265    if test "x$HAVE_GTK_X11" = "xyes"; then
  9266       if test "x$APPLE_BUILD" = "xyes"; then
  9267          LIBS="$LIBS -L/usr/X11/lib -lGL"
  9268       fi
  9269       { $as_echo "$as_me:$LINENO: checking for glXQueryVersion" >&5
  9270 $as_echo_n "checking for glXQueryVersion... " >&6; }
  9271 if test "${ac_cv_func_glXQueryVersion+set}" = set; then
  9272   $as_echo_n "(cached) " >&6
  9273 else
  9274   cat >conftest.$ac_ext <<_ACEOF
  9275 /* confdefs.h.  */
  9276 _ACEOF
  9277 cat confdefs.h >>conftest.$ac_ext
  9278 cat >>conftest.$ac_ext <<_ACEOF
  9279 /* end confdefs.h.  */
  9280 /* Define glXQueryVersion to an innocuous variant, in case <limits.h> declares glXQueryVersion.
  9281    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9282 #define glXQueryVersion innocuous_glXQueryVersion
  9284 /* System header to define __stub macros and hopefully few prototypes,
  9285     which can conflict with char glXQueryVersion (); below.
  9286     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9287     <limits.h> exists even on freestanding compilers.  */
  9289 #ifdef __STDC__
  9290 # include <limits.h>
  9291 #else
  9292 # include <assert.h>
  9293 #endif
  9295 #undef glXQueryVersion
  9297 /* Override any GCC internal prototype to avoid an error.
  9298    Use char because int might match the return type of a GCC
  9299    builtin and then its argument prototype would still apply.  */
  9300 #ifdef __cplusplus
  9301 extern "C"
  9302 #endif
  9303 char glXQueryVersion ();
  9304 /* The GNU C library defines this for functions which it implements
  9305     to always fail with ENOSYS.  Some functions are actually named
  9306     something starting with __ and the normal name is an alias.  */
  9307 #if defined __stub_glXQueryVersion || defined __stub___glXQueryVersion
  9308 choke me
  9309 #endif
  9311 int
  9312 main ()
  9314 return glXQueryVersion ();
  9316   return 0;
  9318 _ACEOF
  9319 rm -f conftest.$ac_objext conftest$ac_exeext
  9320 if { (ac_try="$ac_link"
  9321 case "(($ac_try" in
  9322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9323   *) ac_try_echo=$ac_try;;
  9324 esac
  9325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9326 $as_echo "$ac_try_echo") >&5
  9327   (eval "$ac_link") 2>conftest.er1
  9328   ac_status=$?
  9329   grep -v '^ *+' conftest.er1 >conftest.err
  9330   rm -f conftest.er1
  9331   cat conftest.err >&5
  9332   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9333   (exit $ac_status); } && {
  9334 	 test -z "$ac_c_werror_flag" ||
  9335 	 test ! -s conftest.err
  9336        } && test -s conftest$ac_exeext && {
  9337 	 test "$cross_compiling" = yes ||
  9338 	 $as_test_x conftest$ac_exeext
  9339        }; then
  9340   ac_cv_func_glXQueryVersion=yes
  9341 else
  9342   $as_echo "$as_me: failed program was:" >&5
  9343 sed 's/^/| /' conftest.$ac_ext >&5
  9345 	ac_cv_func_glXQueryVersion=no
  9346 fi
  9348 rm -rf conftest.dSYM
  9349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9350       conftest$ac_exeext conftest.$ac_ext
  9351 fi
  9352 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glXQueryVersion" >&5
  9353 $as_echo "$ac_cv_func_glXQueryVersion" >&6; }
  9354 if test $ac_cv_func_glXQueryVersion = yes; then
  9356          HAVE_GLX='yes'
  9357          VIDEO_DRIVERS="$VIDEO_DRIVERS glx"
  9359 cat >>confdefs.h <<\_ACEOF
  9360 #define HAVE_GLX 1
  9361 _ACEOF
  9363 fi
  9365    fi
  9368 fi
  9375 if test "x$HAVE_OSMESA" = "xyes"; then
  9376   VIDEO_OSMESA_TRUE=
  9377   VIDEO_OSMESA_FALSE='#'
  9378 else
  9379   VIDEO_OSMESA_TRUE='#'
  9380   VIDEO_OSMESA_FALSE=
  9381 fi
  9385 if test "x$HAVE_GLX" = "xyes"; then
  9386   VIDEO_GLX_TRUE=
  9387   VIDEO_GLX_FALSE='#'
  9388 else
  9389   VIDEO_GLX_TRUE='#'
  9390   VIDEO_GLX_FALSE=
  9391 fi
  9395 if test "x$HAVE_NSGL" = "xyes"; then
  9396   VIDEO_NSGL_TRUE=
  9397   VIDEO_NSGL_FALSE='#'
  9398 else
  9399   VIDEO_NSGL_TRUE='#'
  9400   VIDEO_NSGL_FALSE=
  9401 fi
  9404 { $as_echo "$as_me:$LINENO: checking for glGenFramebuffersEXT" >&5
  9405 $as_echo_n "checking for glGenFramebuffersEXT... " >&6; }
  9406 if test "${ac_cv_func_glGenFramebuffersEXT+set}" = set; then
  9407   $as_echo_n "(cached) " >&6
  9408 else
  9409   cat >conftest.$ac_ext <<_ACEOF
  9410 /* confdefs.h.  */
  9411 _ACEOF
  9412 cat confdefs.h >>conftest.$ac_ext
  9413 cat >>conftest.$ac_ext <<_ACEOF
  9414 /* end confdefs.h.  */
  9415 /* Define glGenFramebuffersEXT to an innocuous variant, in case <limits.h> declares glGenFramebuffersEXT.
  9416    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9417 #define glGenFramebuffersEXT innocuous_glGenFramebuffersEXT
  9419 /* System header to define __stub macros and hopefully few prototypes,
  9420     which can conflict with char glGenFramebuffersEXT (); below.
  9421     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9422     <limits.h> exists even on freestanding compilers.  */
  9424 #ifdef __STDC__
  9425 # include <limits.h>
  9426 #else
  9427 # include <assert.h>
  9428 #endif
  9430 #undef glGenFramebuffersEXT
  9432 /* Override any GCC internal prototype to avoid an error.
  9433    Use char because int might match the return type of a GCC
  9434    builtin and then its argument prototype would still apply.  */
  9435 #ifdef __cplusplus
  9436 extern "C"
  9437 #endif
  9438 char glGenFramebuffersEXT ();
  9439 /* The GNU C library defines this for functions which it implements
  9440     to always fail with ENOSYS.  Some functions are actually named
  9441     something starting with __ and the normal name is an alias.  */
  9442 #if defined __stub_glGenFramebuffersEXT || defined __stub___glGenFramebuffersEXT
  9443 choke me
  9444 #endif
  9446 int
  9447 main ()
  9449 return glGenFramebuffersEXT ();
  9451   return 0;
  9453 _ACEOF
  9454 rm -f conftest.$ac_objext conftest$ac_exeext
  9455 if { (ac_try="$ac_link"
  9456 case "(($ac_try" in
  9457   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9458   *) ac_try_echo=$ac_try;;
  9459 esac
  9460 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9461 $as_echo "$ac_try_echo") >&5
  9462   (eval "$ac_link") 2>conftest.er1
  9463   ac_status=$?
  9464   grep -v '^ *+' conftest.er1 >conftest.err
  9465   rm -f conftest.er1
  9466   cat conftest.err >&5
  9467   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9468   (exit $ac_status); } && {
  9469 	 test -z "$ac_c_werror_flag" ||
  9470 	 test ! -s conftest.err
  9471        } && test -s conftest$ac_exeext && {
  9472 	 test "$cross_compiling" = yes ||
  9473 	 $as_test_x conftest$ac_exeext
  9474        }; then
  9475   ac_cv_func_glGenFramebuffersEXT=yes
  9476 else
  9477   $as_echo "$as_me: failed program was:" >&5
  9478 sed 's/^/| /' conftest.$ac_ext >&5
  9480 	ac_cv_func_glGenFramebuffersEXT=no
  9481 fi
  9483 rm -rf conftest.dSYM
  9484 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9485       conftest$ac_exeext conftest.$ac_ext
  9486 fi
  9487 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glGenFramebuffersEXT" >&5
  9488 $as_echo "$ac_cv_func_glGenFramebuffersEXT" >&6; }
  9489 if test $ac_cv_func_glGenFramebuffersEXT = yes; then
  9491 cat >>confdefs.h <<\_ACEOF
  9492 #define HAVE_OPENGL_FBO 1
  9493 _ACEOF
  9495 fi
  9497 { $as_echo "$as_me:$LINENO: checking for glCreateShader" >&5
  9498 $as_echo_n "checking for glCreateShader... " >&6; }
  9499 if test "${ac_cv_func_glCreateShader+set}" = set; then
  9500   $as_echo_n "(cached) " >&6
  9501 else
  9502   cat >conftest.$ac_ext <<_ACEOF
  9503 /* confdefs.h.  */
  9504 _ACEOF
  9505 cat confdefs.h >>conftest.$ac_ext
  9506 cat >>conftest.$ac_ext <<_ACEOF
  9507 /* end confdefs.h.  */
  9508 /* Define glCreateShader to an innocuous variant, in case <limits.h> declares glCreateShader.
  9509    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9510 #define glCreateShader innocuous_glCreateShader
  9512 /* System header to define __stub macros and hopefully few prototypes,
  9513     which can conflict with char glCreateShader (); below.
  9514     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9515     <limits.h> exists even on freestanding compilers.  */
  9517 #ifdef __STDC__
  9518 # include <limits.h>
  9519 #else
  9520 # include <assert.h>
  9521 #endif
  9523 #undef glCreateShader
  9525 /* Override any GCC internal prototype to avoid an error.
  9526    Use char because int might match the return type of a GCC
  9527    builtin and then its argument prototype would still apply.  */
  9528 #ifdef __cplusplus
  9529 extern "C"
  9530 #endif
  9531 char glCreateShader ();
  9532 /* The GNU C library defines this for functions which it implements
  9533     to always fail with ENOSYS.  Some functions are actually named
  9534     something starting with __ and the normal name is an alias.  */
  9535 #if defined __stub_glCreateShader || defined __stub___glCreateShader
  9536 choke me
  9537 #endif
  9539 int
  9540 main ()
  9542 return glCreateShader ();
  9544   return 0;
  9546 _ACEOF
  9547 rm -f conftest.$ac_objext conftest$ac_exeext
  9548 if { (ac_try="$ac_link"
  9549 case "(($ac_try" in
  9550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9551   *) ac_try_echo=$ac_try;;
  9552 esac
  9553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9554 $as_echo "$ac_try_echo") >&5
  9555   (eval "$ac_link") 2>conftest.er1
  9556   ac_status=$?
  9557   grep -v '^ *+' conftest.er1 >conftest.err
  9558   rm -f conftest.er1
  9559   cat conftest.err >&5
  9560   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9561   (exit $ac_status); } && {
  9562 	 test -z "$ac_c_werror_flag" ||
  9563 	 test ! -s conftest.err
  9564        } && test -s conftest$ac_exeext && {
  9565 	 test "$cross_compiling" = yes ||
  9566 	 $as_test_x conftest$ac_exeext
  9567        }; then
  9568   ac_cv_func_glCreateShader=yes
  9569 else
  9570   $as_echo "$as_me: failed program was:" >&5
  9571 sed 's/^/| /' conftest.$ac_ext >&5
  9573 	ac_cv_func_glCreateShader=no
  9574 fi
  9576 rm -rf conftest.dSYM
  9577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9578       conftest$ac_exeext conftest.$ac_ext
  9579 fi
  9580 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShader" >&5
  9581 $as_echo "$ac_cv_func_glCreateShader" >&6; }
  9582 if test $ac_cv_func_glCreateShader = yes; then
  9584 cat >>confdefs.h <<\_ACEOF
  9585 #define HAVE_OPENGL_SHADER 1
  9586 _ACEOF
  9588 fi
  9590 { $as_echo "$as_me:$LINENO: checking for glCreateShaderObjectARB" >&5
  9591 $as_echo_n "checking for glCreateShaderObjectARB... " >&6; }
  9592 if test "${ac_cv_func_glCreateShaderObjectARB+set}" = set; then
  9593   $as_echo_n "(cached) " >&6
  9594 else
  9595   cat >conftest.$ac_ext <<_ACEOF
  9596 /* confdefs.h.  */
  9597 _ACEOF
  9598 cat confdefs.h >>conftest.$ac_ext
  9599 cat >>conftest.$ac_ext <<_ACEOF
  9600 /* end confdefs.h.  */
  9601 /* Define glCreateShaderObjectARB to an innocuous variant, in case <limits.h> declares glCreateShaderObjectARB.
  9602    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9603 #define glCreateShaderObjectARB innocuous_glCreateShaderObjectARB
  9605 /* System header to define __stub macros and hopefully few prototypes,
  9606     which can conflict with char glCreateShaderObjectARB (); below.
  9607     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9608     <limits.h> exists even on freestanding compilers.  */
  9610 #ifdef __STDC__
  9611 # include <limits.h>
  9612 #else
  9613 # include <assert.h>
  9614 #endif
  9616 #undef glCreateShaderObjectARB
  9618 /* Override any GCC internal prototype to avoid an error.
  9619    Use char because int might match the return type of a GCC
  9620    builtin and then its argument prototype would still apply.  */
  9621 #ifdef __cplusplus
  9622 extern "C"
  9623 #endif
  9624 char glCreateShaderObjectARB ();
  9625 /* The GNU C library defines this for functions which it implements
  9626     to always fail with ENOSYS.  Some functions are actually named
  9627     something starting with __ and the normal name is an alias.  */
  9628 #if defined __stub_glCreateShaderObjectARB || defined __stub___glCreateShaderObjectARB
  9629 choke me
  9630 #endif
  9632 int
  9633 main ()
  9635 return glCreateShaderObjectARB ();
  9637   return 0;
  9639 _ACEOF
  9640 rm -f conftest.$ac_objext conftest$ac_exeext
  9641 if { (ac_try="$ac_link"
  9642 case "(($ac_try" in
  9643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9644   *) ac_try_echo=$ac_try;;
  9645 esac
  9646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9647 $as_echo "$ac_try_echo") >&5
  9648   (eval "$ac_link") 2>conftest.er1
  9649   ac_status=$?
  9650   grep -v '^ *+' conftest.er1 >conftest.err
  9651   rm -f conftest.er1
  9652   cat conftest.err >&5
  9653   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9654   (exit $ac_status); } && {
  9655 	 test -z "$ac_c_werror_flag" ||
  9656 	 test ! -s conftest.err
  9657        } && test -s conftest$ac_exeext && {
  9658 	 test "$cross_compiling" = yes ||
  9659 	 $as_test_x conftest$ac_exeext
  9660        }; then
  9661   ac_cv_func_glCreateShaderObjectARB=yes
  9662 else
  9663   $as_echo "$as_me: failed program was:" >&5
  9664 sed 's/^/| /' conftest.$ac_ext >&5
  9666 	ac_cv_func_glCreateShaderObjectARB=no
  9667 fi
  9669 rm -rf conftest.dSYM
  9670 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9671       conftest$ac_exeext conftest.$ac_ext
  9672 fi
  9673 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glCreateShaderObjectARB" >&5
  9674 $as_echo "$ac_cv_func_glCreateShaderObjectARB" >&6; }
  9675 if test $ac_cv_func_glCreateShaderObjectARB = yes; then
  9677 cat >>confdefs.h <<\_ACEOF
  9678 #define HAVE_OPENGL_SHADER_ARB 1
  9679 _ACEOF
  9681 fi
  9683 { $as_echo "$as_me:$LINENO: checking for glClampColorARB" >&5
  9684 $as_echo_n "checking for glClampColorARB... " >&6; }
  9685 if test "${ac_cv_func_glClampColorARB+set}" = set; then
  9686   $as_echo_n "(cached) " >&6
  9687 else
  9688   cat >conftest.$ac_ext <<_ACEOF
  9689 /* confdefs.h.  */
  9690 _ACEOF
  9691 cat confdefs.h >>conftest.$ac_ext
  9692 cat >>conftest.$ac_ext <<_ACEOF
  9693 /* end confdefs.h.  */
  9694 /* Define glClampColorARB to an innocuous variant, in case <limits.h> declares glClampColorARB.
  9695    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
  9696 #define glClampColorARB innocuous_glClampColorARB
  9698 /* System header to define __stub macros and hopefully few prototypes,
  9699     which can conflict with char glClampColorARB (); below.
  9700     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9701     <limits.h> exists even on freestanding compilers.  */
  9703 #ifdef __STDC__
  9704 # include <limits.h>
  9705 #else
  9706 # include <assert.h>
  9707 #endif
  9709 #undef glClampColorARB
  9711 /* Override any GCC internal prototype to avoid an error.
  9712    Use char because int might match the return type of a GCC
  9713    builtin and then its argument prototype would still apply.  */
  9714 #ifdef __cplusplus
  9715 extern "C"
  9716 #endif
  9717 char glClampColorARB ();
  9718 /* The GNU C library defines this for functions which it implements
  9719     to always fail with ENOSYS.  Some functions are actually named
  9720     something starting with __ and the normal name is an alias.  */
  9721 #if defined __stub_glClampColorARB || defined __stub___glClampColorARB
  9722 choke me
  9723 #endif
  9725 int
  9726 main ()
  9728 return glClampColorARB ();
  9730   return 0;
  9732 _ACEOF
  9733 rm -f conftest.$ac_objext conftest$ac_exeext
  9734 if { (ac_try="$ac_link"
  9735 case "(($ac_try" in
  9736   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9737   *) ac_try_echo=$ac_try;;
  9738 esac
  9739 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9740 $as_echo "$ac_try_echo") >&5
  9741   (eval "$ac_link") 2>conftest.er1
  9742   ac_status=$?
  9743   grep -v '^ *+' conftest.er1 >conftest.err
  9744   rm -f conftest.er1
  9745   cat conftest.err >&5
  9746   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9747   (exit $ac_status); } && {
  9748 	 test -z "$ac_c_werror_flag" ||
  9749 	 test ! -s conftest.err
  9750        } && test -s conftest$ac_exeext && {
  9751 	 test "$cross_compiling" = yes ||
  9752 	 $as_test_x conftest$ac_exeext
  9753        }; then
  9754   ac_cv_func_glClampColorARB=yes
  9755 else
  9756   $as_echo "$as_me: failed program was:" >&5
  9757 sed 's/^/| /' conftest.$ac_ext >&5
  9759 	ac_cv_func_glClampColorARB=no
  9760 fi
  9762 rm -rf conftest.dSYM
  9763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9764       conftest$ac_exeext conftest.$ac_ext
  9765 fi
  9766 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_glClampColorARB" >&5
  9767 $as_echo "$ac_cv_func_glClampColorARB" >&6; }
  9768 if test $ac_cv_func_glClampColorARB = yes; then
  9770 cat >>confdefs.h <<\_ACEOF
  9771 #define HAVE_OPENGL_CLAMP_COLOR 1
  9772 _ACEOF
  9774 fi
  9779 if test "x$enable_translator" != "xno"; then
  9780     case $host_cpu in
  9781         i386|i486|i586|i686|x86_64)
  9782 	    SH4_TRANSLATOR="x86"
  9784 cat >>confdefs.h <<_ACEOF
  9785 #define SH4_TRANSLATOR TARGET_X86
  9786 _ACEOF
  9787 ;;
  9788     esac
  9789 fi
  9792 if test "$SH4_TRANSLATOR" = "x86"; then
  9793   BUILD_SH4X86_TRUE=
  9794   BUILD_SH4X86_FALSE='#'
  9795 else
  9796   BUILD_SH4X86_TRUE='#'
  9797   BUILD_SH4X86_FALSE=
  9798 fi
  9801 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  9802   { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
  9803 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
  9804 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  9805   $as_echo_n "(cached) " >&6
  9806 fi
  9807 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
  9808 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
  9809 else
  9810   # Is the header compilable?
  9811 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h usability" >&5
  9812 $as_echo_n "checking CoreAudio/CoreAudio.h usability... " >&6; }
  9813 cat >conftest.$ac_ext <<_ACEOF
  9814 /* confdefs.h.  */
  9815 _ACEOF
  9816 cat confdefs.h >>conftest.$ac_ext
  9817 cat >>conftest.$ac_ext <<_ACEOF
  9818 /* end confdefs.h.  */
  9819 $ac_includes_default
  9820 #include <CoreAudio/CoreAudio.h>
  9821 _ACEOF
  9822 rm -f conftest.$ac_objext
  9823 if { (ac_try="$ac_compile"
  9824 case "(($ac_try" in
  9825   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9826   *) ac_try_echo=$ac_try;;
  9827 esac
  9828 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9829 $as_echo "$ac_try_echo") >&5
  9830   (eval "$ac_compile") 2>conftest.er1
  9831   ac_status=$?
  9832   grep -v '^ *+' conftest.er1 >conftest.err
  9833   rm -f conftest.er1
  9834   cat conftest.err >&5
  9835   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9836   (exit $ac_status); } && {
  9837 	 test -z "$ac_c_werror_flag" ||
  9838 	 test ! -s conftest.err
  9839        } && test -s conftest.$ac_objext; then
  9840   ac_header_compiler=yes
  9841 else
  9842   $as_echo "$as_me: failed program was:" >&5
  9843 sed 's/^/| /' conftest.$ac_ext >&5
  9845 	ac_header_compiler=no
  9846 fi
  9848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9849 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  9850 $as_echo "$ac_header_compiler" >&6; }
  9852 # Is the header present?
  9853 { $as_echo "$as_me:$LINENO: checking CoreAudio/CoreAudio.h presence" >&5
  9854 $as_echo_n "checking CoreAudio/CoreAudio.h presence... " >&6; }
  9855 cat >conftest.$ac_ext <<_ACEOF
  9856 /* confdefs.h.  */
  9857 _ACEOF
  9858 cat confdefs.h >>conftest.$ac_ext
  9859 cat >>conftest.$ac_ext <<_ACEOF
  9860 /* end confdefs.h.  */
  9861 #include <CoreAudio/CoreAudio.h>
  9862 _ACEOF
  9863 if { (ac_try="$ac_cpp conftest.$ac_ext"
  9864 case "(($ac_try" in
  9865   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9866   *) ac_try_echo=$ac_try;;
  9867 esac
  9868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9869 $as_echo "$ac_try_echo") >&5
  9870   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  9871   ac_status=$?
  9872   grep -v '^ *+' conftest.er1 >conftest.err
  9873   rm -f conftest.er1
  9874   cat conftest.err >&5
  9875   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9876   (exit $ac_status); } >/dev/null && {
  9877 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  9878 	 test ! -s conftest.err
  9879        }; then
  9880   ac_header_preproc=yes
  9881 else
  9882   $as_echo "$as_me: failed program was:" >&5
  9883 sed 's/^/| /' conftest.$ac_ext >&5
  9885   ac_header_preproc=no
  9886 fi
  9888 rm -f conftest.err conftest.$ac_ext
  9889 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  9890 $as_echo "$ac_header_preproc" >&6; }
  9892 # So?  What about this header?
  9893 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  9894   yes:no: )
  9895     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&5
  9896 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  9897     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&5
  9898 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the compiler's result" >&2;}
  9899     ac_header_preproc=yes
  9900     ;;
  9901   no:yes:* )
  9902     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&5
  9903 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: present but cannot be compiled" >&2;}
  9904     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&5
  9905 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     check for missing prerequisite headers?" >&2;}
  9906     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&5
  9907 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: see the Autoconf documentation" >&2;}
  9908     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&5
  9909 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h:     section \"Present But Cannot Be Compiled\"" >&2;}
  9910     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&5
  9911 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: proceeding with the preprocessor's result" >&2;}
  9912     { $as_echo "$as_me:$LINENO: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&5
  9913 $as_echo "$as_me: WARNING: CoreAudio/CoreAudio.h: in the future, the compiler will take precedence" >&2;}
  9915     ;;
  9916 esac
  9917 { $as_echo "$as_me:$LINENO: checking for CoreAudio/CoreAudio.h" >&5
  9918 $as_echo_n "checking for CoreAudio/CoreAudio.h... " >&6; }
  9919 if test "${ac_cv_header_CoreAudio_CoreAudio_h+set}" = set; then
  9920   $as_echo_n "(cached) " >&6
  9921 else
  9922   ac_cv_header_CoreAudio_CoreAudio_h=$ac_header_preproc
  9923 fi
  9924 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_CoreAudio_CoreAudio_h" >&5
  9925 $as_echo "$ac_cv_header_CoreAudio_CoreAudio_h" >&6; }
  9927 fi
  9928 if test $ac_cv_header_CoreAudio_CoreAudio_h = yes; then
  9930      HAVE_CORE_AUDIO=yes
  9931      LIBS="$LIBS -framework CoreAudio"
  9932      AUDIO_DRIVERS="$AUDIO_DRIVERS osx"
  9934 cat >>confdefs.h <<\_ACEOF
  9935 #define HAVE_CORE_AUDIO 1
  9936 _ACEOF
  9938 else
  9939   true
  9940 fi
  9945 if test "$HAVE_CORE_AUDIO" = 'yes' ; then
  9946   AUDIO_OSX_TRUE=
  9947   AUDIO_OSX_FALSE='#'
  9948 else
  9949   AUDIO_OSX_TRUE='#'
  9950   AUDIO_OSX_FALSE=
  9951 fi
  9954 if test "x$with_pulse" != "xno"; then
  9956 pkg_failed=no
  9957 { $as_echo "$as_me:$LINENO: checking for PULSE" >&5
  9958 $as_echo_n "checking for PULSE... " >&6; }
  9960 if test -n "$PULSE_CFLAGS"; then
  9961     pkg_cv_PULSE_CFLAGS="$PULSE_CFLAGS"
  9962  elif test -n "$PKG_CONFIG"; then
  9963     if test -n "$PKG_CONFIG" && \
  9964     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
  9965   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
  9966   ac_status=$?
  9967   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9968   (exit $ac_status); }; then
  9969   pkg_cv_PULSE_CFLAGS=`$PKG_CONFIG --cflags "libpulse-simple" 2>/dev/null`
  9970 else
  9971   pkg_failed=yes
  9972 fi
  9973  else
  9974     pkg_failed=untried
  9975 fi
  9976 if test -n "$PULSE_LIBS"; then
  9977     pkg_cv_PULSE_LIBS="$PULSE_LIBS"
  9978  elif test -n "$PKG_CONFIG"; then
  9979     if test -n "$PKG_CONFIG" && \
  9980     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libpulse-simple\"") >&5
  9981   ($PKG_CONFIG --exists --print-errors "libpulse-simple") 2>&5
  9982   ac_status=$?
  9983   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9984   (exit $ac_status); }; then
  9985   pkg_cv_PULSE_LIBS=`$PKG_CONFIG --libs "libpulse-simple" 2>/dev/null`
  9986 else
  9987   pkg_failed=yes
  9988 fi
  9989  else
  9990     pkg_failed=untried
  9991 fi
  9995 if test $pkg_failed = yes; then
  9997 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  9998         _pkg_short_errors_supported=yes
  9999 else
 10000         _pkg_short_errors_supported=no
 10001 fi
 10002         if test $_pkg_short_errors_supported = yes; then
 10003 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libpulse-simple" 2>&1`
 10004         else
 10005 	        PULSE_PKG_ERRORS=`$PKG_CONFIG --print-errors "libpulse-simple" 2>&1`
 10006         fi
 10007 	# Put the nasty error message in config.log where it belongs
 10008 	echo "$PULSE_PKG_ERRORS" >&5
 10010 	{ $as_echo "$as_me:$LINENO: result: no" >&5
 10011 $as_echo "no" >&6; }
 10013        if test "x$with_pulse" = "xyes"; then
 10014           { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
 10015 See \`config.log' for more details." >&5
 10016 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
 10017 See \`config.log' for more details." >&2;}
 10018    { (exit 1); exit 1; }; }
 10019        fi
 10021 elif test $pkg_failed = untried; then
 10023        if test "x$with_pulse" = "xyes"; then
 10024           { { $as_echo "$as_me:$LINENO: error: PulseAudio audio package could not be found (but was required)
 10025 See \`config.log' for more details." >&5
 10026 $as_echo "$as_me: error: PulseAudio audio package could not be found (but was required)
 10027 See \`config.log' for more details." >&2;}
 10028    { (exit 1); exit 1; }; }
 10029        fi
 10031 else
 10032 	PULSE_CFLAGS=$pkg_cv_PULSE_CFLAGS
 10033 	PULSE_LIBS=$pkg_cv_PULSE_LIBS
 10034         { $as_echo "$as_me:$LINENO: result: yes" >&5
 10035 $as_echo "yes" >&6; }
 10037        HAVE_PULSE='yes'
 10038        AUDIO_DRIVERS="$AUDIO_DRIVERS pulse"
 10040 cat >>confdefs.h <<\_ACEOF
 10041 #define HAVE_PULSE 1
 10042 _ACEOF
 10045 fi
 10046 fi
 10049 if test "$HAVE_PULSE" = 'yes' ; then
 10050   AUDIO_PULSE_TRUE=
 10051   AUDIO_PULSE_FALSE='#'
 10052 else
 10053   AUDIO_PULSE_TRUE='#'
 10054   AUDIO_PULSE_FALSE=
 10055 fi
 10058 if test "x$with_esd" != "xno"; then
 10060 pkg_failed=no
 10061 { $as_echo "$as_me:$LINENO: checking for ESOUND" >&5
 10062 $as_echo_n "checking for ESOUND... " >&6; }
 10064 if test -n "$ESOUND_CFLAGS"; then
 10065     pkg_cv_ESOUND_CFLAGS="$ESOUND_CFLAGS"
 10066  elif test -n "$PKG_CONFIG"; then
 10067     if test -n "$PKG_CONFIG" && \
 10068     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
 10069   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
 10070   ac_status=$?
 10071   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10072   (exit $ac_status); }; then
 10073   pkg_cv_ESOUND_CFLAGS=`$PKG_CONFIG --cflags "esound" 2>/dev/null`
 10074 else
 10075   pkg_failed=yes
 10076 fi
 10077  else
 10078     pkg_failed=untried
 10079 fi
 10080 if test -n "$ESOUND_LIBS"; then
 10081     pkg_cv_ESOUND_LIBS="$ESOUND_LIBS"
 10082  elif test -n "$PKG_CONFIG"; then
 10083     if test -n "$PKG_CONFIG" && \
 10084     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"esound\"") >&5
 10085   ($PKG_CONFIG --exists --print-errors "esound") 2>&5
 10086   ac_status=$?
 10087   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10088   (exit $ac_status); }; then
 10089   pkg_cv_ESOUND_LIBS=`$PKG_CONFIG --libs "esound" 2>/dev/null`
 10090 else
 10091   pkg_failed=yes
 10092 fi
 10093  else
 10094     pkg_failed=untried
 10095 fi
 10099 if test $pkg_failed = yes; then
 10101 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10102         _pkg_short_errors_supported=yes
 10103 else
 10104         _pkg_short_errors_supported=no
 10105 fi
 10106         if test $_pkg_short_errors_supported = yes; then
 10107 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "esound" 2>&1`
 10108         else
 10109 	        ESOUND_PKG_ERRORS=`$PKG_CONFIG --print-errors "esound" 2>&1`
 10110         fi
 10111 	# Put the nasty error message in config.log where it belongs
 10112 	echo "$ESOUND_PKG_ERRORS" >&5
 10114 	{ $as_echo "$as_me:$LINENO: result: no" >&5
 10115 $as_echo "no" >&6; }
 10117        if test "x$with_esd" = "xyes"; then
 10118           { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
 10119 See \`config.log' for more details." >&5
 10120 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
 10121 See \`config.log' for more details." >&2;}
 10122    { (exit 1); exit 1; }; }
 10123        fi
 10125 elif test $pkg_failed = untried; then
 10127        if test "x$with_esd" = "xyes"; then
 10128           { { $as_echo "$as_me:$LINENO: error: ESounD audio package could not be found (but was required)
 10129 See \`config.log' for more details." >&5
 10130 $as_echo "$as_me: error: ESounD audio package could not be found (but was required)
 10131 See \`config.log' for more details." >&2;}
 10132    { (exit 1); exit 1; }; }
 10133        fi
 10135 else
 10136 	ESOUND_CFLAGS=$pkg_cv_ESOUND_CFLAGS
 10137 	ESOUND_LIBS=$pkg_cv_ESOUND_LIBS
 10138         { $as_echo "$as_me:$LINENO: result: yes" >&5
 10139 $as_echo "yes" >&6; }
 10141        HAVE_ESOUND='yes'
 10142        AUDIO_DRIVERS="$AUDIO_DRIVERS esd"
 10144 cat >>confdefs.h <<\_ACEOF
 10145 #define HAVE_ESOUND 1
 10146 _ACEOF
 10149 fi
 10150 fi
 10153 if test "$HAVE_ESOUND" = 'yes' ; then
 10154   AUDIO_ESOUND_TRUE=
 10155   AUDIO_ESOUND_FALSE='#'
 10156 else
 10157   AUDIO_ESOUND_TRUE='#'
 10158   AUDIO_ESOUND_FALSE=
 10159 fi
 10163 pkg_failed=no
 10164 { $as_echo "$as_me:$LINENO: checking for ALSA" >&5
 10165 $as_echo_n "checking for ALSA... " >&6; }
 10167 if test -n "$ALSA_CFLAGS"; then
 10168     pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS"
 10169  elif test -n "$PKG_CONFIG"; then
 10170     if test -n "$PKG_CONFIG" && \
 10171     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
 10172   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 10173   ac_status=$?
 10174   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10175   (exit $ac_status); }; then
 10176   pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa" 2>/dev/null`
 10177 else
 10178   pkg_failed=yes
 10179 fi
 10180  else
 10181     pkg_failed=untried
 10182 fi
 10183 if test -n "$ALSA_LIBS"; then
 10184     pkg_cv_ALSA_LIBS="$ALSA_LIBS"
 10185  elif test -n "$PKG_CONFIG"; then
 10186     if test -n "$PKG_CONFIG" && \
 10187     { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa\"") >&5
 10188   ($PKG_CONFIG --exists --print-errors "alsa") 2>&5
 10189   ac_status=$?
 10190   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10191   (exit $ac_status); }; then
 10192   pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa" 2>/dev/null`
 10193 else
 10194   pkg_failed=yes
 10195 fi
 10196  else
 10197     pkg_failed=untried
 10198 fi
 10202 if test $pkg_failed = yes; then
 10204 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 10205         _pkg_short_errors_supported=yes
 10206 else
 10207         _pkg_short_errors_supported=no
 10208 fi
 10209         if test $_pkg_short_errors_supported = yes; then
 10210 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "alsa" 2>&1`
 10211         else
 10212 	        ALSA_PKG_ERRORS=`$PKG_CONFIG --print-errors "alsa" 2>&1`
 10213         fi
 10214 	# Put the nasty error message in config.log where it belongs
 10215 	echo "$ALSA_PKG_ERRORS" >&5
 10217 	{ $as_echo "$as_me:$LINENO: result: no" >&5
 10218 $as_echo "no" >&6; }
 10219                 true
 10220 elif test $pkg_failed = untried; then
 10221 	true
 10222 else
 10223 	ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS
 10224 	ALSA_LIBS=$pkg_cv_ALSA_LIBS
 10225         { $as_echo "$as_me:$LINENO: result: yes" >&5
 10226 $as_echo "yes" >&6; }
 10228      HAVE_ALSA='yes'
 10229      AUDIO_DRIVERS="$AUDIO_DRIVERS alsa"
 10231 cat >>confdefs.h <<\_ACEOF
 10232 #define HAVE_ALSA 1
 10233 _ACEOF
 10235 fi
 10238 if test "$HAVE_ALSA" = 'yes' ; then
 10239   AUDIO_ALSA_TRUE=
 10240   AUDIO_ALSA_FALSE='#'
 10241 else
 10242   AUDIO_ALSA_TRUE='#'
 10243   AUDIO_ALSA_FALSE=
 10244 fi
 10248 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 10249   { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
 10250 $as_echo_n "checking for linux/cdrom.h... " >&6; }
 10251 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 10252   $as_echo_n "(cached) " >&6
 10253 fi
 10254 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
 10255 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
 10256 else
 10257   # Is the header compilable?
 10258 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5
 10259 $as_echo_n "checking linux/cdrom.h usability... " >&6; }
 10260 cat >conftest.$ac_ext <<_ACEOF
 10261 /* confdefs.h.  */
 10262 _ACEOF
 10263 cat confdefs.h >>conftest.$ac_ext
 10264 cat >>conftest.$ac_ext <<_ACEOF
 10265 /* end confdefs.h.  */
 10266 $ac_includes_default
 10267 #include <linux/cdrom.h>
 10268 _ACEOF
 10269 rm -f conftest.$ac_objext
 10270 if { (ac_try="$ac_compile"
 10271 case "(($ac_try" in
 10272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10273   *) ac_try_echo=$ac_try;;
 10274 esac
 10275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10276 $as_echo "$ac_try_echo") >&5
 10277   (eval "$ac_compile") 2>conftest.er1
 10278   ac_status=$?
 10279   grep -v '^ *+' conftest.er1 >conftest.err
 10280   rm -f conftest.er1
 10281   cat conftest.err >&5
 10282   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10283   (exit $ac_status); } && {
 10284 	 test -z "$ac_c_werror_flag" ||
 10285 	 test ! -s conftest.err
 10286        } && test -s conftest.$ac_objext; then
 10287   ac_header_compiler=yes
 10288 else
 10289   $as_echo "$as_me: failed program was:" >&5
 10290 sed 's/^/| /' conftest.$ac_ext >&5
 10292 	ac_header_compiler=no
 10293 fi
 10295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10296 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10297 $as_echo "$ac_header_compiler" >&6; }
 10299 # Is the header present?
 10300 { $as_echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5
 10301 $as_echo_n "checking linux/cdrom.h presence... " >&6; }
 10302 cat >conftest.$ac_ext <<_ACEOF
 10303 /* confdefs.h.  */
 10304 _ACEOF
 10305 cat confdefs.h >>conftest.$ac_ext
 10306 cat >>conftest.$ac_ext <<_ACEOF
 10307 /* end confdefs.h.  */
 10308 #include <linux/cdrom.h>
 10309 _ACEOF
 10310 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10311 case "(($ac_try" in
 10312   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10313   *) ac_try_echo=$ac_try;;
 10314 esac
 10315 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10316 $as_echo "$ac_try_echo") >&5
 10317   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10318   ac_status=$?
 10319   grep -v '^ *+' conftest.er1 >conftest.err
 10320   rm -f conftest.er1
 10321   cat conftest.err >&5
 10322   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10323   (exit $ac_status); } >/dev/null && {
 10324 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10325 	 test ! -s conftest.err
 10326        }; then
 10327   ac_header_preproc=yes
 10328 else
 10329   $as_echo "$as_me: failed program was:" >&5
 10330 sed 's/^/| /' conftest.$ac_ext >&5
 10332   ac_header_preproc=no
 10333 fi
 10335 rm -f conftest.err conftest.$ac_ext
 10336 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10337 $as_echo "$ac_header_preproc" >&6; }
 10339 # So?  What about this header?
 10340 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10341   yes:no: )
 10342     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10343 $as_echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10344     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5
 10345 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;}
 10346     ac_header_preproc=yes
 10347     ;;
 10348   no:yes:* )
 10349     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5
 10350 $as_echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;}
 10351     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&5
 10352 $as_echo "$as_me: WARNING: linux/cdrom.h:     check for missing prerequisite headers?" >&2;}
 10353     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5
 10354 $as_echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;}
 10355     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&5
 10356 $as_echo "$as_me: WARNING: linux/cdrom.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10357     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5
 10358 $as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;}
 10359     { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5
 10360 $as_echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;}
 10362     ;;
 10363 esac
 10364 { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5
 10365 $as_echo_n "checking for linux/cdrom.h... " >&6; }
 10366 if test "${ac_cv_header_linux_cdrom_h+set}" = set; then
 10367   $as_echo_n "(cached) " >&6
 10368 else
 10369   ac_cv_header_linux_cdrom_h=$ac_header_preproc
 10370 fi
 10371 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5
 10372 $as_echo "$ac_cv_header_linux_cdrom_h" >&6; }
 10374 fi
 10375 if test $ac_cv_header_linux_cdrom_h = yes; then
 10376   CDROM_DRIVER=linux
 10377 else
 10378   true
 10379 fi
 10382 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 10383   { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
 10384 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
 10385 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 10386   $as_echo_n "(cached) " >&6
 10387 fi
 10388 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
 10389 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
 10390 else
 10391   # Is the header compilable?
 10392 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h usability" >&5
 10393 $as_echo_n "checking IOKit/IOKitLib.h usability... " >&6; }
 10394 cat >conftest.$ac_ext <<_ACEOF
 10395 /* confdefs.h.  */
 10396 _ACEOF
 10397 cat confdefs.h >>conftest.$ac_ext
 10398 cat >>conftest.$ac_ext <<_ACEOF
 10399 /* end confdefs.h.  */
 10400 $ac_includes_default
 10401 #include <IOKit/IOKitLib.h>
 10402 _ACEOF
 10403 rm -f conftest.$ac_objext
 10404 if { (ac_try="$ac_compile"
 10405 case "(($ac_try" in
 10406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10407   *) ac_try_echo=$ac_try;;
 10408 esac
 10409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10410 $as_echo "$ac_try_echo") >&5
 10411   (eval "$ac_compile") 2>conftest.er1
 10412   ac_status=$?
 10413   grep -v '^ *+' conftest.er1 >conftest.err
 10414   rm -f conftest.er1
 10415   cat conftest.err >&5
 10416   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10417   (exit $ac_status); } && {
 10418 	 test -z "$ac_c_werror_flag" ||
 10419 	 test ! -s conftest.err
 10420        } && test -s conftest.$ac_objext; then
 10421   ac_header_compiler=yes
 10422 else
 10423   $as_echo "$as_me: failed program was:" >&5
 10424 sed 's/^/| /' conftest.$ac_ext >&5
 10426 	ac_header_compiler=no
 10427 fi
 10429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10430 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10431 $as_echo "$ac_header_compiler" >&6; }
 10433 # Is the header present?
 10434 { $as_echo "$as_me:$LINENO: checking IOKit/IOKitLib.h presence" >&5
 10435 $as_echo_n "checking IOKit/IOKitLib.h presence... " >&6; }
 10436 cat >conftest.$ac_ext <<_ACEOF
 10437 /* confdefs.h.  */
 10438 _ACEOF
 10439 cat confdefs.h >>conftest.$ac_ext
 10440 cat >>conftest.$ac_ext <<_ACEOF
 10441 /* end confdefs.h.  */
 10442 #include <IOKit/IOKitLib.h>
 10443 _ACEOF
 10444 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10445 case "(($ac_try" in
 10446   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10447   *) ac_try_echo=$ac_try;;
 10448 esac
 10449 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10450 $as_echo "$ac_try_echo") >&5
 10451   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10452   ac_status=$?
 10453   grep -v '^ *+' conftest.er1 >conftest.err
 10454   rm -f conftest.er1
 10455   cat conftest.err >&5
 10456   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10457   (exit $ac_status); } >/dev/null && {
 10458 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10459 	 test ! -s conftest.err
 10460        }; then
 10461   ac_header_preproc=yes
 10462 else
 10463   $as_echo "$as_me: failed program was:" >&5
 10464 sed 's/^/| /' conftest.$ac_ext >&5
 10466   ac_header_preproc=no
 10467 fi
 10469 rm -f conftest.err conftest.$ac_ext
 10470 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10471 $as_echo "$ac_header_preproc" >&6; }
 10473 # So?  What about this header?
 10474 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10475   yes:no: )
 10476     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10477 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10478     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&5
 10479 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the compiler's result" >&2;}
 10480     ac_header_preproc=yes
 10481     ;;
 10482   no:yes:* )
 10483     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&5
 10484 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: present but cannot be compiled" >&2;}
 10485     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&5
 10486 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h:     check for missing prerequisite headers?" >&2;}
 10487     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&5
 10488 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: see the Autoconf documentation" >&2;}
 10489     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&5
 10490 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10491     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&5
 10492 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: proceeding with the preprocessor's result" >&2;}
 10493     { $as_echo "$as_me:$LINENO: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&5
 10494 $as_echo "$as_me: WARNING: IOKit/IOKitLib.h: in the future, the compiler will take precedence" >&2;}
 10496     ;;
 10497 esac
 10498 { $as_echo "$as_me:$LINENO: checking for IOKit/IOKitLib.h" >&5
 10499 $as_echo_n "checking for IOKit/IOKitLib.h... " >&6; }
 10500 if test "${ac_cv_header_IOKit_IOKitLib_h+set}" = set; then
 10501   $as_echo_n "(cached) " >&6
 10502 else
 10503   ac_cv_header_IOKit_IOKitLib_h=$ac_header_preproc
 10504 fi
 10505 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_IOKit_IOKitLib_h" >&5
 10506 $as_echo "$ac_cv_header_IOKit_IOKitLib_h" >&6; }
 10508 fi
 10509 if test $ac_cv_header_IOKit_IOKitLib_h = yes; then
 10511      CDROM_DRIVER=osx
 10512      LIBS="$LIBS -framework IOKit"
 10513 else
 10514   true
 10515 fi
 10520 if test "x$CDROM_DRIVER" = "xlinux"; then
 10521   CDROM_LINUX_TRUE=
 10522   CDROM_LINUX_FALSE='#'
 10523 else
 10524   CDROM_LINUX_TRUE='#'
 10525   CDROM_LINUX_FALSE=
 10526 fi
 10530 if test "x$CDROM_DRIVER" = "xosx"; then
 10531   CDROM_OSX_TRUE=
 10532   CDROM_OSX_FALSE='#'
 10533 else
 10534   CDROM_OSX_TRUE='#'
 10535   CDROM_OSX_FALSE=
 10536 fi
 10540 if test "x$CDROM_DRIVER" = "x"; then
 10541   CDROM_NONE_TRUE=
 10542   CDROM_NONE_FALSE='#'
 10543 else
 10544   CDROM_NONE_TRUE='#'
 10545   CDROM_NONE_FALSE=
 10546 fi
 10549 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 10550   { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
 10551 $as_echo_n "checking for linux/joystick.h... " >&6; }
 10552 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 10553   $as_echo_n "(cached) " >&6
 10554 fi
 10555 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
 10556 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
 10557 else
 10558   # Is the header compilable?
 10559 { $as_echo "$as_me:$LINENO: checking linux/joystick.h usability" >&5
 10560 $as_echo_n "checking linux/joystick.h usability... " >&6; }
 10561 cat >conftest.$ac_ext <<_ACEOF
 10562 /* confdefs.h.  */
 10563 _ACEOF
 10564 cat confdefs.h >>conftest.$ac_ext
 10565 cat >>conftest.$ac_ext <<_ACEOF
 10566 /* end confdefs.h.  */
 10567 $ac_includes_default
 10568 #include <linux/joystick.h>
 10569 _ACEOF
 10570 rm -f conftest.$ac_objext
 10571 if { (ac_try="$ac_compile"
 10572 case "(($ac_try" in
 10573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10574   *) ac_try_echo=$ac_try;;
 10575 esac
 10576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10577 $as_echo "$ac_try_echo") >&5
 10578   (eval "$ac_compile") 2>conftest.er1
 10579   ac_status=$?
 10580   grep -v '^ *+' conftest.er1 >conftest.err
 10581   rm -f conftest.er1
 10582   cat conftest.err >&5
 10583   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10584   (exit $ac_status); } && {
 10585 	 test -z "$ac_c_werror_flag" ||
 10586 	 test ! -s conftest.err
 10587        } && test -s conftest.$ac_objext; then
 10588   ac_header_compiler=yes
 10589 else
 10590   $as_echo "$as_me: failed program was:" >&5
 10591 sed 's/^/| /' conftest.$ac_ext >&5
 10593 	ac_header_compiler=no
 10594 fi
 10596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 10597 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 10598 $as_echo "$ac_header_compiler" >&6; }
 10600 # Is the header present?
 10601 { $as_echo "$as_me:$LINENO: checking linux/joystick.h presence" >&5
 10602 $as_echo_n "checking linux/joystick.h presence... " >&6; }
 10603 cat >conftest.$ac_ext <<_ACEOF
 10604 /* confdefs.h.  */
 10605 _ACEOF
 10606 cat confdefs.h >>conftest.$ac_ext
 10607 cat >>conftest.$ac_ext <<_ACEOF
 10608 /* end confdefs.h.  */
 10609 #include <linux/joystick.h>
 10610 _ACEOF
 10611 if { (ac_try="$ac_cpp conftest.$ac_ext"
 10612 case "(($ac_try" in
 10613   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 10614   *) ac_try_echo=$ac_try;;
 10615 esac
 10616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 10617 $as_echo "$ac_try_echo") >&5
 10618   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 10619   ac_status=$?
 10620   grep -v '^ *+' conftest.er1 >conftest.err
 10621   rm -f conftest.er1
 10622   cat conftest.err >&5
 10623   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 10624   (exit $ac_status); } >/dev/null && {
 10625 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 10626 	 test ! -s conftest.err
 10627        }; then
 10628   ac_header_preproc=yes
 10629 else
 10630   $as_echo "$as_me: failed program was:" >&5
 10631 sed 's/^/| /' conftest.$ac_ext >&5
 10633   ac_header_preproc=no
 10634 fi
 10636 rm -f conftest.err conftest.$ac_ext
 10637 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 10638 $as_echo "$ac_header_preproc" >&6; }
 10640 # So?  What about this header?
 10641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 10642   yes:no: )
 10643     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&5
 10644 $as_echo "$as_me: WARNING: linux/joystick.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 10645     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the compiler's result" >&5
 10646 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the compiler's result" >&2;}
 10647     ac_header_preproc=yes
 10648     ;;
 10649   no:yes:* )
 10650     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: present but cannot be compiled" >&5
 10651 $as_echo "$as_me: WARNING: linux/joystick.h: present but cannot be compiled" >&2;}
 10652     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&5
 10653 $as_echo "$as_me: WARNING: linux/joystick.h:     check for missing prerequisite headers?" >&2;}
 10654     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: see the Autoconf documentation" >&5
 10655 $as_echo "$as_me: WARNING: linux/joystick.h: see the Autoconf documentation" >&2;}
 10656     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&5
 10657 $as_echo "$as_me: WARNING: linux/joystick.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 10658     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&5
 10659 $as_echo "$as_me: WARNING: linux/joystick.h: proceeding with the preprocessor's result" >&2;}
 10660     { $as_echo "$as_me:$LINENO: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&5
 10661 $as_echo "$as_me: WARNING: linux/joystick.h: in the future, the compiler will take precedence" >&2;}
 10663     ;;
 10664 esac
 10665 { $as_echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
 10666 $as_echo_n "checking for linux/joystick.h... " >&6; }
 10667 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
 10668   $as_echo_n "(cached) " >&6
 10669 else
 10670   ac_cv_header_linux_joystick_h=$ac_header_preproc
 10671 fi
 10672 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
 10673 $as_echo "$ac_cv_header_linux_joystick_h" >&6; }
 10675 fi
 10676 if test $ac_cv_header_linux_joystick_h = yes; then
 10678     HAVE_LINUX_JOYSTICK_H=yes
 10680 cat >>confdefs.h <<\_ACEOF
 10681 #define HAVE_LINUX_JOYSTICK 1
 10682 _ACEOF
 10684 else
 10685    echo "Linux Joystick support not found, building without it."
 10686 fi
 10691 if test "$HAVE_LINUX_JOYSTICK_H" = "yes"; then
 10692   JOY_LINUX_TRUE=
 10693   JOY_LINUX_FALSE='#'
 10694 else
 10695   JOY_LINUX_TRUE='#'
 10696   JOY_LINUX_FALSE=
 10697 fi
 10700 # Extract the first word of "sh-elf-gcc", so it can be a program name with args.
 10701 set dummy sh-elf-gcc; ac_word=$2
 10702 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10703 $as_echo_n "checking for $ac_word... " >&6; }
 10704 if test "${ac_cv_path_SHCC+set}" = set; then
 10705   $as_echo_n "(cached) " >&6
 10706 else
 10707   case $SHCC in
 10708   [\\/]* | ?:[\\/]*)
 10709   ac_cv_path_SHCC="$SHCC" # Let the user override the test with a path.
 10710   ;;
 10711   *)
 10712   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10713 for as_dir in $PATH
 10714 do
 10715   IFS=$as_save_IFS
 10716   test -z "$as_dir" && as_dir=.
 10717   for ac_exec_ext in '' $ac_executable_extensions; do
 10718   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10719     ac_cv_path_SHCC="$as_dir/$ac_word$ac_exec_ext"
 10720     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10721     break 2
 10722   fi
 10723 done
 10724 done
 10725 IFS=$as_save_IFS
 10727   ;;
 10728 esac
 10729 fi
 10730 SHCC=$ac_cv_path_SHCC
 10731 if test -n "$SHCC"; then
 10732   { $as_echo "$as_me:$LINENO: result: $SHCC" >&5
 10733 $as_echo "$SHCC" >&6; }
 10734 else
 10735   { $as_echo "$as_me:$LINENO: result: no" >&5
 10736 $as_echo "no" >&6; }
 10737 fi
 10740 # Extract the first word of "sh-elf-ld", so it can be a program name with args.
 10741 set dummy sh-elf-ld; ac_word=$2
 10742 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10743 $as_echo_n "checking for $ac_word... " >&6; }
 10744 if test "${ac_cv_path_SHLD+set}" = set; then
 10745   $as_echo_n "(cached) " >&6
 10746 else
 10747   case $SHLD in
 10748   [\\/]* | ?:[\\/]*)
 10749   ac_cv_path_SHLD="$SHLD" # Let the user override the test with a path.
 10750   ;;
 10751   *)
 10752   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10753 for as_dir in $PATH
 10754 do
 10755   IFS=$as_save_IFS
 10756   test -z "$as_dir" && as_dir=.
 10757   for ac_exec_ext in '' $ac_executable_extensions; do
 10758   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10759     ac_cv_path_SHLD="$as_dir/$ac_word$ac_exec_ext"
 10760     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10761     break 2
 10762   fi
 10763 done
 10764 done
 10765 IFS=$as_save_IFS
 10767   ;;
 10768 esac
 10769 fi
 10770 SHLD=$ac_cv_path_SHLD
 10771 if test -n "$SHLD"; then
 10772   { $as_echo "$as_me:$LINENO: result: $SHLD" >&5
 10773 $as_echo "$SHLD" >&6; }
 10774 else
 10775   { $as_echo "$as_me:$LINENO: result: no" >&5
 10776 $as_echo "no" >&6; }
 10777 fi
 10780 # Extract the first word of "sh-elf-objcopy", so it can be a program name with args.
 10781 set dummy sh-elf-objcopy; ac_word=$2
 10782 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10783 $as_echo_n "checking for $ac_word... " >&6; }
 10784 if test "${ac_cv_path_SHOBJCOPY+set}" = set; then
 10785   $as_echo_n "(cached) " >&6
 10786 else
 10787   case $SHOBJCOPY in
 10788   [\\/]* | ?:[\\/]*)
 10789   ac_cv_path_SHOBJCOPY="$SHOBJCOPY" # Let the user override the test with a path.
 10790   ;;
 10791   *)
 10792   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10793 for as_dir in $PATH
 10794 do
 10795   IFS=$as_save_IFS
 10796   test -z "$as_dir" && as_dir=.
 10797   for ac_exec_ext in '' $ac_executable_extensions; do
 10798   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10799     ac_cv_path_SHOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
 10800     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10801     break 2
 10802   fi
 10803 done
 10804 done
 10805 IFS=$as_save_IFS
 10807   ;;
 10808 esac
 10809 fi
 10810 SHOBJCOPY=$ac_cv_path_SHOBJCOPY
 10811 if test -n "$SHOBJCOPY"; then
 10812   { $as_echo "$as_me:$LINENO: result: $SHOBJCOPY" >&5
 10813 $as_echo "$SHOBJCOPY" >&6; }
 10814 else
 10815   { $as_echo "$as_me:$LINENO: result: no" >&5
 10816 $as_echo "no" >&6; }
 10817 fi
 10820 # Extract the first word of "arm-elf-gcc", so it can be a program name with args.
 10821 set dummy arm-elf-gcc; ac_word=$2
 10822 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10823 $as_echo_n "checking for $ac_word... " >&6; }
 10824 if test "${ac_cv_path_ARMCC+set}" = set; then
 10825   $as_echo_n "(cached) " >&6
 10826 else
 10827   case $ARMCC in
 10828   [\\/]* | ?:[\\/]*)
 10829   ac_cv_path_ARMCC="$ARMCC" # Let the user override the test with a path.
 10830   ;;
 10831   *)
 10832   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10833 for as_dir in $PATH
 10834 do
 10835   IFS=$as_save_IFS
 10836   test -z "$as_dir" && as_dir=.
 10837   for ac_exec_ext in '' $ac_executable_extensions; do
 10838   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10839     ac_cv_path_ARMCC="$as_dir/$ac_word$ac_exec_ext"
 10840     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10841     break 2
 10842   fi
 10843 done
 10844 done
 10845 IFS=$as_save_IFS
 10847   ;;
 10848 esac
 10849 fi
 10850 ARMCC=$ac_cv_path_ARMCC
 10851 if test -n "$ARMCC"; then
 10852   { $as_echo "$as_me:$LINENO: result: $ARMCC" >&5
 10853 $as_echo "$ARMCC" >&6; }
 10854 else
 10855   { $as_echo "$as_me:$LINENO: result: no" >&5
 10856 $as_echo "no" >&6; }
 10857 fi
 10860 # Extract the first word of "arm-elf-ld", so it can be a program name with args.
 10861 set dummy arm-elf-ld; ac_word=$2
 10862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10863 $as_echo_n "checking for $ac_word... " >&6; }
 10864 if test "${ac_cv_path_ARMLD+set}" = set; then
 10865   $as_echo_n "(cached) " >&6
 10866 else
 10867   case $ARMLD in
 10868   [\\/]* | ?:[\\/]*)
 10869   ac_cv_path_ARMLD="$ARMLD" # Let the user override the test with a path.
 10870   ;;
 10871   *)
 10872   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10873 for as_dir in $PATH
 10874 do
 10875   IFS=$as_save_IFS
 10876   test -z "$as_dir" && as_dir=.
 10877   for ac_exec_ext in '' $ac_executable_extensions; do
 10878   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10879     ac_cv_path_ARMLD="$as_dir/$ac_word$ac_exec_ext"
 10880     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10881     break 2
 10882   fi
 10883 done
 10884 done
 10885 IFS=$as_save_IFS
 10887   ;;
 10888 esac
 10889 fi
 10890 ARMLD=$ac_cv_path_ARMLD
 10891 if test -n "$ARMLD"; then
 10892   { $as_echo "$as_me:$LINENO: result: $ARMLD" >&5
 10893 $as_echo "$ARMLD" >&6; }
 10894 else
 10895   { $as_echo "$as_me:$LINENO: result: no" >&5
 10896 $as_echo "no" >&6; }
 10897 fi
 10900 # Extract the first word of "arm-elf-objcopy", so it can be a program name with args.
 10901 set dummy arm-elf-objcopy; ac_word=$2
 10902 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 10903 $as_echo_n "checking for $ac_word... " >&6; }
 10904 if test "${ac_cv_path_ARMOBJCOPY+set}" = set; then
 10905   $as_echo_n "(cached) " >&6
 10906 else
 10907   case $ARMOBJCOPY in
 10908   [\\/]* | ?:[\\/]*)
 10909   ac_cv_path_ARMOBJCOPY="$ARMOBJCOPY" # Let the user override the test with a path.
 10910   ;;
 10911   *)
 10912   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 10913 for as_dir in $PATH
 10914 do
 10915   IFS=$as_save_IFS
 10916   test -z "$as_dir" && as_dir=.
 10917   for ac_exec_ext in '' $ac_executable_extensions; do
 10918   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 10919     ac_cv_path_ARMOBJCOPY="$as_dir/$ac_word$ac_exec_ext"
 10920     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 10921     break 2
 10922   fi
 10923 done
 10924 done
 10925 IFS=$as_save_IFS
 10927   ;;
 10928 esac
 10929 fi
 10930 ARMOBJCOPY=$ac_cv_path_ARMOBJCOPY
 10931 if test -n "$ARMOBJCOPY"; then
 10932   { $as_echo "$as_me:$LINENO: result: $ARMOBJCOPY" >&5
 10933 $as_echo "$ARMOBJCOPY" >&6; }
 10934 else
 10935   { $as_echo "$as_me:$LINENO: result: no" >&5
 10936 $as_echo "no" >&6; }
 10937 fi
 10941 if test "x$SHCC" = "x" -o "x$SHLD" = "x" -o "x$SHOBJCOPY" = "x"; then
 10942   BUILD_SH="no"
 10943   echo "Warning: SH4 cross-compiler not found, system tests will be disabled."
 10944 else
 10945   BUILD_SH="yes"
 10946 fi
 10947 if test "x$ARMCC" = "x" -o "x$ARMLD" = "x" -o "x$ARMOBJCOPY" = "x"; then
 10948   BUILD_ARM="no"
 10949   echo "Warning: ARM cross-compiler not found, AICA tests will be disabled."
 10950 else
 10951   BUILD_ARM="yes"
 10952 fi
 10955 if test "$BUILD_SH" = "yes"; then
 10956   BUILD_SYSTEST_TRUE=
 10957   BUILD_SYSTEST_FALSE='#'
 10958 else
 10959   BUILD_SYSTEST_TRUE='#'
 10960   BUILD_SYSTEST_FALSE=
 10961 fi
 10965 if test "$BUILD_ARM" = "yes"; then
 10966   BUILD_ARMTEST_TRUE=
 10967   BUILD_ARMTEST_FALSE='#'
 10968 else
 10969   BUILD_ARMTEST_TRUE='#'
 10970   BUILD_ARMTEST_FALSE=
 10971 fi
 10975 GETTEXT_PACKAGE=lxdream
 10978 cat >>confdefs.h <<_ACEOF
 10979 #define GETTEXT_PACKAGE "$GETTEXT_PACKAGE"
 10980 _ACEOF
 10983 ALL_LINGUAS="de es it pt_BR"
 10986 for ac_header in locale.h
 10987 do
 10988 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
 10989 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 10990   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 10991 $as_echo_n "checking for $ac_header... " >&6; }
 10992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 10993   $as_echo_n "(cached) " >&6
 10994 fi
 10995 ac_res=`eval 'as_val=${'$as_ac_Header'}
 10996 		 $as_echo "$as_val"'`
 10997 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 10998 $as_echo "$ac_res" >&6; }
 10999 else
 11000   # Is the header compilable?
 11001 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
 11002 $as_echo_n "checking $ac_header usability... " >&6; }
 11003 cat >conftest.$ac_ext <<_ACEOF
 11004 /* confdefs.h.  */
 11005 _ACEOF
 11006 cat confdefs.h >>conftest.$ac_ext
 11007 cat >>conftest.$ac_ext <<_ACEOF
 11008 /* end confdefs.h.  */
 11009 $ac_includes_default
 11010 #include <$ac_header>
 11011 _ACEOF
 11012 rm -f conftest.$ac_objext
 11013 if { (ac_try="$ac_compile"
 11014 case "(($ac_try" in
 11015   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11016   *) ac_try_echo=$ac_try;;
 11017 esac
 11018 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11019 $as_echo "$ac_try_echo") >&5
 11020   (eval "$ac_compile") 2>conftest.er1
 11021   ac_status=$?
 11022   grep -v '^ *+' conftest.er1 >conftest.err
 11023   rm -f conftest.er1
 11024   cat conftest.err >&5
 11025   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11026   (exit $ac_status); } && {
 11027 	 test -z "$ac_c_werror_flag" ||
 11028 	 test ! -s conftest.err
 11029        } && test -s conftest.$ac_objext; then
 11030   ac_header_compiler=yes
 11031 else
 11032   $as_echo "$as_me: failed program was:" >&5
 11033 sed 's/^/| /' conftest.$ac_ext >&5
 11035 	ac_header_compiler=no
 11036 fi
 11038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11039 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 11040 $as_echo "$ac_header_compiler" >&6; }
 11042 # Is the header present?
 11043 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
 11044 $as_echo_n "checking $ac_header presence... " >&6; }
 11045 cat >conftest.$ac_ext <<_ACEOF
 11046 /* confdefs.h.  */
 11047 _ACEOF
 11048 cat confdefs.h >>conftest.$ac_ext
 11049 cat >>conftest.$ac_ext <<_ACEOF
 11050 /* end confdefs.h.  */
 11051 #include <$ac_header>
 11052 _ACEOF
 11053 if { (ac_try="$ac_cpp conftest.$ac_ext"
 11054 case "(($ac_try" in
 11055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11056   *) ac_try_echo=$ac_try;;
 11057 esac
 11058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11059 $as_echo "$ac_try_echo") >&5
 11060   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 11061   ac_status=$?
 11062   grep -v '^ *+' conftest.er1 >conftest.err
 11063   rm -f conftest.er1
 11064   cat conftest.err >&5
 11065   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11066   (exit $ac_status); } >/dev/null && {
 11067 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 11068 	 test ! -s conftest.err
 11069        }; then
 11070   ac_header_preproc=yes
 11071 else
 11072   $as_echo "$as_me: failed program was:" >&5
 11073 sed 's/^/| /' conftest.$ac_ext >&5
 11075   ac_header_preproc=no
 11076 fi
 11078 rm -f conftest.err conftest.$ac_ext
 11079 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 11080 $as_echo "$ac_header_preproc" >&6; }
 11082 # So?  What about this header?
 11083 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 11084   yes:no: )
 11085     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 11086 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 11087     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 11088 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 11089     ac_header_preproc=yes
 11090     ;;
 11091   no:yes:* )
 11092     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 11093 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 11094     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 11095 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 11096     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 11097 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 11098     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 11099 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 11100     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 11101 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 11102     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 11103 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 11105     ;;
 11106 esac
 11107 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
 11108 $as_echo_n "checking for $ac_header... " >&6; }
 11109 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 11110   $as_echo_n "(cached) " >&6
 11111 else
 11112   eval "$as_ac_Header=\$ac_header_preproc"
 11113 fi
 11114 ac_res=`eval 'as_val=${'$as_ac_Header'}
 11115 		 $as_echo "$as_val"'`
 11116 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 11117 $as_echo "$ac_res" >&6; }
 11119 fi
 11120 if test `eval 'as_val=${'$as_ac_Header'}
 11121 		 $as_echo "$as_val"'` = yes; then
 11122   cat >>confdefs.h <<_ACEOF
 11123 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
 11124 _ACEOF
 11126 fi
 11128 done
 11130     if test $ac_cv_header_locale_h = yes; then
 11131     { $as_echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
 11132 $as_echo_n "checking for LC_MESSAGES... " >&6; }
 11133 if test "${am_cv_val_LC_MESSAGES+set}" = set; then
 11134   $as_echo_n "(cached) " >&6
 11135 else
 11136   cat >conftest.$ac_ext <<_ACEOF
 11137 /* confdefs.h.  */
 11138 _ACEOF
 11139 cat confdefs.h >>conftest.$ac_ext
 11140 cat >>conftest.$ac_ext <<_ACEOF
 11141 /* end confdefs.h.  */
 11142 #include <locale.h>
 11143 int
 11144 main ()
 11146 return LC_MESSAGES
 11148   return 0;
 11150 _ACEOF
 11151 rm -f conftest.$ac_objext conftest$ac_exeext
 11152 if { (ac_try="$ac_link"
 11153 case "(($ac_try" in
 11154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11155   *) ac_try_echo=$ac_try;;
 11156 esac
 11157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11158 $as_echo "$ac_try_echo") >&5
 11159   (eval "$ac_link") 2>conftest.er1
 11160   ac_status=$?
 11161   grep -v '^ *+' conftest.er1 >conftest.err
 11162   rm -f conftest.er1
 11163   cat conftest.err >&5
 11164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11165   (exit $ac_status); } && {
 11166 	 test -z "$ac_c_werror_flag" ||
 11167 	 test ! -s conftest.err
 11168        } && test -s conftest$ac_exeext && {
 11169 	 test "$cross_compiling" = yes ||
 11170 	 $as_test_x conftest$ac_exeext
 11171        }; then
 11172   am_cv_val_LC_MESSAGES=yes
 11173 else
 11174   $as_echo "$as_me: failed program was:" >&5
 11175 sed 's/^/| /' conftest.$ac_ext >&5
 11177 	am_cv_val_LC_MESSAGES=no
 11178 fi
 11180 rm -rf conftest.dSYM
 11181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11182       conftest$ac_exeext conftest.$ac_ext
 11183 fi
 11184 { $as_echo "$as_me:$LINENO: result: $am_cv_val_LC_MESSAGES" >&5
 11185 $as_echo "$am_cv_val_LC_MESSAGES" >&6; }
 11186     if test $am_cv_val_LC_MESSAGES = yes; then
 11188 cat >>confdefs.h <<\_ACEOF
 11189 #define HAVE_LC_MESSAGES 1
 11190 _ACEOF
 11192     fi
 11193   fi
 11194      USE_NLS=yes
 11197     gt_cv_have_gettext=no
 11199     CATOBJEXT=NONE
 11200     XGETTEXT=:
 11201     INTLLIBS=
 11203     if test "${ac_cv_header_libintl_h+set}" = set; then
 11204   { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 11205 $as_echo_n "checking for libintl.h... " >&6; }
 11206 if test "${ac_cv_header_libintl_h+set}" = set; then
 11207   $as_echo_n "(cached) " >&6
 11208 fi
 11209 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 11210 $as_echo "$ac_cv_header_libintl_h" >&6; }
 11211 else
 11212   # Is the header compilable?
 11213 { $as_echo "$as_me:$LINENO: checking libintl.h usability" >&5
 11214 $as_echo_n "checking libintl.h usability... " >&6; }
 11215 cat >conftest.$ac_ext <<_ACEOF
 11216 /* confdefs.h.  */
 11217 _ACEOF
 11218 cat confdefs.h >>conftest.$ac_ext
 11219 cat >>conftest.$ac_ext <<_ACEOF
 11220 /* end confdefs.h.  */
 11221 $ac_includes_default
 11222 #include <libintl.h>
 11223 _ACEOF
 11224 rm -f conftest.$ac_objext
 11225 if { (ac_try="$ac_compile"
 11226 case "(($ac_try" in
 11227   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11228   *) ac_try_echo=$ac_try;;
 11229 esac
 11230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11231 $as_echo "$ac_try_echo") >&5
 11232   (eval "$ac_compile") 2>conftest.er1
 11233   ac_status=$?
 11234   grep -v '^ *+' conftest.er1 >conftest.err
 11235   rm -f conftest.er1
 11236   cat conftest.err >&5
 11237   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11238   (exit $ac_status); } && {
 11239 	 test -z "$ac_c_werror_flag" ||
 11240 	 test ! -s conftest.err
 11241        } && test -s conftest.$ac_objext; then
 11242   ac_header_compiler=yes
 11243 else
 11244   $as_echo "$as_me: failed program was:" >&5
 11245 sed 's/^/| /' conftest.$ac_ext >&5
 11247 	ac_header_compiler=no
 11248 fi
 11250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 11251 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 11252 $as_echo "$ac_header_compiler" >&6; }
 11254 # Is the header present?
 11255 { $as_echo "$as_me:$LINENO: checking libintl.h presence" >&5
 11256 $as_echo_n "checking libintl.h presence... " >&6; }
 11257 cat >conftest.$ac_ext <<_ACEOF
 11258 /* confdefs.h.  */
 11259 _ACEOF
 11260 cat confdefs.h >>conftest.$ac_ext
 11261 cat >>conftest.$ac_ext <<_ACEOF
 11262 /* end confdefs.h.  */
 11263 #include <libintl.h>
 11264 _ACEOF
 11265 if { (ac_try="$ac_cpp conftest.$ac_ext"
 11266 case "(($ac_try" in
 11267   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11268   *) ac_try_echo=$ac_try;;
 11269 esac
 11270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11271 $as_echo "$ac_try_echo") >&5
 11272   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 11273   ac_status=$?
 11274   grep -v '^ *+' conftest.er1 >conftest.err
 11275   rm -f conftest.er1
 11276   cat conftest.err >&5
 11277   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11278   (exit $ac_status); } >/dev/null && {
 11279 	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 11280 	 test ! -s conftest.err
 11281        }; then
 11282   ac_header_preproc=yes
 11283 else
 11284   $as_echo "$as_me: failed program was:" >&5
 11285 sed 's/^/| /' conftest.$ac_ext >&5
 11287   ac_header_preproc=no
 11288 fi
 11290 rm -f conftest.err conftest.$ac_ext
 11291 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 11292 $as_echo "$ac_header_preproc" >&6; }
 11294 # So?  What about this header?
 11295 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 11296   yes:no: )
 11297     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&5
 11298 $as_echo "$as_me: WARNING: libintl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
 11299     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the compiler's result" >&5
 11300 $as_echo "$as_me: WARNING: libintl.h: proceeding with the compiler's result" >&2;}
 11301     ac_header_preproc=yes
 11302     ;;
 11303   no:yes:* )
 11304     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: present but cannot be compiled" >&5
 11305 $as_echo "$as_me: WARNING: libintl.h: present but cannot be compiled" >&2;}
 11306     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     check for missing prerequisite headers?" >&5
 11307 $as_echo "$as_me: WARNING: libintl.h:     check for missing prerequisite headers?" >&2;}
 11308     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: see the Autoconf documentation" >&5
 11309 $as_echo "$as_me: WARNING: libintl.h: see the Autoconf documentation" >&2;}
 11310     { $as_echo "$as_me:$LINENO: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&5
 11311 $as_echo "$as_me: WARNING: libintl.h:     section \"Present But Cannot Be Compiled\"" >&2;}
 11312     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: proceeding with the preprocessor's result" >&5
 11313 $as_echo "$as_me: WARNING: libintl.h: proceeding with the preprocessor's result" >&2;}
 11314     { $as_echo "$as_me:$LINENO: WARNING: libintl.h: in the future, the compiler will take precedence" >&5
 11315 $as_echo "$as_me: WARNING: libintl.h: in the future, the compiler will take precedence" >&2;}
 11317     ;;
 11318 esac
 11319 { $as_echo "$as_me:$LINENO: checking for libintl.h" >&5
 11320 $as_echo_n "checking for libintl.h... " >&6; }
 11321 if test "${ac_cv_header_libintl_h+set}" = set; then
 11322   $as_echo_n "(cached) " >&6
 11323 else
 11324   ac_cv_header_libintl_h=$ac_header_preproc
 11325 fi
 11326 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_libintl_h" >&5
 11327 $as_echo "$ac_cv_header_libintl_h" >&6; }
 11329 fi
 11330 if test $ac_cv_header_libintl_h = yes; then
 11331   gt_cv_func_dgettext_libintl="no"
 11332       libintl_extra_libs=""
 11335       # First check in libc
 11337       { $as_echo "$as_me:$LINENO: checking for ngettext in libc" >&5
 11338 $as_echo_n "checking for ngettext in libc... " >&6; }
 11339 if test "${gt_cv_func_ngettext_libc+set}" = set; then
 11340   $as_echo_n "(cached) " >&6
 11341 else
 11342   cat >conftest.$ac_ext <<_ACEOF
 11343 /* confdefs.h.  */
 11344 _ACEOF
 11345 cat confdefs.h >>conftest.$ac_ext
 11346 cat >>conftest.$ac_ext <<_ACEOF
 11347 /* end confdefs.h.  */
 11349 #include <libintl.h>
 11351 int
 11352 main ()
 11354 return !ngettext ("","", 1)
 11356   return 0;
 11358 _ACEOF
 11359 rm -f conftest.$ac_objext conftest$ac_exeext
 11360 if { (ac_try="$ac_link"
 11361 case "(($ac_try" in
 11362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11363   *) ac_try_echo=$ac_try;;
 11364 esac
 11365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11366 $as_echo "$ac_try_echo") >&5
 11367   (eval "$ac_link") 2>conftest.er1
 11368   ac_status=$?
 11369   grep -v '^ *+' conftest.er1 >conftest.err
 11370   rm -f conftest.er1
 11371   cat conftest.err >&5
 11372   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11373   (exit $ac_status); } && {
 11374 	 test -z "$ac_c_werror_flag" ||
 11375 	 test ! -s conftest.err
 11376        } && test -s conftest$ac_exeext && {
 11377 	 test "$cross_compiling" = yes ||
 11378 	 $as_test_x conftest$ac_exeext
 11379        }; then
 11380   gt_cv_func_ngettext_libc=yes
 11381 else
 11382   $as_echo "$as_me: failed program was:" >&5
 11383 sed 's/^/| /' conftest.$ac_ext >&5
 11385 	gt_cv_func_ngettext_libc=no
 11386 fi
 11388 rm -rf conftest.dSYM
 11389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11390       conftest$ac_exeext conftest.$ac_ext
 11392 fi
 11393 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_ngettext_libc" >&5
 11394 $as_echo "$gt_cv_func_ngettext_libc" >&6; }
 11396       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 11397 	      { $as_echo "$as_me:$LINENO: checking for dgettext in libc" >&5
 11398 $as_echo_n "checking for dgettext in libc... " >&6; }
 11399 if test "${gt_cv_func_dgettext_libc+set}" = set; then
 11400   $as_echo_n "(cached) " >&6
 11401 else
 11402   cat >conftest.$ac_ext <<_ACEOF
 11403 /* confdefs.h.  */
 11404 _ACEOF
 11405 cat confdefs.h >>conftest.$ac_ext
 11406 cat >>conftest.$ac_ext <<_ACEOF
 11407 /* end confdefs.h.  */
 11409 #include <libintl.h>
 11411 int
 11412 main ()
 11414 return !dgettext ("","")
 11416   return 0;
 11418 _ACEOF
 11419 rm -f conftest.$ac_objext conftest$ac_exeext
 11420 if { (ac_try="$ac_link"
 11421 case "(($ac_try" in
 11422   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11423   *) ac_try_echo=$ac_try;;
 11424 esac
 11425 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11426 $as_echo "$ac_try_echo") >&5
 11427   (eval "$ac_link") 2>conftest.er1
 11428   ac_status=$?
 11429   grep -v '^ *+' conftest.er1 >conftest.err
 11430   rm -f conftest.er1
 11431   cat conftest.err >&5
 11432   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11433   (exit $ac_status); } && {
 11434 	 test -z "$ac_c_werror_flag" ||
 11435 	 test ! -s conftest.err
 11436        } && test -s conftest$ac_exeext && {
 11437 	 test "$cross_compiling" = yes ||
 11438 	 $as_test_x conftest$ac_exeext
 11439        }; then
 11440   gt_cv_func_dgettext_libc=yes
 11441 else
 11442   $as_echo "$as_me: failed program was:" >&5
 11443 sed 's/^/| /' conftest.$ac_ext >&5
 11445 	gt_cv_func_dgettext_libc=no
 11446 fi
 11448 rm -rf conftest.dSYM
 11449 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11450       conftest$ac_exeext conftest.$ac_ext
 11452 fi
 11453 { $as_echo "$as_me:$LINENO: result: $gt_cv_func_dgettext_libc" >&5
 11454 $as_echo "$gt_cv_func_dgettext_libc" >&6; }
 11455       fi
 11457       if test "$gt_cv_func_ngettext_libc" = "yes" ; then
 11459 for ac_func in bind_textdomain_codeset
 11460 do
 11461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 11462 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 11463 $as_echo_n "checking for $ac_func... " >&6; }
 11464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 11465   $as_echo_n "(cached) " >&6
 11466 else
 11467   cat >conftest.$ac_ext <<_ACEOF
 11468 /* confdefs.h.  */
 11469 _ACEOF
 11470 cat confdefs.h >>conftest.$ac_ext
 11471 cat >>conftest.$ac_ext <<_ACEOF
 11472 /* end confdefs.h.  */
 11473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 11474    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11475 #define $ac_func innocuous_$ac_func
 11477 /* System header to define __stub macros and hopefully few prototypes,
 11478     which can conflict with char $ac_func (); below.
 11479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11480     <limits.h> exists even on freestanding compilers.  */
 11482 #ifdef __STDC__
 11483 # include <limits.h>
 11484 #else
 11485 # include <assert.h>
 11486 #endif
 11488 #undef $ac_func
 11490 /* Override any GCC internal prototype to avoid an error.
 11491    Use char because int might match the return type of a GCC
 11492    builtin and then its argument prototype would still apply.  */
 11493 #ifdef __cplusplus
 11494 extern "C"
 11495 #endif
 11496 char $ac_func ();
 11497 /* The GNU C library defines this for functions which it implements
 11498     to always fail with ENOSYS.  Some functions are actually named
 11499     something starting with __ and the normal name is an alias.  */
 11500 #if defined __stub_$ac_func || defined __stub___$ac_func
 11501 choke me
 11502 #endif
 11504 int
 11505 main ()
 11507 return $ac_func ();
 11509   return 0;
 11511 _ACEOF
 11512 rm -f conftest.$ac_objext conftest$ac_exeext
 11513 if { (ac_try="$ac_link"
 11514 case "(($ac_try" in
 11515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11516   *) ac_try_echo=$ac_try;;
 11517 esac
 11518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11519 $as_echo "$ac_try_echo") >&5
 11520   (eval "$ac_link") 2>conftest.er1
 11521   ac_status=$?
 11522   grep -v '^ *+' conftest.er1 >conftest.err
 11523   rm -f conftest.er1
 11524   cat conftest.err >&5
 11525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11526   (exit $ac_status); } && {
 11527 	 test -z "$ac_c_werror_flag" ||
 11528 	 test ! -s conftest.err
 11529        } && test -s conftest$ac_exeext && {
 11530 	 test "$cross_compiling" = yes ||
 11531 	 $as_test_x conftest$ac_exeext
 11532        }; then
 11533   eval "$as_ac_var=yes"
 11534 else
 11535   $as_echo "$as_me: failed program was:" >&5
 11536 sed 's/^/| /' conftest.$ac_ext >&5
 11538 	eval "$as_ac_var=no"
 11539 fi
 11541 rm -rf conftest.dSYM
 11542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11543       conftest$ac_exeext conftest.$ac_ext
 11544 fi
 11545 ac_res=`eval 'as_val=${'$as_ac_var'}
 11546 		 $as_echo "$as_val"'`
 11547 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 11548 $as_echo "$ac_res" >&6; }
 11549 if test `eval 'as_val=${'$as_ac_var'}
 11550 		 $as_echo "$as_val"'` = yes; then
 11551   cat >>confdefs.h <<_ACEOF
 11552 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 11553 _ACEOF
 11555 fi
 11556 done
 11558       fi
 11561       # If we don't have everything we want, check in libintl
 11563       if test "$gt_cv_func_dgettext_libc" != "yes" \
 11564 	 || test "$gt_cv_func_ngettext_libc" != "yes" \
 11565          || test "$ac_cv_func_bind_textdomain_codeset" != "yes" ; then
 11567         { $as_echo "$as_me:$LINENO: checking for bindtextdomain in -lintl" >&5
 11568 $as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
 11569 if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then
 11570   $as_echo_n "(cached) " >&6
 11571 else
 11572   ac_check_lib_save_LIBS=$LIBS
 11573 LIBS="-lintl  $LIBS"
 11574 cat >conftest.$ac_ext <<_ACEOF
 11575 /* confdefs.h.  */
 11576 _ACEOF
 11577 cat confdefs.h >>conftest.$ac_ext
 11578 cat >>conftest.$ac_ext <<_ACEOF
 11579 /* end confdefs.h.  */
 11581 /* Override any GCC internal prototype to avoid an error.
 11582    Use char because int might match the return type of a GCC
 11583    builtin and then its argument prototype would still apply.  */
 11584 #ifdef __cplusplus
 11585 extern "C"
 11586 #endif
 11587 char bindtextdomain ();
 11588 int
 11589 main ()
 11591 return bindtextdomain ();
 11593   return 0;
 11595 _ACEOF
 11596 rm -f conftest.$ac_objext conftest$ac_exeext
 11597 if { (ac_try="$ac_link"
 11598 case "(($ac_try" in
 11599   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11600   *) ac_try_echo=$ac_try;;
 11601 esac
 11602 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11603 $as_echo "$ac_try_echo") >&5
 11604   (eval "$ac_link") 2>conftest.er1
 11605   ac_status=$?
 11606   grep -v '^ *+' conftest.er1 >conftest.err
 11607   rm -f conftest.er1
 11608   cat conftest.err >&5
 11609   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11610   (exit $ac_status); } && {
 11611 	 test -z "$ac_c_werror_flag" ||
 11612 	 test ! -s conftest.err
 11613        } && test -s conftest$ac_exeext && {
 11614 	 test "$cross_compiling" = yes ||
 11615 	 $as_test_x conftest$ac_exeext
 11616        }; then
 11617   ac_cv_lib_intl_bindtextdomain=yes
 11618 else
 11619   $as_echo "$as_me: failed program was:" >&5
 11620 sed 's/^/| /' conftest.$ac_ext >&5
 11622 	ac_cv_lib_intl_bindtextdomain=no
 11623 fi
 11625 rm -rf conftest.dSYM
 11626 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11627       conftest$ac_exeext conftest.$ac_ext
 11628 LIBS=$ac_check_lib_save_LIBS
 11629 fi
 11630 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_bindtextdomain" >&5
 11631 $as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
 11632 if test $ac_cv_lib_intl_bindtextdomain = yes; then
 11633   { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 11634 $as_echo_n "checking for ngettext in -lintl... " >&6; }
 11635 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 11636   $as_echo_n "(cached) " >&6
 11637 else
 11638   ac_check_lib_save_LIBS=$LIBS
 11639 LIBS="-lintl  $LIBS"
 11640 cat >conftest.$ac_ext <<_ACEOF
 11641 /* confdefs.h.  */
 11642 _ACEOF
 11643 cat confdefs.h >>conftest.$ac_ext
 11644 cat >>conftest.$ac_ext <<_ACEOF
 11645 /* end confdefs.h.  */
 11647 /* Override any GCC internal prototype to avoid an error.
 11648    Use char because int might match the return type of a GCC
 11649    builtin and then its argument prototype would still apply.  */
 11650 #ifdef __cplusplus
 11651 extern "C"
 11652 #endif
 11653 char ngettext ();
 11654 int
 11655 main ()
 11657 return ngettext ();
 11659   return 0;
 11661 _ACEOF
 11662 rm -f conftest.$ac_objext conftest$ac_exeext
 11663 if { (ac_try="$ac_link"
 11664 case "(($ac_try" in
 11665   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11666   *) ac_try_echo=$ac_try;;
 11667 esac
 11668 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11669 $as_echo "$ac_try_echo") >&5
 11670   (eval "$ac_link") 2>conftest.er1
 11671   ac_status=$?
 11672   grep -v '^ *+' conftest.er1 >conftest.err
 11673   rm -f conftest.er1
 11674   cat conftest.err >&5
 11675   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11676   (exit $ac_status); } && {
 11677 	 test -z "$ac_c_werror_flag" ||
 11678 	 test ! -s conftest.err
 11679        } && test -s conftest$ac_exeext && {
 11680 	 test "$cross_compiling" = yes ||
 11681 	 $as_test_x conftest$ac_exeext
 11682        }; then
 11683   ac_cv_lib_intl_ngettext=yes
 11684 else
 11685   $as_echo "$as_me: failed program was:" >&5
 11686 sed 's/^/| /' conftest.$ac_ext >&5
 11688 	ac_cv_lib_intl_ngettext=no
 11689 fi
 11691 rm -rf conftest.dSYM
 11692 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11693       conftest$ac_exeext conftest.$ac_ext
 11694 LIBS=$ac_check_lib_save_LIBS
 11695 fi
 11696 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 11697 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 11698 if test $ac_cv_lib_intl_ngettext = yes; then
 11699   { $as_echo "$as_me:$LINENO: checking for dgettext in -lintl" >&5
 11700 $as_echo_n "checking for dgettext in -lintl... " >&6; }
 11701 if test "${ac_cv_lib_intl_dgettext+set}" = set; then
 11702   $as_echo_n "(cached) " >&6
 11703 else
 11704   ac_check_lib_save_LIBS=$LIBS
 11705 LIBS="-lintl  $LIBS"
 11706 cat >conftest.$ac_ext <<_ACEOF
 11707 /* confdefs.h.  */
 11708 _ACEOF
 11709 cat confdefs.h >>conftest.$ac_ext
 11710 cat >>conftest.$ac_ext <<_ACEOF
 11711 /* end confdefs.h.  */
 11713 /* Override any GCC internal prototype to avoid an error.
 11714    Use char because int might match the return type of a GCC
 11715    builtin and then its argument prototype would still apply.  */
 11716 #ifdef __cplusplus
 11717 extern "C"
 11718 #endif
 11719 char dgettext ();
 11720 int
 11721 main ()
 11723 return dgettext ();
 11725   return 0;
 11727 _ACEOF
 11728 rm -f conftest.$ac_objext conftest$ac_exeext
 11729 if { (ac_try="$ac_link"
 11730 case "(($ac_try" in
 11731   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11732   *) ac_try_echo=$ac_try;;
 11733 esac
 11734 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11735 $as_echo "$ac_try_echo") >&5
 11736   (eval "$ac_link") 2>conftest.er1
 11737   ac_status=$?
 11738   grep -v '^ *+' conftest.er1 >conftest.err
 11739   rm -f conftest.er1
 11740   cat conftest.err >&5
 11741   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11742   (exit $ac_status); } && {
 11743 	 test -z "$ac_c_werror_flag" ||
 11744 	 test ! -s conftest.err
 11745        } && test -s conftest$ac_exeext && {
 11746 	 test "$cross_compiling" = yes ||
 11747 	 $as_test_x conftest$ac_exeext
 11748        }; then
 11749   ac_cv_lib_intl_dgettext=yes
 11750 else
 11751   $as_echo "$as_me: failed program was:" >&5
 11752 sed 's/^/| /' conftest.$ac_ext >&5
 11754 	ac_cv_lib_intl_dgettext=no
 11755 fi
 11757 rm -rf conftest.dSYM
 11758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11759       conftest$ac_exeext conftest.$ac_ext
 11760 LIBS=$ac_check_lib_save_LIBS
 11761 fi
 11762 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dgettext" >&5
 11763 $as_echo "$ac_cv_lib_intl_dgettext" >&6; }
 11764 if test $ac_cv_lib_intl_dgettext = yes; then
 11765   gt_cv_func_dgettext_libintl=yes
 11766 fi
 11768 fi
 11770 fi
 11773 	if test "$gt_cv_func_dgettext_libintl" != "yes" ; then
 11774 	  { $as_echo "$as_me:$LINENO: checking if -liconv is needed to use gettext" >&5
 11775 $as_echo_n "checking if -liconv is needed to use gettext... " >&6; }
 11776 	  { $as_echo "$as_me:$LINENO: result: " >&5
 11777 $as_echo "" >&6; }
 11778   	  { $as_echo "$as_me:$LINENO: checking for ngettext in -lintl" >&5
 11779 $as_echo_n "checking for ngettext in -lintl... " >&6; }
 11780 if test "${ac_cv_lib_intl_ngettext+set}" = set; then
 11781   $as_echo_n "(cached) " >&6
 11782 else
 11783   ac_check_lib_save_LIBS=$LIBS
 11784 LIBS="-lintl -liconv $LIBS"
 11785 cat >conftest.$ac_ext <<_ACEOF
 11786 /* confdefs.h.  */
 11787 _ACEOF
 11788 cat confdefs.h >>conftest.$ac_ext
 11789 cat >>conftest.$ac_ext <<_ACEOF
 11790 /* end confdefs.h.  */
 11792 /* Override any GCC internal prototype to avoid an error.
 11793    Use char because int might match the return type of a GCC
 11794    builtin and then its argument prototype would still apply.  */
 11795 #ifdef __cplusplus
 11796 extern "C"
 11797 #endif
 11798 char ngettext ();
 11799 int
 11800 main ()
 11802 return ngettext ();
 11804   return 0;
 11806 _ACEOF
 11807 rm -f conftest.$ac_objext conftest$ac_exeext
 11808 if { (ac_try="$ac_link"
 11809 case "(($ac_try" in
 11810   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11811   *) ac_try_echo=$ac_try;;
 11812 esac
 11813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11814 $as_echo "$ac_try_echo") >&5
 11815   (eval "$ac_link") 2>conftest.er1
 11816   ac_status=$?
 11817   grep -v '^ *+' conftest.er1 >conftest.err
 11818   rm -f conftest.er1
 11819   cat conftest.err >&5
 11820   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11821   (exit $ac_status); } && {
 11822 	 test -z "$ac_c_werror_flag" ||
 11823 	 test ! -s conftest.err
 11824        } && test -s conftest$ac_exeext && {
 11825 	 test "$cross_compiling" = yes ||
 11826 	 $as_test_x conftest$ac_exeext
 11827        }; then
 11828   ac_cv_lib_intl_ngettext=yes
 11829 else
 11830   $as_echo "$as_me: failed program was:" >&5
 11831 sed 's/^/| /' conftest.$ac_ext >&5
 11833 	ac_cv_lib_intl_ngettext=no
 11834 fi
 11836 rm -rf conftest.dSYM
 11837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 11838       conftest$ac_exeext conftest.$ac_ext
 11839 LIBS=$ac_check_lib_save_LIBS
 11840 fi
 11841 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_ngettext" >&5
 11842 $as_echo "$ac_cv_lib_intl_ngettext" >&6; }
 11843 if test $ac_cv_lib_intl_ngettext = yes; then
 11844   { $as_echo "$as_me:$LINENO: checking for dcgettext in -lintl" >&5
 11845 $as_echo_n "checking for dcgettext in -lintl... " >&6; }
 11846 if test "${ac_cv_lib_intl_dcgettext+set}" = set; then
 11847   $as_echo_n "(cached) " >&6
 11848 else
 11849   ac_check_lib_save_LIBS=$LIBS
 11850 LIBS="-lintl -liconv $LIBS"
 11851 cat >conftest.$ac_ext <<_ACEOF
 11852 /* confdefs.h.  */
 11853 _ACEOF
 11854 cat confdefs.h >>conftest.$ac_ext
 11855 cat >>conftest.$ac_ext <<_ACEOF
 11856 /* end confdefs.h.  */
 11858 /* Override any GCC internal prototype to avoid an error.
 11859    Use char because int might match the return type of a GCC
 11860    builtin and then its argument prototype would still apply.  */
 11861 #ifdef __cplusplus
 11862 extern "C"
 11863 #endif
 11864 char dcgettext ();
 11865 int
 11866 main ()
 11868 return dcgettext ();
 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   ac_cv_lib_intl_dcgettext=yes
 11895 else
 11896   $as_echo "$as_me: failed program was:" >&5
 11897 sed 's/^/| /' conftest.$ac_ext >&5
 11899 	ac_cv_lib_intl_dcgettext=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 LIBS=$ac_check_lib_save_LIBS
 11906 fi
 11907 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_dcgettext" >&5
 11908 $as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
 11909 if test $ac_cv_lib_intl_dcgettext = yes; then
 11910   gt_cv_func_dgettext_libintl=yes
 11911 			libintl_extra_libs=-liconv
 11912 else
 11914 fi
 11916 else
 11918 fi
 11920         fi
 11923         # If we found libintl, then check in it for bind_textdomain_codeset();
 11924         # we'll prefer libc if neither have bind_textdomain_codeset(),
 11925         # and both have dgettext and ngettext
 11927         if test "$gt_cv_func_dgettext_libintl" = "yes" ; then
 11928           glib_save_LIBS="$LIBS"
 11929           LIBS="$LIBS -lintl $libintl_extra_libs"
 11930           unset ac_cv_func_bind_textdomain_codeset
 11932 for ac_func in bind_textdomain_codeset
 11933 do
 11934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 11935 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 11936 $as_echo_n "checking for $ac_func... " >&6; }
 11937 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 11938   $as_echo_n "(cached) " >&6
 11939 else
 11940   cat >conftest.$ac_ext <<_ACEOF
 11941 /* confdefs.h.  */
 11942 _ACEOF
 11943 cat confdefs.h >>conftest.$ac_ext
 11944 cat >>conftest.$ac_ext <<_ACEOF
 11945 /* end confdefs.h.  */
 11946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 11947    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 11948 #define $ac_func innocuous_$ac_func
 11950 /* System header to define __stub macros and hopefully few prototypes,
 11951     which can conflict with char $ac_func (); below.
 11952     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 11953     <limits.h> exists even on freestanding compilers.  */
 11955 #ifdef __STDC__
 11956 # include <limits.h>
 11957 #else
 11958 # include <assert.h>
 11959 #endif
 11961 #undef $ac_func
 11963 /* Override any GCC internal prototype to avoid an error.
 11964    Use char because int might match the return type of a GCC
 11965    builtin and then its argument prototype would still apply.  */
 11966 #ifdef __cplusplus
 11967 extern "C"
 11968 #endif
 11969 char $ac_func ();
 11970 /* The GNU C library defines this for functions which it implements
 11971     to always fail with ENOSYS.  Some functions are actually named
 11972     something starting with __ and the normal name is an alias.  */
 11973 #if defined __stub_$ac_func || defined __stub___$ac_func
 11974 choke me
 11975 #endif
 11977 int
 11978 main ()
 11980 return $ac_func ();
 11982   return 0;
 11984 _ACEOF
 11985 rm -f conftest.$ac_objext conftest$ac_exeext
 11986 if { (ac_try="$ac_link"
 11987 case "(($ac_try" in
 11988   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 11989   *) ac_try_echo=$ac_try;;
 11990 esac
 11991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 11992 $as_echo "$ac_try_echo") >&5
 11993   (eval "$ac_link") 2>conftest.er1
 11994   ac_status=$?
 11995   grep -v '^ *+' conftest.er1 >conftest.err
 11996   rm -f conftest.er1
 11997   cat conftest.err >&5
 11998   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 11999   (exit $ac_status); } && {
 12000 	 test -z "$ac_c_werror_flag" ||
 12001 	 test ! -s conftest.err
 12002        } && test -s conftest$ac_exeext && {
 12003 	 test "$cross_compiling" = yes ||
 12004 	 $as_test_x conftest$ac_exeext
 12005        }; then
 12006   eval "$as_ac_var=yes"
 12007 else
 12008   $as_echo "$as_me: failed program was:" >&5
 12009 sed 's/^/| /' conftest.$ac_ext >&5
 12011 	eval "$as_ac_var=no"
 12012 fi
 12014 rm -rf conftest.dSYM
 12015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12016       conftest$ac_exeext conftest.$ac_ext
 12017 fi
 12018 ac_res=`eval 'as_val=${'$as_ac_var'}
 12019 		 $as_echo "$as_val"'`
 12020 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 12021 $as_echo "$ac_res" >&6; }
 12022 if test `eval 'as_val=${'$as_ac_var'}
 12023 		 $as_echo "$as_val"'` = yes; then
 12024   cat >>confdefs.h <<_ACEOF
 12025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 12026 _ACEOF
 12028 fi
 12029 done
 12031           LIBS="$glib_save_LIBS"
 12033           if test "$ac_cv_func_bind_textdomain_codeset" = "yes" ; then
 12034             gt_cv_func_dgettext_libc=no
 12035           else
 12036             if test "$gt_cv_func_dgettext_libc" = "yes" \
 12037 		&& test "$gt_cv_func_ngettext_libc" = "yes"; then
 12038               gt_cv_func_dgettext_libintl=no
 12039             fi
 12040           fi
 12041         fi
 12042       fi
 12044       if test "$gt_cv_func_dgettext_libc" = "yes" \
 12045 	|| test "$gt_cv_func_dgettext_libintl" = "yes"; then
 12046         gt_cv_have_gettext=yes
 12047       fi
 12049       if test "$gt_cv_func_dgettext_libintl" = "yes"; then
 12050         INTLLIBS="-lintl $libintl_extra_libs"
 12051       fi
 12053       if test "$gt_cv_have_gettext" = "yes"; then
 12055 cat >>confdefs.h <<\_ACEOF
 12056 #define HAVE_GETTEXT 1
 12057 _ACEOF
 12059 	# Extract the first word of "msgfmt", so it can be a program name with args.
 12060 set dummy msgfmt; ac_word=$2
 12061 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 12062 $as_echo_n "checking for $ac_word... " >&6; }
 12063 if test "${ac_cv_path_MSGFMT+set}" = set; then
 12064   $as_echo_n "(cached) " >&6
 12065 else
 12066   case "$MSGFMT" in
 12067   /*)
 12068   ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
 12069   ;;
 12070   *)
 12071   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 12072   for ac_dir in $PATH; do
 12073     test -z "$ac_dir" && ac_dir=.
 12074     if test -f $ac_dir/$ac_word; then
 12075       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep 'dv '`"; then
 12076 	ac_cv_path_MSGFMT="$ac_dir/$ac_word"
 12077 	break
 12078       fi
 12079     fi
 12080   done
 12081   IFS="$ac_save_ifs"
 12082   test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="no"
 12083   ;;
 12084 esac
 12085 fi
 12086 MSGFMT="$ac_cv_path_MSGFMT"
 12087 if test "$MSGFMT" != "no"; then
 12088   { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
 12089 $as_echo "$MSGFMT" >&6; }
 12090 else
 12091   { $as_echo "$as_me:$LINENO: result: no" >&5
 12092 $as_echo "no" >&6; }
 12093 fi
 12094 	if test "$MSGFMT" != "no"; then
 12095           glib_save_LIBS="$LIBS"
 12096           LIBS="$LIBS $INTLLIBS"
 12098 for ac_func in dcgettext
 12099 do
 12100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
 12101 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
 12102 $as_echo_n "checking for $ac_func... " >&6; }
 12103 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 12104   $as_echo_n "(cached) " >&6
 12105 else
 12106   cat >conftest.$ac_ext <<_ACEOF
 12107 /* confdefs.h.  */
 12108 _ACEOF
 12109 cat confdefs.h >>conftest.$ac_ext
 12110 cat >>conftest.$ac_ext <<_ACEOF
 12111 /* end confdefs.h.  */
 12112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 12113    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12114 #define $ac_func innocuous_$ac_func
 12116 /* System header to define __stub macros and hopefully few prototypes,
 12117     which can conflict with char $ac_func (); below.
 12118     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12119     <limits.h> exists even on freestanding compilers.  */
 12121 #ifdef __STDC__
 12122 # include <limits.h>
 12123 #else
 12124 # include <assert.h>
 12125 #endif
 12127 #undef $ac_func
 12129 /* Override any GCC internal prototype to avoid an error.
 12130    Use char because int might match the return type of a GCC
 12131    builtin and then its argument prototype would still apply.  */
 12132 #ifdef __cplusplus
 12133 extern "C"
 12134 #endif
 12135 char $ac_func ();
 12136 /* The GNU C library defines this for functions which it implements
 12137     to always fail with ENOSYS.  Some functions are actually named
 12138     something starting with __ and the normal name is an alias.  */
 12139 #if defined __stub_$ac_func || defined __stub___$ac_func
 12140 choke me
 12141 #endif
 12143 int
 12144 main ()
 12146 return $ac_func ();
 12148   return 0;
 12150 _ACEOF
 12151 rm -f conftest.$ac_objext conftest$ac_exeext
 12152 if { (ac_try="$ac_link"
 12153 case "(($ac_try" in
 12154   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12155   *) ac_try_echo=$ac_try;;
 12156 esac
 12157 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12158 $as_echo "$ac_try_echo") >&5
 12159   (eval "$ac_link") 2>conftest.er1
 12160   ac_status=$?
 12161   grep -v '^ *+' conftest.er1 >conftest.err
 12162   rm -f conftest.er1
 12163   cat conftest.err >&5
 12164   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12165   (exit $ac_status); } && {
 12166 	 test -z "$ac_c_werror_flag" ||
 12167 	 test ! -s conftest.err
 12168        } && test -s conftest$ac_exeext && {
 12169 	 test "$cross_compiling" = yes ||
 12170 	 $as_test_x conftest$ac_exeext
 12171        }; then
 12172   eval "$as_ac_var=yes"
 12173 else
 12174   $as_echo "$as_me: failed program was:" >&5
 12175 sed 's/^/| /' conftest.$ac_ext >&5
 12177 	eval "$as_ac_var=no"
 12178 fi
 12180 rm -rf conftest.dSYM
 12181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12182       conftest$ac_exeext conftest.$ac_ext
 12183 fi
 12184 ac_res=`eval 'as_val=${'$as_ac_var'}
 12185 		 $as_echo "$as_val"'`
 12186 	       { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
 12187 $as_echo "$ac_res" >&6; }
 12188 if test `eval 'as_val=${'$as_ac_var'}
 12189 		 $as_echo "$as_val"'` = yes; then
 12190   cat >>confdefs.h <<_ACEOF
 12191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
 12192 _ACEOF
 12194 fi
 12195 done
 12197 	  MSGFMT_OPTS=
 12198 	  { $as_echo "$as_me:$LINENO: checking if msgfmt accepts -c" >&5
 12199 $as_echo_n "checking if msgfmt accepts -c... " >&6; }
 12200 	  cat >conftest.foo <<_ACEOF
 12202 msgid ""
 12203 msgstr ""
 12204 "Content-Type: text/plain; charset=UTF-8\n"
 12205 "Project-Id-Version: test 1.0\n"
 12206 "PO-Revision-Date: 2007-02-15 12:01+0100\n"
 12207 "Last-Translator: test <foo@bar.xx>\n"
 12208 "Language-Team: C <LL@li.org>\n"
 12209 "MIME-Version: 1.0\n"
 12210 "Content-Transfer-Encoding: 8bit\n"
 12212 _ACEOF
 12213 if { ($as_echo "$as_me:$LINENO: \$MSGFMT -c -o /dev/null conftest.foo") >&5
 12214   ($MSGFMT -c -o /dev/null conftest.foo) 2>&5
 12215   ac_status=$?
 12216   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12217   (exit $ac_status); }; then
 12218   MSGFMT_OPTS=-c; { $as_echo "$as_me:$LINENO: result: yes" >&5
 12219 $as_echo "yes" >&6; }
 12220 else { $as_echo "$as_me:$LINENO: result: no" >&5
 12221 $as_echo "no" >&6; }
 12222 echo "$as_me: failed input was:" >&5
 12223 sed 's/^/| /' conftest.foo >&5
 12224 fi
 12226 	  # Extract the first word of "gmsgfmt", so it can be a program name with args.
 12227 set dummy gmsgfmt; ac_word=$2
 12228 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 12229 $as_echo_n "checking for $ac_word... " >&6; }
 12230 if test "${ac_cv_path_GMSGFMT+set}" = set; then
 12231   $as_echo_n "(cached) " >&6
 12232 else
 12233   case $GMSGFMT in
 12234   [\\/]* | ?:[\\/]*)
 12235   ac_cv_path_GMSGFMT="$GMSGFMT" # Let the user override the test with a path.
 12236   ;;
 12237   *)
 12238   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 12239 for as_dir in $PATH
 12240 do
 12241   IFS=$as_save_IFS
 12242   test -z "$as_dir" && as_dir=.
 12243   for ac_exec_ext in '' $ac_executable_extensions; do
 12244   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 12245     ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext"
 12246     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 12247     break 2
 12248   fi
 12249 done
 12250 done
 12251 IFS=$as_save_IFS
 12253   test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT"
 12254   ;;
 12255 esac
 12256 fi
 12257 GMSGFMT=$ac_cv_path_GMSGFMT
 12258 if test -n "$GMSGFMT"; then
 12259   { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5
 12260 $as_echo "$GMSGFMT" >&6; }
 12261 else
 12262   { $as_echo "$as_me:$LINENO: result: no" >&5
 12263 $as_echo "no" >&6; }
 12264 fi
 12267 	  # Extract the first word of "xgettext", so it can be a program name with args.
 12268 set dummy xgettext; ac_word=$2
 12269 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
 12270 $as_echo_n "checking for $ac_word... " >&6; }
 12271 if test "${ac_cv_path_XGETTEXT+set}" = set; then
 12272   $as_echo_n "(cached) " >&6
 12273 else
 12274   case "$XGETTEXT" in
 12275   /*)
 12276   ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
 12277   ;;
 12278   *)
 12279   IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS="${IFS}:"
 12280   for ac_dir in $PATH; do
 12281     test -z "$ac_dir" && ac_dir=.
 12282     if test -f $ac_dir/$ac_word; then
 12283       if test -z "`$ac_dir/$ac_word -h 2>&1 | grep '(HELP)'`"; then
 12284 	ac_cv_path_XGETTEXT="$ac_dir/$ac_word"
 12285 	break
 12286       fi
 12287     fi
 12288   done
 12289   IFS="$ac_save_ifs"
 12290   test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT=":"
 12291   ;;
 12292 esac
 12293 fi
 12294 XGETTEXT="$ac_cv_path_XGETTEXT"
 12295 if test "$XGETTEXT" != ":"; then
 12296   { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5
 12297 $as_echo "$XGETTEXT" >&6; }
 12298 else
 12299   { $as_echo "$as_me:$LINENO: result: no" >&5
 12300 $as_echo "no" >&6; }
 12301 fi
 12303 	  cat >conftest.$ac_ext <<_ACEOF
 12304 /* confdefs.h.  */
 12305 _ACEOF
 12306 cat confdefs.h >>conftest.$ac_ext
 12307 cat >>conftest.$ac_ext <<_ACEOF
 12308 /* end confdefs.h.  */
 12310 int
 12311 main ()
 12313 extern int _nl_msg_cat_cntr;
 12314 			 return _nl_msg_cat_cntr
 12316   return 0;
 12318 _ACEOF
 12319 rm -f conftest.$ac_objext conftest$ac_exeext
 12320 if { (ac_try="$ac_link"
 12321 case "(($ac_try" in
 12322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12323   *) ac_try_echo=$ac_try;;
 12324 esac
 12325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12326 $as_echo "$ac_try_echo") >&5
 12327   (eval "$ac_link") 2>conftest.er1
 12328   ac_status=$?
 12329   grep -v '^ *+' conftest.er1 >conftest.err
 12330   rm -f conftest.er1
 12331   cat conftest.err >&5
 12332   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12333   (exit $ac_status); } && {
 12334 	 test -z "$ac_c_werror_flag" ||
 12335 	 test ! -s conftest.err
 12336        } && test -s conftest$ac_exeext && {
 12337 	 test "$cross_compiling" = yes ||
 12338 	 $as_test_x conftest$ac_exeext
 12339        }; then
 12340   CATOBJEXT=.gmo
 12341              DATADIRNAME=share
 12342 else
 12343   $as_echo "$as_me: failed program was:" >&5
 12344 sed 's/^/| /' conftest.$ac_ext >&5
 12346 	case $host in
 12347 	    *-*-solaris*)
 12348 	    	                	    	                { $as_echo "$as_me:$LINENO: checking for bind_textdomain_codeset" >&5
 12349 $as_echo_n "checking for bind_textdomain_codeset... " >&6; }
 12350 if test "${ac_cv_func_bind_textdomain_codeset+set}" = set; then
 12351   $as_echo_n "(cached) " >&6
 12352 else
 12353   cat >conftest.$ac_ext <<_ACEOF
 12354 /* confdefs.h.  */
 12355 _ACEOF
 12356 cat confdefs.h >>conftest.$ac_ext
 12357 cat >>conftest.$ac_ext <<_ACEOF
 12358 /* end confdefs.h.  */
 12359 /* Define bind_textdomain_codeset to an innocuous variant, in case <limits.h> declares bind_textdomain_codeset.
 12360    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 12361 #define bind_textdomain_codeset innocuous_bind_textdomain_codeset
 12363 /* System header to define __stub macros and hopefully few prototypes,
 12364     which can conflict with char bind_textdomain_codeset (); below.
 12365     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 12366     <limits.h> exists even on freestanding compilers.  */
 12368 #ifdef __STDC__
 12369 # include <limits.h>
 12370 #else
 12371 # include <assert.h>
 12372 #endif
 12374 #undef bind_textdomain_codeset
 12376 /* Override any GCC internal prototype to avoid an error.
 12377    Use char because int might match the return type of a GCC
 12378    builtin and then its argument prototype would still apply.  */
 12379 #ifdef __cplusplus
 12380 extern "C"
 12381 #endif
 12382 char bind_textdomain_codeset ();
 12383 /* The GNU C library defines this for functions which it implements
 12384     to always fail with ENOSYS.  Some functions are actually named
 12385     something starting with __ and the normal name is an alias.  */
 12386 #if defined __stub_bind_textdomain_codeset || defined __stub___bind_textdomain_codeset
 12387 choke me
 12388 #endif
 12390 int
 12391 main ()
 12393 return bind_textdomain_codeset ();
 12395   return 0;
 12397 _ACEOF
 12398 rm -f conftest.$ac_objext conftest$ac_exeext
 12399 if { (ac_try="$ac_link"
 12400 case "(($ac_try" in
 12401   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 12402   *) ac_try_echo=$ac_try;;
 12403 esac
 12404 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
 12405 $as_echo "$ac_try_echo") >&5
 12406   (eval "$ac_link") 2>conftest.er1
 12407   ac_status=$?
 12408   grep -v '^ *+' conftest.er1 >conftest.err
 12409   rm -f conftest.er1
 12410   cat conftest.err >&5
 12411   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
 12412   (exit $ac_status); } && {
 12413 	 test -z "$ac_c_werror_flag" ||
 12414 	 test ! -s conftest.err
 12415        } && test -s conftest$ac_exeext && {
 12416 	 test "$cross_compiling" = yes ||
 12417 	 $as_test_x conftest$ac_exeext
 12418        }; then
 12419   ac_cv_func_bind_textdomain_codeset=yes
 12420 else
 12421   $as_echo "$as_me: failed program was:" >&5
 12422 sed 's/^/| /' conftest.$ac_ext >&5
 12424 	ac_cv_func_bind_textdomain_codeset=no
 12425 fi
 12427 rm -rf conftest.dSYM
 12428 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12429       conftest$ac_exeext conftest.$ac_ext
 12430 fi
 12431 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_bind_textdomain_codeset" >&5
 12432 $as_echo "$ac_cv_func_bind_textdomain_codeset" >&6; }
 12433 if test $ac_cv_func_bind_textdomain_codeset = yes; then
 12434   CATOBJEXT=.gmo
 12435                DATADIRNAME=share
 12436 else
 12437   CATOBJEXT=.mo
 12438                DATADIRNAME=lib
 12439 fi
 12441 	    ;;
 12442 	    *)
 12443 	    CATOBJEXT=.mo
 12444             DATADIRNAME=lib
 12445 	    ;;
 12446 	    esac
 12447 fi
 12449 rm -rf conftest.dSYM
 12450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 12451       conftest$ac_exeext conftest.$ac_ext
 12452           LIBS="$glib_save_LIBS"
 12453 	  INSTOBJEXT=.mo
 12454 	else
 12455 	  gt_cv_have_gettext=no
 12456 	fi
 12457       fi
 12459 fi
 12463     if test "$gt_cv_have_gettext" = "yes" ; then
 12465 cat >>confdefs.h <<\_ACEOF
 12466 #define ENABLE_NLS 1
 12467 _ACEOF
 12469     fi
 12471         if test "$XGETTEXT" != ":"; then
 12472                   if $XGETTEXT --omit-header /dev/null 2> /dev/null; then
 12473         : ;
 12474       else
 12475         { $as_echo "$as_me:$LINENO: result: found xgettext program is not GNU xgettext; ignore it" >&5
 12476 $as_echo "found xgettext program is not GNU xgettext; ignore it" >&6; }
 12477         XGETTEXT=":"
 12478       fi
 12479     fi
 12481     # We need to process the po/ directory.
 12482     POSUB=po
 12484     ac_config_commands="$ac_config_commands default-1"
 12487                 for lang in $ALL_LINGUAS; do
 12488       GMOFILES="$GMOFILES $lang.gmo"
 12489       POFILES="$POFILES $lang.po"
 12490     done
 12504    if test "$gt_cv_have_gettext" = "yes"; then
 12505      if test "x$ALL_LINGUAS" = "x"; then
 12506        LINGUAS=
 12507      else
 12508        { $as_echo "$as_me:$LINENO: checking for catalogs to be installed" >&5
 12509 $as_echo_n "checking for catalogs to be installed... " >&6; }
 12510        NEW_LINGUAS=
 12511        for presentlang in $ALL_LINGUAS; do
 12512          useit=no
 12513          if test "%UNSET%" != "${LINGUAS-%UNSET%}"; then
 12514            desiredlanguages="$LINGUAS"
 12515          else
 12516            desiredlanguages="$ALL_LINGUAS"
 12517          fi
 12518          for desiredlang in $desiredlanguages; do
 12519  	   # Use the presentlang catalog if desiredlang is
 12520            #   a. equal to presentlang, or
 12521            #   b. a variant of presentlang (because in this case,
 12522            #      presentlang can be used as a fallback for messages
 12523            #      which are not translated in the desiredlang catalog).
 12524            case "$desiredlang" in
 12525              "$presentlang"*) useit=yes;;
 12526            esac
 12527          done
 12528          if test $useit = yes; then
 12529            NEW_LINGUAS="$NEW_LINGUAS $presentlang"
 12530          fi
 12531        done
 12532        LINGUAS=$NEW_LINGUAS
 12533        { $as_echo "$as_me:$LINENO: result: $LINGUAS" >&5
 12534 $as_echo "$LINGUAS" >&6; }
 12535      fi
 12537           if test -n "$LINGUAS"; then
 12538        for lang in $LINGUAS; do CATALOGS="$CATALOGS $lang$CATOBJEXT"; done
 12539      fi
 12540    fi
 12542             MKINSTALLDIRS=
 12543    if test -n "$ac_aux_dir"; then
 12544      MKINSTALLDIRS="$ac_aux_dir/mkinstalldirs"
 12545    fi
 12546    if test -z "$MKINSTALLDIRS"; then
 12547      MKINSTALLDIRS="\$(top_srcdir)/mkinstalldirs"
 12548    fi
 12551          test -d po || mkdir po
 12552    if test "x$srcdir" != "x."; then
 12553      if test "x`echo $srcdir | sed 's@/.*@@'`" = "x"; then
 12554        posrcprefix="$srcdir/"
 12555      else
 12556        posrcprefix="../$srcdir/"
 12557      fi
 12558    else
 12559      posrcprefix="../"
 12560    fi
 12561    rm -f po/POTFILES
 12562    sed -e "/^#/d" -e "/^\$/d" -e "s,.*,	$posrcprefix& \\\\," -e "\$s/\(.*\) \\\\/\1/" \
 12563 	< $srcdir/po/POTFILES.in > po/POTFILES
 12566 ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in test/Makefile Info.plist"
 12568 cat >confcache <<\_ACEOF
 12569 # This file is a shell script that caches the results of configure
 12570 # tests run on this system so they can be shared between configure
 12571 # scripts and configure runs, see configure's option --config-cache.
 12572 # It is not useful on other systems.  If it contains results you don't
 12573 # want to keep, you may remove or edit it.
 12575 # config.status only pays attention to the cache file if you give it
 12576 # the --recheck option to rerun configure.
 12578 # `ac_cv_env_foo' variables (set or unset) will be overridden when
 12579 # loading this file, other *unset* `ac_cv_foo' will be assigned the
 12580 # following values.
 12582 _ACEOF
 12584 # The following way of writing the cache mishandles newlines in values,
 12585 # but we know of no workaround that is simple, portable, and efficient.
 12586 # So, we kill variables containing newlines.
 12587 # Ultrix sh set writes to stderr and can't be redirected directly,
 12588 # and sets the high bit in the cache file unless we assign to the vars.
 12590   for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
 12591     eval ac_val=\$$ac_var
 12592     case $ac_val in #(
 12593     *${as_nl}*)
 12594       case $ac_var in #(
 12595       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
 12596 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
 12597       esac
 12598       case $ac_var in #(
 12599       _ | IFS | as_nl) ;; #(
 12600       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
 12601       *) $as_unset $ac_var ;;
 12602       esac ;;
 12603     esac
 12604   done
 12606   (set) 2>&1 |
 12607     case $as_nl`(ac_space=' '; set) 2>&1` in #(
 12608     *${as_nl}ac_space=\ *)
 12609       # `set' does not quote correctly, so add quotes (double-quote
 12610       # substitution turns \\\\ into \\, and sed turns \\ into \).
 12611       sed -n \
 12612 	"s/'/'\\\\''/g;
 12613 	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
 12614       ;; #(
 12615     *)
 12616       # `set' quotes correctly as required by POSIX, so do not add quotes.
 12617       sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
 12618       ;;
 12619     esac |
 12620     sort
 12621 ) |
 12622   sed '
 12623      /^ac_cv_env_/b end
 12624      t clear
 12625      :clear
 12626      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
 12627      t end
 12628      s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
 12629      :end' >>confcache
 12630 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
 12631   if test -w "$cache_file"; then
 12632     test "x$cache_file" != "x/dev/null" &&
 12633       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
 12634 $as_echo "$as_me: updating cache $cache_file" >&6;}
 12635     cat confcache >$cache_file
 12636   else
 12637     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
 12638 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
 12639   fi
 12640 fi
 12641 rm -f confcache
 12643 test "x$prefix" = xNONE && prefix=$ac_default_prefix
 12644 # Let make expand exec_prefix.
 12645 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
 12647 DEFS=-DHAVE_CONFIG_H
 12649 ac_libobjs=
 12650 ac_ltlibobjs=
 12651 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
 12652   # 1. Remove the extension, and $U if already installed.
 12653   ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
 12654   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
 12655   # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
 12656   #    will be set to the directory where LIBOBJS objects are built.
 12657   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
 12658   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
 12659 done
 12660 LIBOBJS=$ac_libobjs
 12662 LTLIBOBJS=$ac_ltlibobjs
 12665 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
 12666   { { $as_echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
 12667 Usually this means the macro was only invoked conditionally." >&5
 12668 $as_echo "$as_me: error: conditional \"MAINTAINER_MODE\" 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 "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 12673   { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 12674 Usually this means the macro was only invoked conditionally." >&5
 12675 $as_echo "$as_me: error: conditional \"AMDEP\" 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 "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 12680   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 12681 Usually this means the macro was only invoked conditionally." >&5
 12682 $as_echo "$as_me: error: conditional \"am__fastdepCC\" 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 "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 12687   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 12688 Usually this means the macro was only invoked conditionally." >&5
 12689 $as_echo "$as_me: error: conditional \"am__fastdepCC\" 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 "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 12694   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 12695 Usually this means the macro was only invoked conditionally." >&5
 12696 $as_echo "$as_me: error: conditional \"am__fastdepCC\" 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 "${am__fastdepOBJC_TRUE}" && test -z "${am__fastdepOBJC_FALSE}"; then
 12701   { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepOBJC\" was never defined.
 12702 Usually this means the macro was only invoked conditionally." >&5
 12703 $as_echo "$as_me: error: conditional \"am__fastdepOBJC\" was never defined.
 12704 Usually this means the macro was only invoked conditionally." >&2;}
 12705    { (exit 1); exit 1; }; }
 12706 fi
 12707 if test -z "${GUI_COCOA_TRUE}" && test -z "${GUI_COCOA_FALSE}"; then
 12708   { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_COCOA\" was never defined.
 12709 Usually this means the macro was only invoked conditionally." >&5
 12710 $as_echo "$as_me: error: conditional \"GUI_COCOA\" was never defined.
 12711 Usually this means the macro was only invoked conditionally." >&2;}
 12712    { (exit 1); exit 1; }; }
 12713 fi
 12714 if test -z "${GUI_GTK_TRUE}" && test -z "${GUI_GTK_FALSE}"; then
 12715   { { $as_echo "$as_me:$LINENO: error: conditional \"GUI_GTK\" was never defined.
 12716 Usually this means the macro was only invoked conditionally." >&5
 12717 $as_echo "$as_me: error: conditional \"GUI_GTK\" was never defined.
 12718 Usually this means the macro was only invoked conditionally." >&2;}
 12719    { (exit 1); exit 1; }; }
 12720 fi
 12721 if test -z "${VIDEO_OSMESA_TRUE}" && test -z "${VIDEO_OSMESA_FALSE}"; then
 12722   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_OSMESA\" was never defined.
 12723 Usually this means the macro was only invoked conditionally." >&5
 12724 $as_echo "$as_me: error: conditional \"VIDEO_OSMESA\" was never defined.
 12725 Usually this means the macro was only invoked conditionally." >&2;}
 12726    { (exit 1); exit 1; }; }
 12727 fi
 12728 if test -z "${VIDEO_GLX_TRUE}" && test -z "${VIDEO_GLX_FALSE}"; then
 12729   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_GLX\" was never defined.
 12730 Usually this means the macro was only invoked conditionally." >&5
 12731 $as_echo "$as_me: error: conditional \"VIDEO_GLX\" was never defined.
 12732 Usually this means the macro was only invoked conditionally." >&2;}
 12733    { (exit 1); exit 1; }; }
 12734 fi
 12735 if test -z "${VIDEO_NSGL_TRUE}" && test -z "${VIDEO_NSGL_FALSE}"; then
 12736   { { $as_echo "$as_me:$LINENO: error: conditional \"VIDEO_NSGL\" was never defined.
 12737 Usually this means the macro was only invoked conditionally." >&5
 12738 $as_echo "$as_me: error: conditional \"VIDEO_NSGL\" was never defined.
 12739 Usually this means the macro was only invoked conditionally." >&2;}
 12740    { (exit 1); exit 1; }; }
 12741 fi
 12742 if test -z "${BUILD_SH4X86_TRUE}" && test -z "${BUILD_SH4X86_FALSE}"; then
 12743   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SH4X86\" was never defined.
 12744 Usually this means the macro was only invoked conditionally." >&5
 12745 $as_echo "$as_me: error: conditional \"BUILD_SH4X86\" was never defined.
 12746 Usually this means the macro was only invoked conditionally." >&2;}
 12747    { (exit 1); exit 1; }; }
 12748 fi
 12749 if test -z "${AUDIO_OSX_TRUE}" && test -z "${AUDIO_OSX_FALSE}"; then
 12750   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_OSX\" was never defined.
 12751 Usually this means the macro was only invoked conditionally." >&5
 12752 $as_echo "$as_me: error: conditional \"AUDIO_OSX\" was never defined.
 12753 Usually this means the macro was only invoked conditionally." >&2;}
 12754    { (exit 1); exit 1; }; }
 12755 fi
 12756 if test -z "${AUDIO_PULSE_TRUE}" && test -z "${AUDIO_PULSE_FALSE}"; then
 12757   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_PULSE\" was never defined.
 12758 Usually this means the macro was only invoked conditionally." >&5
 12759 $as_echo "$as_me: error: conditional \"AUDIO_PULSE\" was never defined.
 12760 Usually this means the macro was only invoked conditionally." >&2;}
 12761    { (exit 1); exit 1; }; }
 12762 fi
 12763 if test -z "${AUDIO_ESOUND_TRUE}" && test -z "${AUDIO_ESOUND_FALSE}"; then
 12764   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ESOUND\" was never defined.
 12765 Usually this means the macro was only invoked conditionally." >&5
 12766 $as_echo "$as_me: error: conditional \"AUDIO_ESOUND\" was never defined.
 12767 Usually this means the macro was only invoked conditionally." >&2;}
 12768    { (exit 1); exit 1; }; }
 12769 fi
 12770 if test -z "${AUDIO_ALSA_TRUE}" && test -z "${AUDIO_ALSA_FALSE}"; then
 12771   { { $as_echo "$as_me:$LINENO: error: conditional \"AUDIO_ALSA\" was never defined.
 12772 Usually this means the macro was only invoked conditionally." >&5
 12773 $as_echo "$as_me: error: conditional \"AUDIO_ALSA\" was never defined.
 12774 Usually this means the macro was only invoked conditionally." >&2;}
 12775    { (exit 1); exit 1; }; }
 12776 fi
 12777 if test -z "${CDROM_LINUX_TRUE}" && test -z "${CDROM_LINUX_FALSE}"; then
 12778   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_LINUX\" was never defined.
 12779 Usually this means the macro was only invoked conditionally." >&5
 12780 $as_echo "$as_me: error: conditional \"CDROM_LINUX\" was never defined.
 12781 Usually this means the macro was only invoked conditionally." >&2;}
 12782    { (exit 1); exit 1; }; }
 12783 fi
 12784 if test -z "${CDROM_OSX_TRUE}" && test -z "${CDROM_OSX_FALSE}"; then
 12785   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_OSX\" was never defined.
 12786 Usually this means the macro was only invoked conditionally." >&5
 12787 $as_echo "$as_me: error: conditional \"CDROM_OSX\" was never defined.
 12788 Usually this means the macro was only invoked conditionally." >&2;}
 12789    { (exit 1); exit 1; }; }
 12790 fi
 12791 if test -z "${CDROM_NONE_TRUE}" && test -z "${CDROM_NONE_FALSE}"; then
 12792   { { $as_echo "$as_me:$LINENO: error: conditional \"CDROM_NONE\" was never defined.
 12793 Usually this means the macro was only invoked conditionally." >&5
 12794 $as_echo "$as_me: error: conditional \"CDROM_NONE\" was never defined.
 12795 Usually this means the macro was only invoked conditionally." >&2;}
 12796    { (exit 1); exit 1; }; }
 12797 fi
 12798 if test -z "${JOY_LINUX_TRUE}" && test -z "${JOY_LINUX_FALSE}"; then
 12799   { { $as_echo "$as_me:$LINENO: error: conditional \"JOY_LINUX\" was never defined.
 12800 Usually this means the macro was only invoked conditionally." >&5
 12801 $as_echo "$as_me: error: conditional \"JOY_LINUX\" was never defined.
 12802 Usually this means the macro was only invoked conditionally." >&2;}
 12803    { (exit 1); exit 1; }; }
 12804 fi
 12805 if test -z "${BUILD_SYSTEST_TRUE}" && test -z "${BUILD_SYSTEST_FALSE}"; then
 12806   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_SYSTEST\" was never defined.
 12807 Usually this means the macro was only invoked conditionally." >&5
 12808 $as_echo "$as_me: error: conditional \"BUILD_SYSTEST\" was never defined.
 12809 Usually this means the macro was only invoked conditionally." >&2;}
 12810    { (exit 1); exit 1; }; }
 12811 fi
 12812 if test -z "${BUILD_ARMTEST_TRUE}" && test -z "${BUILD_ARMTEST_FALSE}"; then
 12813   { { $as_echo "$as_me:$LINENO: error: conditional \"BUILD_ARMTEST\" was never defined.
 12814 Usually this means the macro was only invoked conditionally." >&5
 12815 $as_echo "$as_me: error: conditional \"BUILD_ARMTEST\" was never defined.
 12816 Usually this means the macro was only invoked conditionally." >&2;}
 12817    { (exit 1); exit 1; }; }
 12818 fi
 12820 : ${CONFIG_STATUS=./config.status}
 12821 ac_write_fail=0
 12822 ac_clean_files_save=$ac_clean_files
 12823 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
 12824 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
 12825 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
 12826 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 12827 #! $SHELL
 12828 # Generated by $as_me.
 12829 # Run this file to recreate the current configuration.
 12830 # Compiler output produced by configure, useful for debugging
 12831 # configure, is in config.log if it exists.
 12833 debug=false
 12834 ac_cs_recheck=false
 12835 ac_cs_silent=false
 12836 SHELL=\${CONFIG_SHELL-$SHELL}
 12837 _ACEOF
 12839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 12840 ## --------------------- ##
 12841 ## M4sh Initialization.  ##
 12842 ## --------------------- ##
 12844 # Be more Bourne compatible
 12845 DUALCASE=1; export DUALCASE # for MKS sh
 12846 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
 12847   emulate sh
 12848   NULLCMD=:
 12849   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
 12850   # is contrary to our usage.  Disable this feature.
 12851   alias -g '${1+"$@"}'='"$@"'
 12852   setopt NO_GLOB_SUBST
 12853 else
 12854   case `(set -o) 2>/dev/null` in
 12855   *posix*) set -o posix ;;
 12856 esac
 12858 fi
 12863 # PATH needs CR
 12864 # Avoid depending upon Character Ranges.
 12865 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
 12866 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
 12867 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
 12868 as_cr_digits='0123456789'
 12869 as_cr_alnum=$as_cr_Letters$as_cr_digits
 12871 as_nl='
 12873 export as_nl
 12874 # Printing a long string crashes Solaris 7 /usr/bin/printf.
 12875 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 12876 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
 12877 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
 12878 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
 12879   as_echo='printf %s\n'
 12880   as_echo_n='printf %s'
 12881 else
 12882   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
 12883     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
 12884     as_echo_n='/usr/ucb/echo -n'
 12885   else
 12886     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
 12887     as_echo_n_body='eval
 12888       arg=$1;
 12889       case $arg in
 12890       *"$as_nl"*)
 12891 	expr "X$arg" : "X\\(.*\\)$as_nl";
 12892 	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
 12893       esac;
 12894       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
 12896     export as_echo_n_body
 12897     as_echo_n='sh -c $as_echo_n_body as_echo'
 12898   fi
 12899   export as_echo_body
 12900   as_echo='sh -c $as_echo_body as_echo'
 12901 fi
 12903 # The user is always right.
 12904 if test "${PATH_SEPARATOR+set}" != set; then
 12905   PATH_SEPARATOR=:
 12906   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
 12907     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
 12908       PATH_SEPARATOR=';'
 12910 fi
 12912 # Support unset when possible.
 12913 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
 12914   as_unset=unset
 12915 else
 12916   as_unset=false
 12917 fi
 12920 # IFS
 12921 # We need space, tab and new line, in precisely that order.  Quoting is
 12922 # there to prevent editors from complaining about space-tab.
 12923 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
 12924 # splitting by setting IFS to empty value.)
 12925 IFS=" ""	$as_nl"
 12927 # Find who we are.  Look in the path if we contain no directory separator.
 12928 case $0 in
 12929   *[\\/]* ) as_myself=$0 ;;
 12930   *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 12931 for as_dir in $PATH
 12932 do
 12933   IFS=$as_save_IFS
 12934   test -z "$as_dir" && as_dir=.
 12935   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
 12936 done
 12937 IFS=$as_save_IFS
 12939      ;;
 12940 esac
 12941 # We did not find ourselves, most probably we were run as `sh COMMAND'
 12942 # in which case we are not to be found in the path.
 12943 if test "x$as_myself" = x; then
 12944   as_myself=$0
 12945 fi
 12946 if test ! -f "$as_myself"; then
 12947   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
 12948   { (exit 1); exit 1; }
 12949 fi
 12951 # Work around bugs in pre-3.0 UWIN ksh.
 12952 for as_var in ENV MAIL MAILPATH
 12953 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
 12954 done
 12955 PS1='$ '
 12956 PS2='> '
 12957 PS4='+ '
 12959 # NLS nuisances.
 12960 LC_ALL=C
 12961 export LC_ALL
 12962 LANGUAGE=C
 12963 export LANGUAGE
 12965 # Required to use basename.
 12966 if expr a : '\(a\)' >/dev/null 2>&1 &&
 12967    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 12968   as_expr=expr
 12969 else
 12970   as_expr=false
 12971 fi
 12973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
 12974   as_basename=basename
 12975 else
 12976   as_basename=false
 12977 fi
 12980 # Name of the executable.
 12981 as_me=`$as_basename -- "$0" ||
 12982 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
 12983 	 X"$0" : 'X\(//\)$' \| \
 12984 	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
 12985 $as_echo X/"$0" |
 12986     sed '/^.*\/\([^/][^/]*\)\/*$/{
 12987 	    s//\1/
 12990 	  /^X\/\(\/\/\)$/{
 12991 	    s//\1/
 12994 	  /^X\/\(\/\).*/{
 12995 	    s//\1/
 12998 	  s/.*/./; q'`
 13000 # CDPATH.
 13001 $as_unset CDPATH
 13005   as_lineno_1=$LINENO
 13006   as_lineno_2=$LINENO
 13007   test "x$as_lineno_1" != "x$as_lineno_2" &&
 13008   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
 13010   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
 13011   # uniformly replaced by the line number.  The first 'sed' inserts a
 13012   # line-number line after each line using $LINENO; the second 'sed'
 13013   # does the real work.  The second script uses 'N' to pair each
 13014   # line-number line with the line containing $LINENO, and appends
 13015   # trailing '-' during substitution so that $LINENO is not a special
 13016   # case at line end.
 13017   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
 13018   # scripts with optimization help from Paolo Bonzini.  Blame Lee
 13019   # E. McMahon (1931-1989) for sed's syntax.  :-)
 13020   sed -n '
 13022     /[$]LINENO/=
 13023   ' <$as_myself |
 13024     sed '
 13025       s/[$]LINENO.*/&-/
 13026       t lineno
 13028       :lineno
 13030       :loop
 13031       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
 13032       t loop
 13033       s/-\n.*//
 13034     ' >$as_me.lineno &&
 13035   chmod +x "$as_me.lineno" ||
 13036     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
 13037    { (exit 1); exit 1; }; }
 13039   # Don't try to exec as it changes $[0], causing all sort of problems
 13040   # (the dirname of $[0] is not the place where we might find the
 13041   # original and so on.  Autoconf is especially sensitive to this).
 13042   . "./$as_me.lineno"
 13043   # Exit status is that of the last command.
 13044   exit
 13048 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
 13049   as_dirname=dirname
 13050 else
 13051   as_dirname=false
 13052 fi
 13054 ECHO_C= ECHO_N= ECHO_T=
 13055 case `echo -n x` in
 13056 -n*)
 13057   case `echo 'x\c'` in
 13058   *c*) ECHO_T='	';;	# ECHO_T is single tab character.
 13059   *)   ECHO_C='\c';;
 13060   esac;;
 13061 *)
 13062   ECHO_N='-n';;
 13063 esac
 13064 if expr a : '\(a\)' >/dev/null 2>&1 &&
 13065    test "X`expr 00001 : '.*\(...\)'`" = X001; then
 13066   as_expr=expr
 13067 else
 13068   as_expr=false
 13069 fi
 13071 rm -f conf$$ conf$$.exe conf$$.file
 13072 if test -d conf$$.dir; then
 13073   rm -f conf$$.dir/conf$$.file
 13074 else
 13075   rm -f conf$$.dir
 13076   mkdir conf$$.dir 2>/dev/null
 13077 fi
 13078 if (echo >conf$$.file) 2>/dev/null; then
 13079   if ln -s conf$$.file conf$$ 2>/dev/null; then
 13080     as_ln_s='ln -s'
 13081     # ... but there are two gotchas:
 13082     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
 13083     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
 13084     # In both cases, we have to default to `cp -p'.
 13085     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
 13086       as_ln_s='cp -p'
 13087   elif ln conf$$.file conf$$ 2>/dev/null; then
 13088     as_ln_s=ln
 13089   else
 13090     as_ln_s='cp -p'
 13091   fi
 13092 else
 13093   as_ln_s='cp -p'
 13094 fi
 13095 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
 13096 rmdir conf$$.dir 2>/dev/null
 13098 if mkdir -p . 2>/dev/null; then
 13099   as_mkdir_p=:
 13100 else
 13101   test -d ./-p && rmdir ./-p
 13102   as_mkdir_p=false
 13103 fi
 13105 if test -x / >/dev/null 2>&1; then
 13106   as_test_x='test -x'
 13107 else
 13108   if ls -dL / >/dev/null 2>&1; then
 13109     as_ls_L_option=L
 13110   else
 13111     as_ls_L_option=
 13112   fi
 13113   as_test_x='
 13114     eval sh -c '\''
 13115       if test -d "$1"; then
 13116 	test -d "$1/.";
 13117       else
 13118 	case $1 in
 13119 	-*)set "./$1";;
 13120 	esac;
 13121 	case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 13122 	???[sx]*):;;*)false;;esac;fi
 13123     '\'' sh
 13125 fi
 13126 as_executable_p=$as_test_x
 13128 # Sed expression to map a string onto a valid CPP name.
 13129 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
 13131 # Sed expression to map a string onto a valid variable name.
 13132 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
 13135 exec 6>&1
 13137 # Save the log message, to keep $[0] and so on meaningful, and to
 13138 # report actual input values of CONFIG_FILES etc. instead of their
 13139 # values after options handling.
 13140 ac_log="
 13141 This file was extended by $as_me, which was
 13142 generated by GNU Autoconf 2.62.  Invocation command line was
 13144   CONFIG_FILES    = $CONFIG_FILES
 13145   CONFIG_HEADERS  = $CONFIG_HEADERS
 13146   CONFIG_LINKS    = $CONFIG_LINKS
 13147   CONFIG_COMMANDS = $CONFIG_COMMANDS
 13148   $ $0 $@
 13150 on `(hostname || uname -n) 2>/dev/null | sed 1q`
 13153 _ACEOF
 13155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13156 # Files that config.status was made for.
 13157 config_files="$ac_config_files"
 13158 config_headers="$ac_config_headers"
 13159 config_commands="$ac_config_commands"
 13161 _ACEOF
 13163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13164 ac_cs_usage="\
 13165 \`$as_me' instantiates files from templates according to the
 13166 current configuration.
 13168 Usage: $0 [OPTIONS] [FILE]...
 13170   -h, --help       print this help, then exit
 13171   -V, --version    print version number and configuration settings, then exit
 13172   -q, --quiet      do not print progress messages
 13173   -d, --debug      don't remove temporary files
 13174       --recheck    update $as_me by reconfiguring in the same conditions
 13175   --file=FILE[:TEMPLATE]
 13176                    instantiate the configuration file FILE
 13177   --header=FILE[:TEMPLATE]
 13178                    instantiate the configuration header FILE
 13180 Configuration files:
 13181 $config_files
 13183 Configuration headers:
 13184 $config_headers
 13186 Configuration commands:
 13187 $config_commands
 13189 Report bugs to <bug-autoconf@gnu.org>."
 13191 _ACEOF
 13192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13193 ac_cs_version="\\
 13194 config.status
 13195 configured by $0, generated by GNU Autoconf 2.62,
 13196   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
 13198 Copyright (C) 2008 Free Software Foundation, Inc.
 13199 This config.status script is free software; the Free Software Foundation
 13200 gives unlimited permission to copy, distribute and modify it."
 13202 ac_pwd='$ac_pwd'
 13203 srcdir='$srcdir'
 13204 INSTALL='$INSTALL'
 13205 AWK='$AWK'
 13206 test -n "\$AWK" || AWK=awk
 13207 _ACEOF
 13209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13210 # The default lists apply if the user does not specify any file.
 13211 ac_need_defaults=:
 13212 while test $# != 0
 13213 do
 13214   case $1 in
 13215   --*=*)
 13216     ac_option=`expr "X$1" : 'X\([^=]*\)='`
 13217     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
 13218     ac_shift=:
 13219     ;;
 13220   *)
 13221     ac_option=$1
 13222     ac_optarg=$2
 13223     ac_shift=shift
 13224     ;;
 13225   esac
 13227   case $ac_option in
 13228   # Handling of the options.
 13229   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
 13230     ac_cs_recheck=: ;;
 13231   --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
 13232     $as_echo "$ac_cs_version"; exit ;;
 13233   --debug | --debu | --deb | --de | --d | -d )
 13234     debug=: ;;
 13235   --file | --fil | --fi | --f )
 13236     $ac_shift
 13237     case $ac_optarg in
 13238     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 13239     esac
 13240     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
 13241     ac_need_defaults=false;;
 13242   --header | --heade | --head | --hea )
 13243     $ac_shift
 13244     case $ac_optarg in
 13245     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 13246     esac
 13247     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
 13248     ac_need_defaults=false;;
 13249   --he | --h)
 13250     # Conflict between --help and --header
 13251     { $as_echo "$as_me: error: ambiguous option: $1
 13252 Try \`$0 --help' for more information." >&2
 13253    { (exit 1); exit 1; }; };;
 13254   --help | --hel | -h )
 13255     $as_echo "$ac_cs_usage"; exit ;;
 13256   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
 13257   | -silent | --silent | --silen | --sile | --sil | --si | --s)
 13258     ac_cs_silent=: ;;
 13260   # This is an error.
 13261   -*) { $as_echo "$as_me: error: unrecognized option: $1
 13262 Try \`$0 --help' for more information." >&2
 13263    { (exit 1); exit 1; }; } ;;
 13265   *) ac_config_targets="$ac_config_targets $1"
 13266      ac_need_defaults=false ;;
 13268   esac
 13269   shift
 13270 done
 13272 ac_configure_extra_args=
 13274 if $ac_cs_silent; then
 13275   exec 6>/dev/null
 13276   ac_configure_extra_args="$ac_configure_extra_args --silent"
 13277 fi
 13279 _ACEOF
 13280 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13281 if \$ac_cs_recheck; then
 13282   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
 13283   shift
 13284   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
 13285   CONFIG_SHELL='$SHELL'
 13286   export CONFIG_SHELL
 13287   exec "\$@"
 13288 fi
 13290 _ACEOF
 13291 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13292 exec 5>>config.log
 13294   echo
 13295   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
 13296 ## Running $as_me. ##
 13297 _ASBOX
 13298   $as_echo "$ac_log"
 13299 } >&5
 13301 _ACEOF
 13302 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13304 # INIT-COMMANDS
 13306 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
 13309 _ACEOF
 13311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13313 # Handling of arguments.
 13314 for ac_config_target in $ac_config_targets
 13315 do
 13316   case $ac_config_target in
 13317     "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
 13318     "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
 13319     "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 13320     "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
 13321     "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
 13322     "po/Makefile.in") CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
 13323     "test/Makefile") CONFIG_FILES="$CONFIG_FILES test/Makefile" ;;
 13324     "Info.plist") CONFIG_FILES="$CONFIG_FILES Info.plist" ;;
 13326   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
 13327 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
 13328    { (exit 1); exit 1; }; };;
 13329   esac
 13330 done
 13333 # If the user did not use the arguments to specify the items to instantiate,
 13334 # then the envvar interface is used.  Set only those that are not.
 13335 # We use the long form for the default assignment because of an extremely
 13336 # bizarre bug on SunOS 4.1.3.
 13337 if $ac_need_defaults; then
 13338   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
 13339   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
 13340   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
 13341 fi
 13343 # Have a temporary directory for convenience.  Make it in the build tree
 13344 # simply because there is no reason against having it here, and in addition,
 13345 # creating and moving files from /tmp can sometimes cause problems.
 13346 # Hook for its removal unless debugging.
 13347 # Note that there is a small window in which the directory will not be cleaned:
 13348 # after its creation but before its name has been assigned to `$tmp'.
 13349 $debug ||
 13351   tmp=
 13352   trap 'exit_status=$?
 13353   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 13354 ' 0
 13355   trap '{ (exit 1); exit 1; }' 1 2 13 15
 13357 # Create a (secure) tmp directory for tmp files.
 13360   tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
 13361   test -n "$tmp" && test -d "$tmp"
 13362 }  ||
 13364   tmp=./conf$$-$RANDOM
 13365   (umask 077 && mkdir "$tmp")
 13366 } ||
 13368    $as_echo "$as_me: cannot create a temporary directory in ." >&2
 13369    { (exit 1); exit 1; }
 13372 # Set up the scripts for CONFIG_FILES section.
 13373 # No need to generate them if there are no CONFIG_FILES.
 13374 # This happens for instance with `./config.status config.h'.
 13375 if test -n "$CONFIG_FILES"; then
 13378 ac_cr='
 13380 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
 13381 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
 13382   ac_cs_awk_cr='\\r'
 13383 else
 13384   ac_cs_awk_cr=$ac_cr
 13385 fi
 13387 echo 'BEGIN {' >"$tmp/subs1.awk" &&
 13388 _ACEOF
 13392   echo "cat >conf$$subs.awk <<_ACEOF" &&
 13393   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
 13394   echo "_ACEOF"
 13395 } >conf$$subs.sh ||
 13396   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 13397 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 13398    { (exit 1); exit 1; }; }
 13399 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
 13400 ac_delim='%!_!# '
 13401 for ac_last_try in false false false false false :; do
 13402   . ./conf$$subs.sh ||
 13403     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 13404 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 13405    { (exit 1); exit 1; }; }
 13407   if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X` = $ac_delim_num; then
 13408     break
 13409   elif $ac_last_try; then
 13410     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 13411 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 13412    { (exit 1); exit 1; }; }
 13413   else
 13414     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 13415   fi
 13416 done
 13417 rm -f conf$$subs.sh
 13419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13420 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 13421 _ACEOF
 13422 sed -n '
 13424 s/^/S["/; s/!.*/"]=/
 13427 s/^[^!]*!//
 13428 :repl
 13429 t repl
 13430 s/'"$ac_delim"'$//
 13431 t delim
 13432 :nl
 13434 s/\(.\{148\}\).*/\1/
 13435 t more1
 13436 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
 13439 b repl
 13440 :more1
 13441 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 13444 s/.\{148\}//
 13445 t nl
 13446 :delim
 13448 s/\(.\{148\}\).*/\1/
 13449 t more2
 13450 s/["\\]/\\&/g; s/^/"/; s/$/"/
 13453 :more2
 13454 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
 13457 s/.\{148\}//
 13458 t delim
 13459 ' <conf$$subs.awk | sed '
 13460 /^[^""]/{
 13462   s/\n//
 13464 ' >>$CONFIG_STATUS || ac_write_fail=1
 13465 rm -f conf$$subs.awk
 13466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13467 _ACAWK
 13468 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 13469   for (key in S) S_is_set[key] = 1
 13470   FS = ""
 13474   line = $ 0
 13475   nfields = split(line, field, "@")
 13476   substed = 0
 13477   len = length(field[1])
 13478   for (i = 2; i < nfields; i++) {
 13479     key = field[i]
 13480     keylen = length(key)
 13481     if (S_is_set[key]) {
 13482       value = S[key]
 13483       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
 13484       len += length(value) + length(field[++i])
 13485       substed = 1
 13486     } else
 13487       len += 1 + keylen
 13490   print line
 13493 _ACAWK
 13494 _ACEOF
 13495 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13496 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
 13497   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
 13498 else
 13499   cat
 13500 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 13501   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
 13502 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
 13503    { (exit 1); exit 1; }; }
 13504 _ACEOF
 13506 # VPATH may cause trouble with some makes, so we remove $(srcdir),
 13507 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
 13508 # trailing colons and then remove the whole line if VPATH becomes empty
 13509 # (actually we leave an empty line to preserve line numbers).
 13510 if test "x$srcdir" = x.; then
 13511   ac_vpsub='/^[	 ]*VPATH[	 ]*=/{
 13512 s/:*\$(srcdir):*/:/
 13513 s/:*\${srcdir}:*/:/
 13514 s/:*@srcdir@:*/:/
 13515 s/^\([^=]*=[	 ]*\):*/\1/
 13516 s/:*$//
 13517 s/^[^=]*=[	 ]*$//
 13518 }'
 13519 fi
 13521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13522 fi # test -n "$CONFIG_FILES"
 13524 # Set up the scripts for CONFIG_HEADERS section.
 13525 # No need to generate them if there are no CONFIG_HEADERS.
 13526 # This happens for instance with `./config.status Makefile'.
 13527 if test -n "$CONFIG_HEADERS"; then
 13528 cat >"$tmp/defines.awk" <<\_ACAWK ||
 13529 BEGIN {
 13530 _ACEOF
 13532 # Transform confdefs.h into an awk script `defines.awk', embedded as
 13533 # here-document in config.status, that substitutes the proper values into
 13534 # config.h.in to produce config.h.
 13536 # Create a delimiter string that does not exist in confdefs.h, to ease
 13537 # handling of long lines.
 13538 ac_delim='%!_!# '
 13539 for ac_last_try in false false :; do
 13540   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
 13541   if test -z "$ac_t"; then
 13542     break
 13543   elif $ac_last_try; then
 13544     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
 13545 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
 13546    { (exit 1); exit 1; }; }
 13547   else
 13548     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 13549   fi
 13550 done
 13552 # For the awk script, D is an array of macro values keyed by name,
 13553 # likewise P contains macro parameters if any.  Preserve backslash
 13554 # newline sequences.
 13556 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
 13557 sed -n '
 13558 s/.\{148\}/&'"$ac_delim"'/g
 13559 t rset
 13560 :rset
 13561 s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
 13562 t def
 13564 :def
 13565 s/\\$//
 13566 t bsnl
 13567 s/["\\]/\\&/g
 13568 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 13569 D["\1"]=" \3"/p
 13570 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
 13572 :bsnl
 13573 s/["\\]/\\&/g
 13574 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
 13575 D["\1"]=" \3\\\\\\n"\\/p
 13576 t cont
 13577 s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
 13578 t cont
 13580 :cont
 13582 s/.\{148\}/&'"$ac_delim"'/g
 13583 t clear
 13584 :clear
 13585 s/\\$//
 13586 t bsnlc
 13587 s/["\\]/\\&/g; s/^/"/; s/$/"/p
 13589 :bsnlc
 13590 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
 13591 b cont
 13592 ' <confdefs.h | sed '
 13593 s/'"$ac_delim"'/"\\\
 13594 "/g' >>$CONFIG_STATUS || ac_write_fail=1
 13596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13597   for (key in D) D_is_set[key] = 1
 13598   FS = ""
 13600 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
 13601   line = \$ 0
 13602   split(line, arg, " ")
 13603   if (arg[1] == "#") {
 13604     defundef = arg[2]
 13605     mac1 = arg[3]
 13606   } else {
 13607     defundef = substr(arg[1], 2)
 13608     mac1 = arg[2]
 13610   split(mac1, mac2, "(") #)
 13611   macro = mac2[1]
 13612   if (D_is_set[macro]) {
 13613     # Preserve the white space surrounding the "#".
 13614     prefix = substr(line, 1, index(line, defundef) - 1)
 13615     print prefix "define", macro P[macro] D[macro]
 13616     next
 13617   } else {
 13618     # Replace #undef with comments.  This is necessary, for example,
 13619     # in the case of _POSIX_SOURCE, which is predefined and required
 13620     # on some systems where configure will not decide to define it.
 13621     if (defundef == "undef") {
 13622       print "/*", line, "*/"
 13623       next
 13627 { print }
 13628 _ACAWK
 13629 _ACEOF
 13630 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13631   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
 13632 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
 13633    { (exit 1); exit 1; }; }
 13634 fi # test -n "$CONFIG_HEADERS"
 13637 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    :C $CONFIG_COMMANDS"
 13638 shift
 13639 for ac_tag
 13640 do
 13641   case $ac_tag in
 13642   :[FHLC]) ac_mode=$ac_tag; continue;;
 13643   esac
 13644   case $ac_mode$ac_tag in
 13645   :[FHL]*:*);;
 13646   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
 13647 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
 13648    { (exit 1); exit 1; }; };;
 13649   :[FH]-) ac_tag=-:-;;
 13650   :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
 13651   esac
 13652   ac_save_IFS=$IFS
 13653   IFS=:
 13654   set x $ac_tag
 13655   IFS=$ac_save_IFS
 13656   shift
 13657   ac_file=$1
 13658   shift
 13660   case $ac_mode in
 13661   :L) ac_source=$1;;
 13662   :[FH])
 13663     ac_file_inputs=
 13664     for ac_f
 13665     do
 13666       case $ac_f in
 13667       -) ac_f="$tmp/stdin";;
 13668       *) # Look for the file first in the build tree, then in the source tree
 13669 	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
 13670 	 # because $ac_f cannot contain `:'.
 13671 	 test -f "$ac_f" ||
 13672 	   case $ac_f in
 13673 	   [\\/$]*) false;;
 13674 	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
 13675 	   esac ||
 13676 	   { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
 13677 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
 13678    { (exit 1); exit 1; }; };;
 13679       esac
 13680       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
 13681       ac_file_inputs="$ac_file_inputs '$ac_f'"
 13682     done
 13684     # Let's still pretend it is `configure' which instantiates (i.e., don't
 13685     # use $as_me), people would be surprised to read:
 13686     #    /* config.h.  Generated by config.status.  */
 13687     configure_input='Generated from '`
 13688 	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
 13689 	`' by configure.'
 13690     if test x"$ac_file" != x-; then
 13691       configure_input="$ac_file.  $configure_input"
 13692       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
 13693 $as_echo "$as_me: creating $ac_file" >&6;}
 13694     fi
 13695     # Neutralize special characters interpreted by sed in replacement strings.
 13696     case $configure_input in #(
 13697     *\&* | *\|* | *\\* )
 13698        ac_sed_conf_input=`$as_echo "$configure_input" |
 13699        sed 's/[\\\\&|]/\\\\&/g'`;; #(
 13700     *) ac_sed_conf_input=$configure_input;;
 13701     esac
 13703     case $ac_tag in
 13704     *:-:* | *:-) cat >"$tmp/stdin" \
 13705       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13706 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13707    { (exit 1); exit 1; }; } ;;
 13708     esac
 13709     ;;
 13710   esac
 13712   ac_dir=`$as_dirname -- "$ac_file" ||
 13713 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13714 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 13715 	 X"$ac_file" : 'X\(//\)$' \| \
 13716 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 13717 $as_echo X"$ac_file" |
 13718     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13719 	    s//\1/
 13722 	  /^X\(\/\/\)[^/].*/{
 13723 	    s//\1/
 13726 	  /^X\(\/\/\)$/{
 13727 	    s//\1/
 13730 	  /^X\(\/\).*/{
 13731 	    s//\1/
 13734 	  s/.*/./; q'`
 13735   { as_dir="$ac_dir"
 13736   case $as_dir in #(
 13737   -*) as_dir=./$as_dir;;
 13738   esac
 13739   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 13740     as_dirs=
 13741     while :; do
 13742       case $as_dir in #(
 13743       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 13744       *) as_qdir=$as_dir;;
 13745       esac
 13746       as_dirs="'$as_qdir' $as_dirs"
 13747       as_dir=`$as_dirname -- "$as_dir" ||
 13748 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13749 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 13750 	 X"$as_dir" : 'X\(//\)$' \| \
 13751 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 13752 $as_echo X"$as_dir" |
 13753     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13754 	    s//\1/
 13757 	  /^X\(\/\/\)[^/].*/{
 13758 	    s//\1/
 13761 	  /^X\(\/\/\)$/{
 13762 	    s//\1/
 13765 	  /^X\(\/\).*/{
 13766 	    s//\1/
 13769 	  s/.*/./; q'`
 13770       test -d "$as_dir" && break
 13771     done
 13772     test -z "$as_dirs" || eval "mkdir $as_dirs"
 13773   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 13774 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 13775    { (exit 1); exit 1; }; }; }
 13776   ac_builddir=.
 13778 case "$ac_dir" in
 13779 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
 13780 *)
 13781   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
 13782   # A ".." for each directory in $ac_dir_suffix.
 13783   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
 13784   case $ac_top_builddir_sub in
 13785   "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
 13786   *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
 13787   esac ;;
 13788 esac
 13789 ac_abs_top_builddir=$ac_pwd
 13790 ac_abs_builddir=$ac_pwd$ac_dir_suffix
 13791 # for backward compatibility:
 13792 ac_top_builddir=$ac_top_build_prefix
 13794 case $srcdir in
 13795   .)  # We are building in place.
 13796     ac_srcdir=.
 13797     ac_top_srcdir=$ac_top_builddir_sub
 13798     ac_abs_top_srcdir=$ac_pwd ;;
 13799   [\\/]* | ?:[\\/]* )  # Absolute name.
 13800     ac_srcdir=$srcdir$ac_dir_suffix;
 13801     ac_top_srcdir=$srcdir
 13802     ac_abs_top_srcdir=$srcdir ;;
 13803   *) # Relative name.
 13804     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
 13805     ac_top_srcdir=$ac_top_build_prefix$srcdir
 13806     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
 13807 esac
 13808 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
 13811   case $ac_mode in
 13812   :F)
 13814   # CONFIG_FILE
 13817   case $INSTALL in
 13818   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
 13819   *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
 13820   esac
 13821 _ACEOF
 13823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13824 # If the template does not know about datarootdir, expand it.
 13825 # FIXME: This hack should be removed a few years after 2.60.
 13826 ac_datarootdir_hack=; ac_datarootdir_seen=
 13828 ac_sed_dataroot='
 13829 /datarootdir/ {
 13833 /@datadir@/p
 13834 /@docdir@/p
 13835 /@infodir@/p
 13836 /@localedir@/p
 13837 /@mandir@/p
 13839 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
 13840 *datarootdir*) ac_datarootdir_seen=yes;;
 13841 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
 13842   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
 13843 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
 13844 _ACEOF
 13845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13846   ac_datarootdir_hack='
 13847   s&@datadir@&$datadir&g
 13848   s&@docdir@&$docdir&g
 13849   s&@infodir@&$infodir&g
 13850   s&@localedir@&$localedir&g
 13851   s&@mandir@&$mandir&g
 13852     s&\\\${datarootdir}&$datarootdir&g' ;;
 13853 esac
 13854 _ACEOF
 13856 # Neutralize VPATH when `$srcdir' = `.'.
 13857 # Shell code in configure.ac might set extrasub.
 13858 # FIXME: do we really want to maintain this feature?
 13859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 13860 ac_sed_extra="$ac_vpsub
 13861 $extrasub
 13862 _ACEOF
 13863 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
 13864 :t
 13865 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 13866 s|@configure_input@|$ac_sed_conf_input|;t t
 13867 s&@top_builddir@&$ac_top_builddir_sub&;t t
 13868 s&@top_build_prefix@&$ac_top_build_prefix&;t t
 13869 s&@srcdir@&$ac_srcdir&;t t
 13870 s&@abs_srcdir@&$ac_abs_srcdir&;t t
 13871 s&@top_srcdir@&$ac_top_srcdir&;t t
 13872 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
 13873 s&@builddir@&$ac_builddir&;t t
 13874 s&@abs_builddir@&$ac_abs_builddir&;t t
 13875 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
 13876 s&@INSTALL@&$ac_INSTALL&;t t
 13877 $ac_datarootdir_hack
 13879 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
 13880   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13881 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13882    { (exit 1); exit 1; }; }
 13884 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
 13885   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
 13886   { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 13887   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 13888 which seems to be undefined.  Please make sure it is defined." >&5
 13889 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
 13890 which seems to be undefined.  Please make sure it is defined." >&2;}
 13892   rm -f "$tmp/stdin"
 13893   case $ac_file in
 13894   -) cat "$tmp/out" && rm -f "$tmp/out";;
 13895   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 13896   esac \
 13897   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13898 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13899    { (exit 1); exit 1; }; }
 13900  ;;
 13901   :H)
 13903   # CONFIG_HEADER
 13905   if test x"$ac_file" != x-; then
 13907       $as_echo "/* $configure_input  */" \
 13908       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
 13909     } >"$tmp/config.h" \
 13910       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13911 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13912    { (exit 1); exit 1; }; }
 13913     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 13914       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
 13915 $as_echo "$as_me: $ac_file is unchanged" >&6;}
 13916     else
 13917       rm -f "$ac_file"
 13918       mv "$tmp/config.h" "$ac_file" \
 13919 	|| { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
 13920 $as_echo "$as_me: error: could not create $ac_file" >&2;}
 13921    { (exit 1); exit 1; }; }
 13922     fi
 13923   else
 13924     $as_echo "/* $configure_input  */" \
 13925       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 13926       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
 13927 $as_echo "$as_me: error: could not create -" >&2;}
 13928    { (exit 1); exit 1; }; }
 13929   fi
 13930 # Compute "$ac_file"'s index in $config_headers.
 13931 _am_stamp_count=1
 13932 for _am_header in $config_headers :; do
 13933   case $_am_header in
 13934     "$ac_file" | "$ac_file":* )
 13935       break ;;
 13936     * )
 13937       _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 13938   esac
 13939 done
 13940 echo "timestamp for "$ac_file"" >`$as_dirname -- "$ac_file" ||
 13941 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13942 	 X"$ac_file" : 'X\(//\)[^/]' \| \
 13943 	 X"$ac_file" : 'X\(//\)$' \| \
 13944 	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
 13945 $as_echo X"$ac_file" |
 13946     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13947 	    s//\1/
 13950 	  /^X\(\/\/\)[^/].*/{
 13951 	    s//\1/
 13954 	  /^X\(\/\/\)$/{
 13955 	    s//\1/
 13958 	  /^X\(\/\).*/{
 13959 	    s//\1/
 13962 	  s/.*/./; q'`/stamp-h$_am_stamp_count
 13963  ;;
 13965   :C)  { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
 13966 $as_echo "$as_me: executing $ac_file commands" >&6;}
 13967  ;;
 13968   esac
 13971   case $ac_file$ac_mode in
 13972     "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 13973   # Strip MF so we end up with the name of the file.
 13974   mf=`echo "$mf" | sed -e 's/:.*$//'`
 13975   # Check whether this is an Automake generated Makefile or not.
 13976   # We used to match only the files named `Makefile.in', but
 13977   # some people rename them; so instead we look at the file content.
 13978   # Grep'ing the first line is not enough: some people post-process
 13979   # each Makefile.in and add a new line on top of each file to say so.
 13980   # So let's grep whole file.
 13981   if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 13982     dirpart=`$as_dirname -- "$mf" ||
 13983 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 13984 	 X"$mf" : 'X\(//\)[^/]' \| \
 13985 	 X"$mf" : 'X\(//\)$' \| \
 13986 	 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
 13987 $as_echo X"$mf" |
 13988     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 13989 	    s//\1/
 13992 	  /^X\(\/\/\)[^/].*/{
 13993 	    s//\1/
 13996 	  /^X\(\/\/\)$/{
 13997 	    s//\1/
 14000 	  /^X\(\/\).*/{
 14001 	    s//\1/
 14004 	  s/.*/./; q'`
 14005   else
 14006     continue
 14007   fi
 14008   # Extract the definition of DEPDIR, am__include, and am__quote
 14009   # from the Makefile without running `make'.
 14010   DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 14011   test -z "$DEPDIR" && continue
 14012   am__include=`sed -n 's/^am__include = //p' < "$mf"`
 14013   test -z "am__include" && continue
 14014   am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 14015   # When using ansi2knr, U may be empty or an underscore; expand it
 14016   U=`sed -n 's/^U = //p' < "$mf"`
 14017   # Find all dependency output files, they are included files with
 14018   # $(DEPDIR) in their names.  We invoke sed twice because it is the
 14019   # simplest approach to changing $(DEPDIR) to its actual value in the
 14020   # expansion.
 14021   for file in `sed -n "
 14022     s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 14023        sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 14024     # Make sure the directory exists.
 14025     test -f "$dirpart/$file" && continue
 14026     fdir=`$as_dirname -- "$file" ||
 14027 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14028 	 X"$file" : 'X\(//\)[^/]' \| \
 14029 	 X"$file" : 'X\(//\)$' \| \
 14030 	 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
 14031 $as_echo X"$file" |
 14032     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14033 	    s//\1/
 14036 	  /^X\(\/\/\)[^/].*/{
 14037 	    s//\1/
 14040 	  /^X\(\/\/\)$/{
 14041 	    s//\1/
 14044 	  /^X\(\/\).*/{
 14045 	    s//\1/
 14048 	  s/.*/./; q'`
 14049     { as_dir=$dirpart/$fdir
 14050   case $as_dir in #(
 14051   -*) as_dir=./$as_dir;;
 14052   esac
 14053   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 14054     as_dirs=
 14055     while :; do
 14056       case $as_dir in #(
 14057       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 14058       *) as_qdir=$as_dir;;
 14059       esac
 14060       as_dirs="'$as_qdir' $as_dirs"
 14061       as_dir=`$as_dirname -- "$as_dir" ||
 14062 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14063 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 14064 	 X"$as_dir" : 'X\(//\)$' \| \
 14065 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 14066 $as_echo X"$as_dir" |
 14067     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14068 	    s//\1/
 14071 	  /^X\(\/\/\)[^/].*/{
 14072 	    s//\1/
 14075 	  /^X\(\/\/\)$/{
 14076 	    s//\1/
 14079 	  /^X\(\/\).*/{
 14080 	    s//\1/
 14083 	  s/.*/./; q'`
 14084       test -d "$as_dir" && break
 14085     done
 14086     test -z "$as_dirs" || eval "mkdir $as_dirs"
 14087   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 14088 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 14089    { (exit 1); exit 1; }; }; }
 14090     # echo "creating $dirpart/$file"
 14091     echo '# dummy' > "$dirpart/$file"
 14092   done
 14093 done
 14094  ;;
 14095     "default-1":C) case "$CONFIG_FILES" in *po/Makefile.in*)
 14096         sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in > po/Makefile
 14097       esac ;;
 14099   esac
 14100 done # for ac_tag
 14103 { (exit 0); exit 0; }
 14104 _ACEOF
 14105 chmod +x $CONFIG_STATUS
 14106 ac_clean_files=$ac_clean_files_save
 14108 test $ac_write_fail = 0 ||
 14109   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
 14110 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
 14111    { (exit 1); exit 1; }; }
 14114 # configure is writing to config.log, and then calls config.status.
 14115 # config.status does its own redirection, appending to config.log.
 14116 # Unfortunately, on DOS this fails, as config.log is still kept open
 14117 # by configure, so config.status won't be able to write to it; its
 14118 # output is simply discarded.  So we exec the FD to /dev/null,
 14119 # effectively closing config.log, so it can be properly (re)opened and
 14120 # appended to by config.status.  When coming back to configure, we
 14121 # need to make the FD available again.
 14122 if test "$no_create" != yes; then
 14123   ac_cs_success=:
 14124   ac_config_status_args=
 14125   test "$silent" = yes &&
 14126     ac_config_status_args="$ac_config_status_args --quiet"
 14127   exec 5>/dev/null
 14128   $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
 14129   exec 5>>config.log
 14130   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
 14131   # would make configure fail if this is the last instruction.
 14132   $ac_cs_success || { (exit 1); exit 1; }
 14133 fi
 14134 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
 14135   { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
 14136 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}
 14137 fi
 14139 { as_dir=test/sh4
 14140   case $as_dir in #(
 14141   -*) as_dir=./$as_dir;;
 14142   esac
 14143   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
 14144     as_dirs=
 14145     while :; do
 14146       case $as_dir in #(
 14147       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
 14148       *) as_qdir=$as_dir;;
 14149       esac
 14150       as_dirs="'$as_qdir' $as_dirs"
 14151       as_dir=`$as_dirname -- "$as_dir" ||
 14152 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 14153 	 X"$as_dir" : 'X\(//\)[^/]' \| \
 14154 	 X"$as_dir" : 'X\(//\)$' \| \
 14155 	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
 14156 $as_echo X"$as_dir" |
 14157     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
 14158 	    s//\1/
 14161 	  /^X\(\/\/\)[^/].*/{
 14162 	    s//\1/
 14165 	  /^X\(\/\/\)$/{
 14166 	    s//\1/
 14169 	  /^X\(\/\).*/{
 14170 	    s//\1/
 14173 	  s/.*/./; q'`
 14174       test -d "$as_dir" && break
 14175     done
 14176     test -z "$as_dirs" || eval "mkdir $as_dirs"
 14177   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
 14178 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
 14179    { (exit 1); exit 1; }; }; }
 14182 echo
 14183 echo "Configuration complete"
 14184 echo
 14186 if test "x$HAVE_GTK" = x; then
 14187   if test "x$HAVE_COCOA" = x; then
 14188      echo "  User interface: none"
 14189   else
 14190      echo "  User interface: Cocoa"
 14191   fi
 14192 else
 14193   echo "  User interface: GTK"
 14194 fi
 14196 if test "x$SH4_TRANSLATOR" = "x"; then
 14197   echo "  SH4 translator: None (emulation core only)"
 14198 else
 14199   echo "  SH4 translator: $SH4_TRANSLATOR"
 14200 fi
 14202 if test "x$VIDEO_DRIVERS" = "x"; then
 14203    echo "  Video drivers: none (no supported GL found)"
 14204 else
 14205    echo "  Video drivers: $VIDEO_DRIVERS"
 14206 fi
 14208 if test "x$AUDIO_DRIVERS" = "x"; then
 14209    echo "  Audio drivers: none (no supported output devices found)"
 14210 else
 14211    echo "  Audio drivers: $AUDIO_DRIVERS"
 14212 fi
 14214 if test "x$CDROM_DRIVER" = "x"; then
 14215    echo "  CD-ROM driver: none (no supported cd-rom devices found)"
 14216 else
 14217    echo "  CD-ROM driver: $CDROM_DRIVER"
 14218 fi
.